SAP Note 942 - Decimal places in currency fields

Component : ABAP Runtime Environment -

Solution : https://service.sap.com/sap/support/notes/942 (SAP Service marketplace login required)

Summary :
This SAP Note addresses the issue where currency data output in ABAP/4 using SY-WAERS appears with incorrect decimal placement, defaulting to two decimal places regardless of settings in TCURX. The root cause is that SY-WAERS, unlike in SAP R/2, does not directly influence decimal determination. The workaround involves applying the CURRENCY addition for WRITE statements to correctly format the output. For MESSAGE statements, the advised solution is to transfer the currency data into a type C auxiliary field using WRITE statement logic, then displaying the formatted value from this field.

Key words :
provided asdata dictionary default, sy-waerscurrency field output, adifferent decimal place number, symptom key word, additional key words, abap/4 runtime system, auxiliary field, 2 decimal places, decimal places, respective currency

Related Notes :

308026Incorrect Txn Curr Amount Displayed on Netting Proposal