Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Submit program

Former Member
0 Likes
484

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

3 REPLIES 3
Read only

Former Member
0 Likes
411

see example program

Read only

Former Member
0 Likes
411

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

Read only

0 Likes
411

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