<?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 Regarding MATERIAL_UNIT_CONVERSION function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079349#M1505760</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 want to convert MEINS = &lt;EM&gt;*Pack&lt;/EM&gt;* to &lt;EM&gt;&lt;STRONG&gt;Pair&lt;/STRONG&gt;&lt;/EM&gt; for a given material. For my condition 1 pack = 50 pairs. I am using MATERIAL_UNIT_CONVERSION this function module. So could you please let me know, what are the fields i need to provide import and export parameters in function module &amp;amp; how to give it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 09:11:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-15T09:11:19Z</dc:date>
    <item>
      <title>Regarding MATERIAL_UNIT_CONVERSION function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079349#M1505760</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 want to convert MEINS = &lt;EM&gt;*Pack&lt;/EM&gt;* to &lt;EM&gt;&lt;STRONG&gt;Pair&lt;/STRONG&gt;&lt;/EM&gt; for a given material. For my condition 1 pack = 50 pairs. I am using MATERIAL_UNIT_CONVERSION this function module. So could you please let me know, what are the fields i need to provide import and export parameters in function module &amp;amp; how to give it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 09:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079349#M1505760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T09:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding MATERIAL_UNIT_CONVERSION function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079350#M1505761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Please make sure both the units you are using must be :  be the base unit of measure of the material  and the oher must be other must be defined as an alternative unit of measure for the material   i.e entry sholud be present in T006.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: MATNR LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;         MEINS LIKE MARA-MEINS,                 """  UOM &lt;/P&gt;&lt;P&gt;         MEINH LIKE MARM-MEINH,                """"  UOM &lt;/P&gt;&lt;P&gt;         INPUT  TYPE F,&lt;/P&gt;&lt;P&gt;         OUTPUT TYPE F,&lt;/P&gt;&lt;P&gt;         UMREN  TYPE F,&lt;/P&gt;&lt;P&gt;         UMREZ  TYPE F,&lt;/P&gt;&lt;P&gt;         KZMEINH TYPE C.&lt;/P&gt;&lt;P&gt;    . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'MATERIAL_UNIT_CONVERSION'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;                INPUT                = INPUT&lt;/P&gt;&lt;P&gt;               KZMEINH              = KZMEINH&lt;/P&gt;&lt;P&gt;               MATNR                = MATNR&lt;/P&gt;&lt;P&gt;               MEINH                = MEINH&lt;/P&gt;&lt;P&gt;               MEINS                = MEINS&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;               OUTPUT               = OUTPUT&lt;/P&gt;&lt;P&gt;               UMREN                = UMREN&lt;/P&gt;&lt;P&gt;               UMREZ                = UMREZ&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              CONVERSION_NOT_FOUND = 01&lt;/P&gt;&lt;P&gt;               INPUT_INVALID        = 02&lt;/P&gt;&lt;P&gt;              MATERIAL_NOT_FOUND   = 03&lt;/P&gt;&lt;P&gt;               MEINH_NOT_FOUND      = 04&lt;/P&gt;&lt;P&gt;               MEINS_MISSING        = 05&lt;/P&gt;&lt;P&gt;               OUTPUT_INVALID       = 06&lt;/P&gt;&lt;P&gt;               OVERFLOW             = 07.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swapni .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 09:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079350#M1505761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T09:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding MATERIAL_UNIT_CONVERSION function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079351#M1505762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In table MARM (se16) , enter the material code multiply qty in context say (p_qty) by umrez/umren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;factor = ( wa_marm-umrez / wa_marm-umren ) * P_QTY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 09:29:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079351#M1505762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T09:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding MATERIAL_UNIT_CONVERSION function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079352#M1505763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before using a FM read the documentation once (if it exists though !!!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation for MATERIAL_UNIT_CONVERSION says: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; ... A requirement for this is that the units of measurement relate to a material. One of them must be the base unit of measure of the material, while the other must be defined as an alternative unit of measure for the material or be capable of being converted to an alternative unit of measure as per table T006 ... &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if the BUoM of the material is not "Pairs" the FM wont work correctly. In your case you have to perform 2 steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Convert to "Packs" to BUoM of the material &amp;amp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. From the BUoM convert to "Pairs".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to use the FM is quite straight forward. Read the parameter definitions, search the forum for details.&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>Thu, 15 Jul 2010 09:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-material-unit-conversion-function-module/m-p/7079352#M1505763</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-15T09:49:17Z</dc:date>
    </item>
  </channel>
</rss>

