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

Negative values in screen

Former Member
0 Likes
624

Hi Folks,

I have designed a screen with a table control which is editable.I need to enter some values and when i press save thr values are to be updated into Database table.This is working fine.

But when i enter a -ve value like -1000 and press the save button it is giving an error 'Negative values not allowed'.But it is working for +ve values.

The field is of type DEC 17

Even i have changed it to Char17.But not working??

Can anyone help me??

5 REPLIES 5
Read only

Former Member
0 Likes
599

hi,

at the domain level of that field check the sign box and it will tajke negative values

Read only

Former Member
0 Likes
599

Hi Check your domain details

if you are using standard domain which doesnot allow you to enter a negative value you need to change your declaration accordingly.

Regards

ramchander Rao.k

Read only

0 Likes
599

Hi,

At the domain level the Sign checkbox is checked.

Even then i am getting the same error.

Read only

0 Likes
599

Hi,

In the Layout editor (Tcode SE51), select that field and in the screen properties, there is a checkbox call sign. Put a tick and check whether it accepts a negative value.

Thanks & Regards,

Navneeth K.

Read only

0 Likes
599

Hi Navneeth,

I have not found any Sign value in Screen Properties.

Can you tell me exactly where it is??Either in display etc....'