Skip to Content

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

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 16 at 06:30 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.