SAP ABAP IMG Activity /MRSS/SGX_GANTT_VIEW (BAdI: Creation of Gantt View Variants)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   CA-MRS (Application Component) SAP Multiresource Scheduling
     /MRSS/SGX (Package) MRS Planning Board Extended Web Interface
IMG Activity
ID /MRSS/SGX_GANTT_VIEW BAdI: Creation of Gantt View Variants  
Transaction Code /MRSS/92000368   (empty) 
Created on 20130524    
Customizing Attributes /MRSS/SGX_GANTT_VIEW   BAdI: Creation of Gantt View Variants 
Customizing Activity /MRSS/SGX_GANTT_VIEW   BAdI: Creation of Gantt View Variants 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /MRSS/SGX_GANTT_VIEW    

Use

You can use this Business Add-In (BAdI) to define multiple Gantt view variants. In addition, you can use this BAdI to change the appearance of the assignment and demand bars based on the view variant. For example, you can change the height of the rows used to display the bars and the height of the individual bars.

If you implement this BAdI, you override the settings made in Customizing activity Define Profiles of the Web-Based User Interface.

The view variants are available both in the resource and the demand view. If you implement this BAdI, a Custom View field to switch between the view variants is available in the Web-based planning board.

This BAdI provides the following methods:

  • DETERMINE_ROW_HEIGHT

    You use this method to define the height of the rows used to display the assignment and demand bars.

  • CHANGE_ASSIGNMENT_PROPERTY

    You use this method to define the label, tooltip, color, and height of the assignment bars.

    Note:
    When defining colors for bars, we strongly recommend that you use either pre-defined SAP colors or freely definable colors for all bars that are related to each other, for example, if you use colors to differentiate between selected and unselected bars. This is to make sure that the original color is restored once the bar is unselected again.

  • CHANGE_DEMAND_PROPERTY

    You use this method to define the label, tooltip, color, and height of the demand bars.

  • GET_VIEWS_AVAILABLE

    You use this method to determine which views are available.

Requirements

Standard settings

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

Activities

Example

SAP provides the following example implementation:

  • /MRSS/SGX_GANTT_VIEW

    In this example implementation, three different view variants are created.

    Note that this implementation is inactive. If you want to use view variants, you must create you own implementation.

See also

For more information about implementing BAdIs as part of the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAPHelp Portal at http://help.sap.com/nw_platform. Choose a release and theApplication 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.

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 /MRSS/SGX_GANTT_VIEW 0 /MRSS/WFF0000002 SAP Multiresource Scheduling 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20130524 
SAP Release Created in 800