Ansicht
Dokumentation

EPIC_FLOWSCODE_CONTR - BAdI: Cash Flow Category Control

EPIC_FLOWSCODE_CONTR - BAdI: Cash Flow Category Control

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Localization(FI-LOC) component.

You can use this BAdI to define how the cash flow category is entered and inherited when you make payments using the Electronic Payment Integration for China(EPIC) application. The BAdI allows you to make the following settings:

  • Define the possible values that users can select for the cash flow category
  • Define the field in the payment document subaccount line item where the system has to store the cash flow category value
  • Define how the cash flow category value is inherited from the payment document subaccount line item to the bank G/L account line item of the bank posting document during clearing.

This BAdI is called in the following cases:

  • When you make a payment using the Electronic Payment Integration for China(EPIC) application and the system displays a dialog box to enter the cash flow category
  • When the Electronic Payment Integration for China(EPIC) application creates a payment document
  • When you clear the payment document with a bank posting document (using transaction F-03 or FB05)

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 Definitionstab in the Implementation Example Classessection.

For this BAdI, the example implementation CL_EPIC_FLCD_CTRL_EXAMPLE_01 is available. This example implementation uses the following settings:

  • It uses the Reason Codefield in the payment document to store the cash flow category value.
  • It uses the House Bank Accounts(T012K) table to determine the bank G/L account.
  • It uses the Account determination for payment program(T042I) table to determine the subaccount.
  • It uses the Classification of Payment Differences (Texts)(T053S) table to determine the possible values for the cash flow category.
  • It uses the following rules for inheritance:
  • Mapping N subaccount line items to N bank G/L account line items: the amount of each line item must be equal so that the cash flow category can be inherited.

  • Mapping N subaccount line items to 1 bank G/L account line item: the total amount of the subaccount line items must be equal to the amount of the bank G/L account line item and the cash flow category of the subaccount items must be the same.

  • Mapping 1 subaccount line item to N bank G/L account line items: the total amount of the bank G/L account line items must be equal to the amount of the subaccount line item.

BAdI method documentation:

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.






General Material Data   General Material Data  
This documentation is copyright by SAP AG.

Length: 4884 Date: 20240523 Time: 194205     sap01-206 ( 66 ms )