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: 

TABLE_INVALID_INDEX in Transactio CJ30

Former Member
0 Kudos
113

Hi Experts

While trying to upload a RTF File from desk top to budget item document text in Transaction CJ30, i have experienced the below dump. Request guidance:

TABLE_INVALID_INDEX

Error analysis

When changing or deleting one or more lines of the internal table

"\FUNCTION-POOL=STXK\DATA=ITF_PARA[]" or when inserting in the table

"\FUNCTION-POOL=STXK\DATA=ITF_PARA[]", 0 was used as

the line index. An index less than or equal to zero is not

allowed.

The error can occur when using the following options:

1. "INDEX idx" for specifying the line number in the table

"\FUNCTION-POOL=STXK\DATA=ITF_PARA[]"

where you want to change, insert or delete.

2. "FROM idx" for specifying the start index when deleting a line

area from or inserting a line area into the table

"\FUNCTION-POOL=STXK\DATA=ITF_PARA[]".

3. "TO idx" for specifying the end index when deleting a line

area from or inserting a line area into the table

"\FUNCTION-POOL=STXK\DATA=ITF_PARA[]".

At the time of the termination, the table contained 0 lines.

1 ACCEPTED SOLUTION

SantiMoreno
Participant
0 Kudos
73

Hi Marias,

Probably it's due the program has tried to make an operation of updating the table based on an index that, as far as the table has no entries, is 0, which is no allowed.

I'll make a check in the reading or updating the table to see whether it has content...

Anyway, could you attach the further detail of the dump (the code).

Cheers.

2 REPLIES 2

SantiMoreno
Participant
0 Kudos
74

Hi Marias,

Probably it's due the program has tried to make an operation of updating the table based on an index that, as far as the table has no entries, is 0, which is no allowed.

I'll make a check in the reading or updating the table to see whether it has content...

Anyway, could you attach the further detail of the dump (the code).

Cheers.

0 Kudos
73

Hi Santiago Luis

The dump error is given with more details:

How to correct the error

If the error occurred in your own ABAP program or in an SAP

program you modified, try to remove the error.

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"TABLE_INVALID_INDEX" " "

"SAPLSTXK" or "LSTXKFRI"

"RTF_PAR"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File

(Unconverted)".

3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More

Utilities->Upload/Download->Download".

4. Details about the conditions under which the error occurred or which

actions and input led to the error.

You may suggest the remedy.