Skip to Content
0
Former Member
Oct 21, 2008 at 09:26 AM

At selection screen

41 Views

Hello Everyone,

The following snippet mentioned below as been taken from a book

but doesn't work

Program :

selection-screen pushbutton 10(20) text-001 user-command engl.

selection-screen pushbutton 50(20) text-002 user-command germ.

at selection-screen.

at user-command.

case sy-ucomm.

when 'engl'.

lang-engl = 'Y'.

write:/ 'English'.

when 'germ'.

lang-german = 'Y'.

write:/ 'German'.

endcase.

when the push button is pressed it doesn't triggers the user command and also doesn't write the contents as per the case selected.

Does anybody has a better code or a sample to explain this better

ie AT USER-COMMAND.

Regards,

Ranjith Nambiar