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

numc feild allowing characters

Former Member
0 Likes
2,411

hi experts,

I have created a feild with NUMC as data type using AET.

But this feild is allowing chracters and negative values , whereas ideally it should only allow numbers.

The problem is we need to have this feild as numc type only since the data would be sent to non sap application via PI (Process Integration)

please help

regards

Anu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,477

Hi Anu,

Go to the Screen Painter and double click on the Input Field you get a POP up showing the attributes of the input field. In the DICT Tab you find an Input Field FORMAT with a LIST BOX of Values from here select NUMC and Activate your entire object

Hope this resolves your purpose

Cheerz

Ramchander Rao.K

3 REPLIES 3
Read only

Former Member
0 Likes
1,477

Hi Anu,

If this field allows characters and negative signs, then in your ABAP code, you must have to filter first your inputs, before saving it to your table. There's a lot of possible method on how to check numeric values only (just search the net). In this way, you can assure that all entries into that field are all numeric.

Hope it helps. Cheers

Read only

Former Member
0 Likes
1,478

Hi Anu,

Go to the Screen Painter and double click on the Input Field you get a POP up showing the attributes of the input field. In the DICT Tab you find an Input Field FORMAT with a LIST BOX of Values from here select NUMC and Activate your entire object

Hope this resolves your purpose

Cheerz

Ramchander Rao.K

Read only

Former Member
0 Likes
1,477

ok thnks