‎2009 Mar 24 7:33 AM
Hi ,
I have taken a internal table into which a amount field is there say 181532.00
When i am trying to use write statement the amount is being displayed as 181.532,00 instead of 181,532.00.
What can be the possibel cause of this ?
‎2009 Mar 24 8:26 AM
Hello,
Is there a stmt SET COUNTRY <cntry> in your code ? If so you can cross check the table T005X field XDEZP for details.
[SAP Help on SET COUNTRY|http://help.sap.com/saphelp_nw04/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm]
I guess this might be causing your o/p to appear this way.
BR,
Suhas
Edited by: Suhas Saha on Mar 24, 2009 9:28 AM
‎2009 Mar 24 7:36 AM
Well the Decimal notation for the user will be set likewise. Check the Defaults tab in User Profile SU01D.
‎2009 Mar 24 7:49 AM
Hi ,
The dafualt tab is set right...but still the problem persists.
‎2009 Mar 24 8:05 AM
had u define ur amount variable correctly.
try to define as amount like vbrp-netwr.
hope this will work.
‎2009 Mar 24 8:26 AM
Hello,
Is there a stmt SET COUNTRY <cntry> in your code ? If so you can cross check the table T005X field XDEZP for details.
[SAP Help on SET COUNTRY|http://help.sap.com/saphelp_nw04/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm]
I guess this might be causing your o/p to appear this way.
BR,
Suhas
Edited by: Suhas Saha on Mar 24, 2009 9:28 AM
‎2009 Mar 24 8:44 AM
Hi Suhas,
ya there was a statement SET COUNTRY .
When i removed this i am getting XX XXXX,XX . Still my error is not resolved. It should come as XX,XXX.XX .
And in table T005X the field XDEZP is blank.
How to set the field XDEZP as X ??
Regards
Anuj
‎2009 Mar 24 8:49 AM
hello there,
in that table if set country is Space
in su01 ur settings under decimal notation
should be 1st radio button
if set country is 'X'.
ur settings should be 2nd radiobutton
if set country is 'Y'.
settings should be 3rd radiobutton.
check in the table if it is Space or X or Y and check ur settings accordingly
‎2009 Mar 24 8:55 AM
Hello Anuj,
In that case you can check USR01-DCPFM(or USR01) to check what is the decimal format for the user.
BR,
Suhas
‎2009 Mar 24 9:14 AM
‎2009 Mar 24 8:41 AM
hi,use WRITE v_amt TO v_amt CURRENCY <currkey>.
example
WRITE: v_amt1 CURRENCY 'USD', "write the name of the currency in which u want
thanks