Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member202771
Contributor

Hi Friends,

Now-a-days we hear a lot about integrating SAP with Share Point.

I have recently work on such a requirement, where in I need to Upload files to SharePoint folders from SAP. So wanted to share my experience.

There are two different scenarios:

1) SharePoint and SAP are hosted on same server.

2) SharePoint and SAP are hosted on different server.

1) SharePoint and SAP are hosted on same server.

In this scenario,

Files can be directly uploaded Via GUI_UPLOAD or any equivalent FM or Classes.

STEPS:

  • Create new document library in your share point site.
  • GOTO--> Library and click on "Open with explorer" icon as shown below

  • Then the server location opens as below

  • Pass the path to GUI_UPLOAD to upload to the folder.

2) SharePoint and SAP are hosted on different server.

In this case, we make use of a facility provided by Share Point known as "Communication Through Incoming email setings" to upload files onto it's folders.

STEPS:

                                                     

  • Create new document library in your share point site.

  • Once library created. Go to "Document library settings". -> Communication -> Incoming email settings

  • Enable the settings

              "Incoming email"=Yes

              Email address = "Define unique email ID"

              E-Mail Attachments=Save all attachments in root folder

  • Use email ID, in your ABAP program to send document in email.

Once you send mail to specific email ID as maintained in share point site, you will see document getting placed automatically in share point whatever you send it through email (as attachment ).

6 Comments