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

screen call

Former Member
0 Likes
585

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

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
549

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

Read only

Former Member
0 Likes
549

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.

Read only

Former Member
0 Likes
549

Hi,

Hi screen no should be in ' '.like '300'.

still not working then

insted of call screen.

try leave to screen '300'.

Read only

Former Member
0 Likes
549

this code is working.Please check your function code of button.

Thanks

Suman