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

Problem with OO ALV

Former Member
0 Likes
1,301

Hi guys,

We have an editable field in OO ALV which is of type CURR, now we need to input a negativ amount to that field. However, upon pressing the enter button, a pop up error appears saying that "Sign is not allowed here."

Is it possible to enter a negative values in an editable field in ALV? If so, how am i going to implement it?

Thanks a lot!

Always,

Mark

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
727

Hi Mark,

Please check Domain of the field.....Is the Checkbox for SIGN ticked....

If not then you need to check that checkbox....

Try after checking the box it will allow you to enter a negative value....

Regards,

Kunjal

Hi guys,

We have an editable field in OO ALV which is of type CURR, now we need to input a negativ amount to that field. However, upon pressing the enter button, a pop up error appears saying that "Sign is not allowed here."

Is it possible to enter a negative values in an editable field in ALV? If so, how am i going to implement it?

Thanks a lot!

Always,

Mark

2 REPLIES 2
Read only

Former Member
0 Likes
727

it is possible to enter negative values. First check the Field's Domain which you are using for Display allows the Negative sign.

give 10.00-

and also when you are working with currency fields you need to pass the Reference field, ref table, Ctabname, Cfieldname

and also the currency key also should be a part of the display and internal table.

Read only

Former Member
0 Likes
728

Hi Mark,

Please check Domain of the field.....Is the Checkbox for SIGN ticked....

If not then you need to check that checkbox....

Try after checking the box it will allow you to enter a negative value....

Regards,

Kunjal