‎2007 Sep 14 12:03 PM
hi guys,
i have a table control in which negative values have to be put but when i enter negative values i am getting an error that 'negative values are not allowed'.
Please help.
thanks in Advance.
Regards,
Santosh k.
‎2007 Sep 14 2:56 PM
In the attributes of the field in the table control you need to put template characters to indicate where the sign goes - I think _ _ _ _ _ _ _V (not sure if V is for decimal point or for sign? - I think it is in the ABAP help / Doco, or you could look at a similar field on a standard screen.
Andrew
‎2007 Sep 14 1:38 PM
‎2007 Sep 17 7:45 AM
‎2007 Sep 17 8:45 AM
As Andrew says, I think you will need to indicate in the attributes that the field can accept a negative by using a template like "_____________V". Just change this in the screen painter... it's the "Text" field on the Attributes for an Input/Ouput field.
Jonathan
‎2007 Sep 14 2:56 PM
In the attributes of the field in the table control you need to put template characters to indicate where the sign goes - I think _ _ _ _ _ _ _V (not sure if V is for decimal point or for sign? - I think it is in the ABAP help / Doco, or you could look at a similar field on a standard screen.
Andrew