Hierarchy

⤷

⤷

Basic Data
Data Element | VRARG |
Short Description | Variable key |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | CHAR8 | |
Data Type | CHAR | Character String |
Length | 8 | |
Decimal Places | 0 | |
Output Length | 8 | |
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 | 0 | |
Medium | 15 | More details |
Long | 0 | |
Heading | 0 |
Documentation
Definition
The variable key is used to define as many different decision rules as required. Decision rules are marked as rule type D (in the field prior to the operation).
Use
The variable key is always set up using an operation of rule type D, that is, using a decision operation. Please use the operation field to define the decision operation you want to query, and then write the required specification of the decision operation on the next line in the field intended for the variable key. A * (or ** for two-character specifications, etc.) always means that specifications will be queried that are not the same as the one entered.
Example
You want to carry out a special processing run that is dependent on a specific company code. This requires you to determine the company code to which the employee has been assigned.
Furthermore, you would like the system to display an error message for employees that have not been assigned to any of the company codes specified.
Procedure:
VarKey NL T Operation Operation Operation Operation
-------------+---------+---------+---------+---------+
000010 D OUTWPBUKRS
000020 ** ERROR
000030 01 ...
000040 02 ...
000050
000060
000070
You can refine the variable key by formulating another query in the operation field on the next line and then redefining the required specifications in the variable key.
Example
You would like to query both the company code and the personnel area.
Procedure
VarKey NL T Operation Operation Operation Operation
-------------+---------+---------+---------+---------+
000010 D OUTWPBUKRS
000020 ** ERROR
000030 01 D OUTWPWERKS
000040 01 01 ...
000050
000060
000070
Note
Please note that there must always be a blank character between two specifications in the variable key.
History
Last changed by/on | SAP | 19920308 |
SAP Release Created in | 470 |