<?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 Activation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-activation/m-p/1376143#M184381</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;What is the value of FM ariable "L_FM_NAME" in your code.&lt;/P&gt;&lt;P&gt;See if the FM "L_FM_NAME" is already active then it will raise the exception MESSAGE_SEND". So pls. check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;venkat Ramanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2006 05:10:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-13T05:10:35Z</dc:date>
    <item>
      <title>Function Activation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-activation/m-p/1376141#M184379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used RS_FUNCTION_COPY to create a new copy of an&lt;/P&gt;&lt;P&gt;existing FM and then I used RS_FUNCTION_ACTIVATE on a &lt;/P&gt;&lt;P&gt;function Module to activate it. It returns an error code &lt;/P&gt;&lt;P&gt;indicating exception MESSAGE_SEND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i use SE37 to go to that transaction, it is&lt;/P&gt;&lt;P&gt;activated. What is the reason behind the exception??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'RS_FUNCTION_COPY'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         DARK_FLAG                    = 'X'&lt;/P&gt;&lt;P&gt;         NEW_GROUP                    = L_NEW_FG&lt;/P&gt;&lt;P&gt;         NEW_NAME                     = L_FM_NAME&lt;/P&gt;&lt;P&gt;         OLD_NAME                     = L_SAMPLE_FM_NAME&lt;/P&gt;&lt;P&gt;         SUPPRESS_DEACTIVATE          = 'X'&lt;/P&gt;&lt;P&gt;         ASK_ACTIVE_OR_INACTIVE       = ' '&lt;/P&gt;&lt;P&gt;         SUPPRESS_COPY_DOCU           = ' '&lt;/P&gt;&lt;P&gt;       "IMPORTING&lt;/P&gt;&lt;P&gt;         "NEW_GROUP                    =&lt;/P&gt;&lt;P&gt;         "NEW_NAME                     =&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;         ERROR_MESSAGE                = 1&lt;/P&gt;&lt;P&gt;         CANCELLED                    = 2&lt;/P&gt;&lt;P&gt;         OTHERS                       = 3&lt;/P&gt;&lt;P&gt;         .&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'RS_FUNCTION_ACTIVATE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          ACTION                       = 'X'&lt;/P&gt;&lt;P&gt;          CORR_INSERT                  = 'X'&lt;/P&gt;&lt;P&gt;          FUNCNAME                     = L_FM_NAME&lt;/P&gt;&lt;P&gt;          "WITH_POPUP                   = ' '&lt;/P&gt;&lt;P&gt;          SUPPRESS_WORKING_AREA        = 'X'&lt;/P&gt;&lt;P&gt;          OBJECT_SAVED                 = 'X'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          CANCELLED                    = 1&lt;/P&gt;&lt;P&gt;          CANCELED_IN_CORR             = 2&lt;/P&gt;&lt;P&gt;          EDITOR_NAVIGATION_FLAG       = 3&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;    MESSAGE_SEND                 = 4&lt;/P&gt;&lt;P&gt;          NOT_FOUND                    = 5&lt;/P&gt;&lt;P&gt;          NO_ACTION                    = 6&lt;/P&gt;&lt;P&gt;          PERMISSION_FAILURE           = 7&lt;/P&gt;&lt;P&gt;          OTHERS                       = 8&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 03:53:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-activation/m-p/1376141#M184379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T03:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function Activation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-activation/m-p/1376142#M184380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The exception MESSAGE_SEND is coming from the FM RS_FUNCTION_ACTIVATE.See the include MS38LFFU and put a breakpoint in the form fu_function_ex_activate.The return parameter ACTION if set to 0 raises this exception.Put a breakpoint inside this form and check for the value of ACTION.See why it's getting set to 0 and you will get to know the reason behind the exception.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 04:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-activation/m-p/1376142#M184380</guid>
      <dc:creator>nishanthbhandar</dc:creator>
      <dc:date>2006-06-13T04:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Activation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-activation/m-p/1376143#M184381</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;What is the value of FM ariable "L_FM_NAME" in your code.&lt;/P&gt;&lt;P&gt;See if the FM "L_FM_NAME" is already active then it will raise the exception MESSAGE_SEND". So pls. check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;venkat Ramanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 05:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-activation/m-p/1376143#M184381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T05:10:35Z</dc:date>
    </item>
  </channel>
</rss>

