Hi,
i am using the below code to get the SWIA first field fill with some data which i am getting by logic written..but its not getting filled since in tcode the first input box is select-options not a parameter..if it would have been a parameter than my logic would have worked finest. so kindly suggest what to do now in case of select-options.
form user_command using p_ucomm type sy-ucomm
p_selfield type slis_selfield.
data : wi type sww_wiid .
clear : wi .
read table it_final into wa_final index p_selfield-tabindex.
if sy-subrc = 0.
check ( wa_final-wi_id is not initial ).
wi = wa_final-wi_id .
case p_ucomm.
when '&IC1'.
set parameter id 'WID' field wi.
call transaction 'SWIA'and skip first screen.
endcase.
endif.
endform.
Regards,
HiM