‎2007 Sep 06 10:10 AM
HI ALL,
MY ONE REPORT IS RUNNING IN SAP 4.7 SERVER. IT IS A ALV REPORT.
AFTER UPGRADING SAP 4.7 TO ECC 6.0 NOW I'M RUNNING THE SAME REPORT IN ECC 6.0 NOW IT IS NOT SHOWING DATA.
DATA IS COMMING IN INTERNAL TABLE UPTO ALV GRID DISPLAY FUNCTION
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
i_background_id = 'ALV_BACKGROUND'
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
it_sort = gt_sort[]
i_save = 'A'
it_events = gt_events[]
TABLES
t_outtab = IT_TAB
EXCEPTIONS
program_error = 1
OTHERS = 3.
CAN ANY BODY SUGEST WHY THIS IS HAPPING.
MUKESH
‎2007 Sep 06 10:14 AM
hi,
make following changes to the FM
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_background_id = 'ALV_BACKGROUND'---comment it
TABLES
t_outtab = IT_TAB[]---put braces after the internal table
Reward if helpful.
‎2007 Sep 06 10:38 AM
HI,
PROB. IS THE SAME CODE IS RUNNING IN 4.7 SERVER.
BUT IN ECC 6.0 IT DISPLAY ONLY REPORT HEADING PART.
I.E REPORT IS RUNNING NO ERROR COMMING DURING DUBEING INTERNAL TABLE CONTAIN DATA.
BUT OUTOUT IS ONLY COLUMN HEADING NO DATA.
MUKESH
‎2007 Sep 06 10:28 AM
Hi mukesh,
check the field catalog, most probably issue is there.
check whether the field name is in caps.
‎2009 Nov 16 4:42 AM