prog
. For prog , a character-like data object is expected.
ABAP_ADDITION_2 ... EXCLUDING fcode
What does it do? Use the EXCLUDING addition to insert the function
codes (which are inactive in the current GUI status) row by row into the
internal table fcode . For fcode , an internal table with a
flat character-like row type can be specified.
Function codes are only defined if they have been deactivated with the
relevant addition of the SET PF-STATUS statement. Statically
deactivated function codes in the GUI status are not defined.
Example ABAP Coding Determine the current status in a
PAI module.
DATA: status TYPE string,
prog TYPE string,
fcode TYPE SORTED TABLE OF sy-ucomm
WITH NON-UNIQUE KEY table_line.
...
MODULE user_command_100 INPUT.
...
GET PF-STATUS status PROGRAM prog EXCLUDING fcode.
...
ENDMODULE.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved