Hi All,
We have a Report prog, which is shceduled as Batch Job.
Now what happens is this batch job gets cancelled due to lack of memory
Below is the FM used in the prog.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_BUFFER_ACTIVE = 'X'
I_CALLBACK_PROGRAM = G_REPID
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
IT_EVENTS = GT_EVENTS[]
TABLES
T_OUTTAB = P_GT_OUTTAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Now what i noticed is I_BUFFER_ACTIVE is 'X' in the FM REUSE_ALV_GRID_DISPLAY
What is the significance of this parameter ?
Will my problem solve if i set I_BUFFER_ACTIVE to ''.
Any suggestions are invited.
Thanks!