on 08-30-2008 1:12 PM
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.
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'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
hello!
You probably maintained incorrect Global country parameters. Check the country settings in T005X.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
goto SU01 tcode.
click on default tab there you can change this format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vicky,
Please check the decimal notation in your user profile.
Transaction SU3 --> Defaults Tab --> Decimal Notation
Regards,
Firoz.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.