cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Runtime Error (Code 14)

Former Member
0 Kudos

Hi,

We have SAP NetWeaver 7.0 SR2 ABAP+Java on Linux: Oracle

I am with the following problem applying Suport Package SAPKB70014

returns the error:

Runtime Errors TABLE_INVALID_INDEX

Date and Time 26.05.2008 16:10:14

Short text

Error in ABAP/4 statement when processing an internal table.

Error analysis

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

"\FUNCTION=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES" or when inserting in the

table "\FUNCTION=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES", "-1" 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=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES"

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=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES".

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

area from or inserting a line area into the table

"\FUNCTION=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES".

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

Trigger Location of Runtime Error

Program SAPLSLOG

Include LSLOGF03

Row 231

Module type (FORM)

Module Name READ_LOG_FILE

Source Code Extract

219 *& -


Output the result -


220 IF lv_stop_index = 0.

221 *& exception 5 : lt_lines = 0 empty log.

222 MESSAGE i293(pu).

223 ELSE.

224

225 *& reduce pt_lines to the required parts.

226

227 * delete block before required

228 IF lv_start_index <> 1 .

229 lv_delblock1_beg = 1 .

230 lv_delblock1_end = lv_start_index - 1 .

>>> DELETE pt_lines FROM lv_delblock1_beg TO lv_delblock1_end .

232 ENDIF.

233

234 * delete block after required

235 IF lv_stop_index <> lv_line_num .

236 lv_delblock2_beg = lv_stop_index - lv_start_index + 2 .

237 lv_delblock2_end = lv_line_num - lv_start_index + 1 .

238

239 DELETE pt_lines FROM lv_delblock2_beg TO lv_delblock2_end .

240

241 ENDIF .

242

243 ENDIF.

244

245

246 ENDFORM. " READ_LOG_FILE

247

248 &----


249 *& Form READ_LOG_DB

250 &----


Any one help me resolve this problem.

PLS

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mikhail,

I'd a similar problem in one project I've developed. Check the system log to see if you can debug the problem: tcode sm21.

In my case I had to implement some SAP Notes and upgrade from SP10 to SP11.

Former Member
0 Kudos

I can't find note.

Former Member
0 Kudos

Please check disk space of mount point /usr/sap/trans.

Hope it helps.

Best regards,

Sandy