cancel
Showing results for 
Search instead for 
Did you mean: 

Managed and unmanaged scenarios in Cloud Application Programming Model(CAPM)

former_member643578
Participant

I am learning SAP Cloud Application Programming Model(CAPM). I really want to know is there managed and unmanaged scenarios in CAPM like RAP. If there please explain it and one more thing what is the exact difference between RAP(Restful ABAP Programming) and CAPM?

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor

By default CAP has a "managed" behavior using generic handlers (e.g. for CRUD operations). To have a kind of unmanaged scenario you can register your own event handlers (e.g. for Node based services like described here: https://cap.cloud.sap/docs/node.js/api#cds-event-handlers). For instance you can register your own handler for the service create event on a specific entity.

Regarding the difference between RAP and CAP:

- RAP: Available for ABAP on SAP Cloud Platform, ABAP environment and On-Premise ABAP Platform Systems (e.g. S/4HANA 1909).

- CAP: Available for Node and Java. Running on e.g. SAP Cloud Platform Cloud Foundry environment or SAP HANA XS Advanced.

Answers (0)