Application Development 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: 

SUBMIT Via selection and Execute with the values provided

Former Member
0 Kudos
1,957

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

Former Member
0 Kudos
138

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.

5 REPLIES 5

Former Member
0 Kudos
139

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.

Former Member
0 Kudos
138

Then change your code like this...

SUBMIT zprogram with p_para = v_para.

0 Kudos
138

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

0 Kudos
138

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.

Former Member
0 Kudos
138

hi

good

try this

SUBMIT program name

VIA SELECTION-SCREEN

AND RETURN.

<< WRITE YOUR NEXT STATEMENTS HERE>>

thanks

mrutyun^