‎2006 Dec 13 3:10 PM
Hi ,
The values from a select option are moving into an internal table .How should I check the first 2 places of the low and high values of the selection screen.
Please tell me the syntax.
Thank you.
Message was edited by:
bharat pkm
‎2006 Dec 13 3:12 PM
‎2006 Dec 13 3:12 PM
‎2006 Dec 13 3:14 PM
Hi,
select-options:
s_rsdat for edids-creDAT,
LOOP AT s_rsdat.
S_RSDAT-LOW WILL GIVE YOU LOW VALUE
s_rsdat-HIGH WILL GIVE YOU HIGH VALE.
Thanks
‎2006 Dec 13 3:16 PM
Do this way...
loop at <slection-field>.
if <selection-field>-low(2) = 'XX'.
<condition>
endif.
if <selection-field>-high(2) = 'XX'.
<condition>
endif.
endloop.
‎2006 Dec 13 3:17 PM
loop at s_matnr.
if s_matnr-low+0(2) = '12'.
*write ur code here
endif.
if s_matnr-high+0(2) = '12'.
*write ur code here
endif.
endloop.