Skip to Content
0
Former Member
Jun 08, 2009 at 08:19 AM

ALV GRID DISPLAY

158 Views

Hi All,

I have a program where I need to display the ALV grid ad I have used a s below and its giving a dump

DATA:begin of lt_scr occurs 0,

field1 type char20,

field2 type char30,

end of lt_scr.

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

i_program_name = sy-repid

i_internal_tabname = 'LT_SCR'

i_client_never_display = 'X'

i_inclname = sy-repid

CHANGING

ct_fieldcat = LT_FCAT

EXCEPTIONS

inconsistent_interface = 1

program_error = 2

OTHERS = 3.

it gives me a dump.

"The ABAP program lines are wider than the internal table."

Any suggestions plz.