SAP Note 21724 - Zero values are output w/o decimal places

Component : Report Writer / Report Painter -

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

Summary :
Zero values are output without decimal places in SAP despite defined decimal settings in the layout's format class due to the zero values' lack of a specific unit (e.g., currency or measure). The output's decimal precision is limited by the assigned decimals to each unit. Scaling such as thousands might increase potential decimal places. To output decimals as per the layout regardless of the unit, modifications suggested include deleting specific lines (indicated by H21724) in FORM routine E17_EDIT_AMOUNT within include FGRWEE17, ensuring the layout's decimal settings are used every time.

Key words :
report writer additional key words, <--delete h21724    xcount1 = xcount2, <--delete h21724    xcount1 = e17_decip, xcount2 = e17_round + e17_decimals, form routine e17_edit_amount, decimal places assigned, xcount2 < e17_decip, <--delete h21724, report groups, form e17_edit_amount

Related Notes :

352391Composite note 'Modifications/Customer Enhancement'