ABAPGET_PF - GET PF
General Data in Customer Master RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
GET PF-STATUS
Syntax
GET PF-STATUS status [PROGRAM prog] [EXCLUDING fcode].
Additions
1. ... PROGRAM prog
2. ... EXCLUDING fcode
Effect
This statement assigns to data object status the currently set GUI status, whose value is alsoavailable in the sy-pfkey system field. For status, you must specify a character-like variable. If no status is set (in the window, the empty status is displayed), status is initialized. If thestandard list status is set, status is set to the value "STLI".
Addition 1
...PROGRAM prog
Effect
Use addition PROGRAM to assign the name of the program in which the current GUI status is defined to variable prog. For prog, a character-like data object is expected.
Addition 2
... EXCLUDING fcode
Effect
Use addition EXCLUDING to insert the function codes that are inactive in the current GUI status row by row into the internal table fcode. For fcode, you can specify an internal table with aflatcharacter-like data type. Only those function codes are detemined that have been deactivated with theaddition of the same name of the SET PF-STATUS statement, and not the statically deactivated function codes in the GUI status.
Example
Determining 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.
CPI1466 during Backup rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2909 Date: 20120522 Time: 063316 triton ( 126 ms )






