‎2006 Aug 31 6:32 PM
I have taken company code as select-option in my selection screen . I want to check this one with if condition .
I have coded like this
If bukrs in '040'.
but its giving error message .
can any one help me in this issue?
‎2006 Aug 31 6:35 PM
‎2006 Aug 31 6:35 PM
‎2006 Aug 31 6:40 PM
Hi Priya,
if you declare a variable as Select_option, then it will become a Internal table, it will have fields like LOW, HIGH< SIGN and Option, so if you want to check, then you need to loop that field.
Loop at Bukrs
if bukrs-low = '0040'.
write:/ 'Success'.
elseif bukrs-high = '0040'.
write:/ 'Error'.
Endloop.
Hope you got my point
Regards
Sudheer