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 Via selection and Execute with the values provided

Former Member
0 Likes
2,829

Hey guys,

Is it possible to SUBMIT a program via selection screen and automatically execute it with the values given?

example:

SUBMIT zprogram VIA SELECTION-SCREEN with p_para = v_para.

Then I want the program to automatically execute, without ticking the execute button..

Thanks!

Rgds,

Mark

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,010

Hi,

SUBMIT zprogram VIA SELECTION-SCREEN with p_para = v_para.

will fill the parameter p_para with v_para,if u use via selection screen selection screen of zprogram will appear to u in the case u must press the execute button there is no other go.with out pressing it is not possible.u can execute automatically in case u don;t want to see the selection screen(use SUBMIT zprogram with p_para = v_para.).

rgds,

bharat.

Hey guys,

Is it possible to SUBMIT a program via selection screen and automatically execute it with the values given?

example:

SUBMIT zprogram VIA SELECTION-SCREEN with p_para = v_para.

Then I want the program to automatically execute, without ticking the execute button..

Thanks!

Rgds,

Mark

5 REPLIES 5
Read only

Former Member
0 Likes
1,011

Hi,

SUBMIT zprogram VIA SELECTION-SCREEN with p_para = v_para.

will fill the parameter p_para with v_para,if u use via selection screen selection screen of zprogram will appear to u in the case u must press the execute button there is no other go.with out pressing it is not possible.u can execute automatically in case u don;t want to see the selection screen(use SUBMIT zprogram with p_para = v_para.).

rgds,

bharat.

Read only

Former Member
0 Likes
1,010

Then change your code like this...

SUBMIT zprogram with p_para = v_para.

Read only

0 Likes
1,010

Thanks guys!

Is it also possible to submit with a lot of parameters? For example there are 3 parameters:

p_para1

p_para2

p_para3

Read only

0 Likes
1,010

yes it's possible like

submit zreport with p_days eq p_days

with p_date eq p_date

with p_page eq p_page.

Read only

Former Member
0 Likes
1,010

hi

good

try this

SUBMIT program name

VIA SELECTION-SCREEN

AND RETURN.

<< WRITE YOUR NEXT STATEMENTS HERE>>

thanks

mrutyun^