‎2007 Apr 13 7:12 AM
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.
‎2007 Apr 13 7:15 AM
‎2007 Apr 13 7:16 AM
‎2007 Apr 13 7:19 AM
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.
‎2007 Apr 13 7:20 AM
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