Skip to Content
0
Former Member
Mar 16, 2007 at 04:46 PM

ALV background using 'REUSE_ALV_GRID_DISPLAY'

1089 Views

Hi,

I am trying to run a report in background using this code.

I can see completion by Sm37 but there is no list avaible message.

FYI.. this is not data issue because when i run in background I get output.

MOVE SY-REPID TO G_REPID.

T_PRINT-PRINT = 'X'.

  • PERFORM COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE[].

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

  • I_BACKGROUND_ID =

I_CALLBACK_PROGRAM = G_REPID

  • i_structure_name =

IS_LAYOUT = X_LAYOUT

  • I_CALLBACK_USER_COMMAND = G_UCOMM1

IT_FIELDCAT = T_FIELDCAT[]

  • IT_EXCLUDING =

  • it_special_groups = gt_sp_group[]

IT_SORT = T_SORT[]

  • IT_FILTER =

  • IS_SEL_HIDE =

  • i_default =

i_save = 'U'

  • is_variant =

  • IT_EVENTS =

  • IT_EVENT_EXIT =

IS_PRINT = t_print

  • I_SCREEN_START_COLUMN = 0

  • I_SCREEN_START_LINE = 0

  • I_SCREEN_END_COLUMN = 0

  • I_SCREEN_END_LINE = 0

  • IMPORTING

  • E_EXIT_CAUSED_BY_CALLER =

TABLES

T_OUTTAB = T_data[].

Any ideas?

Regards

Praveen