Conditions
Allocation conditions
Conditions steer the execution of the procedure. They are examined before the execution of a procedure and the procedure is implemented only if all conditions are met. Several conditions to a procedure can be specified over the condition number. It indicates the order which the conditions are processed to a procedure.
Enter per carrier system the conditions which can be required in sequence over the respective action key. Ordinal number and carrier system must agree with those conditions of the procedure to which the condition shall belong.
In place of an action also the name of a user exit in the field ' user exit ' can be entered.
Over the field ' negative characteristics ' you can additionally negate the conditions existing in the action table.
Example:
Condition is ' if application blank '. Now if the field ' negative characteristic ' gets the contents of ' N ', then the condition is called ' if application not blank '. In the filter criteria of this function, you have the possibility of selecting all conditions, which are valid at any time. In addition, you register the desired period in the field ' current conditions '. The newest sentences, whose ' period is not larger ' than the entered period valid off, are then always selected. Thus you can provide fast overview of which allocation conditions were consulted during a certain account. Select in the filter criteria for the field "period valid off" the operator ' valid in '.
The following conditions are possible:
Action
|
Meaning
|
Definition
|
B-K001
|
K001
|
if cost center in table KSTELLEN
|
B-K002
|
K002
|
if cost center blank
|
B-K003
|
K003
|
if KSTno allocation cost center
|
B-K004
|
K004
|
if client = Blank
|
B-K005
|
K005
|
if KST LIKE Comparison character sequence ('Vergleichszeichenfolge')
|
B-K006
|
K006
|
if client LIKE Comparison character sequence
|
B-A001
|
A001
|
if application in table LV014
|
B-A002
|
A002
|
if application blank
|
B-A003
|
A003
|
if application LIKE Comparison character sequence
|
B-P001
|
P001
|
if project in table LV012
|
B-P002
|
P002
|
if project blank
|
B-P003
|
P003
|
if project LIKE Comparison character sequence
|
B-B001
|
B001
|
if customer group in table LV066
|
B-B002
|
B002
|
if customer group blank
|
B-B003
|
B003
|
if customer group LIKE Comparison character sequence
|
B-T001
|
T001
|
if TS-abh. allocation flag 1 blank
|
B-T002
|
T002
|
if TS-abh. allocation flag 1 blank
|
B-T003
|
T003
|
TS-abh. allocation flag 3 blank
|
B-T004
|
T004
|
if LNID4 LIKE Comparison character sequence
|
B-T005
|
T005
|
if LNID5 LIKE Comparison character sequence
|
B-T006
|
T006
|
if LNID6 LIKE Comparison character sequence
|
B-U001
|
U001
|
if allocation flag 4 in table LV065
|
B-U002
|
U002
|
if allocation flag 4 blank
|
B-U003
|
U003
|
if ZKZ4 LIKE Comparison character sequence
|
B-L001
|
L001
|
if customer1 blank
|
B-L002
|
L002
|
if customer2 blank
|
B-L003
|
L003
|
if customer1 LIKE Comparison character sequence
|
B-L004
|
L004
|
if customer2 LIKE Comparison character sequence
|
B-VF01
|
V001
|
if Variabler Zuordnungsbegriff in Stammdaten (VFLDTAB)
|
B-VF02
|
V002
|
if Variabler Zuordnungsbegriff Blank
|
B-VF03
|
V003
|
if Variabler Zuordnungsbegriff LIKE Comparison character sequence
|
B-W001
|
W001
|
if LNID3 blank
|
B-W002
|
W002
|
if LNID3 LIKE Comparison character sequence
|
Example of a run procedure:
In the available account is usually data contained as a project number. With the project number the cost center can be assigned. If the project number of an account set is missing, this is to be logged. It cannot be accounted for, because it does not receive a cost center. If an account set has a repeating code, it shall be accounted for, but be flowed into an extra evaluation.
Input:
Nummer
|
TSYSID
|
LNID1
|
LNID3
|
PROJECT
|
1,00
|
VM
|
Müller
|
|
2000
|
2,00
|
VM
|
Maier
|
99
|
1000
|
3,00
|
VM
|
Maier
|
|
|
Definition of the rules:
TSYSID
|
Ordinal Number
|
Action
|
Text
|
PROT.-KZ
|
VM
|
10
|
V-1200
|
get allocation with project
|
|
VM
|
20
|
V-6207
|
get ABRKZ with LNID 3
|
|
VM
|
30
|
V-0001
|
reject set
|
P
|
Definition of the conditions:
TSYSID
|
Ordinal Number
|
Condition Number
|
Negative-flag
|
Action
|
Text
|
VM
|
20
|
10
|
N
|
B-W001
|
if LNID 3 not blank
|
VM
|
30
|
10
|
|
B-P002
|
if project blank
|
Processing of the input:
Nr. 1
|
cost center will be get over project
|
Nr. 2
|
a ABKRZ will be get with LNID3, then cost center over project.
|
Nr. 3
|
set will be reject, because it has no project
|
|