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: 

ABAP dynpro - call screen

juraj14
Explorer

Hello, i have pretty simple program with few dynpros but there is some problem i am facing and i dont know if i am doing something wrong or its some sort of bug.

The program landscape (screens/dynpros) looks exactly like this:

2000 acts like "main screen" and than there are 2 others screen but both are only called from 2000 (cant call 3000 from 4000 and vice versa )

Problem is:

when i go from 2000 to 3000 and back, and then from 2000 to 4000 and want to go back to 2000, i have to press back button in dynpro 4000 two times.

When I go from 2000 to 3000 and back and repeat this lets say 25 times, then when i go from 2000 to 4000 and then want to go back to 2000 , i have to press back button 25 times.

This is only happening when i want to go back to 2000 from 4000. Not when i want to go back to 2000 from 3000.

I use this concept (using only commands: call screen and leave to screen 0) in many applications and never experience such behavior like this.

PS: all dynpros have in attributes set "next dynpro" default value, itself (for example dynpro 2000 have next dynpro set 2000 etc.)

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos

Weird.

Your sequence diagram shows that you use LEAVE TO SCREEN 0 to go from 3000 to 2000 (that's correct), but what you experience is like if you use CALL SCREEN 2000.

It's difficult to say what the error is, without seeing your code.