Application Development and Automation 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: 
Read only

button does not react the user action

Former Member
0 Likes
813

I cannot make it works and don't know the reason why. I created a simple report and a screen. When I run and click the button, nothing happens. Any one can help me to solve this problem?

Here is the source code:

  • screen

-


process before output.

process after input.

module click.

  • source code for report

-


report zdynpro_demo2.

data:

conn(5) type c value 'LA',

ok_code type sy-ucomm.

CAll screen 100.

module click input.

case ok_code.

when 'OK'.

message i006(zmsg).

when 'CANCEL'.

leave screen.

when others.

endcase.

endmodule.

-


1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
705

Hi,

Check the demo program DEMO_DYNPRO_GUI_STATUS..

In the PBO create a module. Then in that module ..give SET PF-STATUS '0100'. ..then double click on '0100' to create the GUI status..

Check this link for more details.

http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba99935c111d1829f0000e829fbfe/content.htm

THanks

Naren

5 REPLIES 5
Read only

Former Member
0 Likes
705

Hi,

In the PBO..did you create a module...and set the GUI status..

Thanks

Naren

Read only

0 Likes
705

no I did not do anything with PBO. How do I do that to make it works,

Thanks!

Read only

Former Member
0 Likes
706

Hi,

Check the demo program DEMO_DYNPRO_GUI_STATUS..

In the PBO create a module. Then in that module ..give SET PF-STATUS '0100'. ..then double click on '0100' to create the GUI status..

Check this link for more details.

http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba99935c111d1829f0000e829fbfe/content.htm

THanks

Naren

Read only

0 Likes
705

Thanks I got it but the problem is not setting the GUI status, the problem is I set the next screen is that screen so it does not exit.

Read only

Former Member
0 Likes
705

anyway, thanks for your helps!