Application Development and Automation 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: 
Read only

ALV GRID DISPLAY

Former Member
0 Likes
822

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
663

Hi,

This problem is because of the new ABAP editor.

Check the editor settings in your system in SE38.

Go to Settings and tick the check box for line length 72 characters.

This is a common problem with the new ABAP editor.

Regards,

Ankur Parab

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.

4 REPLIES 4
Read only

amit_khare
Active Contributor
0 Likes
663

First of all 'REUSE_ALV_FIELDCATALOG_MERGE' needs a reference structure created in SE11 for creating fieldcatalog and cannot process for intenal table.

This parameter i_internal_tabname is of type ref to standard table.

Read only

Former Member
0 Likes
663

Hi,

Keep your program line length less than 70, give line breaks after 69th character.

This will solve your problem.

Regards

Karthik D

P.S.: Don't use ALL-Capital letters in subject line

Read only

Former Member
0 Likes
664

Hi,

This problem is because of the new ABAP editor.

Check the editor settings in your system in SE38.

Go to Settings and tick the check box for line length 72 characters.

This is a common problem with the new ABAP editor.

Regards,

Ankur Parab

Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
663

Hi,

Check in your program, whether any line is exceeding more than 73 character.

If it is exceeding ,then reduce it to below 73 characters.

Thanks & Regards