2019 Nov 14 9:57 AM
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.

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.

sreenivas.pachva help me on this
Regards,
Reethimanth.K
2020 Jan 17 8:32 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |