cancel
Showing results for 
Search instead for 
Did you mean: 

Move files from SAP Application Server to MS teams Shared folder

muthupandi_m
Discoverer
0 Kudos

Team,

I want to move the files from SAP Application server(AL11 Location) to MS teams shared folder.

Can you please share the possible ways to achieve this.

Thanks in Advance 🙂

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

AL11 is not a "location", it's just a Gui that displays the files located on the file system of the application server! (So the files are still located in the standard Linux, Unix or Windows filesystem, depending on the OS on which the application server runs.)

With that in mind, we see that your question depends on the OS your ABAP system is running on. If it is running on Windows, you could simply create a share from the directory on Windows level and then link it in Teams as described here: How to share a (local network) folder/file link - Microsoft Community
(Be careful though with security concerns. It may not be a good idea to give too many people read or even write access to the file system of your ABAP server...)

If the ABAP system is running on Linux/Unix, this technique cannot be used. In that case (or if creating a network share on the application server is too insecure for your environment), you can use the following HTTP API for uploading files to MS Teams: Upload small files - Microsoft Graph v1.0 | Microsoft Learn

For example from an ABAP report:

  • Use OPEN DATASET to read the file from the file system
  • Then use CL_HTTP_CLIENT to call the above HTTP API in Teams

(However, this question is more a question about Microsoft technology than about SAP, isn't it?)