SAP ABAP IMG Activity /MRSS/SGE_ASG_FROM_T (BAdI: Creation of Assignments for Demands with Time Rules)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC-MO (Application Component) Maintenance Orders
     /MRSS/SGE (Package) Multiresource Planning: Scheduling Engine
IMG Activity
ID /MRSS/SGE_ASG_FROM_T BAdI: Creation of Assignments for Demands with Time Rules  
Transaction Code /MRSS/92000335   (empty) 
Created on 20120914    
Customizing Attributes /MRSS/SGE_ASG_FROM_T   BAdI: Create Assignments for Demands with Time Rules 
Customizing Activity /MRSS/SGE_ASG_FROM_T   BAdI: Create Assignments for Demands with Time Rules 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /MRSS/SGE_ASG_FROM_TIME_RULE    

Use

This Business Add-In (BAdI) is used in SAP Multiresource Scheduling. You can use this BAdI to control how the system creates assignments that are based on a demand for which time rules have been defined.

By default, if time rules exist for a demand, assignments are created based on the time rule definition, that is, based on a list of days including time stamps and durations.

This BAdI contains the following methods:

  • CHANGE_TIME_RULE_DATES

    You can use this method to modify the list of days that the system created based on the time rule definition.

  • CHANGE_PROPOSED_ASSIGNMENTS

    You can use this method to modify or adjust the assignments after they have been calculated by the system.

  • TIME_RULE_DATES_TO_ASG

    You can use this method to define you own logic according to which the system is to calculate assignments based on a list of time stamps and durations.

Requirements

This BAdI is only relevant for demands for which time rules have been defined (for example, demands originating in Web-based resource management or in cProjects).

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

You do no want assignments to be created on weekends. However, a time rule exists defining that weekends are a valid period for assignment creation. If you implement this BAdI, you can change the logic specified by the time rule and exclude weekends.

Further information

For information about implementing BAdIs as part of the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAP Help 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 257   Create User Exits 
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  20130207 
SAP Release Created in 800