on 2006 Oct 19 10:22 AM
Hi,
In transformation, I have 2 KF namely ZEMPSALRY & ZEMPBONUS. I have added ZEMPSALRY as source field in the rule definition screen of ZEMPBONUS & I have written the following code in the routine for ZEMPBONUS.
if SOURCE_FIELDS_RULE-/BIC/ZEMPSALRY ge 20000
RESULT = 5000.
else
RESULT = 2500.
endif
When i checked this code, I get the following error message.
E:Incorrect logical expression: Comparison / SELECT-OPTION can only be followed by "AND", "OR" or ")".
Could u pls help me out?
REgards,
R.Ravi
Request clarification before answering.
Try with:
if SOURCE_FIELDS_RULE-/BIC/ZEMPSALRY ge 20000.
RESULT = 5000.
else.
RESULT = 2500.
endif.
You loose some '.'
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.