SAP ABAP Data Element RMXTE_RULE_TYPE (Rule Type)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PLM-RM (Application Component) Recipe Management
     RMXTTLS (Package) Main Package - Trial: Tools
Basic Data
Data Element RMXTE_RULE_TYPE
Short Description Rule Type  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type RMXTD_RULE_TYPE    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Rule Type 
Medium 15 Rule Type 
Long 20 Rule Type 
Heading Rule Type 
Documentation

Definition

Use

The following rule types exist:

  • R - Requirement
    All rules of type R must be met for a task in order for that task to be executed.

    Rules of type R are linked within a task by AND.

    Example: Two rules of type R exist for a task. The first rule contains the trial system status I2502 (Trial Definition Closed) and the second, the trial system status I2503 (Trial Data Exported). The task cannot be executed until both I2502 and I2503 have been set for the trial (the same applies for the user status).

  • E - Error
    If a rule of type E is met, the task cannot be executed.

    Example: A rule of type E exists for a task and contains the recipe system status I6000 (In process). If the system status of the recipe assigned to the trial is I6000, the task cannot be executed and is assigned the status Incorrect (the same applies for the user status).
    If no recipes are assigned to the trial, the rule is not met; in this case, no error occurs.

  • W - Warning
    If a rule of type W is met, the task can be executed, providing no error or lock task rules are met and all requirement rules are met.

    Example: A rule of type W exists for a task and contains the recipe system status I6001 (Processing Closed). If the system status of the recipe assigned to the trial is I6001, the task can be executed, but is assigned the status Warning (the same applies for the user status).
    If no recipes are assigned to the trial, the rule is not met; in this case, no warning is issued.

  • L - Lock Task
    If a rule of type L is met for a task, the task is locked and cannot be executed.

    Rules of type L are linked within a task by OR.

    Example: Two rules of type L exist for a task. The first rule contains the trial system status I2504 (Planned Order Assigned) and the second, the trial system status I2505 (Master Recipe Generated). The task is locked if either the status I2504 or I2505 is set for the trial (the same applies for the user status).
  • I - Information
    This rule type is a special case, since it does not affect the task status or task activity. It is only used to display status information on the user interface.

Rules of type E are checked before all other rules. If a rule of type E is met, the task cannot be executed and additional rules are not processed.

Rules of type L are checked before rules of type R. If a rule of type L is met, the task is locked and rules of type R are not processed.

Both system and user statuses can be specified within a rule. In this case, both statuses have to be set in the trial in order for the rule to be met.

Displaying the Rules on the User Interface

The rules are displayed in the trial monitor view as detailed information below a task (providing the Display Rule indicator is set).

  • Rule type R:
    If the rule is met, it is indicated on the user interface by the OK icon. If the rule is not met, the Not Met icon is displayed.
  • Rule type E:
    If the rule is met, it is indicated on the user interface by the error icon. If the rule is not met, it is not indicated on the interface.
  • Rule type W:
    If the rule is met, it is indicated on the user interface by the warning icon. If the rule is not met, it is not indicated on the interface.
  • Rule type L:
    If the rule is met, the activity icon for the task is indicated as Locked. If the Display Rule indicator is set, the status that locked the task is also displayed below the task as detailed information (indicated by the Locked icon).
  • Rule type I:
    If the rule is met, it is indicated on the interface by the information icon. If the rule is not met, it is not indicated on the interface.

Rules of type R, W, and E affect the task status.
Rules of type L affect the task activity.
Rules of type I do not affect the task activity or the task status.

Dependencies

Example

History
Last changed by/on SAP  20031212 
SAP Release Created in 471