Skip to Content
author's profile photo Former Member
Former Member

CONVT_NO_NUMBER in ALV table when filtering a field with conversion exit

Hello!

A Z-program is used for table maintenance.

I have a field of type NUMC10 with a conversion exit which displays the field as CHAR17.

As field values are displayed in CHAR17 format, a filter is also applied to the table using value of CHAR17 (for example: equal to "001.2007.10012401" ).

After filtering, we transfer ALV table mode to edit mode, CL_SALV_TABLE=>REFRESH is executed, call hierarchy is like that:

Call Hierarchy

21 FORM SAPLSLVC_DIALOG LSLVC_DIALOGF18 LVC_FILTER_APPLY10

20 FUNCTION SAPLSLVC_DIALOG LSLVC_DIALOGU18 LVC_FILTER_APPLY

19 METHOD CL_SALV_FULLSCREEN_ADAPTER====CP CL_SALV_FULLSCREEN_ADAPTER====CM00W

CL_SALV_FULLSCREEN_ADAPTER=>IF_SALV_ADAPTER~APPLY_SERVICES

18 METHOD CL_SALV_TABLE=================CP CL_SALV_TABLE=================CM014

CL_SALV_TABLE=>REFRESH

Dump follows at line 713 of LSLVC_DIALOGF18 include of SLVC_DIALOG function group:

if <l_filter> in ls_rsds_frange-selopt_t.

<l_filter> has NUMC10 value here (2110000842), field itself is also described as NUMC, and selection criteria is CHAR17-like (I EQ 001.2007.10012401).

So the program crashes with CONVT_NO_NUMBER.


Notes 1379679, 1519383, 1405506 were applied and that didn't help.

What can be done to fix it?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 12, 2014 at 01:40 PM

    Maybe if you create a second ranges table where all the values of the select-options have been converted to the internal table format (with conversion exit input) and use that range table in stead on checking <l_filter> will be a possible solution.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.