<?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: Function module to convert weight without material in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-weight-without-material/m-p/9433873#M1739444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Hi &lt;SPAN style="font-style: inherit;"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://answers.sap.com/people/tarpan.vadalia" id="jive-26475123825002730340709" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;tarpan vadalia&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Just use the following FM : &lt;STRONG&gt;UNIT_CONVERSION_SIMPLE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Check the below threads for your reference&amp;nbsp; , Hope this helps&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;A __default_attr="473381" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;A __default_attr="3225779" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;A __default_attr="733937" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Bastin.G&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 May 2013 06:06:49 GMT</pubDate>
    <dc:creator>bastinvinoth</dc:creator>
    <dc:date>2013-05-19T06:06:49Z</dc:date>
    <item>
      <title>Function module to convert weight without material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-weight-without-material/m-p/9433871#M1739442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to convert weight from one unit to another unit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 1000 gram = 1 KG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked few functional modules but all are asking for material number. But in my canse I dont have material code and again the conversion I am looking for is standard conversion only, hence no need to check conversion ratio from other sources like material master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any such function module is available or not which can convert the weight units.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2013 07:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-weight-without-material/m-p/9433871#M1739442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-18T07:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to convert weight without material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-weight-without-material/m-p/9433872#M1739443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tarpan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the following FM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial; font-size: 14px; background-color: #ffffff;"&gt;UNIT_CONVERSION_SIMPLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;This FM converts values from one measurement unit to another and rounds the result to the number of decimal places maintained in the measurement unit table, if necessary. The rounding is up ('+'), down ('-'), commercial ('X') or no rounding (SPACE), depending on the parameter ROUND_SIGN. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;It can also be used for rounding according to the measurement unit table only. In this case UNIT_IN = UNIT_OUT. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Conversion requires that both units are maintained in the measurement unit table and have the same dimension and are not both without dimension. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Rounding is also possible for dimensionless units. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Example&lt;/STRONG&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;DATA: VALUE_IN TYPE F,&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;VALUE_OUT TYPE F, UNIT_IN&amp;nbsp;&amp;nbsp; LIKE T006-MSEHI, UNIT_OUT&amp;nbsp; LIKE T006-MSEHI.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P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t;DIVISION_BY_ZERO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 02&lt;/P&gt;&lt;P&gt;INPUT_INVALID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 03&lt;/P&gt;&lt;P&gt;OVERFLOW&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 04&lt;/P&gt;&lt;P&gt;OUTPUT_INVALID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 05&lt;/P&gt;&lt;P&gt;UNITS_MISSING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 06&lt;/P&gt;&lt;P&gt;UNIT_IN_NOT_FOUND&amp;nbsp;&amp;nbsp;&amp;nbsp; = 07&lt;/P&gt;&lt;P&gt;UNIT_OUT_NOT_FOUND&amp;nbsp;&amp;nbsp; = 08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial; font-size: 14px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial; font-size: 14px; background-color: #ffffff;"&gt;Hope it helps!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial; font-size: 14px; background-color: #ffffff;"&gt;Thanks!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial; font-size: 14px; background-color: #ffffff;"&gt;Alora&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2013 16:32:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-weight-without-material/m-p/9433872#M1739443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-18T16:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to convert weight without material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-weight-without-material/m-p/9433873#M1739444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Hi &lt;SPAN style="font-style: inherit;"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://answers.sap.com/people/tarpan.vadalia" id="jive-26475123825002730340709" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;tarpan vadalia&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Just use the following FM : &lt;STRONG&gt;UNIT_CONVERSION_SIMPLE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Check the below threads for your reference&amp;nbsp; , Hope this helps&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;A __default_attr="473381" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;A __default_attr="3225779" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;A __default_attr="733937" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Bastin.G&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 06:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-weight-without-material/m-p/9433873#M1739444</guid>
      <dc:creator>bastinvinoth</dc:creator>
      <dc:date>2013-05-19T06:06:49Z</dc:date>
    </item>
  </channel>
</rss>

