<?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: regarding currency fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102188#M438352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. &lt;/P&gt;&lt;P&gt;after uploading that field, just remove all the commas using TRANSLATE statement !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;translate KBETR using ', '. &amp;lt;i&amp;gt;"&amp;lt;&amp;lt;- after ',' space should be there !!&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;condense KBETR no-gaps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u can divide this KBETR with 10 ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 10:10:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-16T10:10:55Z</dc:date>
    <item>
      <title>regarding currency fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102186#M438350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi To All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a flat file in which the currency fields has values like 1,560.85,1,938.47.&lt;/P&gt;&lt;P&gt;I had declared the field KBETR AS data:kbetr(16).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while uploading the data i am getting the value as "1,560.85 " "1,938.47".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also i need to divide this fieds by 10.but 1,560.85 is not treated as a number due to commas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could any one help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102186#M438350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: regarding currency fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102187#M438351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your user profile, change the decimal format you are currently using.&lt;/P&gt;&lt;P&gt;System-&amp;gt;User Profile-&amp;gt;Own data.&lt;/P&gt;&lt;P&gt;Go to defaults tab and then change your decimal notation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS PROCEDURE IS WITHOUT CHANGING DEFAULT SETTINGS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report YH642_TEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;mard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : W_mard_labst type p decimals 3,&lt;/P&gt;&lt;P&gt;w_dt1(18).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_N TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM MARD INTO MARD WHERE LABST = '10000.00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: mard-labst .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_mard_labst = mard-labst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ W_mard_labst .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_dt1 = w_mard_labst .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write W_mard_labst to w_dt1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_N = STRLEN( W_DT1 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_N = W_N - 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF ',' IN W_DT1 WITH '.' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '.'&lt;/P&gt;&lt;P&gt;IN SECTION OFFSET W_N LENGTH 4 OF W_DT1 WITH ','.&lt;/P&gt;&lt;P&gt;WRITE: / W_DT1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102187#M438351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: regarding currency fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102188#M438352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. &lt;/P&gt;&lt;P&gt;after uploading that field, just remove all the commas using TRANSLATE statement !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;translate KBETR using ', '. &amp;lt;i&amp;gt;"&amp;lt;&amp;lt;- after ',' space should be there !!&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;condense KBETR no-gaps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u can divide this KBETR with 10 ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102188#M438352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: regarding currency fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102189#M438353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish,&lt;/P&gt;&lt;P&gt;                       Declare it as data: kbetr LIKE BSEG-WRBTR. &lt;/P&gt;&lt;P&gt;then, you aassign the respective currency field here...BSEG-PSWSL = &amp;#145;KRW&amp;#146;. (KRW for korean currency). USD for US dollar...now, try to print kbetr ..it will print according to the currency field u give in PSWSL. then u can manipulate as u want..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward point if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx 'n' regards,&lt;/P&gt;&lt;P&gt;Sekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102189#M438353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: regarding currency fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102190#M438354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto System-&amp;gt;User Profile-&amp;gt;Own data-&amp;gt;Defaults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select the decimal notation you want.Then the number uploaded from flat file will be treated as a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:14:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102190#M438354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: regarding currency fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102191#M438355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..Sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple...this will solve ur prob...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;data: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_num(6) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move kbetr to w_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now divide it by 1000 not with 10.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:15:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102191#M438355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: regarding currency fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102192#M438356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in source fields when we are assigning field name, description , length and field type in the field type press f4 and  take appropriate one this might be helpful to u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Naveen khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-fields/m-p/2102192#M438356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:15:06Z</dc:date>
    </item>
  </channel>
</rss>

