SAP ABAP IMG Activity GRPC_REPORT_WEIGHT (Activate BAdI for Weighting of a Report Line During Aggregation)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-SPC (Application Component) Process Controls
     GRPC_REPORTING (Package) Reporting
IMG Activity
ID GRPC_REPORT_WEIGHT Activate BAdI for Weighting of a Report Line During Aggregation  
Transaction Code S_QE6_02000007   (empty) 
Created on 20040616    
Customizing Attributes GRPC_REPORT_WEIGHT   BAdI: Gewichtung einer Berichtszeile bei Aggregation 
Customizing Activity GRPC_REPORT_WEIGHT   BAdI: Gewichtung einer Berichtszeile bei Aggregation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name GRPC_REPORT_WEIGHT    

Use

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.

Requirements

Standard settings

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)

Activities

  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.
  2. Enter the Implementation Name and select Continue.
    The system displays the initial screen for creating BAdI implementations.
  3. Enter a description in the Implementation Short Text field.
  4. 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.
  5. Save your entries and assign the BAdI to a package.
  6. To edit a method, double-click its name.
  7. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  8. 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:

  9. Choose Activate.

    When the application program is executed, the system carries out the code in the method you wrote.

Example

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.

Business Attributes
ASAP Roadmap ID 201   Make global settings 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG GRPC_REPORT_WEIGHT 0 GR11000001 Process Controls 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20071116 
SAP Release Created in 250