2009 Jun 08 9:19 AM
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.
2009 Jun 08 9:27 AM
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.
2009 Jun 08 9:21 AM
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.
2009 Jun 08 9:26 AM
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
2009 Jun 08 9:27 AM
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
2009 Jun 08 9:28 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |