Skip to Content
0
Former Member
Apr 10, 2006 at 10:13 AM

Use: REUSE_ALV_GRID_DISPLAY in batch

386 Views

Hallo,

I have a problem by using this function in batch.

In online there are no problems, but in batch i get allways an Abap-Dump.

*

Can anyone give me a tip where are my mistake.

Thanks Dieter

Here my Abap-Code:

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = PROGNAME

  • I_CALLBACK_PF_STATUS_SET = 'MAIN'

I_CALLBACK_USER_COMMAND = 'USER_COMMAND'

I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE_GRID'

IS_VARIANT = VARIANT

IS_LAYOUT = LAYOUT

IT_FIELDCAT = FIELDCAT

IT_SORT = SORT

IT_FILTER = FILTER

I_SAVE = 'A'

IT_EVENTS = EVENTS

IT_EVENT_EXIT = EVENT_EXIT

IS_PRINT = PRINT

TABLES

T_OUTTAB = ITAB

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2.

*