Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV output button event

Hi

We are using ALV grid FM, when you click addon <List> button in ALV grid

it displays list as output. In list output, i have add <Export> button and defined gui status and displayed at application bar.

when i click that export button , i am not able to catch the function code SY-UCOMM value.when i add standard <Print> button in applciation bar, its working by debugging into standard screen.

Does event is required to catch that?

In the list

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = SY-CPROG

I_CALLBACK_PF_STATUS_SET = GUIST_LIST

I_CALLBACK_USER_COMMAND = UCOMM_LIST

I have codded as below too.

FORM UCOMM_LIST USING r_ucomm LIKE sy-ucomm rs_selfield TYPE

slis_selfield.

WHEN SY-UCOMM.

  • i can get func code for ALV <list> button. Not the <Export> button function of output list.

...no value

ENDFORM.

Former Member
Not what you were looking for? View more on this topic or Ask a question