{1 - 24} GreyGrey
{25 - 49} GreenGreen
{50 - 499} BlueBlue
{500 - 4999} OrangeOrange
{5000 - 24999} RedRed
{25000+} BlackBlack

Please confirm that you would like to report this for an admin to review.


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 “



Confirm that you would like to Remove Email Alerts for your question. You cant undo this and you will not be able to re-subscribe.


Tags

No Answers

You must be Logged In to Answer this Question

Already a Member, Log In
Not a member yet? Sign Up
sap forum