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
What is exception class and test class. How to use it?
Explain the difference between a pool table and a transparent table and how they are stored at the database level?
What is a data class? : abap data dictionary
What are the functional areas? User groups? and how does ABAP query work in relation to these?
what are the various types of parameters and how are they distinguished from one another?
What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?
What is the difference between synchronous and asynchronous update?
what is the difference between Blocked ALV and interactive ALV?
What is tcode se16?
What is generic area buffering in abap?
What is the use of the raising exception? : abap modularization
What is the differences between abap and ooabap. In which situation we useooabap?
Where can you find error log for call transaction? : abap bdc
Define external layer?
What is difference between float and packed data type?