Ansicht
Dokumentation

FINS_SIS_CLOSING - Enrich Period End Postings

FINS_SIS_CLOSING - Enrich Period End Postings

General Data in Customer Master   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Subsequent Implementation of Document Splitting.

You can use this BAdI to fill account assignments for the following:

  • Line items or balances that were posted prior to the document splitting activation date.
  • Line items or balances that are processed by a closing transaction, such as FAGL_FCV or FAGL_FC_TRANS, and result in a posting date after the document splitting activation date.
  • Line items or balances that are processed by a periodic tax payable calculation and result in a posting date after the document splitting activation date.

The BAdI is called for each line item, or selected balance, that contains at least one initial mandatory document splitting characteristic. This means that for 10 line items, the BAdI is called 10 times.

For more information, see Information: Subsequent Implementation of Document Splitting.

The following import parameters are transferred to the BAdI method SET_ACCOUNT_ASSIGNMENTS and cannot be changed:

  • IV_ACTIVITY: Identifier for the closing activity. For example, in 01 - Foreign Currency Valuation of G/L Balances, you can view domain fix values of the domain FINS_SIS_BADI_CLOSING_ACTIVITY for all supported closing activities.
  • IS_GLU1: The line item or balance, which is processed by the closing activity.

You can change the characteristics for document splitting in the structure CS_ASGMT.

You can create a single error message in the structure ES_BAPIRET2.

The structure CS_ASGMT consists of fields from table FAGL_SPLINFO and these fields are already filled with existing values for the line item or selected balance.

You can fill any of the fields in the structure CS_ASGMT. However, the system only saves the mandatory characteristics for document splitting, which were changed by the BAdI. The BAdI only changes a field if it was empty before the BAdI was called.

If the structure ES_BAPIRET2 contains an error message with a message type E, A or X, the error is displayed, and the processing of the closing activity is aborted.

You have subsequently implemented document splitting with an activation date of January 1 in the current year.

You run Foreign Currency Valuation for G/L balances (transaction FAGL_FCV) with a key date of December 31 in the previous year, and with a reversal date January 1 in the current year.

For line items that were posted in the previous year (before the activation date of document splitting), several input fields weren't required.

For line items that were posted after the activation data for document splitting, however, several input fields are now required. For example, Profit Center and Segment. The Foreign Currency Valuation reads G/L balances from the previous year and calls this BAdI for those balances, where the required document splitting fields are empty.






TXBHW - Original Tax Base Amount in Local Currency   General Material Data  
This documentation is copyright by SAP AG.

Length: 3575 Date: 20240523 Time: 193227     sap01-206 ( 62 ms )