Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Dan_Wroblewski
Developer Advocate
Developer Advocate
Calling S/4HANA and other SAP APIs is something almost everyone will need to do when building apps with SAP Build Apps. But it can be confusing in SAP Build Apps how to perform each of the CRUD operations – Create, Read, Update, Delete – and how to handle nested entities and other complexities of these APIs.

I have created a set of learning materials to help you understand how to make these calls and handle their data. All are based on a simple app to maintain Business Partner addresses, and they include instructions on how to:

  • Create an S/4HANA Cloud destination and consume in SAP Build Apps

  • Perform create, read, update and delete API calls to S/4HANA Cloud

  • Set up a single form to perform both create and update operations

  • Expand OData entities to include nested entities

  • Inject nested entities for create and update calls

  • Use formula functions – like SET_KEY and  PICK_KEYS – to assemble API payloads

  • Use formulas to do conditional formatting – such as making a row red based on the data

  • Perform navigation between pages



Here are the learning assets:























Asset Link
Blog https://groups.community.sap.com/t5/sap-builders-blog-posts/real-world-api-calls-to-s-4hana-crud-fro...
Tutorial https://developers.sap.com/tutorials/build-apps-s4hana-crud.html
Free Project https://github.com/sap-tutorials/sap-build-apps/blob/main/projects/s4hana-crud/S4HANA%20CRUD.zip.gpg


TechByte

(25-minute step-by-step guide for creating the app)
https://youtu.be/ISRYkrYrsqQ

While you're at it, please join the SAP Builders group in the new community platform, where you will get content like the above (another blog is coming later this week) and be able to share your experiences with fellow builders and ask all your questions. This will become the official community for SAP Build next month.

The SAP Builders Group


😺
3 Comments