Ansicht
Dokumentation

POAC_CLD_BADI_OBJITM - Change the items of an accrual object

POAC_CLD_BADI_OBJITM - Change the items of an accrual object

BAL Application Log Documentation   CPI1466 during Backup  
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 create, change or delete items of an accrual object.

The BAdI interface method is CHANGE_ACCRUAL_OBJECT_ITEMS.

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_ACCRUALOBJECTITEMS
    The input parameter provides the original list of the items of the accrual object. The key fields are ITEMTYPE and RLDNR (ledger).

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

Outbound parameters:

  • OUT_ ACCRUALOBJECTITEMS
    The input parameter provides the original list of the items of the accrual object. The key fields are ITEMTYPE and RLDNR (ledger).

    Note: The result structure OUT_ ACCRUALOBJECTITEMS must be filled with all items of the accrual object. Copy the original items from IN_ ACCRUALOBJECTITEMS to OUT_ ACCRUALOBJECTITEMS 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 items to the first / last day of the month.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2346 Date: 20240523 Time: 204008     sap01-206 ( 32 ms )