Skip to Content
Mar 02, 2017 at 02:03 PM

Extension of OData service issue with newly created entity type


1)Navigated to tcode:SEGW and created a custom project:ZMDG_SUPPLIER_EXTENSION5

2)On the ZMDG_SUPPLIER_EXTENSION5, Right click on Data Model->Redefine->OData service(SAP GW): MDG_SUPPLIER_SRV

3)Generate runtime objects

As of now every thing is fine and but now i have a requirement to create a new Entityype and once i create it

Observation:This project will not create any methods related to the newly created entity type in DPC_EXT(This is the behavior which i had seen)

To get the data which i had created the new Entitytype for that i redefined the method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITYSET in this project

Observation:Now the existing standard OData service:MDG_SUPPLIER_SRV which has data is not coming.