on 05-30-2013 8:10 PM
Hello Experts,
I would like to write an SAP Expert rule to change existing value assignment instance(s).
I'm quite new with rules development... I tried the following :
FACTS
RECORD IO_SUMMARY(IN,OUT)
sum_prot_01,
sum_prot_02
END
;Rules
RULES
RULE SUMMARIZE_01
IF
TRUE()
THEN
IO_SUMMARY.sum_prot_01 := "[#P1_V1#]"
END
END;
This is actually changing the characteristic in the way I want but it is duplicating the value assignment instances.
So, for example, before executing the rule I have :
VAT: IO_SUMMARY
Instance 1
sum_prot_01 - Value "XXX"
sum_prot_02 - Value "YYY"
After running the rule, I get :
VAT: IO_SUMMARY
Instance 1
sum_prot_01 - Value "XXX"
sum_prot_02 - Value "YYY"
Instance 2
sum_prot_01 - Value "[#P1_V1#]"
sum_prot_02 - Value "YYY"
I tried to change the user-exit parameter "EXPERT_COMMIT_MODE" but the behaviour is the same with value "C" or "D".
Is there a way to change existing value assignment type with Expert ? If yes, how ? Please give me some clues.
Thanks in advance for your help.
Jean-Philippe
How about try EXPERT_COMMIT_MODE = R?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.