cancel
Showing results for 
Search instead for 
Did you mean: 

Routine

former_member619464
Active Contributor
0 Kudos
82

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try with:

if SOURCE_FIELDS_RULE-/BIC/ZEMPSALRY ge 20000.

RESULT = 5000.

else.

RESULT = 2500.

endif.

You loose some '.'

Regards

Answers (0)