‎2014 Jan 08 10:20 AM
Hi All,
I have a requirement which is as follows:
firstly i have an select option where input needs to be given in high and low both (value i am taking from FAGLFLEXT table)
if users enter s_low = 'HSL01' and s_high = 'HSL06' (actually both are columns which we need to pass in select option)
now after giving the input is there any way to get all the complete columns vaue that is HSL01 to HSL06???
Please help me out
Regards,
Vipin Saraika
‎2014 Jan 08 10:29 AM
‎2014 Jan 08 10:39 AM
‎2014 Jan 08 11:38 AM
tables : faglflext.
data : lv_fields type string.
data : i_fagl type table of faglflext.
data : sopt_low(2) type n,
sopt_high(2) type n,
lv_fld type string.
select-options s_field for ekbe-bwtar OBLIGATORY.
sopt_high = s_field-high+3(2).
sopt_low = s_field-low+3(2).
do.
concatenate 'HSL' sopt_low into lv_fld.
concatenate lv_fields lv_fld into lv_fields SEPARATED BY space.
if sopt_high = sopt_low.
exit.
endif.
add 1 to sopt_low.
enddo.
select (lv_fields) from faglflext into CORRESPONDING FIELDS OF table i_fagl UP TO 10 ROWS.
‎2014 Jan 08 10:41 AM
Hi Vipin
There are various options
What exactly is the output you want
Thanks
Nabheet