To redefine the generic query method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITYSET, perform the following steps:
Simple Field Extensibility
When using simple field extensibility at runtime, gateway classes (MPC and DPC) will consider the fields in the extension includes in the DDIC structure. Properties that have been created by using SFE will contain the annotation sap:is-extension-field=“true”.
Prerequisites include the following:
The result is that the entity type or entity set is extended automatically. No development (SEGW/SE24) is required, provided that the DPC implementation is able to handle the retrieval of the data of the extended DDIC structure automatically.