I am using the FM ' REUSE_ALV_BLOCK_LIST_APPEND ' in my requirement . This FM is supposed to be called many times. So, to avoid redundancy of code, I want to use a subroutine passing the few tables and a field.
However, I am facing problem passing the data table which will always have different structure .
I am writing my part of code below :
p_fieldcat TYPE slis_t_fieldcat_alv
p_events TYPE slis_t_event
p_data_table TYPE table <<----
I am not able to find what type should I pass here ?
p_tabname TYPE slis_tabname
endform. " REUSE_ALV_BLOCK_LIST_APPEND