SAP ABAP IMG Activity FAGL_COND_ACC_ASSIGN (Summarize Balances Using Account Assignment Characteristics)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL (Application Component) General Ledger Accounting
     FAGL_EHP4_SFWC_RS (Package) Enhancements to General Ledger Accounting
IMG Activity
ID FAGL_COND_ACC_ASSIGN Summarize Balances Using Account Assignment Characteristics  
Transaction Code S_E4A_94000054   (empty) 
Created on 20080221    
Customizing Attributes FAGL_COND_ACC_ASSIGN   Summarize Balances Using Account Assignment Characteristics 
Customizing Activity FAGL_COND_ACC_ASS_OB   Summarize Balances Using Account Assignment Characteristics 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FAGL_COND_ACC_ASSIGNMENT    

Use

This Business Add-In (BAdI) is used in General Ledger Accounting (FI-GL) (New) for closing and opening postings.

You can make closing and opening postings using the following transactions (in the SAP Easy Access screen under Accounting -> Financial Accounting -> General Ledger -> Periodic Processing -> Closing -> Closing/Opening Postings):

  • FAGL_IT_02 - Italy (new)
  • FAGL_SK_02 - Slovakia (new)
  • FAGL_TR_02 - Turkey (new)
  • FAGL_CO_02 - Columbia (new)
  • FAGL_RO_02 - Romania (new)
  • FAGL_PT_02 - Portugal (new)

The postings in the above transactions are made using the account assignment characteristics stored in the totals record table.

You can use this BAdI to summarize the totals for specific account assignment characteristics.

For this, you simply need to set the summarization indicator for the corresponding account assignment characteristic that is specified in table CT_COND_ACC_ASSIGNMENT.

The BAdI is called up at four different places. These places are encrypted in parameter IV_PGM_STATUS.

1 = for P&L accounts before postings are made to T030

2 = for P&L accounts before postings are made to the closing account

3 = for P&L accounts before postings are made to the retained earning account

4 = for balance sheet accounts before postings are made to the closing account.

Requirements

Standard settings

In the standard system, this Business Add-In is not active.

Activities

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

Example

In the following example, you want to summarize the balances using account assignment characteristic 1:

Posting amount    A/c asgnmt char. 1    A/c asgnmt char. 2    A/c asgnmt char. 3   

100 #    A    B    C       

200 #    A    E    F   

As a result of summarizing the balances using account assignment 1, the postings can be combined as follows:

Posting amount    A/c asgnmt char. 1

300 #    A

For example code, see the fallback class CL_EXM_FAGL_COND_ACC_ASSIGN. This class summarizes the balances for all account assignment characteristics.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
FAGL_COND_ACC_ASSIGN CO Colombia
FAGL_COND_ACC_ASSIGN IT Italy
FAGL_COND_ACC_ASSIGN PT Portugal
FAGL_COND_ACC_ASSIGN RO Romania
FAGL_COND_ACC_ASSIGN SK Slovakia
FAGL_COND_ACC_ASSIGN TR Turkey
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20080221 
SAP Release Created in 604