<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Number format in script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526511#M1750038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at the data in debug to verify that there is actually a decimal portion to the number?&amp;nbsp; Could you show us a code snippet where the variable is defined, Where it is filled, where it is output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2013 13:03:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-11T13:03:38Z</dc:date>
    <item>
      <title>Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526509#M1750036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this is a common question on number format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have researched for suitable answer thoroughly before posting here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script, in which the total invoice amount is displaying like this, &lt;STRONG&gt;11.593.296.372&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the requirement is to print &lt;STRONG&gt; "11.593.296,372"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked SU3, OY01....all set to "1.234.567,89", but still getting the same output with "." separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help to find the correct solution, for the above problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 10:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526509#M1750036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-11T10:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526510#M1750037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what is the report calling this list or form, but look for a sentence in ABAP as this link explains: &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPSET_COUNTRY.htm"&gt;http://help.sap.com/abapdocu_70/en/ABAPSET_COUNTRY.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 12:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526510#M1750037</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2013-06-11T12:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526511#M1750038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at the data in debug to verify that there is actually a decimal portion to the number?&amp;nbsp; Could you show us a code snippet where the variable is defined, Where it is filled, where it is output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 13:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526511#M1750038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-11T13:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526512#M1750039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before printing the Amount, &lt;/P&gt;&lt;P&gt;Use the SET COUNTRY statement&amp;nbsp; ..&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 13:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526512#M1750039</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2013-06-11T13:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526513#M1750040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Check in T005X table what all are the types and possibilities that user maintaining handle all the types&lt;/P&gt;&lt;P&gt;has venkateswaran said please use SET COUNTRY statement.Hope it is useful for you.&lt;/P&gt;&lt;P&gt;*Sometime individual country uses three types of notations you need to handle it in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Shankar L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 13:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526513#M1750040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-11T13:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526514#M1750041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried all the options, none of them working.( T005x table is having space, which means N.NNN,NN format, the same which I want to display)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the code below: &lt;/P&gt;&lt;P&gt;Data: &lt;/P&gt;&lt;P&gt;v_rate(10) TYPE p DECIMALS 5,&lt;/P&gt;&lt;P&gt;g_curr_amt22(25) type c,&lt;/P&gt;&lt;P&gt;g_curr_jpy(25) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g_curr_amt22 =&amp;nbsp; v_rate * zsapscript-zkwert22&amp;nbsp; .&lt;/P&gt;&lt;P&gt;write g_curr_amt22 to g_curr_jpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;g_curr_jpy is the variable which is printing the value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:&amp;nbsp;&amp;nbsp; IF &amp;amp;VBDKR-WAERK&amp;amp; = 'JPY'&lt;/P&gt;&lt;P&gt;/:&amp;nbsp;&amp;nbsp; SET COUNTRY 'JP'&lt;/P&gt;&lt;P&gt;VA&amp;nbsp;&amp;nbsp; ,,,,,,&amp;amp;ZSAPSCRIPT-ZKWERT3(C)&amp;amp;&lt;/P&gt;&lt;P&gt;VA&amp;nbsp;&amp;nbsp; ,,,,,,&amp;amp;ZSAPSCRIPT-ZDISCOUNT(C)&amp;amp;&lt;/P&gt;&lt;P&gt;VA&amp;nbsp;&amp;nbsp; ,,,,,,&amp;amp;zsapscript-zkwert34(C)&amp;amp;&lt;/P&gt;&lt;P&gt;VA&amp;nbsp;&amp;nbsp; ,,,,,,&amp;amp;ZSAPSCRIPT-ZKWERT22(C)&amp;amp;,,&amp;amp;g_curr_jpy&amp;amp;&lt;/P&gt;&lt;P&gt;VA&amp;nbsp;&amp;nbsp; ,,,,,,&amp;amp;vbdkr-mwsbk(C)&amp;amp;,,&amp;amp;g_curr_amtbkn(C)&amp;amp;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; ,,,,,,&amp;amp;vbdkr-mwsbk(C)&amp;amp;,,&amp;amp;g_curr_amtbk(C)&amp;amp;&lt;/P&gt;&lt;P&gt;/:&amp;nbsp;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently It is printing the value as 115104028.76,,,, I want it in 115.104.028,76 format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhelp would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 06:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526514#M1750041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-12T06:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526515#M1750042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the decimal precision of the currency JPY in T-Code OY04. Usually here is no decimals in JPY currency hence you do not get the comma and the decimal part. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 07:38:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526515#M1750042</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-06-12T07:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526516#M1750043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a CURR type or another?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 08:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526516#M1750043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-12T08:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526517#M1750044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya Sha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ***Please refer attachment there you can see the screenshots&lt;/P&gt;&lt;P&gt;**** Change XX.txt has XX.doc to read it in word document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Go to SU01 transaction -&amp;gt; in defaults tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I set Decimal Notation are as follows,&lt;/P&gt;&lt;P&gt;The result of my code is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second I have changed my user profile decimal notation are as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the result I got is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Coding are as below,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s521"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;v_rate&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;10&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;) &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;p &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;DECIMALS &lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;5&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; g_curr_amt22&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;25&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;) &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;type c&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; g_curr_jpy&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;25&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;) &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;type c&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; v_rate &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'115104028.76'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; g_curr_amt22 &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;v_rate&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_curr_amt22 &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_curr_jpy&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'String'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_curr_jpy&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'Actual'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;v_rate&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is many users can use this script we can not ask users to change the profile data instead we need to use set country command please press F1 in that keyword you can get the full details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Using SET COUNTRY command,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s521"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;v_rate&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;10&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;) &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;p &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;DECIMALS &lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;5&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; g_curr_amt22&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;25&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;) &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;type c&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; g_curr_jpy&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;(&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;25&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;) &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;type c&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; v_rate &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'115104028.76'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; g_curr_amt22 &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;v_rate&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_curr_amt22 &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_curr_jpy&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'String'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_curr_jpy&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'Actual'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;v_rate&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;SET COUNTRY &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'IN'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'String'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_curr_jpy&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;: &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'Actual'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;v_rate&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN T005X table for Country India it is maintained has X please press F4 there you can see the possibilities of usage in decimal notations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my user profile setting is &lt;/P&gt;&lt;P&gt;But see my output of actual,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use g_curr_jpy(C) in script to condense the values.&lt;/P&gt;&lt;P&gt;*Note: If you are not having access to user profile transaction go to se37, uses this function module ALINK_CALL_TRANSACTION execute it and type transaction SU01 execute it.&lt;/P&gt;&lt;P&gt;Hope it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Shankar L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 15:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526517#M1750044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-12T15:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526518#M1750045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Have you tried this solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Shankar L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 06:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526518#M1750045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-14T06:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526519#M1750046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did &lt;SPAN class="fn n"&gt;Arindam suggestion change your understanding of the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fn n"&gt;Neal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 11:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526519#M1750046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-14T11:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526520#M1750047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all for inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked out. I have changed the data type of output variable, from CHAR to type P decimal 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output is displaying as desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 12:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526520#M1750047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-17T12:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526521#M1750048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 1:&lt;/P&gt;&lt;P&gt;Use write g_curr_amt22 to g_curr_jpy currency 'JPY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the above doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 2:&lt;/P&gt;&lt;P&gt;Just copy the value into a char type variable and format.&lt;/P&gt;&lt;P&gt;Call FM CLSE_SELECT_USER01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This shall return the DECIMAL_SIGN and SEPARATOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If both are as expected&lt;/P&gt;&lt;P&gt;NO ACTION.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;Replace All occurances of '.' with ','.&lt;/P&gt;&lt;P&gt;Replace all occurances of ',' with '.'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 12:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526521#M1750048</guid>
      <dc:creator>vamshi_mohan</dc:creator>
      <dc:date>2013-06-17T12:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526522#M1750049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SAP script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just add the following before you are adding currency or Qty fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: Set Country 'US'.&amp;nbsp; or /:set Country &amp;lt;LAND1 field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not you can achieve this using perform and form statement in Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 12:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526522#M1750049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-17T12:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526523#M1750050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your code&amp;nbsp; --&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_curr_amt22 =&amp;nbsp; v_rate * zsapscript-zkwert22&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write g_curr_amt22 to g_curr_jpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before the Write statement,&amp;nbsp; write the SET COUNTRY 'JP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_curr_amt22 =&amp;nbsp; v_rate * zsapscript-zkwert22&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;SET COUNTRY 'JP'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write g_curr_amt22 to g_curr_jpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 13:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-format-in-script/m-p/9526523#M1750050</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2013-06-17T13:03:11Z</dc:date>
    </item>
  </channel>
</rss>

