<?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: printing quantity field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-quantity-field/m-p/2981299#M703890</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 this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : text type char18.
text = itab-kwmeng.      "field with value 1,0000.00

REPLACE ALL OCCURRENCES OF   ',' IN  text
  WITH ' '.
CONDENSE text.

  WRITE :/ text.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2007 14:51:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-06T14:51:38Z</dc:date>
    <item>
      <title>printing quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-quantity-field/m-p/2981297#M703888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;             I am using perform statement and quantity is one input field.&lt;/P&gt;&lt;P&gt;i have declared the field in the program as vbdpa-kwmeng.&lt;/P&gt;&lt;P&gt;till 999 their is no problem.&lt;/P&gt;&lt;P&gt;when it comes to 1000.sytems take it as 1,000.000 .when this value is coming into program that comma is creating a dump .&lt;/P&gt;&lt;P&gt;it is throwing a message like &lt;/P&gt;&lt;P&gt;unable to interpret "1,000.000"  as anumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what shall id o.&lt;/P&gt;&lt;P&gt;which Fm i have to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-quantity-field/m-p/2981297#M703888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T14:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: printing quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-quantity-field/m-p/2981298#M703889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before Assigning in to your variable do this exercise:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: l_char(17).

l_char = '1,000.000'.  " your variable which contains the value
REPLACE FIRST OCCURRENCE of ',' in l_char with ' '.
REPLACE FIRST OCCURRENCE of ',' in l_char with ' '.
REPLACE FIRST OCCURRENCE of ',' in l_char with ' '.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;l_KWMENG = l_char.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This exercise is need to remove the format from the that field. Whenever you receive data from the perfrom in FORM it will give the field with the formatted value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-quantity-field/m-p/2981298#M703889</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-06T14:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: printing quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-quantity-field/m-p/2981299#M703890</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 this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : text type char18.
text = itab-kwmeng.      "field with value 1,0000.00

REPLACE ALL OCCURRENCES OF   ',' IN  text
  WITH ' '.
CONDENSE text.

  WRITE :/ text.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-quantity-field/m-p/2981299#M703890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T14:51:38Z</dc:date>
    </item>
  </channel>
</rss>

