If you go to se80, type DEMO_HELLO_WORLD. This is standard report.
I have a question, how it get executed from call screen 100 back to output screen.
What triggers push button next to output screen. I explored to see any logic writtten in PAI. I dont see anything. Any thoughts how it is working.
As per my understanding, the code is returning back to the report when we do any action on the screen because in the attributes of screen 100, the next screen is maintained as 0. Hence whenever an action takes place on screen 100, it internally calls the statement Leave to screen 0.
I would advise you to do the same in the screen that you have created.
Please try this and let know.