Ansicht
Dokumentation
CRMS4_SOM_CREDIT_CHK - BAdI: Credit Check Value
CPI1466 during Backup BAL Application Log DocumentationThis documentation is copyright by SAP AG.
You use this Business Add-In (BAdI) to adapt the pricing gross values, which will be used in the credit check for objects related to Subscription Order Management. This BAdI is only called for subscription items in a subscription order or a solution quotation for which integration with credit management is activated.
No fallback implementation is provided.
The following methods are available in this BAdI:
- CURRENT_ITEM_VALUE
- By default, the item gross value is used as the amount to execute a credit check. You can adjust this value if needed
- OLD_ITEM_VALUE
-
In case the item price is changed after a credit check was already executed successfully, a new credit
check is needed. In this case, only the difference between the current item value and the old item value
will be sent to credit check. By default, the old item gross value on the database will be used to calculate
the delta to the current item value. You must adjust this value, if the previous credit check was executed with a value determined in the CURRENT_ITEM_VALUE method.
This is only relevant in a solution quotation. In a subscription order, the old value is always determined by the credit exposure written to credit management by the previous credit check, because here it is possible that an order item is already partly copied to the contract.
Example:
Step | Current Value | Old Value | Value for Credit Check |
---|---|---|---|
Item created | 1000,- USD | 0,- | 1000,- USD |
Item changed | 1200,- USD | 1000,- USD | 200,- USD |
- In this example, the method must return 1000, - USD
- CONTRACT_ITEM_VALUE
- In a change order, the complete item value is not relevant for a credit check, as a portion of it is already checked when the active contract item is created. So, this portion must be subtracted from the current item value. By default, the item gross value from the predecessor contract item is used. If you have implemented the CURRENT_ITEM_VALUEmethod to use a different value from the gross amount, you must return the corresponding value for the contract item here. If the contract item is delimited and end of time slice is set because the change order was already copied to the contract, you must still return the complete value for the original time period.
-
Example
- Contract valid from 01.01.-31.12.; 100,-USD per month; total value 1200,- USD.
- Change in price requested for 01.04.
- The already checked amount from 01.04.-31.12 = 900,- USD must not be considered during a new credit check.
- In this method you must return the original value = 1200,-USD. The portion of it, which must not be considered will then be calculated in the standard functionality.
If you adjust here the amount used for credit check, you also have to adjust the values during billing process, which reduces the here created contract exposure. Therefore, you must implement BAdI Integration SOM with Credit Management - Billable Items
TXBHW - Original Tax Base Amount in Local Currency rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 3848 Date: 20240523 Time: 152542 sap01-206 ( 73 ms )