SAP ABAP IMG Activity EHS_MD_135_08 (Configure Call of Rule Sets in a Rule Set Sequence)
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_135_08 Configure Call of Rule Sets in a Rule Set Sequence  
Transaction Code S_VBS_10000038   (empty) 
Created on 20120109    
Customizing Attributes EHS_MD_135_08   Configure Call of Rule Sets in a Rule Set Sequence 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name EHS_MD_135_08    

Use

Using rule set sequences, you execute multiple sets of rules for a specification one after another in a defined sequence. This means the sets of rules do not have to be called and executed individually.

In the Customizing activity Manage User Exits, you can specify rule set sequences that are executed with the EH&S Expert.

Requirements

The sets of rules to be executed are defined and environment parameters have been specified for them.

Standard settings

Activities

  1. In the Customizing activity Manage User Exits, create a new user exit with the user exit category SUB_SEDACA.
  2. You must create the following parameters and values for the user exit with function module C1E8_CALL_MULTIPLE_RULE_SET:
    • EXPERT_CALL_XX (XX = 00 to 99): Specifies the sets of rules to be called within the rule set sequence. The number assigned allows you to control the sequence in which sets of rules are called.
  3. You can create the following parameters and values for the user exit with function module C1E8_CALL_MULTIPLE_RULE_SET:
    • EXPERT_ABORT_CALCULATION: If you specify X for the value, execution of the rule set sequence is terminated if a set of rules it contains causes the EH&S Expert to terminate.
    • EXPERT_APPL_LOG_LEVEL: Specify one of the following values with which you control the messages written to the application log:

Value    Description

0    Messages are not written to the application log.

1    Only error messages are written to the application log.

2    Error messages and warning messages are written to the application log.

3    All messages are written to the application log.

If you do not specify a value, no messages are written to the application log.
  • EXPERT_SUPPR_INFOMSG: If you specify X for the value, success messages and information messages are suppressed, which means only error and warning messages are written.
  • EXPERT_COMMIT_FLG:
  • If you specify X for the value, the data for the rule set sequence and the sets of rules it calls are written to the buffer by the Expert server after processing. Note: This is the recommended setting.
    If you do not specify a value, the data for the rule set sequence and the sets of rules it calls are written to the buffer by the Expert server during processing.
    If the parameter value of the sets of rules included differs from the parameter value of the rule set sequence, the parameter value of the rule set sequence is used.
  • EXPERT_EMAIL_ONLINE: If you specify X for the value, a status notification is sent to the recipients specified in the environment parameters EXPERT_REC_EXTMAIL_XX and EXPERT_REC_SAPMAIL_XX once the rule set sequence has been executed.
  • EXPERT_REC_EXTMAIL_XX: Specify the e-mail address of the recipient of the status notifications here.
  • EXPERT_REC_SAPMAIL_XX: Specify the SAP user of the recipient of the status notifications here.
  • EXPERT_PARAMETER_CHANGE_MODE:
  • If you specify E for the value, the Parameter Entry for Rule Set Sequence dialog box is displayed before the rule set sequence is executed. You can select either online or background processing at this point.
    If you specify H for the value, the Parameter Entry for Rule Set Sequence dialog box is not displayed before the rule set sequence is executed. In this case, specify in the EXPERT_HIDDEN_PROCESSING_MODE environment parameter whether the rule set sequence is to be executed immediately (ONLINE) or in the background (BACKGROUND).
  • EXPERT_HIDDEN_PROCESSING_MODE:
  • If you specify ONLINE as the value, the rule set sequence is executed as soon as you select Execute.
    If you specify BACKGROUND as the value, the rule set sequence is executed in the background. The value X is specified for the EXPERT_ASK_FOR_STARTTIME environment parameter for the start time prompt. If this value is not specified, the rule set sequence is executed immediately.
  • EXPERT_ASK_FOR_STARTTIME: If you specify X for the value, you are asked to specify exactly when the rule set sequence is to be executed in the background.

Note

The parameter values for the sets of rules included are temporarily set by the system for the following environment parameters:

Environment Parameter    Parameter Value    Description of the Parameter Value

EXPERT_PARAMETER_CHANGE_MODE    H    The Determine secondary data dialog box is not displayed for each individual set of rules in display or edit mode.

EXPERT_EXPLANATION_DISPLAY    [blank]    The explanation for each set of rules is not displayed following the run for each set of rules when the rule set sequence is executed in foreground.

EXPERT_HIDDEN_PROCESSING_MODE    ONLINE    The specific set of rules starts immediately in the rule set sequence. If the rule set sequence is started as a background job, each set of rules is started immediately within the job.

EXPERT_PREVENT_DB_COMMIT_FLG    X    The data in each set of rules run is stored in the buffer until all sets of rules in the rule set sequence have been saved for a specification.

EXPERT_APPL_LOG_LEVEL    0    The messages for the application log are not stored individually for each set of rules but are collected for the entire rule set sequence.   

For all other parameter values, either the environment parameters are copied from each set of rules or the default values are set. With foreground processing, it is therefore not possible to adjust the settings for the EXPERT_READ_RATING environment parameter, for example:

Example of a Rule Set Sequence

Environment Parameter    Sample value

EXPERT_ABORT_CALCULATION   

EXPERT_APPL_LOG_LEVEL    3

EXPERT_ASK_FOR_STARTTIME   

EXPERT_CALL_01    DEMO_RULE1

EXPERT_CALL_02    DEMO_RULE2

EXPERT_CALL_03    DEMO_RULE3

EXPERT_COMMIT_FLG    X

EXPERT_EMAIL_ONLINE    X

EXPERT_HIDDEN_PROCESSING_MODE   

EXPERT_PARAMETER_CHANGE_MODE    E

EXPERT_REC_EXTMAIL_01    johnsmith@mail.com

EXPERT_REC_SAPMAIL_01    JOHNSMITH

EXPERT_SUPPR_INFOMSG   

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
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 EHS_MD_135_08 0 ALR0000065 Tools 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  20120119 
SAP Release Created in 607