2008 Apr 22 3:47 AM
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.
2008 Apr 22 4:22 AM
Hi Mark,
Check the below one .You dont need to specify structure at FORM ..part as it inherits the properties from PERFORM.
Regards,
Venkat.O
PERFORM create_alv_list TABLES t_table
USING alv_sku
i_events.
PERFORM create_alv_list TABLES t_table
USING alv_resource
i_events1.
*&---------------------------------------------------------------------*
*& Form create_alv_list
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->T_TABLE text
* -->P_TABNAME text
* -->P_EVENTS text
*----------------------------------------------------------------------*
FORM create_alv_list TABLES t_table
USING p_tabname
p_events.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_fieldcat[] "You dont need to specify [] here
is_layout = i_layout
i_tabname = p_tabname
it_events = p_events
TABLES
t_outtab = t_table.
ENDFORM. "create_alv_list
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.
2008 Apr 22 4:07 AM
Hi Mark,
check this
PERFORM create_alv_list TABLES t_table
USING alv_sku
i_events.
PERFORM create_alv_list TABLES t_table
USING alv_resource
i_events1.reward if helpful
raam
2008 Apr 22 4:22 AM
Hi Mark,
Check the below one .You dont need to specify structure at FORM ..part as it inherits the properties from PERFORM.
Regards,
Venkat.O
PERFORM create_alv_list TABLES t_table
USING alv_sku
i_events.
PERFORM create_alv_list TABLES t_table
USING alv_resource
i_events1.
*&---------------------------------------------------------------------*
*& Form create_alv_list
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->T_TABLE text
* -->P_TABNAME text
* -->P_EVENTS text
*----------------------------------------------------------------------*
FORM create_alv_list TABLES t_table
USING p_tabname
p_events.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_fieldcat[] "You dont need to specify [] here
is_layout = i_layout
i_tabname = p_tabname
it_events = p_events
TABLES
t_outtab = t_table.
ENDFORM. "create_alv_list
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |