09-16-2008 10:41 PM
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.
-
09-16-2008 11:14 PM
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
09-16-2008 10:54 PM
Hi,
In the PBO..did you create a module...and set the GUI status..
Thanks
Naren
09-16-2008 11:01 PM
no I did not do anything with PBO. How do I do that to make it works,
Thanks!
09-16-2008 11:14 PM
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
09-17-2008 12:50 AM
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.
09-17-2008 12:50 AM