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: 

To resolve error 'SAPSQL_TABNAME_TOO_LONG'

Former Member
0 Kudos

I am updating 3 fields the database table through an internal table.

All the fields in the database table and internal table are not same except the 3 fields which I want to update..

Now when I am doing so, receving the error <b>'SAPSQL_TABNAME_TOO_LONG'</b>..

<b>Error analysis :</b>

The table name " 000000 00000000 "

many.

If the table name was not specified until runtime, there is

an ABAP/4 programming error.

If the table name was specified statically in the program, there is

an internal error.

Please help me on how to correct this error..

The error suggests that the length defined for the table

name in the ABAP/4 Dictionary is different from that in the

database interface.

1 REPLY 1

former_member223537
Active Contributor
0 Kudos

Hi Arif,

There seems to be some error with the code which happens to be at runtime.

Could you please paste the code.

Best regards,

Prashant