Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Currency problem in sap script

Former Member
0 Kudos

Hi.

I have developed a script for billing document. When I am printing the amount I am getting DOT Instead of COMMA.

eg. Rs 10,000 appears as 10.000.I have set user profile also.Please suggest

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Go to transaction OY01...u need to set the country specific settings for the respective countries n ther currencies.

ope it helps,

Regards,

Bikash

5 REPLIES 5

Former Member
0 Kudos

Hi,

Are you sure that the data stored in the table is also in COMMA format?

Also chek out country currency setting under general setting in SPRO.

If still it doesnt work, we can replace , with . on first occurance.

Regards,

Anjali

Former Member
0 Kudos

Hi,

Are you writing the amount field along with currency key?

Regards,

Raj

Former Member
0 Kudos

Go to transaction OY01...u need to set the country specific settings for the respective countries n ther currencies.

ope it helps,

Regards,

Bikash

Former Member
0 Kudos

Hi osk,

1. try logging out and again logging in.

2. user profile settings take effect

after again re-logging in !

regards,

amit m.

Former Member
0 Kudos

Instead of directly printing it on the script, take it into a char variable and use

write <amount> to <char> currency 'INR.