cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Calling last calling program in the stack

saurabh_shukla4
Explorer
735

Hello experts,

  I have a program (dialog program - scr 400) screen and button on the screen. It's calling another program (+ transaction) having selection screen and after execution ALV grid displayed. After performing work it should back to original calling screen having dialog program screen (400).

ZPROGRAM1 (Screen 400) -> Call Transaction - ZPROGRAM2 (+selection screen) -> ALV screen and then back with same sequence.

We have tried with, AT SELECTION SCREEN EXIT-COMMAND and leave 0 or set screen 0 but somehow it is not working. CALL SCREEN will not work since it back button is in another program which is called.

How to call previous screens which are in call stack.

Regards,

PD

Sandra_Rossi
Active Contributor
What is your issue? Leaving the ALV screen and go back to the selection screen? Leaving the selection screen? Then post the relevant code. No need to mix your question with Web Dynpro and CALL TRANSACTION.
View Entire Topic
saurabh_shukla4
Explorer

Sorry for the wrong tag.

I want to leave selection screen and go back to the calling program screen (dialog programming). At present it is exiting the program.

ulrich_mhrke
Explorer
Normally the calling program continues after "call transaction". Maybe you have some additional code there which stops the program. Let us know your code around this call.