2008 Nov 14 12:06 PM
Hi,
I am using RFBIBL00 for uploading opening balances.
When I am giving amount as 1000 it's working fine, but when I am giving 1000.00 it showing amount in Accouting Doc as 100000.00.
Means when I am giving amount with decimal, it adding additional zeros at the right.
I am using this code for asigning field to BBSEG:
WRITE wa_itab-wrbtr TO bbseg-wrbtr
CURRENCY wa_itab-waers. "Amount in Doc Currency
Please guide me on the same.
Thanks.
Vinod.
Hi,
I am using RFBIBL00 for uploading opening balances.
When I am giving amount as 1000 it's working fine, but when I am giving 1000.00 it showing amount in Accouting Doc as 100000.00.
Means when I am giving amount with decimal, it adding additional zeros at the right.
I am using this code for asigning field to BBSEG:
WRITE wa_itab-wrbtr TO bbseg-wrbtr
CURRENCY wa_itab-waers. "Amount in Doc Currency
Please guide me on the same.
Thanks.
Vinod.
2008 Nov 14 2:59 PM
What is your currency ? Is it a currency without decimals ?
When a currency has no decimals, SAP stores the amounts divided by 100.
The "CURRENCY" option of the WRITE statement has the effect of multiplying the amount by 100 for these currencies.
You should use the "CURRENCY" option only if your amounts are stored as in SAP, divided by 100 for currencies without decimals.
If you have "normal" amounts, you should not use this option.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |