Skip to Content
0
Former Member
Apr 22, 2008 at 02:47 AM

Problem with the passing parameter to a subroutine

12 Views

Hi guys,

I have this subroutine below, I wnat to pass 2 table table1 and table2 and p_tabname for the first table is alv_sku for the second is alv_resource also p_events for the first table is i_events and i_events1 for teh second...

How am i going to put it in my perform statement... Thanks a lot!

FORM create_alv_list TABLES t_table STRUCTURE zzalvsku

USING p_tabname TYPE SLIS_TABNAME

p_events TYPE SLIS_T_EVENT.

CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'

EXPORTING

it_fieldcat = i_fieldcat[]

is_layout = i_layout

i_tabname = p_tabname

it_events = p_events

TABLES

t_outtab = t_table.

ENDFORM.