Application Development 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: 

go back after CALL TRANSACTION

Former Member
0 Kudos

Hello,

in my program I'm using the CALL TRANSACTION-statement which calls a program using a SELECTION-SCREEN. After the called program has finished, there is a LEAVE TO SCREEN 0 statement.

So I have the problem, that my dialog is using CALL TRANSACTION, the called program does its job and after it, it leaves to the SELECTION-SCREEN and doesn't go back to the calling dialog. What do I have to do?

thx

4 REPLIES 4

Former Member
0 Kudos

Hi Mike,

Instead of LEAVE TO SCREEN 0, try SET SCREEN (scrnumber). This might help you in displaying the screen that you are interested.

<i>Reward points for informative answers.</i>

Best Regards,

Ram.

0 Kudos

ok this is a solution, i also thought about, but I don't want to modify the called program.

0 Kudos

so I think I have to use the LEAVE PROGRAM-statement in the called program, but I don't want to change the called program. Isn't there an other way to solve this problem?

alejandro_bindi
Active Contributor
0 Kudos

Try filling called program's selection screen fields with SET PARAMETER statements, and then use CALL TRANSACTION...AND SKIP FIRST SCREEN.

And in the called program, instead of using LEAVE TO SCREEN 0, simply use LEAVE PROGRAM (that's if you can modify it).

Try this.

Regards,

Please reward points if helpful.