Application Development 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: 

Short dump CONVT_NO_NUMBER for only specific user

Former Member
0 Kudos

Hi ABAP Gurus,

While executing the Z-transaction code, one of the user is getting short dump

RUN Time error - CONVT_NO_NUMBER

Short Text - Unable to interpret 0,000 as a number.

this is happening for only one of the user. Other users are able to execute the transaction without any short dump. Checked user profile settings .. no differences found.

Please help suggest.

Thanks & Regards,

Nilesh

6 REPLIES 6

Former Member
0 Kudos

Hello,

Usually this shot dump means that you wanted to do numeric operations, but the value specified is not a numeric one. In your case, ABAP wouldn't interpret "0,000" as a numeric value because of the comma.

You can try replacing ',' by '.' using the statement REPLACE.

As for the specific user issue, it may be that your users are processing different data.

Former Member
0 Kudos

Try with this:

REPLACE ALL OCCURRENCES OF '.' IN v_var WITH ''.

REPLACE ALL OCCURRENCES OF ',' IN v_var WITH '.'.

both liines...

Edited by: Sandra Torres on Jun 16, 2011 2:23 AM

koolspy_ultimate
Active Contributor
0 Kudos

try rhis


REPLACE ALL OCCURRENCES OF ',' IN v_var WITH ''.

NOTE: you need to see the SYSTEM ->user settings -> own data

because each user will maintain their own settings (some wil use , to intrepet . or vise versa)

so use this REPLACE ALL OCCURRENCES OF ',' <<<----


according to user settings

thanks and regards,

koolspy.

Rushikesh_Yeole
Contributor
0 Kudos

check user details in SU01 defaults - decimal notaion.

if it is occuring in Z program, take care of possible notations.

you can use replace statement

0 Kudos

Hi Nilesh,

If it's happening for specific user, then decimal notation in default setting is not maintained correctly for those user.

Change default decimal notation of those user.

Path->

System->user profile->own data->default->set decimal notaion like 1,234,567.89

Regards,

Goutam

former_member182040
Active Contributor
0 Kudos

Use CATCH....ENDCATCH

For example



catch system-exceptions <exception>.

      Write your Logic


    endcatch .

Edited by: Krupaji on Jun 16, 2011 12:35 PM