Ansicht
Dokumentation

FIGL_ACE_ARCHPREP - Enhance Archiving Status

FIGL_ACE_ARCHPREP - Enhance Archiving Status

PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is called during the preparation run for archiving Accrual Engine data.

During the preparation run for archiving, Accrual Engine data is selected.

On the basis of predefined rules, the system decides how the data for an accrual object is to be archived. The system sets the

CD_ARCHIVE_OBJ indicator. This flag can have the following values:

  • X
    This accrual object is to be archived. This means that you want the system to change the status of this accrual object to To be archived.

  • This accrual object is not to be archived. This status of this accrual object should not be changed to To be archived.

The rules (conditions) which your system uses to decide whether the accrual object is to be archived or not are defined in function module ACE_ARCHPREP_DECIDE. This function module is called up in the default implementation of this BADI.

By creating your own BAdI implementation for this BAdI, you can replace the standard logic with your own logic.

Description of the parameters in the method:

  • IS_ACEOBJ
    Accrual object. Entry from database table ACEOBJ
  • IT_ACEDSOH
    Table with header data for subobjects of the accrual object. This table contains, for example, the validity periods of the accrual subobjects.
    These are entries from database table ACEDSOH.
  • IT_ACEPSOI
    Table with item data for the accrual subobjects. This table contains, for example, the data of the most recent periodic accrual posting. It also contains the accrual amounts posted grouped by year.
    These are entries from database table ACEPSOI.
  • ID_KEYDATE
    Key data on which the archiving preparation run is executed.

Using the parameters described, in the BAdI you can decide whether an accrual object is to be archived or not.

The preparation run is executed for the key date December 31, 2005. A number of accrual subobjects have a runtime from January 1, 2000 to November 30, 2010

The system therefore sets the CD_ARCHIVE_OBJ indicator to , meaning that the system would not archive this accrual object, as some accrual subobjects are still valid and it is therefore expected that accrual postings might still be made to these in future.

You know, however, that no more accrual postings will be made to these accrual objects, and they can therefore be archived.

You therefore create your own BAdI implementation where the indicator CD_ARCHIVE_OBJ is set to X for these accrual objects.






Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.

Length: 3482 Date: 20240523 Time: 194641     sap01-206 ( 52 ms )