cancel
Showing results for 
Search instead for 
Did you mean: 

Comma and period printing with amount field in SAP Script

Former Member
0 Kudos

Hi All,

We have a issue with comma and period printing with amount field, decimal period and comma are getting interchanged in the total amount printed, say for example,

123,456.00 -> is expected but,

123.456,00 -> is being printed.

this happens only with the total amount field and other places it is printing fine.

We require comma (,) for thousands separator and period (.) for decimal place. Please help with this,

Thanks

Srini

Edited by: SRINIVASA KUMAR on May 27, 2010 10:22 AM

Accepted Solutions (1)

Accepted Solutions (1)

arul_murugan
Active Participant
0 Kudos

Hi Srini,

Amount field will be printing based on your user setting

Go SYSTEM>userprofile--->owndata

In defaults tab, under Decimal Notation you can set according to your output.

otherwise you can use the SET COUNTRY command in the script to print based on the country .

Rewards if it is useful

Thanks

Arul

Former Member
0 Kudos

Actually we have checked with the user profile data and have period for decimal and comma as thousands separator. The issue is we have invoice line item amount dispalyed correctly, but only the total amount is where both comma and period are getting exchanged.

Thanks

Srini

arul_murugan
Active Participant
0 Kudos

Hi Srini,

You need to use the SET COUNTRY command to change the decimal format based on the country. Check the decimal notations of the total amount while debugging.

Thanks

Arul

Answers (0)