‎2007 Aug 06 8:03 AM
Hi All ,
I am using submit ws_monitor_outb_del_pick program in a z program .
my z program is always executed in background .
Now i have transferred some selection screen parameter
SUBMIT ws_monitor_outb_del_pick
WITH if_vstel IN lr_vstel
WITH it_lgnum IN lr_lgnum
WITH it_vbeln IN lr_vbeln
WITH it_kostk IN lr_kostk
WITH it_wbstk IN lr_wbstk
WITH it_lvstk IN lr_lvstk
WITH if_alakt EQ lr_alatk
WITH i_kschl IN lr_kschl
WITH i_kschln IN lr_kschln
USER sy-uname VIA JOB w_jobname NUMBER w_job_cnt
AND RETURN .
Now one of the selection screen variable to ws_monitor_outb_del_pick i want to transfer from a varient , Is it posible ?
So in short is it possible to pass selection screen parameter via variant and with command together .
Please reply ASAP .
Thanks & Regards
Saurabh
‎2007 Aug 06 8:07 AM
‎2007 Aug 06 8:27 AM
You can use the Addition <b>USING SELECTION-SET variant</b>
Where variant is variant name.
In detail:
If you specify this edition, the parameters and selection criteria for the selection screen are supplied with values from a variant. For variant, you must specify a character-like data object that contains the name of a variant for the program accessed when the statement is executed. If the variant does not exist, the system sends an error message. If the variant belongs to a different selection screen, it is ignored.
Hope this helps you.
Regards,
Rama chary.Pammi
‎2007 Aug 06 8:58 AM
Hi Rama ,
Thanks for your answer ,
But my question is can i use both with selection variant & with passing some value from program
Regards
Saurabh