06-28-2007 9:57 AM
Hi all
how to call selection screen in LSMW and create selection options for user?
06-28-2007 10:04 AM
06-28-2007 11:44 AM
hi,
In global data declare the selction screen.
For example
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME TITLE l_txt1.
SELECTION-SCREEN BEGIN OF LINE.
*radiobutton to select application server as target.
PARAMETERS p_appl RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND f1.
SELECTION-SCREEN COMMENT 5(20) l_txt2 FOR FIELD p_appl.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(20) l_txt4 FOR FIELD p_appfn.
*error filename for application server
PARAMETER p_appfn TYPE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
etc.. acc to ur requirement
and this screen will appear in the convert data step
Thanks,
Deepti
06-28-2007 7:00 PM
Hi Ganesh,
I am assuming that you are using Standard Batch Input Program in the LSMW.
In option "Maintain fixed values, translations, user-defined routines", you can define which fields you want as the selection screen and with Parameter or Select Option. Further you can give the values by default as well in this option.
Thanks & Regards,
Sandip Kamdar