Ansicht
Dokumentation

POAC_CLD_BADI_CLSFTN - Change the accrual classification for a PO item

POAC_CLD_BADI_CLSFTN - Change the accrual classification for a PO item

General Data in Customer Master   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 change the accrual classification for a purchase order item. The accrual classification together with the document type of the purchase order and the item category of the purchase order item are used to define the accrual item types but also the accrual methods for accruals, actual and planned costs. With the modified accrual classification e.g. a different accrual method for planned costs can be defined e.g. linear distribution by day instead of by period.

The BAdI interface method is CHANGE_ACCRUAL_CLASSIFICATION.

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.
  • PURCHASEORDERITEM
    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_ACCRUALCLASSIFICATION
    The input parameter provides the original accrual classification determined for the purchase order item.

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

Outbound parameters:

  • OUT_ACCRUALCLASSIFICATION
    The output parameter provides the modified accrual classification determined for the purchase order item.
  • Note: The result structure OUT_ACCRUALCLASSIFICATION
    must be filled with all items of the accrual object. Copy the original items from IN_ACCRUALCLASSIFICATION
    to OUT_ACCRUALCLASSIFICATION if there are no changes.

A simple sample implementation is available that illustrates the intended use of the BAdI. This implementation changes the accrual classification to a custom defined value for a specific material in the purchase order item.






rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2762 Date: 20240523 Time: 220832     sap01-206 ( 100 ms )