Ansicht
Dokumentation

GRPC_REPORT_WEIGHT - Activate BAdI for Weighting of a Report Line During Aggregation

GRPC_REPORT_WEIGHT - Activate BAdI for Weighting of a Report Line During Aggregation

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you can use a Business Add-In (BAdI) to specify how Process Control ratings are aggregated for hierarchical reports.

This BAdI is used in reporting for the Process Control (FIN-CGV-PC) component. The BAdI enables you to give individual report lines greater weighting than others.

The following implementations are delivered for this BAdI:

  • Active: Calculate Weight from Control Significance (GRPC_REPORT_W_SIG)
  • Inactive: Return Weight = 1 for Every Line (GRPC_REPORT_WEIGHT_1)
  1. Select the activity.
  • If implementations of this BAdI have been created, the system displays them in a dialog box. Choose one of them by selecting Create.

  • If there are no previous implementations, the system displays a dialog box where you enter a name for the implementation.

  1. Enter the Implementation Name and select Continue.
    The system displays the initial screen for creating BAdI implementations.
  2. Enter a description in the Implementation Short Text field.
  3. On the Interface tab, the system supplies the Name of the Implementing Class, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the BAdI to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method ~. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation and not activate it until later. If you want to do this, do not carry out the following step:
  1. Choose Activate.
When the application program is executed, the system carries out the code in the method you wrote.

The following example demonstrates another possible implementation. In this example, all entries at control level are weighted with 1. All other entries at higher levels are weighted with 0. This means that process design ratings and management control ratings are ignored and only the ratings for controls (control design ratings or control efficiency ratings) are included in the aggregation.

if is_report-s_key-control is initial.

e_weight = 0.

else.

e_weight = 1.

endif.

e_weight = 1.

endif.






Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3098 Date: 20240523 Time: 203416     sap01-206 ( 46 ms )