DDIC structure

Odata service implementation for GET_ENTITYSET


1.SAP user id with developer access
2.abap skill 
3.Odata service created using SEGW.(If you dont know how to Please refer  my previous post step-by-step-gateway-odata-service)

1.Go to SEGW .Open created service node.Expand Service Implementation node.Right click on GetEntitySet(Query) and click on Go to Abap Workbench

2.You will get an information message that method is not implemented. Click OK.

3.You will now land on class builder with ****_DPC_EXT opened.We write our code in this class.Expand methods node.expand inherited methods node.Right click on FILGHTSET_GET_ENTITYSET and click redefine.

4.Write code for populating the data.activate it.

5.Ready to go .Now check your service in browser or gateway client.

If you enjoyed this post, Please Share!!


Powered by Blogger.