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

program dump : TABLE_INVALID_INDEX

Former Member
0 Likes
2,828

Hi Gurus,

i am back with a problem - i am running the program in back ground which updates a z-table.

but the prog. has failed in background and gave dump reason as - TABLE_INVALID_INDEX.

kindly help me - if any one possible.

Advance Thanks

Harini

1 ACCEPTED SOLUTION
Read only

harishaginati
Explorer
0 Likes
1,032

hi,

1) try to use MODIFY rather then UPDATE when updating DB tables, update doesn't create new record.. which might have caused the problem,

2) check if you are trying to modify or inserting internal tables with wrong index.

3) if this doesn't solve your problem copy and paste the error message so that we can help u better.

4)debug in fourground and if everything is fine do debugging in background so that you can know exactly where it is making such errors...

cheers and award points if useful,

Harish

4 REPLIES 4
Read only

Former Member
0 Likes
1,032

Hello,

It means that when u are updating the index of the table is not properly mentioned.

Are u using modify / Insert command ?

Use modify command.

Please post ur entire code so that we can help u out.

Regards,

Deepu.K

Read only

Former Member
0 Likes
1,032

Hello Harini,

I think the problem with the internal table.

You are try to modify an internal table with invalid index.

check this.

Vasanth

Read only

Former Member
0 Likes
1,032

hi Harini,

You need to revist the SQL statement used to update the Z-table.

While trying to update modify a record, it is finding multiple records with the same key, that is the reason for this error.

You should provide the complete key (the primary keys) in the where condition when updating a record in the database.

Hope this helps,

Sajan Joseph.

Read only

harishaginati
Explorer
0 Likes
1,033

hi,

1) try to use MODIFY rather then UPDATE when updating DB tables, update doesn't create new record.. which might have caused the problem,

2) check if you are trying to modify or inserting internal tables with wrong index.

3) if this doesn't solve your problem copy and paste the error message so that we can help u better.

4)debug in fourground and if everything is fine do debugging in background so that you can know exactly where it is making such errors...

cheers and award points if useful,

Harish