Ansicht
Dokumentation

/BEA/RPDCOPYREQC - BAdI: Cancellation Requirements

/BEA/RPDCOPYREQC - BAdI: Cancellation Requirements

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Rebate Application (CRM-RB) component.

You can use this BAdI to define specific requirements and checks for the cancellation of rebate settlement documents.

The BAdI is called for each line item during the cancellation of a rebate settlement document.

If the exception ABORTED is raised for one of the line items of the document, cancellation of the settlement document is stopped and the user receives an error message.

  • You have created custom implementations for the application CRMR and one of the maintained filter values.
  • You have assigned the filter values to the corresponding settlement document types. You do this in Customizing for Customer Relationship Management under Rebate Processing -> Rebate Profiles -> Settlement Profiles-> Define Settlement Document Type.
  • In the standard system, BAdI implementation CRMR_FOC_CANCEL_CONDITION is activated. The corresponding filter value is CRMC_FOC. The default code is executed once the filter value has been assigned to a settlement document type.

The implementation CRMR_FOC_CANCEL_CONDITION is relevant for free-goods rebate processes. When a settlement document is cancelled, and a corresponding sales order containing the granted free products has already been created, the BAdI implementation is used to verify that the sales order was cancelled first. If this is not the case, cancellation of the settlement document is not possible.

The BAdI is designed for multiple uses. All activated implementations for a given filter value are called and executed.

The BAdI is filter-dependent.

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.

This BAdI uses the interface /BEA/IF_EX_RPDCOPYREQC.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3203 Date: 20240427 Time: 053134     sap01-206 ( 102 ms )