SAP® Documentation

Single view

EHS_MD_135_08 - Configure Call of Rule Sets in a Rule Set Sequence

ROGBILLS - Synchronize billing plans   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

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 Expert.

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

  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.

  1. 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 Expert to terminate.

  • EXPERT_APPL_LOG_LEVEL: Specify one of the following values with which you control the messages written to the application log:

ValueDescription
0Messages are not written to the application log.
1Only error messages are written to the application log.
2Error messages and warning messages are written to the application log.
3All 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 ParameterParameter ValueDescription of the Parameter Value
EXPERT_PARAMETER_CHANGE_MODEHThe 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_MODEONLINEThe 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_FLGXThe 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_LEVEL0The 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:

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




PERFORM Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 10103 Date: 20200606 Time: 072527     sap01-206 ( 46 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.

Environment ParameterSample value
EXPERT_ABORT_CALCULATION
EXPERT_APPL_LOG_LEVEL3
EXPERT_ASK_FOR_STARTTIME
EXPERT_CALL_01DEMO_RULE1
EXPERT_CALL_02DEMO_RULE2
EXPERT_CALL_03DEMO_RULE3
EXPERT_COMMIT_FLGX
EXPERT_EMAIL_ONLINEX
EXPERT_HIDDEN_PROCESSING_MODE
EXPERT_PARAMETER_CHANGE_MODEE
EXPERT_REC_EXTMAIL_01johnsmith@mail.com
EXPERT_REC_SAPMAIL_01JOHNSMITH
EXPERT_SUPPR_INFOMSG