What's the use of AT PF event?

Answer Posted / mishra

When the user chooses a function code PF<nn> (<nn> can be
between 01 and 24), the system always triggers the AT
PF<nn> event. In the standard list status, the function
keys F<nn> that are not reserved for predefined system
functions all have the function code PF<nn> as long as a
corresponding event block is defined in the program.

AT PF<nn>.
<statements>.

These event blocks are executed when the user chooses the
corresponding function key. The position of the cursor in
the list is irrelevant.

If you use these event blocks at all, it should only be for
temporary test versions. In production programs, you should
only use AT USER-COMMAND with a dialog status of your own
to assign function codes to function keys. When you use
your own interfaces, the system displays a function text
explaining what the function does. This does not happen
when you use AT PF<nn> event blocks.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between Insert, Update and Modify?

687


How do you use tab sets in layout sets?

660


How many types of views are there ?

647


What are the different database integrities?

582


What is an abap/4 query? : abap hr

611






Can i Have Some Realtime Examples on Badi ?

8294


PLEASE HELP ANYONE ON THIS ISSUE,is there any problem with this function module :RHPQ_T77BX_ADD_QUALIS_OF_DPLAN. IT IS TRIGGERING BEFORE COMPLETION OF THE DEVELOPMENT PLAN but it has to trigger after compltion of development plan..this issue raised in my project..so reply urgently..thanks in advance..

1661


What are the restrictions on subscreens?

651


What is transparent table?

602


Did you create any joins?

553


1. what is IDOC monitoring ? what is the tcode used for idoc monitoring ? 2 . what is change pointer in ale ?

6657


In delivery processing which step comes first picking, packing, posting goods issue ?

1643


What is the difference between getting and get late?

593


What is luw?

688


Application Category?

920