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

Using the Submit & Return

Former Member
0 Likes
516

Hi all,

I am using the Submit & Return statement for a background process. I have a program1 through which i am calling the program2, and passing the selection-screen parameters for program2 through program1 using the submit & return. However, although i am using RETURN statement, in the end, the program throws me back to the selection-screen of program2, i want the END-OF-SELECTION data to be displayed which is written in program1. How can be this done?

Thanks.

Harshad. M

3 REPLIES 3
Read only

Former Member
0 Likes
475

solved

Read only

Former Member
0 Likes
475

try like this:

submit report2 with p_test eq 's_text '

and return

-> p_test is a selection scr parameter in report2 passing the selection screen parameter of report 1 to this

Read only

Former Member
0 Likes
475

Hi,

Try this.

SUBMIT <pgm name> USING SELECTION-SCREEN <screen no>

WITH <selection-screen paramaters> = <value> AND RETURN.

The above statement will skip the selection screen and goes to the end of selection of the program2.

Hope this may be helpful.

Regards,

Sharin.