<?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: MD_CONVERT_MATERIAL_UNIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/md-convert-material-unit/m-p/3008023#M710761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;First goto SE37 and check the fun module&lt;/P&gt;&lt;P&gt;by entering the values of MATNR,FROM UNIT and TO UNIT and see the value coming out of it&lt;/P&gt;&lt;P&gt;after confirming the value then use it in the code with proper declaration of the all parameters&lt;/P&gt;&lt;P&gt;It should work&lt;/P&gt;&lt;P&gt;also see in the table T006 table&lt;/P&gt;&lt;P&gt;You can also check the other fun module for this conversion&lt;/P&gt;&lt;P&gt;UNIT_CONVERSION_SIMPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Oct 2007 11:08:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-27T11:08:25Z</dc:date>
    <item>
      <title>MD_CONVERT_MATERIAL_UNIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/md-convert-material-unit/m-p/3008022#M710760</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; CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_matnr = p_lv_matnr&lt;/P&gt;&lt;P&gt;i_in_me = p_lv_kmein&lt;/P&gt;&lt;P&gt;i_out_me = p_lv_meins&lt;/P&gt;&lt;P&gt;i_menge = lv_imenge&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;e_menge = lv_emenge&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;i am using this function module in my smartform.i am exporting the following parameters &lt;/P&gt;&lt;P&gt;i_matnr = vbrp-matnr.&lt;/P&gt;&lt;P&gt;i_in_me = 'EA'(stands for each piece)&lt;/P&gt;&lt;P&gt;i_out_me = 'CS'(stands for case or crate)&lt;/P&gt;&lt;P&gt;i_menge =  '100.00' "ekpo-fkimg(quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in importing parameter  the variable lv_emenge contains the same value i.e '100.00' even after using the above function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reply.&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;akmal&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2007 10:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/md-convert-material-unit/m-p/3008022#M710760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-27T10:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: MD_CONVERT_MATERIAL_UNIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/md-convert-material-unit/m-p/3008023#M710761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;First goto SE37 and check the fun module&lt;/P&gt;&lt;P&gt;by entering the values of MATNR,FROM UNIT and TO UNIT and see the value coming out of it&lt;/P&gt;&lt;P&gt;after confirming the value then use it in the code with proper declaration of the all parameters&lt;/P&gt;&lt;P&gt;It should work&lt;/P&gt;&lt;P&gt;also see in the table T006 table&lt;/P&gt;&lt;P&gt;You can also check the other fun module for this conversion&lt;/P&gt;&lt;P&gt;UNIT_CONVERSION_SIMPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2007 11:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/md-convert-material-unit/m-p/3008023#M710761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-27T11:08:25Z</dc:date>
    </item>
  </channel>
</rss>

