‎2006 Nov 06 7:55 PM
Hi,
I am changing SAP Script Invoice. In that invoice there are 4 fields (Subtotal, Shipping, Sales Tax, Total amount) these 4 fields declared as Char (13 Size).
If the amount is in thousands i have to display "," after thousand.
eg. $ 3,478.00
$ 8,739.00
I changed all those four fields as (VBRP-NETWR)CURR data type also. but if the Sales tax or shipping is $ 0.00 the alignment is not coming correctly...
Is there any other way if i declare those fields as CHAR and how can i display "," after thousand.
Thanks,
fractal
‎2006 Nov 06 9:05 PM
Hi,
In the print program use write statement..
Example..
DATA: V_NETWR TYPE VBRP-NETWR.
DATA: V_CHAR(13).
V_NETWR = '12121.00'.
WRITE V_NETWR TO V_CHAR.
WRITE: / V_CHAR.
Thanks,
Naren