‎2009 Jan 26 6:59 AM
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..
‎2009 Jan 26 7:12 AM
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
‎2009 Jan 26 7:03 AM
HI,
Check whether you passing field names in upper case to Sort table in ALV.
‎2009 Jan 26 7:12 AM
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