SAP ABAP IMG Activity EHS_MD_120_50_01 (Specify Start Condition)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   EHS-SAF (Application Component) Product Safety
     CBUI (Package) Company Environment Information System
IMG Activity
ID EHS_MD_120_50_01 Specify Start Condition  
Transaction Code S_SH8_72000897   IMG Activity: EHS_MD_120_50_01 
Created on 20001013    
Customizing Attributes EHS_MD_120_50_01   Specify Start Condition 
Customizing Activity EHS_MD_120_50_01   Specify Start Condition 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name EHS_MD_120_50_01    

Use

In this IMG activity you specify the start condition that must be met in order for the workflow in the SAP component Environment, Health and Safety to start.

A start condition consists of the following:

  • List of Start Events

    You can enter the the following objects in the list:

    • Value assignment types
    • Table ESTRH (administration data for specification header)
    • Table ESTRI (identifiers)
    • Table ESTMJ (specification-material assignment)
    • Table ESTRR (reference assignment)

      In order for workflow to be started for a specification, at least one change must have been made on one of the objects since the last start.

  • List of Value Assignment Types
    • In order for workflow to be started for a specification, all the value assignment types on the list must have been assigned values. In this way, the situation is avoided where a workflow structure is started for a specification although its data has not been completely maintained.
    • As an additional condition, you can define that at least one of these value assignment types must have been changed since the last start.
  • User Exit (see Check User Exit and Environment Parameters)

    You can use user exit SUB_WFCHCK to define further checks for the specifications as the start condition.

Example

Start condition TEST: The entire start condition must be fulfilled in order for the workflow to be started:

  • List of start events: ESTRI (Identifiers), SAP_EHS_1013_001 (Aggregate state), SAP_EHS_1013_005 (Density)

    A specification is transferred to the workflow structure if, for example, one of the following changes has been made to the specification:

    • The text for its identifier was changed (within the first 132 characters or in the long text).
    • The assignment to regulatory lists for one of its identifiers was changed.
    • A new value assignment instance was created for the property Aggregate state.
    • The assessment for an value assignment instance for the property Aggregate state was changed.
    • A user-defined text for a value assignment instance for the property Density was changed.
  • List of value assignment types: Color, Form, pH, Density

    The value assignment types Color, Form, pH and Density must have been assigned values. In addition, you have set the indicator Change in values in value assignment type required so that a change must have been made since the last start for at least one of these value assignment types.

  • User exit: TEST_FUNCTION

    If you have defined other specification checks, these must also have been executed.

Standard settings

Workflow step 4 is created for the workflow template EHS_DEMO (WS11200006). The standard task TS11200005 is assigned to step 4. The standard task contains the method SUBSTANCE.VALUATIONDIALOGCALLFROMWF.

Recommendation

You can use the workflow template EHS_DEMO as a template.

See also: Technical Notes in EH&S Workflow.

Activities

  1. Call the IMG activity and choose Edit -> New Entries.
  2. Enter the required data, observing the following notes:
    • Object Type (OT)
    • WS: Workflow template that is delivered (client-independent)
      Note: Object type WF (workflow structure) is no longer supported by the SAP system
    • Object ID
    • A standard workflow template with the object ID 11200006 is delivered.
    • User Exit Name
    • You must have created the user exit name for the user exit category SUB_WFCHCK in the IMG activity Manage User Exits.
  3. Choose Enter and then choose the start condition in question in the Start Events processing step.
  4. Choose Edit -> New Entries and in the Value assignment type field enter the start event you require.

    Note:

  5. As well as the input help, you can also use the Start event (as tree) function for selecting value assignment types. This function displays the property tree that is predefined in specification management. Select the value assignment types you require in the property tree.
  6. Choose the appropriate start condition in the Start Condition Value Assignment Types processing step.
  7. Choose Edit -> New Entries and enter the value assignment types you require in the Value assignment type field.
  8. Save your entries.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   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 EHS_MD_120_50_01 0 ALR0000065 O  
SIMG EHS_MD_120_50_01 1 ALR0000066 Basic Data 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
VC_TCGWF1 C - View cluster SM34 EHS_001 EHS: View Cluster for Workflow Start Conditions 
History
Last changed by/on SAP  20010320 
SAP Release Created in