2023 Mar 27 2:03 PM
Hi Friends,
I am using PF status in ALV grid. But PF_STATUS is now working, If click back or execute button then it displays "Choose valid option" message. There are lot answers in answers.sap.com but it's not working for me, so I have posted it.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = lv_program
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
is_layout = gs_layout
it_fieldcat = gt_fieldcat
i_default = 'X'
i_save = 'A'
it_events = gt_events
TABLES
t_outtab = gt_tstrun
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'STANDARD_FULLSCREEN' EXCLUDING rt_extab. "
ENDFORM.
Thanks with Regards,
Vallamuthu M.
2023 Mar 27 2:29 PM
2023 Mar 27 2:33 PM
2023 Mar 27 3:07 PM