<?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 unit conversion problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221839#M477173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use the fun module&lt;/P&gt;&lt;P&gt;UNIT_CONVERSION_SIMPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              input                = p_act_in&lt;/P&gt;&lt;P&gt;              unit_in              = p_uom_in&lt;/P&gt;&lt;P&gt;              unit_out             = w_unit_out&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              output               = w_act_out&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              conversion_not_found = 1&lt;/P&gt;&lt;P&gt;              division_by_zero     = 2&lt;/P&gt;&lt;P&gt;              input_invalid        = 3&lt;/P&gt;&lt;P&gt;              output_invalid       = 4&lt;/P&gt;&lt;P&gt;              overflow             = 5&lt;/P&gt;&lt;P&gt;              type_invalid         = 6&lt;/P&gt;&lt;P&gt;              units_missing        = 7&lt;/P&gt;&lt;P&gt;              unit_in_not_found    = 8&lt;/P&gt;&lt;P&gt;              unit_out_not_found   = 9&lt;/P&gt;&lt;P&gt;              OTHERS               = 10.&lt;/P&gt;&lt;P&gt;reward points if useful&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, 05 May 2007 17:33:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-05T17:33:26Z</dc:date>
    <item>
      <title>material unit conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221838#M477172</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 am using transaction mm03 to read a material&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the DisplayBasicData1 view i can see the BAse unit of measurement &lt;/P&gt;&lt;P&gt;and also the alternae UOM in the dimensions box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need bapi/function module to convert between these material Units&lt;/P&gt;&lt;P&gt;I tried using &lt;/P&gt;&lt;P&gt;MD_CONVERT_MATERIAL_UNIT but it is not giving result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg for material 1424 chocolate - &lt;/P&gt;&lt;P&gt;basic unit of meaurement - PC &lt;/P&gt;&lt;P&gt;alternate&lt;/P&gt;&lt;P&gt;weight kg 28&lt;/P&gt;&lt;P&gt;net weight 27.9 kg&lt;/P&gt;&lt;P&gt;volume 0.750 M3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is showing error in result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i achieve this conversion - using some bapi &lt;/P&gt;&lt;P&gt;or func module ?&lt;/P&gt;&lt;P&gt;please help me with the input fields also as i do not have much knowledge about the input fields in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Points assured for help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        shobhendra srivastava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2007 15:28:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221838#M477172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-05T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: material unit conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221839#M477173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use the fun module&lt;/P&gt;&lt;P&gt;UNIT_CONVERSION_SIMPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              input                = p_act_in&lt;/P&gt;&lt;P&gt;              unit_in              = p_uom_in&lt;/P&gt;&lt;P&gt;              unit_out             = w_unit_out&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              output               = w_act_out&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              conversion_not_found = 1&lt;/P&gt;&lt;P&gt;              division_by_zero     = 2&lt;/P&gt;&lt;P&gt;              input_invalid        = 3&lt;/P&gt;&lt;P&gt;              output_invalid       = 4&lt;/P&gt;&lt;P&gt;              overflow             = 5&lt;/P&gt;&lt;P&gt;              type_invalid         = 6&lt;/P&gt;&lt;P&gt;              units_missing        = 7&lt;/P&gt;&lt;P&gt;              unit_in_not_found    = 8&lt;/P&gt;&lt;P&gt;              unit_out_not_found   = 9&lt;/P&gt;&lt;P&gt;              OTHERS               = 10.&lt;/P&gt;&lt;P&gt;reward points if useful&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, 05 May 2007 17:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221839#M477173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-05T17:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: material unit conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221840#M477174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;           p_act_in    5&lt;/P&gt;&lt;P&gt;           p_uom_in  KG&lt;/P&gt;&lt;P&gt;          w_unit_out  G &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows &lt;/P&gt;&lt;P&gt;Exception   INPUT_INVALID&lt;/P&gt;&lt;P&gt;Message ID      BM&lt;/P&gt;&lt;P&gt;Mesaage No      310&lt;/P&gt;&lt;P&gt;Please use an number field for the input value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 03:43:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221840#M477174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T03:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: material unit conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221841#M477175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MD_CONVERT_MATERIAL_UNIT is givin the output &lt;/P&gt;&lt;P&gt;if the data is maintained in the basicdata1 view - additional daat - uom &lt;/P&gt;&lt;P&gt;I/P Params,&lt;/P&gt;&lt;P&gt;MATNR - Material,&lt;/P&gt;&lt;P&gt;I_IN_ME   -  Alternate UoM   - MEINH&lt;/P&gt;&lt;P&gt;I_OUT_ME - Base UoM - MEINS&lt;/P&gt;&lt;P&gt;I_MENGE -  Quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;O/P Params,&lt;/P&gt;&lt;P&gt;E_MENGE - Quantity&lt;/P&gt;&lt;P&gt;===============&lt;/P&gt;&lt;P&gt;UOM is  MEINS&lt;/P&gt;&lt;P&gt;AUOM is  MEINS&lt;/P&gt;&lt;P&gt; Can you tell me a bapi by which i can get these fields for any material?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 04:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-unit-conversion-problem/m-p/2221841#M477175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T04:11:07Z</dc:date>
    </item>
  </channel>
</rss>

