Ansicht
Dokumentation

FINS_SIS_REV - Enrich Reversal Posting with Account Assignment

FINS_SIS_REV - Enrich Reversal Posting with Account Assignment

General Material Data   General Data in Customer Master  
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 line items in journal entries that were posted prior to the Document Splitting activation date and that were reversed after the activation date.

The BAdI is called when a journal entry with a posting date prior to the Document Splitting activation date is reversed and the reversal posting date is after the activation date.

The BAdI is called for each line item of a journal entry that contains at least one initial mandatory 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:

  • IT_BSEG_REVERSED: The journal entry to be reversed
  • IS_ACCIT: The reversal line item itself, in ACCIT format
  • IS_ACCHD: The document header of the reversal document, in ACCHD format

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.

Restrictions

  • The structure CS_ASGMT consists of fields from table FAGL_SPLINFO and these fields are already filled with existing values for the line item.
  • 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.

  • Only existing values can be filled for the characteristics for Document Splitting. Function module K_COBL_CHECK is called to verify the entered values.
  • If the structure ES_BAPIRET2contains an error message with a message type E, A or X, the error is displayed and the reversal is not posted.

You have subsequently implemented document splitting with an activation date of January 1.

Now, on February 1, you want to reverse a line item that was posted in December of the previous year.

For line items that were posted before the activation date for document splitting, several input fields weren't required.

For line items that were posted after the activation date for document splitting, however, several input fields are now required.

If a required field for document splitting, such as Segment, weren't filled for the line item that was posted in December of the previous year, the system can't reverse the line item and this BAdI is called.






BAL_S_LOG - Application Log: Log header data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3386 Date: 20240523 Time: 192113     sap01-206 ( 52 ms )