2009 Jan 09 4:49 AM
hi,
the spreadsheet option in my report output is being hidden .ie List->export->spreadsheet
even i copied a pf status in menupainter which already exists for other programs and passed the same in
alv list display but iam not getting the exceloption. in debug mode though i put break point near the form set pf status it is not stopping.even the pf status shows active mode .please suggest
DATA: g_status TYPE slis_formname VALUE 'STANDARD_01'.
FORM standard_01 USING extab TYPE slis_t_extab.
SET PF-STATUS 'STANDARD01' EXCLUDING extab .
ENDFORM.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_events = tbl_events
i_interface_check = ' '
i_callback_program = sy-repid
i_callback_pf_status_set = g_status
i_callback_user_command = g_user_command
is_layout = st_layout
it_fieldcat = tbl_fieldcat
i_default = 'X'
i_save = 'X'
TABLES
t_outtab = tbl_output
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.
2009 Jan 09 4:59 AM
hi,
the spreadsheet option in my report output is being hidden .ie List->export->spreadsheet
even i copied a pf status in menupainter which already exists for other programs and passed the same in
alv list display but iam not getting the exceloption. in debug mode though i put break point near the form set pf status it is not stopping.even the pf status shows active mode .please suggest
DATA: g_status TYPE slis_formname VALUE 'STANDARD_01'.
FORM standard_01 USING extab TYPE slis_t_extab.
SET PF-STATUS 'STANDARD01' EXCLUDING extab .
ENDFORM.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_events = tbl_events
i_interface_check = ' '
i_callback_program = sy-repid
i_callback_pf_status_set = g_status
i_callback_user_command = g_user_command
is_layout = st_layout
it_fieldcat = tbl_fieldcat
i_default = 'X'
i_save = 'X'
TABLES
t_outtab = tbl_output
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.
2009 Jan 09 4:59 AM