Ansicht
Dokumentation

POAC_CLD_BADI_OBJPAR - Change parameters of an accrual object

POAC_CLD_BADI_OBJPAR - Change parameters of an accrual object

BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
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 parameters of an accrual object.

The BAdI interface method is CHANGE_ACCR_OBJECT_PARAMETERS.

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_ACCRUALOBJECTPARAMETERS
    The input parameter provides the original list of the parameters of the accrual object. The key fields are DATE_TO and PARAM_NAME (name of the parameter).

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

Outbound parameters:

  • OUT_ACCRUALOBJECTPARAMETERS
    The output parameter provides the modified list of the parameters of the accrual object. The key fields are DATE_TO and PARAM_NAME (name of the parameter).

    Note: The result structure OUT_ACCRUALOBJECTPARAMETERS must be filled with all parameters of the accrual object. Copy the original parameters from IN_ACCRUALOBJECTPARAMETERS to OUT_ACCRUALOBJECTPARAMETERS if there are no changes.

A simple sample implementation is available that illustrates the intended use of the BAdI. This implementation writes the ID of the supplier into the parameter table of the accrual object.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2396 Date: 20240523 Time: 190918     sap01-206 ( 70 ms )