CL_ISU_EDM_SETTLSTEP_0012 Class derived from CL_ISU_EDM_SETTLSTEP
The
process
method sends settlement result profiles to service providers of the settlement unit. In order to select the service provider, the definition of the settlement units is interpreted. Profile values are sent for the settlement period if the profiles with the roles entered for the settlement procedure have been allocated to the corresponding service provider (distributor, supplier, settlement coordinator).
A warning is issued if the service provider has not been allocated any profiles to be sent.
Processing is terminated with an error and no data is sent if the system cannot determine a point of delivery for one of the service providers.
An alert is triggered if an error occurs when profiles are sent. The other profiles are still sent, however. All profiles to be sent are (automatically) saved in the settlement document and given a send status.
The settlement step cannot be started again (for example, after an error) if data has already been sent to the same settlement document.
Note
Class CL_ISU_EDM_SETTLSTEP_0012 can be derived.
Example
Application examples for derived classes
The redefined
continue_processing
method must return
co_selected
if the settlement step is to be called again after data has been sent to the same settlement document.
The redefined
append_profile_to_send
method can be used to additionally filter or set the parameter context of the profiles to be sent.
In the redefined
get_service_provider
method, you can enter the service providers who are to receive the data (for example,
CL_ISU_EDM_SETTLSTEP_0013
).
In the redefined
get_profile_context
method, the parameter context (settlement unit, grid, reference profile (customer group)) can be determined if profiles that are not settlement parameters must be sent.