<?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: Conversion Function module for Volume in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116447#M107597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use fm &lt;/P&gt;&lt;P&gt;POPUP_UNIT_CONVERSION, &lt;/P&gt;&lt;P&gt;value in , give the number, &lt;/P&gt;&lt;P&gt;unit_in - ccm, &lt;/P&gt;&lt;P&gt;unit_out-L. &lt;/P&gt;&lt;P&gt;u can find the various uom from t006 table. for cm cube, u have to use CCM. check the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2006 23:37:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-11T23:37:26Z</dc:date>
    <item>
      <title>Conversion Function module for Volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116443#M107593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  Is there any standard function module to do the conversion of VOLUME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example : if i have source volume in one unit &amp;amp; i want it in another unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srikanth,Intelligroup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 22:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116443#M107593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-11T22:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Function module for Volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116444#M107594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FCO_CONVERT_FROM_BASE_UNIT&lt;/P&gt;&lt;P&gt;FCO_CONVERT_TO_BASE_UNIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 22:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116444#M107594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-11T22:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Function module for Volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116445#M107595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use Function : MATERIAL_UNIT_CONVERSION( Thru material)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise :UNIT_CONVERSION_SIMPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need any help , please let me know.&lt;/P&gt;&lt;P&gt;Lanka &lt;/P&gt;&lt;P&gt;Intelligroup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Lanka Murthy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 23:10:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116445#M107595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-11T23:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Function module for Volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116446#M107596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is a straight conversion and you do not need to use the conversion factors tied to a material then you can do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0001.


parameters: p_qtyi type p decimals 2,
            p_uomi type t006a-msehi,
            p_uomo type t006a-msehi,
            p_qtyo type p decimals 2.

at selection-screen.

  call function 'UNIT_CONVERSION_SIMPLE'
    exporting
      input                      = p_qtyi
*   NO_TYPE_CHECK              = 'X'
*   ROUND_SIGN                 = ' '
     unit_in                    = p_uomi
     unit_out                   = p_uomo
  importing
*   ADD_CONST                  =
*   DECIMALS                   =
*   DENOMINATOR                =
*   NUMERATOR                  =
     output                     = p_qtyo
* 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;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 23:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116446#M107596</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-11T23:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Function module for Volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116447#M107597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use fm &lt;/P&gt;&lt;P&gt;POPUP_UNIT_CONVERSION, &lt;/P&gt;&lt;P&gt;value in , give the number, &lt;/P&gt;&lt;P&gt;unit_in - ccm, &lt;/P&gt;&lt;P&gt;unit_out-L. &lt;/P&gt;&lt;P&gt;u can find the various uom from t006 table. for cm cube, u have to use CCM. check the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 23:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116447#M107597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-11T23:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Function module for Volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116448#M107598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Murthy,&lt;/P&gt;&lt;P&gt; Thanks a lot for your timely response.&lt;/P&gt;&lt;P&gt;yes, the Function module given by you is working for my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;  thanks for putting total code,how to call the Function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi chandrasekhar&lt;/P&gt;&lt;P&gt;   the function module you mentioned is correct,but that one we cant use in&lt;/P&gt;&lt;P&gt;program as its giving in POPUp. this function module intern calling "UNIT_CONVERSION_SIMPLE"&lt;/P&gt;&lt;P&gt;only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;here i noticed one point to share with you all, when i execute the function module in se37 its giving exception. the same if i call from a program its working.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;This is littile bit surprized by this.&lt;/P&gt;&lt;P&gt;Thanks guys, for your help.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srikanth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi Maruthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi Maruthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2006 11:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-function-module-for-volume/m-p/1116448#M107598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-12T11:05:53Z</dc:date>
    </item>
  </channel>
</rss>

