Use
The IT_PFKEY structure describes a single function key (used to be called a PFKey).
The list of function keys associated with a screen can be viewed by clicking the right mouse button in a SAPGUI screen. The IT_PFKEY structure describes one of the keys in that list.
Syntax
typedef struct IT_PFKEY_t {
char name[80];
char toollabel[80];
char info[80];
char accel[8];
short flags;
short order;
int iVKValue;
int iValue;
} IT_PFKEY;
typedef IT_PFKEY *PIT_PFKEY;
#define IT_PFKEY_SIZE (sizeof(IT_PFKEY))
Members
name |
Name of function key. This is equivalent to the function text in SAPGUI. | |
toollabel |
The label of the button on the toolbar (if the key has a toolbar button). | |
info |
Tooltip text, which is the text that shows when a user moves the mouse over the toolbar button (if the key has a toolbar button). This is the information in the Info text field in the ABAP Menu painter. | |
accel |
(not used for function keys) | |
flags |
Indicates whether the key appears on the toolbar. To see if the key is a toolbar key, mask the flas with PF_SHORT. | |
order |
Order of the key's button in the toolbar (if the key has a toolbar button). | |
iVKValue |
Value in Windows Virtual-Key codes. | |
iValue |
SAP PFKEY value. This is the SAP code for the function keys. This code is for the F1 to F12 keys and key combination as follows: | |
F1 to F12 |
1 to 12 | |
Shift+F1 to Shift+F12 |
13 to 24 | |
Ctrl+F1 to Ctrl+F12 |
25 to 36 | |
Ctrl+Shift+F1 to Ctrl+Shift+F12 |
37 to 48 |