2012 Jan 09 11:07 AM
Hi,
Is it possible to list (with a MF) all the values contained on a select options or range ?
Let imagine i have select option or range like
LOW VALUE : SU51
HIGH VALUE : SU56
I want to list SU51, SU52, SU53, SU54, SU55 and SU56 ?
Thanks a lot.
Hi,
Is it possible to list (with a MF) all the values contained on a select options or range ?
Let imagine i have select option or range like
LOW VALUE : SU51
HIGH VALUE : SU56
I want to list SU51, SU52, SU53, SU54, SU55 and SU56 ?
Thanks a lot.
2012 Jan 09 11:13 AM
If this field is stored in some amster table do a select there for range and list down all data...and if it suppose to be only for display no reference then you can use the last two characters and use concept of offset
Nabheet
2012 Jan 09 11:21 AM
Hi,
Select-options: s_vbeln for vbak-vbeln default SU51 to SU56.
or
initialization.
s_vbeln-sign = 'I'.
s_vbeln-options = 'BT'.
s_vbeln-low = 'SU51'.
s_vbeln-high = 'SU56'.
append s_vbeln.
Thanks & regards.
2012 Jan 09 12:55 PM
Hi,
To brings records between LOW and HIGH. try the following code.
tables : spfli.
select-options: s_carrid for spfli-carrid.
initialization.
s_carrid-low = 'AA'.
s_carrid-high = 'LH'.
s_carrid-sign = 'I'.
s_carrid-option = 'BT'.
append s_carrid.
start-of-selection.
data: t_spfli like standard table of spfli with header line.
select * from spfli into table t_spfli where carrid in
s_carrid.
loop at t_spfli.
write 😕 t_spfli-carrid,t_spfli-connid,t_spfli-cityfrom.
endloop.
Regards,
Saravana.S
Edited by: saravanasap on Jan 9, 2012 1:57 PM
2012 Jan 09 1:03 PM
Many thx for all you proposal, but in fact i'am not directly connected to SAP (i use external scripting language) that why i need a MF.
I have try with RFC_READ_TABLE and working pretty good, if you have any others solutions....
Thx.
2012 Jan 09 1:11 PM
2012 Jan 09 3:18 PM
RFC_READ_TABLE is good... just pass the table name as TSTC and get the tcodes in that range..