‎2005 May 12 1:39 PM
hi ,
is it possible to design a selection screen in smart form.
my requirement is to pass a set of material numbers obtained from select-optins to the smart form. how can i pass these set of values to the smart form.
Regards
Arun
‎2005 May 12 2:00 PM
In general, I'll create a little report with Selection Screen to drive the smartform.
Using this report to prepare the data in one itab then transfer it into the smartform using FM.
‎2005 May 12 2:04 PM
Hi,
I think you already posted this question.
This time I try to suggest a different solution.
In the Form Interface Import just pass parameters like
s_low type likp-vbeln and
s_high type likp-vbeln.[assumed that s_vbeln is the select-options]
Then create a program line.In that type s_low and s_high as input parameter and lr_vbeln and itab as output parameters.
Then in that program line type the below code.
RANGES:lr_vbeln FOR likp-vbeln.
IF NOT ( s_low IS INITIAL and s_high is initial ).
lr_vbeln-sign = 'I'.
lr_vbeln-option = 'EQ'.
lr_vbeln-low = s_low.
lr_vbeln-high = s_high.
APPEND lr_vbeln.
ENDIF.
select * from likp into table itab where vbeln in r_vbeln.
Hope it is helpful.
If not get back to me.
Rgds,
J.Jayanthi