Extend S/4HANA: Part 4 Generate CAP Data Model

Estimated read time 2 min read

Post Content

 

​ In this video series we’re going explore building a full stack application with the SAP Cloud Application Programming Model to extend SAP S/4HANA, with the help of Joule in SAP Build Code.

– [00:02] Customizing the CAP Data Model Generation
– Modifying the data model prompt to define specific requirements for customer, product, and redemption entities
– Changing data types for certain fields and specifying that purchases must be associated with products
– Switching from compositions to associations to better model relationships between entities

– [01:28] Overview of the Generated Model Structure
– The CAP model uses CDL (Core Data & Services Definition Language) to define entities at different layers
– Model includes entity definitions at the db layer, service definitions at the srv layer, and annotations at the app layer
– Annotations in the model will drive the SAP Fiori Elements frontend components

To set up SAP Build Code in your subaccount, follow the instructions here: https://sap.to/60592zjnV

To create a project from the Lobby, use this tutorial here: https://sap.to/60522zjnk

For more information and learning materials on SAP Build Code:

* https://sap.to/60532zjnZ
* https://sap.to/60562zjnj
* https://sap.to/60582zjne
* https://sap.to/60502zjng
* https://sap.to/60512zjn9
* https://sap.to/60522zjni
* https://sap.to/60532zjnc   Read More SAP Developers 

#SAP

You May Also Like

More From Author