cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming AMDP in SAP Odata Services

VijayCR
Active Contributor

Dear Experts,

Sap suggests going forward with SAP s4 hana CDS views should be used to expose the data from the S4 hana system in the ODATA service.In case of the write scenarios use AMDP's .What does this mean and how do we expose the AMDP's to ODATA services as i dont see any option call a class method in SEGW transaction ?

Thanks,

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Pavan_Golesar
Active Participant
0 Kudos

Hi Vijay,

I see this as follows:

Abap-managed database procedures (AMDP) is nothing but a abap class which is created in ADT (Eclipse) link for installation and getting stated with AMDP.

Since we have created these in Class we can utilize them in our DPC_EXT class of respective OData service, Also we have option to utilized by creating a table function and calling the AMDP Class-Methods in it.

I agree with your statement "going forward with SAP s4 hana CDS views should be used to expose the data from the S4 hana system".

All the best go ahead and use these AMDP methods in DPC_EXT class of SEGW or Table function approach are one of few options to explore.

-Pavan Golesar

Answers (0)