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

ABAP ALV Dump

Former Member
0 Likes
660

Hi,

When I try to download an ALV file, am getting the following dump.

RAISE LIST_INDEX_INVALID is the exception raised.

The termination occurred in the ABAP program "SAPLSYSF" in |

| "GET_LISTLEVEL_TABLES".

Can anyone let me know the reason for this.

Regards

Krish

Hi,

When I try to download an ALV file, am getting the following dump.

RAISE LIST_INDEX_INVALID is the exception raised.

The termination occurred in the ABAP program "SAPLSYSF" in |

| "GET_LISTLEVEL_TABLES".

Can anyone let me know the reason for this.

Regards

Krish

3 REPLIES 3
Read only

Former Member
0 Likes
608

Did you try to upgrade your sapgui release??

Try to install release 7100.2.9.1039.

Read only

Former Member
0 Likes
608

Hi,

Not sure of the problem description.

You could check the definition of the catalog used for the ALV. Use capital letters for the fields and same name as in the structure used. This is very important.

gt_itab_catalog-fieldname = 'USERNAME'.
  gt_itab_catalog-tabname = 'ITAB.
  gt_itab_catalog-seltext_l  = 'User'.
  gt_itab_catalog-just = 'L'.
  gt_itab_catalog-col_pos = 1.
  gt_itab_catalog-outputlen = 10.
  APPEND gt_itab_catalog.
  CLEAR gt_itab_catalog.

Regards,

Gilberto Li

Edited by: Gilberto Li on May 15, 2009 10:59 PM

Read only

Former Member
0 Likes
608

Hi,

What FM using to download ALV file.

Check in that FM, is that exception parameter is there or not..

if it is there you can use that exception parameter in your program.

it avoids to go dump.

For Ex in the below FM its having the parameter list_index_invalid :

like below

CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listasci = it_listasci
listobject = it_tab
EXCEPTIONS
empty_list = 1
list_index_invalid = 2   " Do like this
OTHERS = 3.

IF sy-subrc NE 0.

ENDIF.

Thanks!