SAP C0 DEMO RAP BO



Get Example source ABAP code based on a different SAP table
  



Example: C0 Released RAP BO, Design and Consumption
This topic provides an example for the design of a C0 released RAP BO. It also shows an example for an extension to this released API from the restricted ABAP language version ABAP for Cloud Development .
Managed BDEF as C0 released API
The following BDEF DEMO_RAP_BASE_DET_VAL is based on the CDS view entity DEMO_RAP_BASE_DET_VAL and it fulfills all requirements for a C0 release:
It uses BDEF strict mode, version 2.
It is enabled for RAP extensibility.
ABAP_NOTE This BDEF shows how to create a released API. It meets all the requirements for a C0 release. However, it is not released under the C0 contract, extend, because it is not intended to be used as an API.
BDEF DEMO_RAP_BASE_DET_VAL
BDEF extension to a C0 released API
The following BDEF extension DEMO_RAP_EXT_DET_VAL extends the RAP BO displayed above and it obeys the naming rules.
BDEF DEMO_RAP_EXT_DET_VAL