<?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: RFC function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605933#M1438110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Best way is raise excepstion and handel it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2010 10:02:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-03T10:02:50Z</dc:date>
    <item>
      <title>RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605929#M1438106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling a RFC Function Module inside an Update task function module in a delivery user exit.&lt;/P&gt;&lt;P&gt;In case the processing in the RFC FM fails, I need to display an information message to the user.&lt;/P&gt;&lt;P&gt;How do I handle displaying information message to the user inside an RFC FM?&lt;/P&gt;&lt;P&gt;I tried using simple informaton message inside the RFC FM , but this statement does not display a message to the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 09:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605929#M1438106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T09:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605930#M1438107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I tried using simple informaton message inside the RFC FM , but this statement does not display a message to the user.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to do raise a message in an RFC FM &amp;amp; notify the user. Instead you can pass the message to a RETURN structure (something similar to BAPIRET).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;In case the processing in the RFC FM fails, I need to display an information message to the user.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the messages in the RETURN structure (as mentioned above) you can code for further actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suahs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 09:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605930#M1438107</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-02-03T09:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605931#M1438108</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;Information message will not work inside the RFC function module or normal function module. So the code for calling information message has to be written inside the USER-EXIT program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, process the RFC function module and return the information message using structure called BAPIRET2. Then using these return message, write the MESSAGE statement in the INCLUDE program of your user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Prem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 09:46:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605931#M1438108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T09:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605932#M1438109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to pass the message by appending into the ineternal table of type BAPIRET2, but my RFC FM is being called in a separate task  inside an Update task FM.&lt;/P&gt;&lt;P&gt;How do I handle this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 09:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605932#M1438109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T09:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605933#M1438110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Best way is raise excepstion and handel it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 10:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605933#M1438110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T10:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605934#M1438111</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;When you are using the update task you can pass the message to the user. Only way is to abort the process by triggering a message of type 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 10:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605934#M1438111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T10:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605935#M1438112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem is that, the RFC FM is being called from an Update task FM.&lt;/P&gt;&lt;P&gt;Thus I cannot use "raising exception" option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 11:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605935#M1438112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T11:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605936#M1438113</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;Use the following FM to populate the Information message..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      titlebar                      = 'Title'&lt;/P&gt;&lt;P&gt;      text_question         = 'Question ???'&lt;/P&gt;&lt;P&gt;      text_button_1         = 'YES'&lt;/P&gt;&lt;P&gt;      icon_button_1         = 'ICON_OKAY'&lt;/P&gt;&lt;P&gt;      text_button_2         = 'NO'&lt;/P&gt;&lt;P&gt;      icon_button_2         = 'ICON_CANCEL'&lt;/P&gt;&lt;P&gt;      default_button        = '1'&lt;/P&gt;&lt;P&gt;      display_cancel_button = space&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      answer                = v_ans&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      text_not_found        = 1&lt;/P&gt;&lt;P&gt;      OTHERS                = 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 11:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605936#M1438113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T11:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605937#M1438114</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;As mentioned in my previous post, you can inform user by raising a "Abort" message, which is the only way you can terminate your update task FM. You can get more information about this from SAP Help as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 11:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605937#M1438114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T11:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605938#M1438115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Abort message in the update task FM, terminates it. But the same message is not displayed to the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 11:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605938#M1438115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T11:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: RFC function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605939#M1438116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Abort message will terminate the FM call. You cannot give a message to the user in Update task, as this is similar to a background job. Other option would be to give a log or send a message to Business Workplace of the user by a express message something like those sorts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 12:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module/m-p/6605939#M1438116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T12:14:26Z</dc:date>
    </item>
  </channel>
</rss>

