2007 Mar 26 7:05 PM
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
2007 Mar 26 7:31 PM
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
2007 Mar 26 7:33 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |