Ansicht
Dokumentation
Tip-No.: 2091 ( INFO2091 )
SY-PFKEY after Call Screen in a list
Tip-No.: 2091
( INFO2091 )
RFUMSV00 - Advance Return for Tax on Sales/Purchases
BAL Application Log Documentation
This documentation is copyright by SAP AG.
Short text
SY-PFKEY after Call Screen in a list
Tip-No.: 2091
Symptom
If you issue a CALL SCREEN in an interactive event (AT LINE-SELECTION..)
then the system field SY-PFKEY contains the wrong value after returning
- it contains the value set with SET PF-STATUS when a branching list
was being created.
Example:
Basic list with SET PF-STATUS 'MAIN', SY-PFKEY = MAIN
AT LINE-SELECTION
--> branching list, SET PF-STATUS '0001', SY-PFKEY = 0001
Return ( F3 / BACK) SY-PFKEY = MAIN
AT USER-COMMAND SY-PFKEY = MAIN
--> CALL SCREEN mwith (PBO) SET PF-STATUS 'DYNP', SY-PFKEY = DYNP
--> Return from Call Screen SY-PFKEY = 0001
instead of MAIN
Cause
Error in list processor.
Solution
Correction.
Until then, avoid using query of SY-PFKEY after Call Screen.
Warning: If the status, set with SET PF-STATUS during the creation of
of a list, does not exist in the interface (Warning 00262
- no status entry for ... found), then the SY-PFKEY field
for this list will always be initialized with SPACE after
an interactive event.
rdisp/max_wprun_time - Maximum work process run time Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 1498 Date: 20240420 Time: 144008 sap01-206 ( 24 ms )