SAP ABAP IMG Activity /MRSS/SGU_DEMAND_GE (BAdI: Determine Graphical Element and Quick Info for Demands)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC-MO (Application Component) Maintenance Orders
     /MRSS/SGU (Package) User Interface for Interactive Planning Board
IMG Activity
ID /MRSS/SGU_DEMAND_GE BAdI: Determine Graphical Element and Quick Info for Demands  
Transaction Code /MRSS/92000125   (empty) 
Created on 20081125    
Customizing Attributes /MRSS/SGU_DEMAND_GE   BAdI: Determine Graphical Element and Quick Info for Demands 
Customizing Activity /MRSS/SGU_DEMAND_GE   BAdI: Determine Graphical Element and Quick Info for Demands 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /MRSS/SGU_COLOR_DEMAND    

Use

You can use this BAdI to change the display of demands and quick info of demands in the demand layout of the planning board. Two methods are provided:

  • GET_DEMAND_COLOR: With this method, you can re-determine the graphical element for demand defined in Customizing. The value determined in the BAdI is returned in parameter CV_LAYER.
  • GET_DEMAND_TOOLTIP: With this method, you can re-determine the quick info (tooltip) for demand. The value determined in the BAdI is returned in parameter CV_TOOLTIP.

Requirements

Standard settings

SAP provides the following fallback class:

  • /MRSS/CL_DEF_IMP_SGU_COLOR_DEM

    The default implementation reads the status group Customizing to determine the graphical element. Status groups for demands are defined in Customizing under Set Up Scheduler Workplace --> Workplace Profiles --> Define User Interface Profiles.

If you want to implement your own logic, you can create your own implementation. Once you have activated your implementation, the standard logic is no longer used.

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

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 then Application 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 152   Design data acquisition 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20090903 
SAP Release Created in 610