You can get the dimension values contained in the analytical ID of each group, in case you want to use the key values to retrieve a self-implemented entity.
Procedure
- In the DPC_EXT class of your service, overwrite the /iwbep/if_mgw_appl_srv_runtime~get_entityset method.
PUBLIC SECTION.
METHODS /iwbep/if_mgw_appl_srv_runtime~get_entityset REDEFINITION.
- In the method implementation, get an instance of the sadl_dpc object, and use it to retrieve the key values corresponding to the generated ID. The method returns the keys as name-value pairs.
if_sadl_gw_dpc_util~get_dpc( )->get_keys_from_analytical_id(
EXPORTING io_tech_request_context = io_tech_request_context
IMPORTING et_keys = DATA(lt_keys) ).
Perform the same steps in the get_entity method.
Results
You can now use the key values for subsequent processing, for example an own implementation of the get methods.