Creating the Analytical ID by Using Key Values
You can fill the analytical ID based on key values. While this is normally done following the get_entity or get_entityset execution, you need to supply the value of this key for own implementations.
Procedure
In the DPC_EXT class of your service: In the methods that you have overwritten to provide an own implementation, for example a *_CREATE_ENTITY method.
Get an instance of the sadl_dpc object, and set the ID corresponding to the ls_data field.
if_sadl_gw_dpc_util~get_dpc( )->fill_analytical_id(
EXPORTING io_tech_request_context = io_tech_request_context
iv_count_field_name = 'COUNT' "optional
CHANGING cs_data = ls_data ).