SAP ABAP IMG Activity SIMG_PSMFG_RPTA_EXIT (BAdI: Use of Reporting Attributes)
Hierarchy
EA-PS (Software Component) SAP Enterprise Extension Public Services
   PSM-FG (Application Component) Functions for U.S. Federal Government
     FMFG_RPT_E (Package) US Federal Government Reporting
IMG Activity
ID SIMG_PSMFG_RPTA_EXIT BAdI: Use of Reporting Attributes  
Transaction Code S_P7U_18000016   (empty) 
Created on 20070821    
Customizing Attributes SIMG_PSMFG_RPTA_EXIT   BAdI: Use of Reporting Attributes 
Customizing Activity SIMG_PSMFG_RPTA_EXIT   BAdI: Use of Reporting Attributes 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_PSMFG_RPTA_EXIT    

Use

We deliver an example class within this Business Add-In (BAdI). Using this class within the BAdI implementation allows you to define the ADDIN function and associates the receiver fields with it. The call to the derivation tool is defaulted to specify the additional reporting attributes.

The definition of the main element, the ADDIN parameter, can be associated with a function that uses the additional reporting attributes or a specific report using it. We have defined a set of locations upfront which use the additional reporting attributes and them to be enhanced by customer own locations.

Performance-related optimizations can require you to replace retrieval of additional reporting attributes using the derivation tool with a more streamlined option. In this case, a coded solution to define the additional reporting attributes is recommended.

Requirements

Standard settings

Activities

After you call up the IMG activity, a dialog box appears.

  1. In the dialog box, enter a name for the enhancement implementation, Short Text and Composite Enhancement Implementation. If no Composite exists, create a new one by choosing Create button.
  2. Save your entries, and assign the implementation to a development class.
  3. Click on BAdI tab and choose the Create BAdI button.
  4. In the dialog box, enter BAdI Definition, BAdI Implementation, Implementation Class and description, then press Enter.
  5. In the left panel on the next screen, expand implementation node and double-click on entry Class.
  6. Place the cursor on the method, and double-click to enter method processing.
  7. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod. Note that sample implementation is copied automatically.
  8. Save and activate all the objects.

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
SIMG_PSMFG_RPTA_EXIT US USA
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_PSMFG_RPTA_EXIT 0 ALN0000193 Information System 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070821 
SAP Release Created in