cancel
Showing results for 
Search instead for 
Did you mean: 

in po amount the dot and cama is exchanged

Former Member
0 Kudos

hi masters,

i m working on po. when i take the print preview of po then it exchange the cama and dot in amount field. means if i have to print 12,123.23 then it prints 12.123,23. but in me21n t.c. while creating po it shows correct. i have copied the medruck script and now i m working on that. plz suggest any solution.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

take a char varible of lenght 17.

write w_amount to w_char currency 'US'.

and print w_char.

or check in the script some where Set country is used.

if still there is a problem

use statement --- set country as 'US'.

Former Member
0 Kudos

plz can u more clarify ur ans. and where to write that statement.

Former Member
0 Kudos

before printing the amount field use subrotine and write this code.

i dont think you need to write this code.

Just use set country SPACE. in your script.

if not use set country 'US'. youe.r problem will slov

http://hemanth.info/sap/sapscripts/sap%20script%20controls.pdf

or just type set country in sap script in google.

former_member585060
Active Contributor
0 Kudos

Just before the number field in SAPScript editor, give the following command.

Ex:-

/: SET COUNTRY 'US'

P1 &EKPO-NETPR&

Answers (5)

Answers (5)

0 Kudos

hello!

You probably maintained incorrect Global country parameters. Check the country settings in T005X.

Former Member
0 Kudos

the format of data , currency wiil be taken from user setiings ....

First of all u decide what settings u r going to use ....

if u r going to any specific irrespective of user setting , u can set the country in scripts,....

if u want to print the format as per the user settings u leave as it is ....

Now if u want to change ur user settings do the following ...

Goto Settings -> User Profile -> Own data -> select defaults tab

there u can select date , decimal and time formats ....

Hope this will helps ...

former_member585060
Active Contributor
0 Kudos

Check the printout with standard Medruck sapscript, wether it is also printing like ur copied Zmedruck sapscript.

Edited by: Bala Krishna on Sep 1, 2008 11:19 PM

Former Member
0 Kudos

ya i have checked with the medruck script it showing same as in zmedruck. have u any idea about this problem? plz help me..

Former Member
0 Kudos

goto SU01 tcode.

click on default tab there you can change this format.

Firoz_Ashraf
Contributor
0 Kudos

Hello Vicky,

Please check the decimal notation in your user profile.

Transaction SU3 --> Defaults Tab --> Decimal Notation

Regards,

Firoz.

Former Member
0 Kudos

i have checked all the settings in user account it is ok.. i have checked the another script in that script i haven't find this problem. this occurs only for po scritpt. so give me more specific solution.