Ansicht
Dokumentation

POAC_CLD_BADI_LIFEDT - Change the life start and end date of an accrual object

POAC_CLD_BADI_LIFEDT - Change the life start and end date of an accrual object

PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in Accruals for Purchase Orders (FI-GL-GL-POA) and is intended to be used in a Cloud edition only.

You can use this BAdI to modify the life start and end dates of an accrual object. These dates are important e.g. if the planned costs are calculated by distribution.

The BAdI interface method is CHANGE_LIFETIME_DATES.

To create translatable texts, go to the tile Custom Business Objects, and choose the tab Custom Code Lists. You can find details about how to implement custom code lists in the comments of the example implementation.

Inbound parameters:

  • PURCHASEORDER
    This input parameter provides the purchase order header information. The key field is PURCHASEORDER.
  • PURCHASEORDERITEMS
    This input parameter provides the purchase order item information. The key fields are PURCHASEORDER and PURCHASEORDERITEM.
  • PURCHASEORDERSCHEDULELINES
    This input parameter provides the schedule lines for an item in a purchase order. The key fields are PURCHASEORDER, PURCHASEORDERITEM, and SCHEDULELINE.
  • PURCHASEORDERACCOUNTING
    This input parameter provides account assignment information for an item in a purchase order. The key fields are PURCHASEORDER, PURCHASEORDERITEM, and ACCOUNTASSIGNMENTNUMBER.
  • IN_LIVESTARTDATE
    The input parameter provides the original life start date of the accrual object.
  • IN_LIVEENDDATE
    The input parameter provides the original life end date of the accrual object.

The abovementioned key fields are used for the foreign key relationships.

Outbound parameters:

  • OUT_LIVESTARTDATE
    The output parameter provides the modified life start date of the accrual object.
  • OUT_LIVEENDDATE
    The output parameter provides the modified life end date of the accrual object.

  • Note: The output parameters OUT_LIVESTARTDATE and OUT_LIVEENDDATE must be filled. Copy the values from the corresponding input parameters if there are no changes.

A simple sample implementation is available that illustrates the intended use of the BAdI. This implementation changes the life start and end dates of the accrual object to the first / last day of the month.






ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2559 Date: 20240523 Time: 194753     sap01-206 ( 38 ms )