Skip to Content
0
Aug 10, 2012 at 06:49 AM

reuse_alv_grid_display data truncating

22 Views

I developed the ALV report, when i am displaying the data is truncating . As i decalred the mara_itab with another required fileds and v_text with datatype C.

Data : v_text(500).

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = REPNAME

IT_FIELDCAT = IT_FCAT[]

TABLES

T_OUTTAB = MARA_ITAB.(Here v_text filed contaning 189 char(full data) found with debug)

IF SY-SUBRC <> 0.

WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_LIST_DISPLAY'.

ENDIF.

I found with debugging is that the Internal Table MARA_ITAB field v_text contaning full data of 189 characters, But when i execting the output containing only 128 characters remaining data is truncating, left of the fields data is coming in proper way( those fields data like matkl,mtart etc not more than 50 char).

If the v_text contaning below 128 characters data fully displaying.

plz help and thanks in advance.