SAP ABAP IMG Activity OIUGT_BADI (Business Add In Implementation)
Hierarchy
IS-OIL (Software Component) IS-OIL
   IS-OIL-PRA-EIA-UG (Application Component) Upstream Graphics
     OIU_EIGT (Package) Upstream Graphics
IMG Activity
ID OIUGT_BADI Business Add In Implementation  
Transaction Code S_SO7_65001075   Generated Text 
Created on 20010601    
Customizing Attributes OIUGT_BADI   Business Add In Implementation 
Customizing Activity OIUGT_BADI   Business Add In Implementation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OIUGT_BADI    

The Business Add In (BADI) used by Upstream Graphics is OIUGT_GRAPHICAL_VIEW. By implementing this BADI, you are able to alter the standard functions of Upstream Graphics during various points of execution. The BADI can be implemented on a graphical view level so that different graphical views can be customized as required.

Note that this BADI is not used to change the behaviors of any SAP delivered graphical views. Further, the system calls BADI's generally after it calls graphical view functions.

For example, if you are using a specific view ( View X) and double-click on a node, Upstream Graphics triggers its internal double-click event. Within the event, it first calls the double-click event of the underlying View X. View X may then perform certain tasks.

After View X relinquishes control back to Upstream Graphics, then the BADI is called.

Note that the BADI cannot change the functions within View X. The results of View X's event execution, however, can be altered within the BADI before it is sent back to Upstream Graphics and displayed to the user. A BADI for the specific view (if provided) is the appropriate way to change the behavior within the view's logic.

Following is a list with the points of execution where Upstream Graphics calls BADI methods, as well as the names of the BADI methods:

1. When graphics are being generated or refreshed, the system calls BADI method CREATE_NODES.

    This method allows you to change what is displayed during the initial load of a graphical view or during a     refresh. You could also add code to trigger custom logic.

2. When the header is being generated or refreshed, the system calls BADI method CREATE_HEADING.

    This method allows you to change the standard heading.

3. When a new node is being added, the system calls BADI method INSERT_NODE.

    This method allows you to alter the functions for node addition. For example, you could add custom code to     display additional data.

4. When a new link is being created, the system calls BADI method INSERT_LINE.

    This method allows you to alter the functions for creating a link.

5. When a node is being changed, the system calls BADI method CHANGE_NODE.

    This method allows you to enhance the execution of changing a node. For example, you could enhance the     execution by allowing the text or bitmap to be changed.

6. When a link is being changed, the system calls BADI method CHANGE_LINE.

    This method allows you to modify the line before it is sent back to the display. For example, you could modify     the line by changing the arrowhead or by changing the description on the line.

7. When a node is being double clicked, the system calls BADI method DOUBLE_CLICK_NODE.

    This method allows you to change or augment the results of a node double-click event.

8. When a link is being double clicked, the system calls BADI method DOUBLE_CLICK_LINE.

    This method allows you to alter the results of a link double-click event.

9. When an entity is being removed, the system calls BADI method REMOVE_ENTITIES.

    This method allows the customer to affect the logic during the removal of a node or link.

Example

Requirements

Standard settings

Recommendation

Activities

Further notes

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
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 OIUGT_BADI 0 I400000013 Upstream Graphics 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20010601 
SAP Release Created in 46C