Ansicht
Dokumentation

CRM_BILLREQ_I_CHECK - BAdI: Checks for Biling Request Lines

CRM_BILLREQ_I_CHECK - BAdI: Checks for Biling Request Lines

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Billing Plan (CRM-BTX-BF-BPL) component. You use this BAdI to perform various checks. For example, you can check the consistency of data, the existence of required entry fields or the compliance with check tables.

If a check returns a negative result, you can decide whether only an error message is logged (normal case) or whether the data record is not transferred at all.

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

If the result of a check is negative, you can trigger the exception ERROR_OCCURRED or FATAL_ERROR. In both cases, you trigger the error message using the ABAP command "message # raising" so that the system fields are filled. The system that calls the BAdI automatically logs the message in the application log for the business transaction.

In the case of the exception ERROR_OCCURRED, the data is copied with errors (normal case). If you trigger the exception FATAL_ERROR, the data record is not copied.

The import parameter IV_DO_MESSAGES_DELETE indicates whether you have to delete the error messages you potentially issue using the function module CRM_MESSAGES_DELETE from the application log. We recommend that you query the import parameter with an IF statement since calling the delete module if it is not needed can lead to system performance problems.

At runtime, the system transfers the work area structure of the business transaction component to the BAdI in the parameter IS_DATA (type CRMS_BILLREQ_I_WRK).

BAdI method documentation:

CHECK






General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2690 Date: 20240523 Time: 184540     sap01-206 ( 108 ms )