Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ODATA using AMDP

reethimanth_k
Explorer
0 Likes
2,779

Hi Experts,

I have created a ODATA service using ADT tools.

By referring to this blog,

https://blogs.sap.com/2016/06/14/using-segw-and-abap-in-eclipse/

I have opened GUI from ADT then created the service by importing DDIC structure.

After generating run-time artifacts, I have implemented AMDP by defining a new method and implemented.

Registered the service and maintained it successfully, but I need to know how to execute the AMDP based ODATA service.

$metadata is executing successfully, but need to know how to execute the entity sets that I have created/mapped.

PFA below screenshots.

odata1.jpg

sreenivas.pachva help me on this

Regards,

Reethimanth.K

Hi Experts,

I have created a ODATA service using ADT tools.

By referring to this blog,

https://blogs.sap.com/2016/06/14/using-segw-and-abap-in-eclipse/

I have opened GUI from ADT then created the service by importing DDIC structure.

After generating run-time artifacts, I have implemented AMDP by defining a new method and implemented.

Registered the service and maintained it successfully, but I need to know how to execute the AMDP based ODATA service.

$metadata is executing successfully, but need to know how to execute the entity sets that I have created/mapped.

PFA below screenshots.

odata1.jpg

sreenivas.pachva help me on this

Regards,

Reethimanth.K

1 REPLY 1
Read only

Joseph_BERTHE1
Active Contributor
0 Likes
1,773

Hi,

I think you missunderstood something.... AMDP is for CDS enrichment, there is nothing to do with OData services.

You can have a CDS View wich call an AMDP procedure and then expose to OData srv or make this CDS as a reference to an OData service, but not like you want to do it.

Please look at this blog : https://blogs.sap.com/2017/02/28/generate-odata-services-by-mapping-db-tables-as-data-sources-in-sap...

Regards,

Joseph