2007 Dec 17 9:50 AM
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
2007 Dec 17 9:57 AM
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.
2007 Dec 17 9:57 AM
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.
2007 Dec 17 9:59 AM
Then change your code like this...
SUBMIT zprogram with p_para = v_para.
2007 Dec 17 10:07 AM
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
2007 Dec 17 10:09 AM
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.
2007 Dec 17 10:12 AM
hi
good
try this
SUBMIT program name
VIA SELECTION-SCREEN
AND RETURN.
<< WRITE YOUR NEXT STATEMENTS HERE>>
thanks
mrutyun^