Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV NOT DISPLAYING DATA

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

Hi mukesh,

check the field catalog, most probably issue is there.

check whether the field name is in caps.

Former Member
0 Kudos

thanks