I have a screen that after entering an input value, a list is displayed. I want to pick from the list, which gives me a value to use for setting another screen. My problem is with the GUI Status and LEAVE-TO-LIST-PROCESSING. When I SET PF-STATUS space, my list is displayed and I get default Cancel, Find, etc, but no PICK function code to check in PAI. When I set pf-status using my own gui status, nothing happens when I make a selection from the App. Tool Bar.
The following is a code sample of the above scenario, note that when I use "space" when setting pf-status and check sy-ucomm 'rw' it works. I unfortunately can't do a line selection, though. Does anyone know what I should do?
...ELSE.
CALL SCREEN 2500 STARTING AT 60 05
ENDING AT 85 15.
*****************************************
exits to PBO here.
*****************************************
IF sy-ucomm = 'CANCEL'.....
MODULE status_2500 OUTPUT.
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
SET PF-STATUS 'ZSTEELLST'.
SET TITLEBAR '800'.
SUPPRESS DIALOG.
LOOP AT display_itab.
WRITE: / display_itab-scpart.
WA_SCPART = display_itab-scpart.
HIDE WA_SCPART.
ENDLOOP.
REFRESH display_itab.
ENDMODULE. " STATUS_2500 OUTPUT