Ansicht
Dokumentation
CRM_IPM_BVAL_CALC - BAdI Used to Calculate Additional Data Values
CL_GUI_FRONTEND_SERVICES - Frontend Services ABAP Short ReferenceThis documentation is copyright by SAP AG.
Data values, which reference a condition type with data record source J, provide this condition type with its value before pricing (the value of the data value becomes the condition amount for the condition type). If the value of a data value is unknown before pricing, this BAdI can be implemented to calculate the value of the data value from the other data values, that were known prior to pricing.
During pricing, a BAdI instance is generated for each condition type and entered as the usage of a data value (the data value is the filter value for the BAdI implementation here).
The CALCULATE_RATE BAdI method is accessed to calculate the condition amount. The data values that are already known with condition amounts are transferred to this BAdI with the filter value. This method must then return the value of the data value, which is used as a condition amount, and the associated currency. Alternatively, this method can trigger the NO_CONDITION exception, if the condition type is not to be defined during pricing.
During recoupment of advances, the recouped advance (data value 2B03) is calculated from the unrecouped advance (data value 2B01) and the royalties to be cleared (data value 2B02). The CRM_IPM_BVAL_CAL2B03 BAdI implementation contains the calculation required in the CALCULATE_RATE method.
General Material Data SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 1771 Date: 20240523 Time: 174434 sap01-206 ( 51 ms )