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

Return to Selection screen

rahulnavandar
Explorer
0 Likes
570

Hi All,

I have a requirement in which a program calls another program. Also they want when the alv is displayed for 2nd program and when we back out it should come to selection screen of 1st program.

i have used the SUBMIT statement and after that

LEAVE TO TRANSACTION '1st PROGRAM'.

<b>I want to know is there any other option for 'LEAVE TO TRANSACTION' statement?</b>

I tried with EXIT but it didnt work.

4 REPLIES 4
Read only

Former Member
0 Likes
543

Hi,

Did you try

SUBMIT.. AND RETURN.

Thanks,

Naren

Read only

Former Member
0 Likes
543

Hi,

use <b>Leave screen '1000'.</b>

Regards

Sudheer

Read only

Former Member
0 Likes
543

Hi rahul,

1. If the 2nd program is a z program,

only then we can do something about it.

2. Normally this will happen.

1st program selection screeen. (then execute)

2nd program ALV list (then back)

2nd program selection screen (then back)

1st program selection screen.

regards,

amit m.

Read only

Former Member
0 Likes
543

Hi Rahul,

After SUBMIT, you can use the RETURN stmt. as suggested by naren.

Use <b>SUBMIT ....(Prog name).... AND RETURN</b>

Hope this resolves your query.

Reward all the helpful answers.

Regards