Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding ExcelICON

Former Member
0 Likes
426

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.

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
406

hi,

check OSS note number 882320.

It will solve your problem.

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.

1 REPLY 1
Read only

GauthamV
Active Contributor
0 Likes
407

hi,

check OSS note number 882320.

It will solve your problem.