‎2008 Aug 08 1:55 PM
hii all,
call screen 100.
&----
*& Module STATUS_0100 OUTPUT
&----
text
----
module STATUS_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
endmodule. " STATUS_0100 OUTPUT
&----
*& Module USER_COMMAND_0100 INPUT
&----
text
----
module USER_COMMAND_0100 input.
case sy-ucomm.
when 'PUSH'.
call screen 101.
endcase.
endmodule. " USER_COMMAND_0100 INPUT
above code is not working as.........
i designed a push button on scren painter and i want call another acreen 101 when user push on the button, but this is not working................
please help me out.............
thanks
babbal
‎2008 Aug 08 2:03 PM
Have you given the function code "PUSH" to your pushbutton, if yes go to SE51 and display your dynpro, go to element list tab, there should be a field with a type "OK", give it a name like ok_code or so, define this field in your programm like sy-ucomm and use this field and not sy-ucomm in your modules.
(First dynpro module programmning ?)
Regards
‎2008 Aug 08 2:04 PM
Hi,
Check the f-code for the push button once again.
and try to debugg the screen and see what is the value of sy-ucomm.
‎2008 Aug 08 2:04 PM
Hi,
Hi screen no should be in ' '.like '300'.
still not working then
insted of call screen.
try leave to screen '300'.
‎2008 Aug 08 2:20 PM
this code is working.Please check your function code of button.
Thanks
Suman