Ansicht
Dokumentation

CRMS4_SOM_CC_ALLOW_B - BAdI: Select Billable Items for Allowance Display

CRMS4_SOM_CC_ALLOW_B - BAdI: Select Billable Items for Allowance Display

TXBHW - Original Tax Base Amount in Local Currency   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

You use this Business Add-In (BAdI) to make settings for the billable items read from SAP CI via the Fiori application, Display Allowances.

By default, BITs with status Raw, Billable,and Billedare selected.

The default implementation expects that your BIT classes for allowances, uses the new allowance interface with the fields ALLOWANCEand ALLOWANCE_ID, and only the field ALLOWANCEcontains the values 'C' and 'U'. All other BITs are ignored. If this is not the case, you must implement method GET_BIT_AMOUNTto select the allowance BITs in your own implementation.

The standard behavior is implemented in class CL_CRMS4_SOM_ALLOW_BIT.

The following methods are available in this BAdI:

  • GET_BIT_AMOUNT
In this method, you return the cumulated value per Allowance ID/Allowance Process/Currency:
  • Import parameter IT_ALLOWANCE_KEYS

This table contains the allowance IDs for which BITs should be selected.
  • Exporting parameter ET_CI_KPI

Here, you return the cumulated value for each allowance ID. The field ALLOWANCEmust contain either 'C' for Allowance Creation or 'U' for Allowance Usage. If you have values in different currencies, you can add an entry here for each currency. A currency conversion takes place after further processing.
  • Exporting parameter ET_RETURN

Here, you can return error messages in case BIT selection does not work.






BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1970 Date: 20240523 Time: 175910     sap01-206 ( 39 ms )