‎2008 Jan 14 12:50 PM
Hi,
now i am getting in output amount like: 1.000
but i need like 1,000.
how can i get that comma(,) insted of period(.)
in scriptswith out modifying program
please give me solution
‎2008 Jan 14 12:54 PM
Hi,
Goto TCode OY01>country>check the decimal format.
Also check:
Menu system -> user profile -> own data
tab 'defaults'->decimal notation.
Regards,
Satish
‎2008 Jan 14 12:54 PM
Hi,
Goto TCode OY01>country>check the decimal format.
Also check:
Menu system -> user profile -> own data
tab 'defaults'->decimal notation.
Regards,
Satish
‎2008 Jan 14 1:27 PM
Hi,
u can do one thing.
split amount at '.' into var1 and var2.
put comma into var3.
now concatenate var1 var2 and var3 into an another variable.
And finally show that var as output.
it will work.
regards..........
sunil.
‎2008 Jan 14 1:40 PM
‎2008 Jan 14 1:46 PM
Hi,
The comma or period is determined by the prefered format of the country your SAPscript is being sent to. Look at your test data and find the country of the business partner, customer or whoever it is being sent to. Then check the prefered format for this country as Satish suggests.
Regards,
Nick
‎2008 Jan 14 1:47 PM
Define anothere char type varible with same length and use following code..
DATA : amount(16).
amount = <your amount varible>.
REPLACE ALL OCCURRENCES OF '.' IN amount WITH ','.
WRITE : amount.
‎2008 Jan 14 1:51 PM
i want with out modifying program
here i am attaching zform to standard form.
becasue i modified satndard form