cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Saving Files in S/4HANA Cloud Public using ABAP

dnnunes
Explorer
0 Kudos
451

Hello, community!

I'm working on a migration project to S/4HANA Cloud Public that requires me to save files using ABAP. In the past, I've used function modules (like SO_DOCUMENT_INSERT_API1) and classes to achieve this, but I understand these are not available in the S/4HANA Cloud, embedded ABAP environment.

My goal is to be able to save, read, and delete files in a flexible manner in S/4HANA Cloud Public, embedded ABAP, similar to how we could in traditional ABAP.

Currently, I'm aware of the cl_attachment_service_api, but it seems to require files to be saved associated with a standard SAP Object Type.

Is there a way to achieve more flexible file handling capabilities in S/4HANA Cloud Public, perhaps through an alternative approach?

Any guidance would be greatly appreciated!

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

AndreasMuno
Product and Topic Expert
Product and Topic Expert

Thank you for your question, @dnnunes.

SAP S/4HANA Cloud Public Edition may have some familiarity with prior SAP solutions, but it really is a different animal than our granny's ERP. For the data migration workstream in your S/4HANA Cloud Public Edition project please familiarize yourself with the SAP Activate methodology and its respective recommendations and prescriptive guidance . You might find the SAP S/4HANA Migration Cockpit quite useful. 

Where that is not sufficient, many of the business objects in S/4HANA Cloud Public Edition do have application programming interfaces available with "Create" capabilities (OData, CRUD, or SOAP for EDI-style data migration or integration). Please assess their suitability for your purposes with the documentation available in the SAP Business Accelerator Hub at https://api.sap.com/SAPs4hanaCloud .        

Answers (0)