on 10-25-2007 9:03 PM
Hello Friends if I want to pass Multiple Single values what should I put instead of "BT". Like for one single Value I put "EQ" what is that I need to put for Multiple Single value.
Please help.
l_s_range-sign ='I'.
l_s_range-opt = 'BT'.
append l_s_range to e_t_range.
endif.
Thanks
Soniya
Hello Soniya,
you need to repeat the EQ multiple times.
l_s_range-sign ='I'.
l_s_range-opt = 'EQ'.
l_s_range-low = val1.
append l_s_range to e_t_range.
l_s_range-sign ='I'.
l_s_range-opt = 'EQ'.
l_s_range-low = val2.
append l_s_range to e_t_range.
if your input has some pattern, which you can follow:
l_s_range-sign ='I'.
l_s_range-opt = 'CP'.
l_s_range-low = 'TEST*'.
append l_s_range to e_t_range.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition to this..... you can create a test program with a single Select Option and Try passing values to it in different ways and in the Debug Mode check the way SAP prepares the Select Option.
Regards,
Abhishek Jolly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its simple.
Report ZTEST.
tables: mara.
select-options:so_mara for mara-matnr.
start-of-selection.
break-point.
Try with passing different values in the Material number select option like.
a) Single Value
b) Range of values - Low to high
c) Multiple single values. .etc.
d) Pattern ( passing values like 203* )
and see how sap is filling the Select option. at the break-point. Select Option is basically an internal table. So just check the entries in the internal table.
Regards,
Abhishek
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.