Ansicht
Dokumentation

COPC_DT_CA - BAdI: Determination of Clearing Account

COPC_DT_CA - BAdI: Determination of Clearing Account

Fill RESBD Structure from EBP Component Structure   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 determine the clearing account to post payment requests between different company codes. The clearing account consists of a posting account, a posting key, and a special G/L indicator. This BAdI is called in the following cases:

  • When you post payment requests across company codes with the Post to Bank G/L Account (China)(SAPLCOPC_PR_ PSTNG) program (transaction code EPIC_PRP).
  • When you post payment requests across company codes with the Post to Bank G/L Accounts in Batch (China)(COPC_PAYRQ_PERIODIC_POSTING) program (transaction code EPIC_PRP_S), and at least one cross-company code payment request is to be posted based on the selection criteria you set.

This BAdI definition contains the GET_CLEARING_ACCOUNT(Get Clearing Account) method.

The Post to Bank G/L Account (China)( SAPLCOPC_PR_PSTNG) program (transaction code EPIC_PRP) and the Post to Bank G/L Accounts in Batch (China)(COPC_PAYRQ_PERIODIC_POSTING) (transaction code EPIC_PRP_S) program call the logic in this BAdI method to determine the clearing account for the posting payment requests across company codes. The clearing account includes a posting account, a posting key and a special G/L indicator.

You have created relevant payment requests to be posted across different company codes using the following means:

  • IDocs
  • Create Payment Request/Cash Receipt (China) (SAPLEPIC_COPC_RPR) program (transaction code EPIC_RPR)
  • Reconcile Bank/Cash Transactions (China) (SAPLEPIC_COPC_RCNL) program (transaction code EPIC_RECONCILE)
  • Cash Concentration Using Repetitive Code (China)( COPC_CASH_CON_FRFT) program (transaction EPIC_FF73)

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).

In the standard system, the BAdI is activated. Since the BAdI is filter-dependent and is not designed for multiple uses, you can choose one of the following implementations that are available for this BAdI:

  • CL_COPC_PAYRQ_POSTING_COPC
    This BAdI implementation gets the clearing account from the table COPC_CA_ACC, and a corresponding maintenance view COPC_CA_ACC_Vis also provided. You can maintain the view in the Customizing activity Determine Clearing Account Based on COPC.The filter value for this BAdI is COPC.
  • CL_COPC_PAYRQ_POSTING_OBYA
    This BAdI implementation determines the clearing account based on the existing OBYA configuration, which you can maintain in the Customizing activity Determine Clearing Account Based on OBYA.The filter value for this BAdI is OBYA.

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






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 5018 Date: 20240523 Time: 181951     sap01-206 ( 77 ms )