Sei sulla pagina 1di 9

TABLE_INVALID_INDEX dump

1 of 9

https://archive.sap.com/discussions/thread/3325642

10/31/2016 8:05 PM

TABLE_INVALID_INDEX dump

2 of 9

https://archive.sap.com/discussions/thread/3325642

Hi Guys
please help I'm receiving this dump in the system. what step should I do next? thanks
What happened?
Error in the ABAP Application Program
The current ABAP program "GP4ST3WOGYV85ZHWKH00G33FYP4" had to
because it has
come across a statement that unfortunately cannot be executed
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis

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


"{A:715*\TYPE=%_T00003S00000114O0000014532}" or when inserting in the table
"{A:715*\TYPE=%_T00003S00000114O0000014532}", 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
"{A:715*\TYPE=%_T00003S00000114O0000014532}"

10/31/2016 8:05 PM

TABLE_INVALID_INDEX dump

3 of 9

https://archive.sap.com/discussions/thread/3325642

"{A:715*\TYPE=%_T00003S00000114O0000014532}"
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
"{A:715*\TYPE=%_T00003S00000114O0000014532}".
3. "TO idx" for specifying the end index when deleting a line
area from or inserting a line area into the table
"{A:715*\TYPE=%_T00003S00000114O0000014532}".
At the time of the termination, the table contained 5030 lines.
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" " "
"GP4ST3WOGYV85ZHWKH00G33FYP4" or "GP4ST3WOGYV85ZHWKH00G33FYP4"
"START_ROUTINE"
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

10/31/2016 8:05 PM

TABLE_INVALID_INDEX dump

4 of 9

https://archive.sap.com/discussions/thread/3325642

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.

Hal Jordan
March 14, 2013 at 04:24 AM
0 Likes

Helpful Answer by
Gurulakshmi Varadharaj

Kartik P
Raymond Giuseppi

Helpful Answer

Gurulakshmi Varadharaj

replied
March 14, 2013 at 07:06 AM

Hi Hal Jordan,
Debug the code where TABLE_INVALID_INDEX error
occurs with help of ST22.
If Delete or modify statement is written with index as
below,
For eg: MODIFY itab from wa INDEX sy-tabix
TRANSPROTING field.
In above example, if the index value SY-TABIX = 0, then
the error may occur.
So that you may be able to analyze why the index value
is Zero.

10/31/2016 8:05 PM

TABLE_INVALID_INDEX dump

5 of 9

https://archive.sap.com/discussions/thread/3325642

So that you may be able to analyze why the index value


is Zero.
Regards,
Gurulakshmi
1

Josh Jacob

replied
March 14, 2013 at 07:09 AM

If you are modifying


internal table using
Index..
Set index = 1 for the
initial modify..
If in loop, you can use
statement like..
l_index = l_index + 1.
0

AN

replied

March 14, 2013 at 07:24 AM

Hi
Please can you paste your code here where the dump is occuring. It generally
shows in the dump which line is dumping.
0

Helpful Answer

Kartik P

replied
March 14, 2013 at 07:57 AM

Hi,
From ST22, go to
the source code,

10/31/2016 8:05 PM

TABLE_INVALID_INDEX dump

6 of 9

https://archive.sap.com/discussions/thread/3325642

From ST22, go to
the source code,
from whre dump is
being caused, most
probably you are
trying to refer an
entry in an internal
table with such an
index that does not
exist.
Refer the following
image to know how
to navigate to
source code from
ST22

Regards,
Kartik
1

AN

replied
March 14, 2013 at 08:00 AM

Hi Kartik,
In this dump, the cursor would be pointing
to a statement where the dump occurred
right? Can you paste that line or paste the
screen shot of the entire dump?
0

Hal Jordan

replied
March 14, 2013 at 09:20 AM

Hi A N,

10/31/2016 8:05 PM

TABLE_INVALID_INDEX dump

7 of 9

https://archive.sap.com/discussions/thread/3325642

March 14, 2013 at 09:20 AM

Hi A N,
The cursor is placed on the left side
of this line "delete
SOURCE_PACKAGE index
index2." Please advise what should I
do next thanks.
loop at SOURCE_PACKAGE into
wa_source
where rocancel = 'X'.
index1 = sy-tabix.
loop at SOURCE_PACKAGE into
wa_source1
where rocancel = ''
and vgbel =
wa_source-vgbel
and vgpos =
wa_source-vgpos
and vbeln =
wa_source-vbeln
and wbsta = wa_sourcewbsta.
index2 = sy-tabix.
exit.
endloop.
delete SOURCE_PACKAGE
index index1.
delete SOURCE_PACKAGE
index index2.
endloop.
0

Naga Satish Kumar Sudani


replied

10/31/2016 8:05 PM

TABLE_INVALID_INDEX dump

8 of 9

https://archive.sap.com/discussions/thread/3325642
Naga Satish Kumar Sudani
replied
March 14, 2013 at 08:02 AM

Hi,
your sources code Contains any one end
less loop that's way contains the error
0

Vikrant Shukla

replied

March 14, 2013 at 08:02 AM

Hi Jordan,
Could you please let me know, what are you doing in program and which line of
code of program is giving dump?
Thanks
0

Helpful Answer

Raymond Giuseppi

replied
March 14, 2013 at 08:20 AM

This program name looks like a BW extractor ? if yes,


which kind of extractor, did you implement any exit, did
you try to debug with RSA6, check your internal table
management for rookie mistake or distraction like
forgetting to check sy-subrc when reading internal table
before trying to modify or forgetting setting index before
inserting in a sorted internal table, what did you already
check before posting ?
Regards,
Raymond
0

10/31/2016 8:05 PM

TABLE_INVALID_INDEX dump

9 of 9

Hal Jordan

https://archive.sap.com/discussions/thread/3325642

replied

April 17, 2013 at 21:04 PM

Thanks guys for your help our abap developer made some adjustment to
program thanks again

10/31/2016 8:05 PM

Potrebbero piacerti anche