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: 

Regarding CONVT_NO_NUMBER dump

Former Member
0 Kudos

HI,

In my program one of the arithmatic operation giving the dump and it saying that unable to convert the as number (CONVT_NO_NUMBER )but this dump is comming only for perticular users not for every one could you explain me with example how to elimanate this dump.

Thanks,

Hari.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

It is caused due to user profile setting. Add the below code in u r program .

CONSTANTS : c_sp1 TYPE xudcpfm VALUE ' ',

c_y TYPE xudcpfm VALUE 'Y'.

DATA : wg_usr01 TYPE usr01.

l_cntgew(17).

SELECT SINGLE * FROM usr01

INTO wg_usr01

WHERE bname EQ sy-uname.

MOVE lips-ntgew TO l_cntgew.

IF wg_usr01-dcpfm EQ c_sp1 OR wg_usr01-dcpfm EQ c_y.

REPLACE c_dot IN l_cntgew WITH c_comma .

ENDIF.

CONDENSE l_cntgew.

5 REPLIES 5

Former Member
0 Kudos

The dump may be related to your user profile decimal settings. you can change it using SU3.

former_member1245113
Active Contributor
0 Kudos

Hi

If possible can you post which value the system unable to convert to number

the case may be like

if you are concatinating a value and passing it to a numeric variable etc,

some times after splitting the decimal part again we assign it to a numeric varaible

this might help us

regards

Ramchander Rao.K

Former Member
0 Kudos

Hi,

Check if the field you are displaying is declared as an integer.

Former Member
0 Kudos

It is caused due to user profile setting. Add the below code in u r program .

CONSTANTS : c_sp1 TYPE xudcpfm VALUE ' ',

c_y TYPE xudcpfm VALUE 'Y'.

DATA : wg_usr01 TYPE usr01.

l_cntgew(17).

SELECT SINGLE * FROM usr01

INTO wg_usr01

WHERE bname EQ sy-uname.

MOVE lips-ntgew TO l_cntgew.

IF wg_usr01-dcpfm EQ c_sp1 OR wg_usr01-dcpfm EQ c_y.

REPLACE c_dot IN l_cntgew WITH c_comma .

ENDIF.

CONDENSE l_cntgew.

Former Member
0 Kudos

sdfsf