Ansicht
Dokumentation

FARR_BADI_ALLOCATION - BAdI: Price Allocation (Group Allocation)

FARR_BADI_ALLOCATION - BAdI: Price Allocation (Group Allocation)

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Revenue Accounting (FI-RA) component. You can use this BAdI to define your logic for price allocation and price distribution in groups of performance obligations (POBs) that are determined by the FARR_BADI_ALLOCATION_ENGINE BAdI. The FARR_BADI_ALLOCATION_METHOD BAdI may be called multiple times within the FARR_BADI_ALLOCATION_ENGINE BAdI depending on the number of price allocation groups.

Note: The FARR_BADI_ALLOCATION_ENGINE BAdI groups POBs by default. For more information about the FARR_BADI_ALLOCATION_ENGINE BAdI, see BAdI: Price Allocation (Allocation Preparation)

When this BAdI is called, it performs price allocation for one group at a time. It receives the following information from the FARR_BADI_ALLOCATION_ENGINE BAdI by default:

  • POB attributes of the group
  • All pricing condition types of the group from the operational system
  • All pricing condition types of the contract from the operational system

If you do not customize your logic, the BAdI performs standard allocation in the following two cases:

  • If the group has only one POB, the BAdI allocates the amount of the allocable pricing condition types to this POB alone and then adds the non-allocable pricing condition types of the POB to the allocated amount. The BAdI uses the allocation effect to represent the allocated amount of the POB.
  • If the group has more than one POB, the BAdI performs price allocation as follows:
  1. It aggregates the standalone selling price (SSP) of the POBs in the group. If the group has non-distinct POBs and the SSP of these POBs is unavailable, the BAdI treats the contractual price of the POBs as their SSPs.
  2. It calculates the amount to be allocated to residual POBs from the group.
  3. It allocates the allocable amount using the allocation effect of the POBs in proportion to the SSP of each POB.
Note: For non-distinct POBs, price allocation only occurs when pricing condition types apply to one or more non-distinct POBs in the same group.
For a lower-level POB group, if any pricing condition types exist for the higher-level POB, then these pricing condition types are distributed to the lower-level POBs in proportion to their SSPs.
  1. Finally, it adds the non-allocable pricing condition types of the POBs to their allocated amount separately. The BAdI uses the allocation effect to represent the allocated amount of the POBs.

This BAdI requires that the conditon type reserved for allocation effect is defined. For more information, see the Customizing documentation.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

For more information about the difference between the FARR_BADI_ALLOCATION_ENGINE BAdI and the FARR_BADI_ALLOCATION_METHOD BAdI, see here.

BAdI method documentation:

For information about implementing BAdIs as part of the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View-> Application Server-> Application Server ABAP-> Application Development on AS ABAP-> ABAP Customer Development-> Enhancement Framework.






CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4570 Date: 20240523 Time: 204157     sap01-206 ( 75 ms )