‎2020 Mar 31 7:20 PM
Dear All,
The output grid list of FM REUSE_ALV_GRID_DISPLAY is displaied correctly with all fields visible.
Problem happens when I try to display ALV output by clicking button "Excel Sheet", there some fields disappear and no way to include them.
The issue occurs after having implemented a ZSTANDARD gui and related SET PF-STATUS as refhesh button was missing.
Any advice on what to check would be really appreciated
Thanks for your support.
‎2020 Apr 03 8:36 AM
Actually, by copying status STANDARD_FULLSCREEN from program SAPLSLVC_FULLSCREEN solved my problem, just in case somebody will face same issue.
‎2020 Mar 31 9:58 PM
Did you create ZSTANDARD by copying the standard status STANDARD from function group SALV?
What code did you add?
‎2020 Apr 01 8:34 AM
right Sandra, I have copied the STANDAND from SALV adding ICON_REFRESH in application toolbar and that is my snippet:
FORM zf_display_alv.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'ALV_USER_COMMAND'
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
TABLES
t_outtab = tb_alv
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID '00' TYPE 'I' NUMBER 001
WITH 'REUSE_ALV_GRID_DISPLAY call error: ' sy-subrc.
RETURN.
ENDIF.
ENDFORM.
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZSTANDARD'. "Copy of standard ALV
ENDFORM.
‎2020 Apr 03 8:42 AM
If you do a comment under a question/answer and you want to target someone else than the question/answer' author, the only solution is to copy/paste their hyperlinked name so that the person receives a warning (NB: @ doesn't work)
‎2020 Apr 03 8:36 AM
Actually, by copying status STANDARD_FULLSCREEN from program SAPLSLVC_FULLSCREEN solved my problem, just in case somebody will face same issue.