Ansicht
Dokumentation

/ACCGO/CAS_CALC_AVG - BAdI: Average Calculation for Characteristics

/ACCGO/CAS_CALC_AVG - BAdI: Average Calculation for Characteristics

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In (BAdI) to define your own way of calculating the average for a characteristic in an application group.

This BAdI contains the following method:

  • CALCULATE_AVERAGE (Calculate Weighted and Simple Average)

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

This BAdI is available in the enhancement spot /ACCGO/CMN_ES_CAS_APPL_PROCESS.

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.

An application group contains the following two applications documents:

Application Document 1: 100 lb., Moisture 1%

Application Document 2: 200 lb., Moisture 2%

The BAdI is configured such that the weighted average of moisture in the application group = 1% * 100 LB + 2% * 200 LB / (100 LB + 200 LB ).

This BAdI uses the interface /ACCGO/IF_CAS_CALC_AVG.

For more information, display the interface in the Class Builder (transaction SE24).






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

Length: 2133 Date: 20240425 Time: 124258     sap01-206 ( 39 ms )