REUSE_ALV_GRID_DISPLAY hangs in background mode

Hi everyone,
I’ve coded this:

        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = g_repid
            is_layout               = gs_layout
            i_save                  = g_save
            is_variant              = gs_variant
            it_events               = gt_events
            it_fieldcat             = t_fieldcat[]
            it_sort                 = t_sort[]
          IMPORTING
            e_exit_caused_by_caller = g_exit_caused_by_caller
            es_exit_caused_by_user  = gs_exit_caused_by_user
          TABLES
            t_outtab                = t_ctrl02[]
          EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.

but it seems to hang forever when it’s scheduled in background.
However if I assign a layout through

        gs_variant-variant = '/my_variant'.
        gs_variant-text = 'my_variant'.

it seems to run okay.
Why isn’t it working in background?

ABAP Consultant, needs help regarding “REUSE_ALV_GRID_DISPLAY hangs in background mode “





Browse more questions like this in module: Uncategorized


Question filed under SAP Module: Uncategorized Tags: , , ,



Search for solution...


Related search terms:

Disqus this Question






sap forum