‎2014 Mar 26 7:35 AM
Hi,
I am facing issue while printing PO through SAPSCRIPT.
i execute tcode ME23n and give PO no
There in NET PRICE column amount is displayed as "181,554.0000" Currency EUR
but when i take a PO print preview (using sapscript) it displays NET PRICE as "181.554,0000".
I am not understanding why "." is added after 181 and comma is shifted before "0000".
Pls help.
Regards,
‎2014 Mar 26 7:39 AM
Santosh
Please check in your smartform how you are handling the net price...? What you see on your screen is as per your user setting in SU01... But when you make a printout you have to check how it is done their. Normally for such cases we use write to statement and move it to char field along with currency specification. So in this way the amount gets printed as per currency settings. But in case you want to be printed in a particular case irrespective of other thing...you will have to check which country displays output like this and then use set country command before writing. Do an F1 on this and read
Nabheet
‎2014 Mar 26 7:39 AM
Santosh
Please check in your smartform how you are handling the net price...? What you see on your screen is as per your user setting in SU01... But when you make a printout you have to check how it is done their. Normally for such cases we use write to statement and move it to char field along with currency specification. So in this way the amount gets printed as per currency settings. But in case you want to be printed in a particular case irrespective of other thing...you will have to check which country displays output like this and then use set country command before writing. Do an F1 on this and read
Nabheet
‎2014 Mar 26 9:18 AM
i m using sapscript and in that use the net price as below
&EKPO-NETPR(C)&
‎2014 Mar 26 9:41 AM
for currency INR it is printing correct. only for EUR it is not printing correctly through sapscript.
‎2014 Mar 26 11:32 AM
the issue getting resolved by giving 1st command in main window as below :-
/: SET COUNTRY ' '
‎2014 Mar 26 4:10 PM
‎2014 Mar 26 11:49 AM
Hi,
check settings in SU01 or set in OY01 for the country.
Regards-
Makarand
‎2014 Mar 26 12:03 PM
Interface between SAPscript and ABAP basis ill-defined. Please check
tables TCURX and T005X settings also for EURO.
‎2014 Jul 11 8:13 AM
Thanks , i meet the same issue, and command: set country 'XX' is the solution.