2013 Mar 14 3:24 AM
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}"
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
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.
2013 Mar 14 6:04 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.
Regards,
Gurulakshmi
2013 Mar 14 6:04 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.
Regards,
Gurulakshmi
2013 Mar 14 6: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.
2013 Mar 14 6: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.
2013 Mar 14 6:57 AM
Hi,
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
2013 Mar 14 7: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?
2013 Mar 14 7:02 AM
Hi,
your sources code Contains any one end less loop that's way contains the error
2013 Mar 14 8: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_source-wbsta.
index2 = sy-tabix.
exit.
endloop.
delete SOURCE_PACKAGE index index1.
delete SOURCE_PACKAGE index index2.
endloop.
2013 Mar 14 7: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
2013 Mar 14 7:17 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
2013 Apr 17 7:53 PM
Thanks guys for your help our abap developer made some adjustment to program thanks again