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

Returning from CALLED-PROGRAM's selection screen to CALLING-PROGRAM's selec

Former Member
0 Likes
408

Hi all,

I am calling a program from another program.

I want to return back to the CALLING-PROGRAM's when the execution of the CALLED-PROGRAM is over.

WHEN the CALLED-PROGRAM's execution is completed, I press F3 so that the CALLED-PROGRAM's SELECTION-SCREEN appears.

Now, I want to switch back from this screen to the CALLING-PROGRAM's SELECTION SCREEN.

Please advise me for the same.

Regards,

Saurabh Buksh.

3 REPLIES 3
Read only

Former Member
0 Likes
380

Hi

search for

"Program Statements to Leave a Called Program"

at

http://help.sap.com

Regards

Bernd

Read only

Former Member
0 Likes
380

Hi Saurabh,

You might have written a <b>SUBMIT</b> statement in your CALLING PROGRAM. In the SUBMIT statement, you have a option <b>AND RETURN</b>, which will solve your problem.

ex: <b>SUBMIT ZPROGRAM1 VIA SELECTION-SCREEN AND RETURN.</b>

Regards,

Abdul.

P.S: Reward Points, if useful.

Read only

0 Likes
380

After the submit statment add the command

LEAVE LIST-PROCESSING.

That will return you to the selection screen.