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

short dump while sorting alv list

Former Member
0 Likes
1,419

Hi,

i got a short dump (CX_SY_DYN_TABLE_ILL_COMP_VAL) while sorting alv by a field. the field's type is NUMC. does anybody have any idea? Thanks..

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
776

Hello Deniz

If the dump occurs when you do the sorting after the first display of the list then I assume an error with the fieldcatalog (e.g. an amount field is missing its reference field to the currency).

However, if you prepare a sorting itab for method SET_TABLE_FOR_FIRST_DISPLAY and the dump occurs when you call the method then the contents of the sorting itab is wrong (as said in the previous answer). The long text of the error confirms this assumption:

CX_SY_DYN_TABLE_ILL_COMP_VAL	
   Error using the dynamic table &TABNAME&; invalid value in row &LINE& in component &COMPNAME&

Regards

Uwe

2 REPLIES 2
Read only

Former Member
0 Likes
776

HI,

Check whether you passing field names in upper case to Sort table in ALV.

Read only

uwe_schieferstein
Active Contributor
0 Likes
777

Hello Deniz

If the dump occurs when you do the sorting after the first display of the list then I assume an error with the fieldcatalog (e.g. an amount field is missing its reference field to the currency).

However, if you prepare a sorting itab for method SET_TABLE_FOR_FIRST_DISPLAY and the dump occurs when you call the method then the contents of the sorting itab is wrong (as said in the previous answer). The long text of the error confirms this assumption:

CX_SY_DYN_TABLE_ILL_COMP_VAL	
   Error using the dynamic table &TABNAME&; invalid value in row &LINE& in component &COMPNAME&

Regards

Uwe