Showing results for 
Search instead for 
Did you mean: 

Negative value not getting populated

Former Member
0 Kudos

Hi ABAPers,

Here iam facing severe problem on how to make the negative values populated in the form.

Actually i have to print an amount field in the form. so after no of amount fields it has to add up the total and give the total field at the end. in my case it is working properly with the total ( give xact value by making calculation with + val's and -val's ). but the individual amount fields are not getting displayed with the - (minus) symbol. can anyone help me out frm this.

Thanks in Advance.....

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos


Try with the following symbol in the field

&ITAB-NETWR(>)& - will write the sign as (100.00-)

&ITAB-NETWR(<)& - will write the sign as (-100.00)

and based on some field in the program write like

If itab-shkzg = 'H'.

itab-netwr = itab-netwe * -1.


and try to print this field in the form.

<b>Reward points for useful Answers</b>



Answers (1)

Answers (1)

Active Contributor
0 Kudos

IF you are displaying field names like this negative values will not be displayed.

&amount<b>(S)&</b> " The option 'S' is used to format without the negative sign

This might be one case.