<?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: Problem while displaying currency field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108785#M1617201</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;As you  are currency this probelm will come .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give this code before write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET COUNTRY SPACE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this and let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hariharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2011 10:15:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-11T10:15:02Z</dc:date>
    <item>
      <title>Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108779#M1617195</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 have an issue while displaying DMBTR field in one of zreport using basic list display.&lt;/P&gt;&lt;P&gt;DMBTR field is with 2 decimals but the output is coming with 4 decimals , resulting in display of wrong figures.&lt;/P&gt;&lt;P&gt;eg . instead of 621,000.00 rs  6,210.0000 is been shown.&lt;/P&gt;&lt;P&gt;I debugged and checked the type of output variable its coming right in debugger but in list display its getting wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks n regards ,&lt;/P&gt;&lt;P&gt;Sij.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108779#M1617195</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2011-08-11T09:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108780#M1617196</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;Just check the number of decimal points that are assigned to the currency that is referencing your amount field that you have typed to DMBTR.  You can check in table &lt;STRONG&gt;TCURX&lt;/STRONG&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;Prince Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108780#M1617196</guid>
      <dc:creator>prince_isaac</dc:creator>
      <dc:date>2011-08-11T09:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108781#M1617197</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 whether the final table [ which u pass to display ] DMBTR type is also type P decimal 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is correct please let me know .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple solution might be have the DMBTR value as Text for final table type.   DMBTR TYPE TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hariharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108781#M1617197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-11T09:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108782#M1617198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sij,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you wrinting the amount on to the list from DMBTR field direclty or moving it to some varibale and wrintg the same, can you please post your code for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile you also check with following FMs which can help you in formating amounts.&lt;/P&gt;&lt;P&gt;1.HRCM_STRING_TO_AMOUNT_CONVERT&lt;/P&gt;&lt;P&gt;2.BAPI_CURRENCY_CONV_TO_EXTERNAL&lt;/P&gt;&lt;P&gt;3. CONVERT_AMOUNT_TO_CURRENCY&lt;/P&gt;&lt;P&gt;4.CURRENCY_AMOUNT_DISPLAY_TO_SAP&lt;/P&gt;&lt;P&gt;5. CURRENCY_AMOUNT_SAP_TO_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108782#M1617198</guid>
      <dc:creator>Varamanoj</dc:creator>
      <dc:date>2011-08-11T10:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108783#M1617199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;Thanks for ur prompt replies.&lt;/P&gt;&lt;P&gt;This is the &lt;STRONG&gt;write&lt;/STRONG&gt; statement :&lt;/P&gt;&lt;P&gt;write : GS_BSID-Z_WRBTR_S CURRENCY GS_BSID-WAERS LEFT-JUSTIFIED,    "Debit Amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and GS_BSID-Z_WRBTR_S is of type bsid-dmbtr which is of 2 decimal type.&lt;/P&gt;&lt;P&gt;Currency type is INR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108783#M1617199</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2011-08-11T10:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108784#M1617200</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;You can also control it via field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GW_FCAT-FIELDNAME = 'DMBTR'.
  GW_FCAT-COL_POS = '1'.
  GW_FCAT-TABNAME = 'GT_FINAL3'.
  GW_FCAT-SELTEXT_L = TEXT-120.
  *GW_FCAT-decimals_out = 2.*
  APPEND GW_FCAT TO GT_FCAT.
  CLEAR GW_FCAT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hariharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108784#M1617200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-11T10:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108785#M1617201</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;As you  are currency this probelm will come .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give this code before write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET COUNTRY SPACE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this and let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hariharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108785#M1617201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-11T10:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108786#M1617202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hariharan sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Basic list display.&lt;/P&gt;&lt;P&gt;And the requirement of this report is in Basic list display itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sapuser09 on Aug 11, 2011 12:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108786#M1617202</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2011-08-11T10:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108787#M1617203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the solution actually instead of WRBTR i need to display DMBTR which i did. Coz in wrbtr the field was in USD and the requirement was to display the report in INR which is in DMBTR.&lt;/P&gt;&lt;P&gt;Now the INR field was displayed in USD format because of the below statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GS_BSID-Z_WRBTR_S CURRENCY GS_BSID-WAERS LEFT-JUSTIFIED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since in WAERS the value was USD.&lt;/P&gt;&lt;P&gt;So i set the value WAERS as INR (default )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108787#M1617203</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2011-08-11T10:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while displaying currency field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108788#M1617204</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;yes u need to use DMBTR that is for Local Currency&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hariharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 11:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-displaying-currency-field/m-p/8108788#M1617204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-11T11:00:38Z</dc:date>
    </item>
  </channel>
</rss>

