Skip to Content
0
Former Member
Aug 15, 2009 at 02:54 AM

REUSE_ALV_LIST_DISPLAY query

26 Views

Hi,,,

Im using REUSE_ALV_LIST_DISPLAY and i need to display a button 'PRINT RECEIPT' that can trigger a smartform for printing purposes.

i create a pf-status 'MENU' but i dont know how to display the button....

AT END OF PERNR.

GV_PERNR = GS_OUTTAB-PERNR.

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = SY-REPID

IS_LAYOUT = GS_LAYOUT

IT_FIELDCAT = GT_FIELDCAT

IT_EVENTS = GT_EVENTS

TABLES

T_OUTTAB = LT_OUTTAB2

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2.

Can you please help me.

Thank you