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: 

button does not react the user action

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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

Thanks

Naren

0 Kudos

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

Thanks!

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

anyway, thanks for your helps!