SAP ABAP IMG Activity EPIC_FLOWSCODE_CONTR (BAdI: Cash Flow Category Control)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-LOC (Application Component) Localization
     ID-FI-EPIC (Package) Globalization: E-Payment Integration
IMG Activity
ID EPIC_FLOWSCODE_CONTR BAdI: Cash Flow Category Control  
Transaction Code S_EBJ_98000183   (empty) 
Created on 20121203    
Customizing Attributes EPIC_FLOWSCODE_CONTR   BAdI: Cash Flow Category Control 
Customizing Activity EPIC_FLOWSCODE_CONTR   BAdI: Cash Flow Category Control 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name EPIC_FLOWSCODE_CONTROL    

Use

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)

Requirements

Standard settings

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

Activities

Example

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitions tab in the Implementation Example Classes section.

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 Code field 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.

See also

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.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
EPIC_FLOWSCODE_CONTR CN China
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20121203 
SAP Release Created in 617