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: 

DEMO_HELLO_WORLD

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

former_member191735
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

0 Kudos

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.

Former Member
0 Kudos

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