Ansicht
Dokumentation
CRM_UBB_SORT_CREDITS - BAdI: Sort Credits for Defining Usage Sequence
CL_GUI_FRONTEND_SERVICES - Frontend Services BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
This BAdI is used for sorting credits before they are used in prebilling. In the standard delivery, the credits are used in a particular order (temporary, then manual credits, then permanent credits). With this BAdI, you can re-sort the credits. The credits are then used in this new order, from the first to the last table entry.
Apart from the sorting, you cannot make any other changes to the transferred credits, since this can lead to inconsistencies. For this reason, only the new sort order of the GUIDs and not the other credit attributes in the resorted table are taken into consideration during the the subsequent table processing. If, after resorting the table, entries are missing or GUIDs are no longer available, prebilling is terminated and a corresponding error message is written to the application log of the relevant contract.
Note: In a condition type, you can only use credits with the same usage function and the same usage function category. The sort order, therefore, has no effect on credits with different usage functions or usage function types.
PERFORM Short Reference PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 1220 Date: 20240523 Time: 173201 sap01-206 ( 40 ms )