01-23-2021 9:09 PM
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.)
01-23-2021 9:33 PM
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.