cancel
Showing results for 
Search instead for 
Did you mean: 

How do I upload a document to BTP DMS from UI5 FileUploader, maybe via BTP ABAP environment?

MattDion
Participant
0 Kudos
1,551

I am trying to piece together a way to upload documents from a UI5 app to the BTP DMS, and then pull them back from DMS to view/download. I have the DMS Service Integration Option set up in my BTP subaccount and have set up a repository via Postman.

I am also using the ABAP environment and the application is actually a Fiori Elements app based on ABAP RAP. I am not a big fan of the RAP annotations based file upload for several reasons (document storage in DB, questionable antivirus support, doesn't appear to use a valid UI5 element?, etc.), so am looking for an alternative. I currently have a FileUploader field that works great for selecting the file, but I am missing the connection to get from the file selection in the UI layer to a DMS upload to a document key that I can then send back to my RAP object.

Note that I also have the integration between DMS and ABAP environment via communication scenario SAP_COM_0668, but I've so far found little to help direct how the scenario can be used from ABAP.

Does anyone have any thoughts on how to accomplish such an integration?

View Entire Topic
AlexanderRother
Product and Topic Expert
Product and Topic Expert

Hi Matt,

please have a look the the following samples regarding the usage of the BTP DMS: GitHub Sample.

Besides the annotation based backend-driven approach you mention, we plan to offer a reuse component for attachments coming with a backend and frontend integration into RAP and Fiori Elements.

Best regards,
Alexander

NathanP2024
Discoverer
0 Kudos

Looking for an option to download documents from SAP BTP DMS through API or any recommended solutions from SAP?. Thank you!