Skip to Content
0
Former Member
Feb 20, 2009 at 06:03 AM

select-options

265 Views

HI gurus,

In my code i have to loop based on the value given in the selection screen(this is must) so in the select query in the where option some prblm occured so i have written the code as

s_lifnr is select-option value.

This code works if i give single entry and sigle values.If i give range of values consider am giving 100 to 200 in the gv_lifnr its taking the value as IBT100200.I have to do the calculation first based on 100 and next by 200.How to do it.

loop at s_lifnr

gv_lifnr = s_lifnr.

shift gv_lifnr left deleting leading 'IEQ'.

some perform.

endloop.