‎2007 Jun 14 11:17 AM
Hi,
In my program I don't have any screens , It contains only the selection-screen,
I have putted the PF-status in the program, but what is my problem was The user command is not working for me, is there any other method to use the user command while using the selection screen , Help me
Regards,
Janani Sudhakar.
‎2007 Jun 14 11:21 AM
hi,
IF U ATTACH A PF-STATUS the user command will be store in sy-ucomm.
other wise for selection screen user command will be stored in sscrfields-ucomm.
here sscrfields is a system defined structure.
rgds,
bharat.
‎2007 Jun 14 11:24 AM
hi,
try using with AT LINE-SELECTION event or when use AT USER-COMMAND before that u have to assign a screen for that using AT PF-STATUS........
otherwise AT USER-COMMAND command wont work.
if helpful reward some points.
with regards,
suresh.
‎2007 Jun 14 12:37 PM
hi,
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'BACK'.
LEAVE PROGRAM.
WHEN 'EXIT'.
LEAVE SCREEN.
WHEN 'CANC'.
LEAVE SCREEN.
when 'pushbutton'.
endcase.
IN UR code while displaying any report use set pf-status before that form.
SET PF-STATUS '0001'.
PERFORM F_DISPLAY.