06-09-2011 11:27 PM
Hello,
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.
Thanks.
06-11-2011 6:18 AM
Hi,
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.
Thanks/Regards,
Himanshu
06-09-2011 11:50 PM
When there is nothing in PBO and PAI then the control automatically comes out of the screen and executes the following code in the same processing block or next processing block .
It does the same thing even if you click on execute or just press enter on the screen instead of using NEXT button.
06-10-2011 5:01 PM
Oh I see. It is weird. I recreated a same program. I didnt copy it. I tried to create a same program. But when i click next button, it is not going to next screen.
I couldn't figure what is causing to move to out put screen.
06-10-2011 6:03 PM
After the call screen 100, there is some code in the standard program.
if you have another screen call or any other code after call screen 100 then the control would be passed to next screen/code.
06-11-2011 6:18 AM
Hi,
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.
Thanks/Regards,
Himanshu