cancel
Showing results for 
Search instead for 
Did you mean: 

Service Consumption Model - Read Contents

AnuragSri
Explorer
0 Kudos
304

Hi SAP Experts,

Is there a way to read Service Consumption Model contents like Service Definition, Metadata contents, etc. in SAP BTP ABAP environment.

I found standard class - cl_srvc_odata_data_model but it is not permitted to be used in BTP ABAP environment.

Any recommendation or workaround would be highly appreciated.

Thanks.

Anurag

Accepted Solutions (0)

Answers (1)

Answers (1)

volkerdrees
Product and Topic Expert
Product and Topic Expert
0 Kudos

Have you tried using the READ APIs of the XCO Library (https://help.sap.com/docs/btp/sap-business-technology-platform/read-apis). Service Definitions and Data Definitions (CDS-Views) seem to be supported by the API.

Best Regards, Volker