on 07-28-2007 11:36 AM
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.....
Hi
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.
endif.
and try to print this field in the form.
<b>Reward points for useful Answers</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.