<?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: check Quantity input in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006496#M1496023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You probably  reading text file into an internal table (say it_data).&lt;/P&gt;&lt;P&gt;All filed of you internal table should be of type char.&lt;/P&gt;&lt;P&gt;And before uploading it to BAPI or BDC. You should change format according to user profile settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write it_data-mat_qty to lv_mat_qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this variable lv_mat_qty will have decimal point as per user profile settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jun 2010 17:54:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-04T17:54:08Z</dc:date>
    <item>
      <title>check Quantity input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006495#M1496022</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;I'm developing a program which uploads data from a text file (.csv) and creates sales orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user inputs material quantity in a format according to his user profile settings. (decimal point might be , or .)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to check whether the value input is according to the profile settings, if not I include this record in error log.&lt;/P&gt;&lt;P&gt;If value input is in correct format, I need to convert the value entered to SAP internal format (eg: 34,563 to 34.563) before passing it to bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used function module CATS_NUMERIC_INPUT_CHECK, but it works for nummbers with upto 2 decimal places. But quatity has 3 decimal places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&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;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 17:06:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006495#M1496022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T17:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: check Quantity input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006496#M1496023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You probably  reading text file into an internal table (say it_data).&lt;/P&gt;&lt;P&gt;All filed of you internal table should be of type char.&lt;/P&gt;&lt;P&gt;And before uploading it to BAPI or BDC. You should change format according to user profile settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write it_data-mat_qty to lv_mat_qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this variable lv_mat_qty will have decimal point as per user profile settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 17:54:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006496#M1496023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T17:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: check Quantity input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006497#M1496024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="640073"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 18:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006497#M1496024</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-06-04T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: check Quantity input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006498#M1496025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the FM: CATS_NUMERIC_INPUT_CHECK works for checking quantity input format also. Don't get confused with decimal format of rate and quantity as they are not same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 04:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-quantity-input/m-p/7006498#M1496025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T04:20:20Z</dc:date>
    </item>
  </channel>
</rss>

