‎2006 Nov 29 9:01 AM
‎2006 Nov 29 9:04 AM
Check sap documentaion for the at pf## statement:
AT PF##
Syntax
AT PF##.
Effect
This statemet defines an event block whose event is triggered by the ABAP runtime environment during list display - provided the screen cursor is on a list line and a function is selected using the function code PF##. Here ## stands for a number between 01 and 24. In the= standard list status, these function codes are assigned to the function keys of the input device.
Note
Instead of AT PF## , AT USER-COMMAND should always be used and special function codes should be assigned to the required function keys.
Regards,
Ravi
‎2006 Nov 29 9:04 AM
hi,
For more details have a look at below link.
http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm
rgds
Anver
‎2006 Nov 29 9:06 AM
Hi,
At PF<nnn> means u r setting the PF status ,at user command is nothing but to handle user actions...Such as 'SAVE','ENTER'.
Regards,
Nagaraj
‎2006 Nov 29 9:07 AM
AT PF<nn> IS FIRING FOR PRESSING FUNCTION KEYS LIKE F1,F2 ..
FOR THAT AT PF01 OR AT PF02. YOU HAVE TO CODE.
BUT THAT IS OBSOLETE NOW.
AT USER-COMMAND WILL FIRE WHEN YOU ARE CREATING ANY STATUS AND CLICK ON MENUBAR OR APPLICATION TOOL BAR.
REGARDS
SHIBA DUTTA
‎2006 Nov 29 9:13 AM
HI,
AT USER-COMMAND will be triggered when you click on Push Buttons or menu buttons, like BACK, EXIT, CANCEL or any button defined in PF Status.
AT USER-COMMAND Point at which the user presses a function key or enters a command in the command field.
AT PF<nn> Point at which the user presses
the function key with the
function code PF<n>
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
Regards,
Laxmi.