<?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: Material Quantity Conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748203#M1302749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM MATERIAL_CONVERT_QUANTITY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2009 10:27:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-03T10:27:44Z</dc:date>
    <item>
      <title>Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748202#M1302748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is i need to defacult the unit of measure to 'PCE' in my selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my requirement is if the materials base unit of measure is in 'PCE'S and in the selection screen if they passed other unit of measurements like 'KG' 'LB' then i need to convert the quantity of that material form PCE' to KG'S or LB'S.&lt;/P&gt;&lt;P&gt;Please guide me how to achieve this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748202#M1302748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748203#M1302749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM MATERIAL_CONVERT_QUANTITY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748203#M1302749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748204#M1302750</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;Use FM  &lt;STRONG&gt;MD_CONVERT_MATERIAL_UNIT&lt;/STRONG&gt;.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  call function 'MD_CONVERT_MATERIAL_UNIT'
       exporting
            i_matnr  = i_matnr
            i_in_me  = i_meinh_in
            i_out_me = i_meinh_out
            i_menge  = ld_menge_in
       importing
            e_menge  = ld_menge_out
       exceptions
            others   = 4.
  e_subrc = sy-subrc.
  if e_subrc is initial.
********
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748204#M1302750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748205#M1302751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try using the below FM for your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CF_UT_UNIT_CONVERSION &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;jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748205#M1302751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748206#M1302752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi thankyou for your reply can you please expalin me abt the parameters of this function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748206#M1302752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748207#M1302753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'MATERIAL_CONVERT_QUANTITY'
  EXPORTING
    PI_MATERIAL_SRC          = P_MATNR   "MATERIAL NUMBER
    PI_MEINH_SRC             = P_MEINH1  "SOURCE UOM
*   PI_MEINS_SRC             =
    PI_QUANTITY_SRC          = P_QUAN1    "QUANTITY
    PI_MATERIAL_DST          = P_MEINH2  "TARET UOM
*   PI_MEINH_DST             =
*   PI_MEINS_DST             =
 IMPORTING
    PE_QUANTITY_DST          = P_QUAN2   "CONVERTED QUANTITY
*   PE_MEINH_DST             =
*   PE_MEINS_DST             =
 EXCEPTIONS
   WRONG_CALL               = 1
   MATERIAL_NOT_FOUND       = 2
   NO_CONVERSION            = 3
   OTHERS                   = 4&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748207#M1302753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748208#M1302754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Use below FM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MATERIAL_CONVERT_QUANTITY&lt;/P&gt;&lt;P&gt;CIF_GEN_CONVERT_QUANTITY_ISO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748208#M1302754</guid>
      <dc:creator>SujeetMishra</dc:creator>
      <dc:date>2009-06-03T10:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748209#M1302755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI i runned the function module manually by your inputs but no luck .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748209#M1302755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748210#M1302756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SORY TRY THIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'MATERIAL_CONVERT_QUANTITY'
  EXPORTING
    PI_MATERIAL_SRC          = P_MATNR   "MATERIAL NUMBER
    PI_MEINH_SRC             = P_MEINH1  "SOURCE UOM
*   PI_MEINS_SRC             =
    PI_QUANTITY_SRC          = P_QUAN1    "QUANTITY
    PI_MATERIAL_DST          =  P_MATNR   "MATERIAL NUMBER
    PI_MEINH_DST             = P_MEINH2  "TARET UOM
*   PI_MEINS_DST             =
 IMPORTING
    PE_QUANTITY_DST          = P_QUAN2   "CONVERTED QUANTITY
*   PE_MEINH_DST             =
*   PE_MEINS_DST             =
 EXCEPTIONS
   WRONG_CALL               = 1
   MATERIAL_NOT_FOUND       = 2
   NO_CONVERSION            = 3
   OTHERS                   = 4&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: GTREN on Jun 3, 2009 1:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748210#M1302756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748211#M1302757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to take care while using the FM 'MD_CONVERT_MATERIAL_UNIT' because, if the quantity conversion factor is not maintained for a particular material that quantity then the FM give the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check via T-Code MM03 whether the quantity conversion factor is maintained for that material or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the below code for the quantity conversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_matnr              = material number&lt;/P&gt;&lt;P&gt;      i_in_me              = from quantity&lt;/P&gt;&lt;P&gt;      i_out_me             = to quantity&lt;/P&gt;&lt;P&gt;      i_menge              = input quantity&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      e_menge              = output quantity&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      error_in_application = 1&lt;/P&gt;&lt;P&gt;      error                = 2&lt;/P&gt;&lt;P&gt;      OTHERS               = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748211#M1302757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748212#M1302758</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;You may use the FM "&lt;STRONG&gt;UNIT_CONVERSION_SIMPLE&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &lt;STRONG&gt;'UNIT_CONVERSION_SIMPLE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT                      = &amp;lt; Total units&amp;gt;&lt;/P&gt;&lt;P&gt;   UNIT_IN                    =  &amp;lt;The unit of measurement selected by the user&amp;gt;&lt;/P&gt;&lt;P&gt;   UNIT_OUT                   = &amp;lt;PCE&amp;gt;&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   OUTPUT                     = &amp;lt;Here you will get the converted total units&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONVERSION_NOT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIVISION_BY_ZERO           = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INPUT_INVALID              = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT_INVALID             = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OVERFLOW                   = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TYPE_INVALID               = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNITS_MISSING              = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNIT_IN_NOT_FOUND          = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNIT_OUT_NOT_FOUND         = 9&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                     = 10&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smart Varghese&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748212#M1302758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748213#M1302759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this FM u will get the  desired result.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CF_UT_UNIT_CONVERSION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 10:50:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748213#M1302759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T10:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748214#M1302760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI sheelesh,thankyou for your reply.&lt;/P&gt;&lt;P&gt;Do you have any idea that how we will calculate the sales of the material by using movement types.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 11:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748214#M1302760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T11:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748215#M1302761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is giving an error message as use a number field,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 11:32:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748215#M1302761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T11:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Material Quantity Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748216#M1302762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just what I was looking for. Simple is best!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 06:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-quantity-conversion/m-p/5748216#M1302762</guid>
      <dc:creator>timothy_eckersley</dc:creator>
      <dc:date>2012-09-26T06:56:08Z</dc:date>
    </item>
  </channel>
</rss>

