‎2007 Nov 06 11:11 AM
Hello,
I have given 1 value for the input in Select-option.
I have to compare this value in read table statment.
How to proceed?
‎2007 Nov 06 11:14 AM
Hi Manas,
Let's say that the select option name is s_option.
then you can compare the value with <b>'s_option-low'</b> in order to compare that single value.
<b>
Reward with points if this helps,
Kiran</b>
‎2007 Nov 06 11:14 AM
select-options will create an internal table with these fields..
SIGN, OPTION, LOW, HIGH.
You can use READ TABLE statement to read values from SELECT-OPTIONS.
use READ TABLE statement and compare the required value.
‎2007 Nov 06 11:14 AM
Hi Manas,
Let's say that the select option name is s_option.
then you can compare the value with <b>'s_option-low'</b> in order to compare that single value.
<b>
Reward with points if this helps,
Kiran</b>
‎2007 Nov 06 11:16 AM
HI
select option acts like an STRUCTURE like it had fileds like
LOW
HIGH
OPTION
SIGN
SO YO CAN CREAT A INTERNAL TABLE FOR THIS AND USE IT IN READ STATEMENT
REWARD IF USEFULL
‎2007 Nov 06 11:16 AM
SELECT * FROM marc INTO CORRESPONDING FIELDS OF TABLE itab
WHERE matnr in s_matnr.
"OR
READ TABLE itab WITH KEY matnr = s_matnr-low.