Show TOC
Maintain
Substitution Rules for Collective Processing
In this IMG activity you define rules used to
substitute order master data during
automatic collective processing.
You create substitution rules using the FI-SL
validation/substitution functions. Each rule consists of one or more steps,
each comprising two main components:
The precondition is
defined using
Boolean statements . The relevant values are only be substituted
if this precondition is met.
Contains the values
that the system transfers into the relevant fields if the prerequisites are
met.
Example
All internal orders assigned to business area
0001 and responsible cost center 2000 are to be reassigned to cost center
3000.
Instead of changing each order individually,
you can define a substitution rule and start it as a function in automatic
collective processing:
|
<AUFK> $GSBER = '0001' AND |
|
<AUFK> $KOSTV = '2000' |
|
|
Field |
|
Constant value |
|
Responsible CCtr |
|
3000 |
|
Key:
Name of the table
containing the allowed substitution fields. For internal orders, you can use
the fields of the order master (AUFK table).
Technical names of
the fields "Business area" and "Responsible cost center".
Operator "Equal
to".
Selection values.
Always use single inverted commas.
Boolean operator
(conjunction) if both individual statements must be true for the combined
statement to be true.
Field for which the
substitution is to be made.
Value entered in the
appropriate field if the prerequisites are met.
For a complete list
of Boolean operators, please refer to the online documentation for the
"Boolean statement" field.
Activities
1. Enter the
name of the substitution rule to be processed into the corresponding
field:
- To maintain an existing rule, choose
"Enter".
- To create a new rule, choose "Rule ->
Create" and then "Enter".
2. Enter a
short description of your rule in the appropriate field and create a new step
using "Insert entry".
The SAP System
displays the "Substitution Fields" dialog box.
a) Choose one
or more fields for which values are to be substituted.
In our example, we
choose the field "Responsible cost center" (KOSTV).
b) Choose
"Continue".
3. Enter the
Boolean statements under "Precondition". You can call up a list of the
available fields using "Fields for Boolean statements".
You can also include
existing Boolean rules in your new rule ("Rule list").
4. Specify the
value to be substituted (in the example "3000") under "Constant
value".
You can define
further fields and values to be substituted if the prerequisite is met using
"Insert entry".
For more information
on the structure and syntax of Boolean rules, refer to the online
field documentation.
Note on
transport
You can transport substitution rules manually.
To do this, choose "Substitution -> Transport".
Further
notes
For additional information on this topic, refer
to "FI-GLX Validations and Substitutions".