SAP ABAP IMG Activity FAGL_MIG_ADJ_ACCIT (Process Account Assignments of Documents To Be Transferred)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL (Application Component) General Ledger Accounting
     FAGL_MIG_CONVERSION (Package) Future Standard Reports for Building Data
IMG Activity
ID FAGL_MIG_ADJ_ACCIT Process Account Assignments of Documents To Be Transferred  
Transaction Code S_AC0_52000650   (empty) 
Created on 20050308    
Customizing Attributes FAGL_MIG_ADJ_ACCIT   BAdI: Process Account Assignments (Customer-Specific) for Open Items 
Customizing Activity FAGL_MIG_ADJ_ACCIT   BAdI: Process Account Assignments (Customer-Specific) for Open Items 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FAGL_MIG_ADJ_ACCIT    

Use

You can use this BAdI before document splitting to change account assignments and invoice references in the document at runtime. No changes are made to the entry document used as the basis.

Use this BAdI if you introduce new account assignment objects (such as segment) as part of the activation of New General Ledger Accounting. These account assignment objects have not been derived and updated in the documents posted previously, and the subsequent posting of entry documents is not desired.

By changing the invoice reference, you can influence the behavior of document splitting. Document splitting splits up the lines for the following invoice reference types, on the basis of the how the relevant item is split:

  • A:    Down Payment Clearing
  • P    Price Reduction
  • U:    Payment for / Down Payment Clearing
  • U:    Invoice Supplement

This BAdI is only called if you execute the IMG activity Build Document Splitting Information. The general ledger view is then created on the basis of the document splitting information built in this IMG activity.

Requirements

You migrate documents for the current fiscal year to New General Ledger Accounting and have activated document splitting.

Standard settings

Activities

Implement the method ADJUST_ACCIT.

The following method parameters are available:

Import parameters (cannot be changed)

  • IS_ACCHD: Header information of a document in the AC interface.
  • IT_ACCIT_EX: Line information for a document in the AC interface (enhanced by document splitting information and by additional ACCIT_EXTENSION information)
  • IT_AUSZ_CLR: Clearing information at item level

Changing parameters (can be changed):

  • CT_ACCIT_ASGMT: Selection of modifiable account assignments

Export parameters (can be changed):

  • EB_ACCIT_EXT_SUPPL: Set this indicator if parts of the enhanced line information (ACCIT_EXTENSION) is changed.

If you want to change the invoice reference, all fields of the invoice reference must be filled:

  • REBZG: Document number of the invoice that the transaction belongs to
  • REDZJ: Fiscal year of the relevant invoice
  • REBZZ: Posting item in the relevant invoice

You cannot change the account assignments for clearing lines. They are always overwritten by document splitting. Lines changed by the BAdI are not longer split in document splitting.

Example

Business Attributes
ASAP Roadmap ID 252   Prepare Data Transfer Fields 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG FAGL_MIG_ADJ_ACCIT 0 HLA0006520 Basic Functions 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050318 
SAP Release Created in 600