Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, September 5, 2012 7:49 AM
Hi, we have SAP in our organization and we need document management for SAP, the requirement is to have the documents on the sharepoint. Any attachement or document uploaded from SAP those documents should be stored in sharepoint and the url of the document should be given back to SAP. Which would be the best approach for this requirement? please suggest.
note: We are using Sharepoint 2010.
All replies (4)
Wednesday, September 5, 2012 9:33 AM ✅Answered
understood, so you should have a provision from SAP side to find the most recently uploaded documents and then make that as a web service in which you will send the recently uploaded documents in the webservice parametere and get the document URL from SharePoint as return parameter of web service
... sharepoint can call that webservice at specific intervals or realtime using BDC.
Please mark as Answer if helps.
Wednesday, September 5, 2012 9:54 AM ✅Answered | 1 vote
Hi,
>when he select the file and click on upload link that document should be stored in Sharepoint document library
You may use copy.asmx sharepoint web service, which will work at SAP side as well (no sharepoint environment required). by using this service you can upload document in sharepoint document library. You can also get document URL to save it in your SAP DB.
Please check below url for your ref:
http://ktskumar.wordpress.com/2009/03/03/upload-document-from-local-machine-to-sharepoint-library/
http://farhanfaiz.wordpress.com/2009/09/16/sharepoint-upload-file-using-web-service/
As you are on SP 2010 so you can also use sharepoint client object model to upload doc in library.
In both cases you have web service and this service will call on upload button click event of your SAP.
Hope it could help
Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
Wednesday, September 5, 2012 9:11 AM
Create web service in SAP for pulling the document which is uploaded recently, also one more wb service which will update the url withing SAP system.
Call web service in SharePoint 2010 using BDC.
I hope this helps.
Wednesday, September 5, 2012 9:24 AM
@ Taruna Verma: Thanks for the reply.
FYI there will be no uploads in SAP end. User will login to SAP and select the upload option, when he select the file and click on upload link that document should be stored in Sharepoint document library and the document link shooud be returned to SAP.