Ansicht
Dokumentation

COPC_ET_PRI - BAdI: Extension of Payment Request Information

COPC_ET_PRI - BAdI: Extension of Payment Request Information

General Material Data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Bank Accounting (FI-BL) component.

You can use this BAdI to derive initial values for custom fields for payment request to be processed using Cash Operation for China. You can validate the values that the users have entered before they are saved to the Payment Request for Cash Operation Center (COPC_PAYRQ) table. This BAdI is called in the following cases:

  • When a user creates a payment request by bank receipt
  • When a user creates a payment request by cash concentration
  • When a user creates a payment request by IDoc
  • When a user reverses a payment request

This BAdI definition contains the following BAdI methods:

  • Enhance Payment Request(ENHANCE_ITEM)
    Cash Operation for Chinacalls the logic in this BAdI method to derive the custom fields from the CI_EPIC_COPC_RPRstructure. The method logic also sets the default values when you create payment request by IDoc, by bank receipt or by cash concentration.
  • After Reversal(AFTER_REVERSAL)
    Cash Operation for Chinacalls the logic in this BAdI method for you to do other transactions after the payment request is reversed.

You have extended the Payment request customizing fields( CI_EPIC_COPC_RPR) structure with your custom fields. This structure is included in the Payment Request for Cash Operation Center(COPC_PAYRQ) table. After you implement these custom fields, users can display the fields on the Create Payment Request/Cash Receipt (China) screen by changing the ALV layout.

For more information about how to extend this structure and creating other related objects, see the SAP Library for SAP Enterprise Resource Planning on SAP Help Portal at http://help.sap.com/erp.

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

You can find example implementations in the BAdI Builderon the Enhancement Spot

Element Definitions tab in the Implementation Example Classessection.

For this BAdI, the CL_RPR__EXT_CTRL_EXAMPLEexample implementation is available.

Further Information

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

Example






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

Length: 3883 Date: 20240523 Time: 164331     sap01-206 ( 62 ms )