<?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 Funtion module for weight conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547871#M1657950</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 need to convert fetch quantity into metric tonnes &lt;/P&gt;&lt;P&gt;there are so many function modules &lt;/P&gt;&lt;P&gt;which function module is better for this approach&lt;/P&gt;&lt;P&gt;i tried with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
  EXPORTING
    INPUT                      = WA_VBRKP-NTGEW
   NO_TYPE_CHECK              = 'X'
*   ROUND_SIGN                 = ' '
   UNIT_IN                    = WA_VBRKP-GEWEI
   UNIT_OUT                   = 'TO'
 IMPORTING
*   ADD_CONST                  =
*   DECIMALS                   =
*   DENOMINATOR                =
*   NUMERATOR                  =
   OUTPUT                     = WA_VBRKP-NTGEW
* EXCEPTIONS
*   CONVERSION_NOT_FOUND       = 1
*   DIVISION_BY_ZERO           = 2
*   INPUT_INVALID              = 3
*   OUTPUT_INVALID             = 4
*   OVERFLOW                   = 5
*   TYPE_INVALID               = 6
*   UNITS_MISSING              = 7
*   UNIT_IN_NOT_FOUND          = 8
*   UNIT_OUT_NOT_FOUND         = 9
*   OTHERS                     = 10
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;Added code tags&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt; Sadeq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jan 27, 2012 9:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2012 14:38:23 GMT</pubDate>
    <dc:creator>former_member227810</dc:creator>
    <dc:date>2012-01-27T14:38:23Z</dc:date>
    <item>
      <title>Funtion module for weight conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547871#M1657950</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 need to convert fetch quantity into metric tonnes &lt;/P&gt;&lt;P&gt;there are so many function modules &lt;/P&gt;&lt;P&gt;which function module is better for this approach&lt;/P&gt;&lt;P&gt;i tried with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
  EXPORTING
    INPUT                      = WA_VBRKP-NTGEW
   NO_TYPE_CHECK              = 'X'
*   ROUND_SIGN                 = ' '
   UNIT_IN                    = WA_VBRKP-GEWEI
   UNIT_OUT                   = 'TO'
 IMPORTING
*   ADD_CONST                  =
*   DECIMALS                   =
*   DENOMINATOR                =
*   NUMERATOR                  =
   OUTPUT                     = WA_VBRKP-NTGEW
* EXCEPTIONS
*   CONVERSION_NOT_FOUND       = 1
*   DIVISION_BY_ZERO           = 2
*   INPUT_INVALID              = 3
*   OUTPUT_INVALID             = 4
*   OVERFLOW                   = 5
*   TYPE_INVALID               = 6
*   UNITS_MISSING              = 7
*   UNIT_IN_NOT_FOUND          = 8
*   UNIT_OUT_NOT_FOUND         = 9
*   OTHERS                     = 10
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;Added code tags&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt; Sadeq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jan 27, 2012 9:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 14:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547871#M1657950</guid>
      <dc:creator>former_member227810</dc:creator>
      <dc:date>2012-01-27T14:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Funtion module for weight conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547872#M1657951</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 Try "CF_UT_UNIT_CONVERSION"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Import parameters               Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MATNR_IMP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MEINS_IMP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UNIT_NEW_IMP                    KG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UNIT_OLD_IMP                    TO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VALUE_OLD_IMP                       10.000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Export parameters               Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VALUE_NEW_EXP                   10,000.000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 15:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547872#M1657951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-27T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Funtion module for weight conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547873#M1657952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sadeq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also try the function: MD_CONVERT_MATERIAL_UNIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bruno Xavier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 15:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547873#M1657952</guid>
      <dc:creator>brunobex</dc:creator>
      <dc:date>2012-01-27T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Funtion module for weight conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547874#M1657953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sadeq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;UNIT_CONVERSION_SIMPLE&lt;/EM&gt; is released, well documented whereas the other FMs mentioned are not released!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you facing any problems using it? If yes, please elaborate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 15:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547874#M1657953</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-01-27T15:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Funtion module for weight conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547875#M1657954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the result via unit_conversion_simple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jan 2012 04:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funtion-module-for-weight-conversion/m-p/8547875#M1657954</guid>
      <dc:creator>former_member227810</dc:creator>
      <dc:date>2012-01-28T04:44:49Z</dc:date>
    </item>
  </channel>
</rss>

