<?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 kEEP GETTING INPUT ERROR WHEN RUNNING material_unit_conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/keep-getting-input-error-when-running-material-unit-conversion/m-p/3567299#M858520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am tryng to run this FM in test mode and I put an amount in the Input and it says it needs to be in a numeric format, which it isn/  Does anyone know how this works.  Also what value should i be putting in for MEINH and MEIN fields?  Is one the UOM I want it converted to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2008 16:00:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-24T16:00:43Z</dc:date>
    <item>
      <title>kEEP GETTING INPUT ERROR WHEN RUNNING material_unit_conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keep-getting-input-error-when-running-material-unit-conversion/m-p/3567299#M858520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am tryng to run this FM in test mode and I put an amount in the Input and it says it needs to be in a numeric format, which it isn/  Does anyone know how this works.  Also what value should i be putting in for MEINH and MEIN fields?  Is one the UOM I want it converted to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 16:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keep-getting-input-error-when-running-material-unit-conversion/m-p/3567299#M858520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T16:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: kEEP GETTING INPUT ERROR WHEN RUNNING material_unit_conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keep-getting-input-error-when-running-material-unit-conversion/m-p/3567300#M858521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot run function module MATERIAL_UNIT_CONVERSION in test mode (in transaction SE37).  This is because the parameter INPUT, OUTPUT, UMREN and UMREZ do not have a data type assigned to them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way to test this is calling this function module in a test program.  Here is a sample code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONSTANTS: C_QUANT TYPE I VALUE 1.
DATA:  P_MATNR LIKE  MARA-MATNR,
           P_FROM_UOM like MARA-MEINS,
           W_FR_CONV_QUANT TYPE F.

  CALL FUNCTION 'MATERIAL_UNIT_CONVERSION'
       EXPORTING
            INPUT                = C_QUANT
            KZMEINH              = ' ' "Base UoM
            MATNR                = P_MATNR
            meinh                = p_from_uom  "Alternative UoM
            MEINS                = MARA-MEINS  "Base UoM
            EXTENDED_CONV        = ' '
            TYPE_UMR             = ' '
            NO_OUTPUT            = ' '
       IMPORTING
            OUTPUT               = W_FR_CONV_QUANT
       EXCEPTIONS
            CONVERSION_NOT_FOUND = 1
            INPUT_INVALID        = 2
            MATERIAL_NOT_FOUND   = 3
            MEINH_NOT_FOUND      = 4
            MEINS_MISSING        = 5
            NO_MEINH             = 6
            OUTPUT_INVALID       = 7
            OVERFLOW             = 8
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 17:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keep-getting-input-error-when-running-material-unit-conversion/m-p/3567300#M858521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T17:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: kEEP GETTING INPUT ERROR WHEN RUNNING material_unit_conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keep-getting-input-error-when-running-material-unit-conversion/m-p/3567301#M858522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the help.  i will test this out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 17:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keep-getting-input-error-when-running-material-unit-conversion/m-p/3567301#M858522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T17:32:43Z</dc:date>
    </item>
  </channel>
</rss>

