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

CONVT_NO_NUMBER error

Former Member
0 Likes
492

Hello,

I have a field on a bsp that is set up as a decimal field. I do not want people to enter in either a dollar sign or comma. If they do, I receive the error:

The following error text was processed in the system:

An exception with the type CX_SY_CONVERSION_NO_NUMBER occurred, but was neither handled locally, nor declared in a RAISING clause

Exception Class CX_SY_CONVERSION_NO_NUMBER

Error Name CONVT_NO_NUMBER

Program CL_HRRCF_PROFILE_WORKEXP_DET_VCP

Include CL_HRRCF_PROFILE_WORKEXP_DET_VCM00D

ABAP Class CL_HRRCF_PROFILE_WORKEXP_DET_V

Analyze DO_HANDLE_DATA

Line 208

Long text Das Argument '$23000.00' kann nicht korrekt als Zahl dargestellt werden.

What I would like instead is a pop-up message that states users should not enter these values. Is there any way that I can check this field and have a pop-up appear if an inappropriate value is entered?

Thanks!

Heather

Hello,

I have a field on a bsp that is set up as a decimal field. I do not want people to enter in either a dollar sign or comma. If they do, I receive the error:

The following error text was processed in the system:

An exception with the type CX_SY_CONVERSION_NO_NUMBER occurred, but was neither handled locally, nor declared in a RAISING clause

Exception Class CX_SY_CONVERSION_NO_NUMBER

Error Name CONVT_NO_NUMBER

Program CL_HRRCF_PROFILE_WORKEXP_DET_VCP

Include CL_HRRCF_PROFILE_WORKEXP_DET_VCM00D

ABAP Class CL_HRRCF_PROFILE_WORKEXP_DET_V

Analyze DO_HANDLE_DATA

Line 208

Long text Das Argument '$23000.00' kann nicht korrekt als Zahl dargestellt werden.

What I would like instead is a pop-up message that states users should not enter these values. Is there any way that I can check this field and have a pop-up appear if an inappropriate value is entered?

Thanks!

Heather

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
447

Hi,

Check for appropriate domain with proper conversion routines, use that as field

or

Within chain and endchain validate


if v_num co '1234567890'. 
  message e999(v1) 'Enter Numeric only!!'. 
endif.

aRs

Read only

suresh_datti
Active Contributor
0 Likes
447

From what I can understand, the issue is related to a BSP in E-Recruiting. The validation can be done on the BSP ( either in the event_handler or the DO_HANDLE_EVENT of the Controller) itself, instead of passing incorrect value to the backend. PL post it in the BSP Forum with additional info regarding the relevant BSP & you will get a lot more help.

~Suresh