<?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: Retrieving n displaying variables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070504#M428829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well it it is a number you get from your file, and if you put it in a numeric datatype (p,f,i) you will get the 1k seperator point without doing anything.&lt;/P&gt;&lt;P&gt;If not, you have to go through your properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other way round: replace '.' with ''.&lt;/P&gt;&lt;P&gt;anyway i wouldnt recomment to delete the comma, since when you want to read the record from your file again, why would you know how much characters you had behind the comma before you deleted the comma?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2007 12:11:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-28T12:11:27Z</dc:date>
    <item>
      <title>Retrieving n displaying variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070502#M428827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If have a flat file in which I have a value like 35234.&lt;/P&gt;&lt;P&gt;Now i want to retrieve n display those values like 35,234.00. How can I do that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same way if I get the value like 35,234.00 how can I remove those ',' and '.' from  the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gimme sample code on those.&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;REgards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 12:06:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070502#M428827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T12:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving n displaying variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070503#M428828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variable that is going to hold the value should be declared as type p decimals 2.&lt;/P&gt;&lt;P&gt;In your user settings, the setting for the numeric fomat must be chosen appropriately (in SU3 transaction).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your second query, move to a type I variable.&lt;/P&gt;&lt;P&gt;Then move the content of it to a char type variable.&lt;/P&gt;&lt;P&gt;Then replace the ',' with ''.&lt;/P&gt;&lt;P&gt;replace all occurances of ',' with '' in v_char.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 12:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070503#M428828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T12:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving n displaying variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070504#M428829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well it it is a number you get from your file, and if you put it in a numeric datatype (p,f,i) you will get the 1k seperator point without doing anything.&lt;/P&gt;&lt;P&gt;If not, you have to go through your properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other way round: replace '.' with ''.&lt;/P&gt;&lt;P&gt;anyway i wouldnt recomment to delete the comma, since when you want to read the record from your file again, why would you know how much characters you had behind the comma before you deleted the comma?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 12:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070504#M428829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T12:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving n displaying variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070505#M428830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Data: v_so(5) type c value '35234',&lt;/P&gt;&lt;P&gt;v_num like vbak-netwr&lt;/P&gt;&lt;P&gt;v_num1(5) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_num = v_so.  You will get 35,234.00 (currency type) (or you can declare a variable type P decimals 2 and use)&lt;/P&gt;&lt;P&gt;v_num1 = v_num. (numeric)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 12:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070505#M428830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T12:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving n displaying variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070506#M428831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In se38&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;-&amp;gt; system settings -&lt;/DEL&gt;&lt;/P&gt;&lt;HR originaltext="---" /&gt;&amp;gt;owndata-&amp;gt; change decimal format default to your requirement..&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  w_val type p decimals 2.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  w_val = '3456'.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  write w_val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for second...&lt;/P&gt;&lt;P&gt; data:&lt;/P&gt;&lt;P&gt;  w_val(6) type n.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  w_val = '3,456.00'.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  write w_val.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 12:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-n-displaying-variables/m-p/2070506#M428831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T12:14:31Z</dc:date>
    </item>
  </channel>
</rss>

