Ansicht
Dokumentation
Tip-No.: 942 ( INFO942 )
Decimal places in currency fields
Tip-No.: 942
( INFO942 )
General Material Data
RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Short text
Decimal places in currency fields
Tip-No.: 942
Symptom
Currency field output at WRITE or MESSAGE with 2 decimal places,
even though the respective currency, according to TCURX, has a
different decimal place number.
Cause
The ABAP/4 runtime system know which particular currency it is dealing
with. It always uses the number of decimal places that is provided as
Data Dictionary default. The currency is not determined from SY-WAERS
(as in R/2).
Solution
For WRITE : use addition CURRENCY.
For MESSAGE : copy WITH WRITE into auxiliary field (type C) and output
this.
BAL Application Log Documentation PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 757 Date: 20240425 Time: 145012 sap01-206 ( 11 ms )