<?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: CONVERSION EXIT to remove thousand separator from quantity field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257274#M1528381</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;try this.&lt;/P&gt;&lt;P&gt;  REPLACE ALL OCCURRENCES OF '.' IN lv_quantity  WITH ''.&lt;/P&gt;&lt;P&gt;CONDENSE lv_quantity.&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF ',' IN lv_quantity WITH '.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;K.Kiranmayi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 06:37:09 GMT</pubDate>
    <dc:creator>former_member778137</dc:creator>
    <dc:date>2010-10-06T06:37:09Z</dc:date>
    <item>
      <title>CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257270#M1528377</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;NEED HELP&lt;/P&gt;&lt;P&gt;do u know any  FM or CONVERSION EXIT which remove thousand separator from quantity field.&lt;/P&gt;&lt;P&gt;Eg. 1,234,567.11 SHOULD be displayed as 1234567.11&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 22:52:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257270#M1528377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T22:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257271#M1528378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - maybe you could use WRITE &lt;SPAN __jive_macro_name="variable"&gt; TO &lt;/SPAN&gt; NO-GROUPING&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 23:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257271#M1528378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T23:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257272#M1528379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks for your answer ,but its not dat much simple ,&lt;/P&gt;&lt;P&gt;let take another example &lt;/P&gt;&lt;P&gt; 1.123.45,12 should be displayed  112345.12&lt;/P&gt;&lt;P&gt; 1,123,45.12  should be displayed 112345.12&lt;/P&gt;&lt;P&gt;means i need to remove all commas (thousand separator) and data should be displayed in decimals.&lt;/P&gt;&lt;P&gt;some times decimals may be more than 2 which depends on unit lets say in mm unit i want it more than 2 decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the solution which u had given is fine but i am facing this problem frequently so i need to format every time.&lt;/P&gt;&lt;P&gt;if any fm is available then i can reuse it in proper way.&lt;/P&gt;&lt;P&gt;there is fm available for curreny as "CURRENCY_AMOUNT_SAP_TO_IDOC" and many more  but not for quantity.&lt;/P&gt;&lt;P&gt;so if any one find solution for above problem , i will be thankful to him/her.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 00:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257272#M1528379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T00:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257273#M1528380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chetanpatil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your quantity has thousand separator as comma:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
translate lv_quantity using ', '.
condense lv_quantity.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your quantity has thousand separation as dot:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
translate lv_quantity using '. '.
translate lv_quantity using ',.'.
condense lv_quantity.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to check for the user thousand separator configuration in table USR01 field DCPFM or by calling BAPI_USER_GET_DETAIL and act accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andres.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 00:42:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257273#M1528380</guid>
      <dc:creator>andrs_sarcevic</dc:creator>
      <dc:date>2010-10-06T00:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257274#M1528381</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;try this.&lt;/P&gt;&lt;P&gt;  REPLACE ALL OCCURRENCES OF '.' IN lv_quantity  WITH ''.&lt;/P&gt;&lt;P&gt;CONDENSE lv_quantity.&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF ',' IN lv_quantity WITH '.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;K.Kiranmayi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 06:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257274#M1528381</guid>
      <dc:creator>former_member778137</dc:creator>
      <dc:date>2010-10-06T06:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257275#M1528382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; try this.&lt;/P&gt;&lt;P&gt;&amp;gt;   REPLACE ALL OCCURRENCES OF '.' IN lv_quantity  WITH ''.&lt;/P&gt;&lt;P&gt;&amp;gt; CONDENSE lv_quantity.&lt;/P&gt;&lt;P&gt;&amp;gt; REPLACE ALL OCCURRENCES OF ',' IN lv_quantity WITH '.'.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks ,&lt;/P&gt;&lt;P&gt;&amp;gt; K.Kiranmayi&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Won't work with &lt;/P&gt;&lt;P&gt;1.123.45,12 should be displayed 112345.12&lt;/P&gt;&lt;P&gt;1,123,45.12 should be displayed 112345.12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 07:12:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257275#M1528382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T07:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257276#M1528383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chetan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;  CLEAR: w_dcpfm, w_thousand_sep.&lt;/P&gt;&lt;P&gt;  SELECT SINGLE dcpfm&lt;/P&gt;&lt;P&gt;            INTO w_dcpfm&lt;/P&gt;&lt;P&gt;            FROM usr01&lt;/P&gt;&lt;P&gt;            WHERE bname EQ sy-uname.&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    IF w_dcpfm EQ 'X'.&lt;/P&gt;&lt;P&gt;      w_thousand_sep = ','.&lt;/P&gt;&lt;P&gt;    ELSEIF w_dcpfm EQ ' '.&lt;/P&gt;&lt;P&gt;      w_thousand_sep = '.'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REPLACE ALL OCCURRENCES OF w_thousand_sep IN l_quantity WITH ' '.&lt;/P&gt;&lt;P&gt;  CONDENSE l_quantity NO-GAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nisha Vengal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 07:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257276#M1528383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T07:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257277#M1528384</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;IMHO &lt;STRONG&gt;WRITE ... NO-GROUPING&lt;/STRONG&gt; is the most fool-proof solution to handle different decimal separators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excerpt from the documentation: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; ... suppresses the thousands separator in the output of data objects of data types i or p ... &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source: [http://help.sap.com/abapdocu_70/en/ABAPWRITE_INT_OPTIONS.htm#&amp;amp;ABAP_ADDITION_5@5@]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 08:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257277#M1528384</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-10-06T08:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257278#M1528385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Quantity fields do not contain anything other than 0-9, decimal and possibly sign.&lt;/STRONG&gt;  The thousands separators are "user-friendly" display characteristics of the value, not the data value!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's a true quantity field (or other true-numeric type, e.g., not N), output it to a file and look at the data value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257278#M1528385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T11:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERSION EXIT to remove thousand separator from quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257279#M1528386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your editor, enter WRITE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move back cursor. Press F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at NO-GROUPING.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 12:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-to-remove-thousand-separator-from-quantity-field/m-p/7257279#M1528386</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-10-06T12:00:58Z</dc:date>
    </item>
  </channel>
</rss>

