Ansicht
Dokumentation

FAGL_MIG_ADJ_ACCIT - Process Account Assignments of Documents To Be Transferred

FAGL_MIG_ADJ_ACCIT - Process Account Assignments of Documents To Be Transferred

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this BAdI before document splitting to change account assignments and invoice references in the document at runtime. Nochanges 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.

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

Implement the method ADJUST_ACCIT.

The following method parameters are available:

Import parameters (cannotbe 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 (canbe changed):

  • CT_ACCIT_ASGMT: Selection of modifiable account assignments

Export parameters (canbe 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 cannotchange the account assignments for clearing lines. They are always overwritten by document splitting. Lines changed by the BAdI are notlonger split in document splitting.






ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2984 Date: 20240523 Time: 195238     sap01-206 ( 47 ms )