Skip to Content
0
Former Member
Sep 21, 2007 at 11:59 AM

Problam with i_callback_user_command in ALV list for secondary list print

297 Views

I have a ALV LIst output for my report wherever i run the report my report is working fine. in this report i used for ""i_callback_user_command = 'SUMMARY' "" command for display the secondary list <i>(the purpose of display summary of the report in secondary list)</i> but my secondary list is not working fine coz this is display in the same main list and if i wana see my main list after my secondary list its exit from main too.

If it can do through a popup with ALV LIST it will be much better for me.

This is my code what i m using plz go through it if u can help me.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = sy-repid

i_callback_top_of_page = 'TOP_OF_PAGE'

i_callback_user_command = 'SUMMARY'

it_fieldcat = i_fieldcat

is_variant = l_layout

i_save = 'A'

is_layout = w_layo

TABLES

t_outtab = i_final

EXCEPTIONS

program_error = 1

OTHERS = 2.

i am writing a table on secondary list