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
How do you set up background jobs in sap? What are the steps? What are the events driven batch jobs?
What are the function modules used in f4 help?
While using extract datasets it is required to have a special workarea for interface. State true or false. : abap modularization
Can i Have Some Realtime Examples on Badi ?
How can we decide weather we can enhance the standard infotype or not ? : abap hr
How can the standard tables of sap be modified?
What is a table attribute? : abap data dictionary
What are the pooled and cluster tables?
What are the events used in interactive reports?
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization
How many structures can be created in a Ztable ?
What is the difference between call transaction and session method? : abap bdc
Define spool request?
What are the different types of work process?
What are pooled tables? : abap data dictionary