<?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 Help with function module for unit conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-function-module-for-unit-conversion/m-p/2073376#M429610</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;Can you please give a sample code for the function module:&lt;/P&gt;&lt;P&gt;MATERIAL_UNIT_CONVERSION (function module documentation ddidnt help me!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to convert material from one unit to others. For ex: from case to packs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2007 21:12:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-06T21:12:35Z</dc:date>
    <item>
      <title>Help with function module for unit conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-function-module-for-unit-conversion/m-p/2073376#M429610</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;Can you please give a sample code for the function module:&lt;/P&gt;&lt;P&gt;MATERIAL_UNIT_CONVERSION (function module documentation ddidnt help me!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to convert material from one unit to others. For ex: from case to packs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 21:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-function-module-for-unit-conversion/m-p/2073376#M429610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T21:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help with function module for unit conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-function-module-for-unit-conversion/m-p/2073377#M429611</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 can also use the FM MD_CONVERT_MATERIAL_UNIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_MATNR TYPE MATNR OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_IN_ME TYPE MEINS OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_OP_ME TYPE MEINS OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: V_MENGE TYPE EKPO-MENGE.&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                    = P_MATNR&lt;/P&gt;&lt;P&gt;    i_in_me                    = P_IN_ME&lt;/P&gt;&lt;P&gt;    i_out_me                   = P_OP_ME&lt;/P&gt;&lt;P&gt;    i_menge                    = '1.000'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   E_MENGE                    = V_MENGE&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;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 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;ELSE.&lt;/P&gt;&lt;P&gt; WRITE: / V_MENGE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 21:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-function-module-for-unit-conversion/m-p/2073377#M429611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T21:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with function module for unit conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-function-module-for-unit-conversion/m-p/2073378#M429612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this sample program perhaps it may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://groupc.tripparty.com/html/intania/uploadprogram/1ss.txt" target="test_blank"&gt;http://groupc.tripparty.com/html/intania/uploadprogram/1ss.txt&lt;/A&gt;&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 21:19:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-function-module-for-unit-conversion/m-p/2073378#M429612</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-06T21:19:13Z</dc:date>
    </item>
  </channel>
</rss>

