‎2007 Mar 15 11:10 AM
Hi experts,
I have problem with sap script quantity field conversion.
In purchase order the actual value of field( MDPM-ERFMG) is 3,500.
But in Print preview it is showing only 3.5
Any one Please help me in this problem
thanks in advance
murali
‎2007 Mar 15 11:16 AM
Hi,
It is rightly printing.
Value of MDPM-ERFMG is 3,500. here it is not comma, full stop (All Qty fields are with 3 decimals)
Change your settings in SU01 Tcode.
In script, it might be written as &MDPM-ERFMG(.1)& so it is printing
3.5.(with one decimals)
reward if useful.
regards,
Anji
‎2007 Mar 15 11:16 AM
Hi,
It is rightly printing.
Value of MDPM-ERFMG is 3,500. here it is not comma, full stop (All Qty fields are with 3 decimals)
Change your settings in SU01 Tcode.
In script, it might be written as &MDPM-ERFMG(.1)& so it is printing
3.5.(with one decimals)
reward if useful.
regards,
Anji
‎2007 Mar 15 11:24 AM
Hello,
check this:
Number of Decimal Places
A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value.
Syntax
&symbol(.N)&
The EKPO-MENGE field contains the value 1234.56. The Dictionary definition specifies 3 decimal places and an output length of 17.
&EKPO-MENGE& -> 1,234.560
&EKPO-MENGE(.1) -> 1,234.6
&EKPO-MENGE&(.4) -> 1,234.5600
&EKPO-MENGE&(.0) -> 1,235
REgards,
Vasanth