<?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 Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878441#M1594546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already using Pass Value for my parameters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 09:48:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-26T09:48:42Z</dc:date>
    <item>
      <title>RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878435#M1594540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing an issue where I need to upload images in SE78 through a Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a custom function module and its working fine.&lt;/P&gt;&lt;P&gt;Now the problem is, when this FM is accessed remotely through RFC, it throws the following exception&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception Condition "NOT_SUPPORTED_BY_GUI" raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone did this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please respond soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ibrar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please choose more descriptive subject lines for your posts.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on May 26, 2011 9:49 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878435#M1594540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T07:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878436#M1594541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ibrar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your fm works fine in dialog mode with a GUI connection to a frontend server. But in batch or rfc mode you don't have this GUI frontend connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't believe, that this should workin rfc mode. But your local fm shouldn't work in batch mode, too, if I'm right!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878436#M1594541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T07:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878437#M1594542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Klaus for the quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM is working fine on the Development Server but the RFC connection established from Dot NET gets this exception raised.&lt;/P&gt;&lt;P&gt;The way I see it, the Import Parameters where I am passing the location of the Image file is not considered a local file by the RFC.&lt;/P&gt;&lt;P&gt;But again, its just an assumption.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:32:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878437#M1594542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T07:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878438#M1594543</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 calling function module from DOT net. That function module must be type of RFC enable. Don't not pass value by reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Release the function module before used it in dot net.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Rgds&lt;/P&gt;&lt;P&gt;Ravi Lanjewar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 09:09:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878438#M1594543</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2011-05-26T09:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878439#M1594544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My FM is Remote enabled and released as well.&lt;/P&gt;&lt;P&gt;If pass value by reference should not be used then what to use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please clarify this a bit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 09:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878439#M1594544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T09:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878440#M1594545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think pass by reference not allow when you have to create RFC enable function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only pass by value parameter you have to used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 09:41:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878440#M1594545</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2011-05-26T09:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878441#M1594546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already using Pass Value for my parameters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 09:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878441#M1594546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T09:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878442#M1594547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Keep in mind that when you create RFC.&lt;/P&gt;&lt;P&gt;1) parameter Pass by value only.&lt;/P&gt;&lt;P&gt;2) Don't used the exception in to the RFC enable function module.&lt;/P&gt;&lt;P&gt;3) error message can pass only using return table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Rgds&lt;/P&gt;&lt;P&gt;Ravi Lanjewar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 09:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878442#M1594547</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2011-05-26T09:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878443#M1594548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Klaus' answer was correct but you haven't been very clear about how you are accessing and/or loading the image file data.  If the upload is by GUI_UPLOAD, you can't do that in batch or RFC mode as Klaus indicated.  It has nothing to do with the parameters or the suggestions by Ravi...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either have the external app access and send the data via the function interface in XSTRING format or you can upload it using OPEN DATASET.  From there, you use the CL_BDS_DOCUMENT_SET methods to convert and format the data for load into STXBITMAPS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 16:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878443#M1594548</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-05-26T16:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878444#M1594549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think he has to describe problem more details. Due to incomplete information we are assumption on issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 05:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878444#M1594549</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2011-05-27T05:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878445#M1594550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's very simple, and already stated. And has come up in one form or another many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use RFC the context with the presentation server doesn't exist. If you are using any functionality that relies on SAPGui being present/accesses the presentation server, then it won't work in RFC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 07:30:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878445#M1594550</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-05-27T07:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878446#M1594551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think he has to describe problem more details. Due to incomplete information we are assumption on issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not at all - this issue was obvious as Matt said and it certainly has nothing to do with the interface...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 13:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878446#M1594551</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-05-27T13:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878447#M1594552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Matt for the very helpful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem seems to be the same as you mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code in my FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform import_bitmap_bds&lt;/P&gt;&lt;P&gt;                  in program saplstxbitmaps&lt;/P&gt;&lt;P&gt;                            using    filename&lt;/P&gt;&lt;P&gt;                                     name&lt;/P&gt;&lt;P&gt;                                     'GRAPHICS'     "Object&lt;/P&gt;&lt;P&gt;                                     'BMAP'         "ID&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                    'BMON'         " Black and White&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                                     'BCOL'         " Color&lt;/P&gt;&lt;P&gt;                                     'BMP'          "Extension&lt;/P&gt;&lt;P&gt;                                     title&lt;/P&gt;&lt;P&gt;                                     space&lt;/P&gt;&lt;P&gt;                                     'X'&lt;/P&gt;&lt;P&gt;                                     ''&lt;/P&gt;&lt;P&gt;                            changing l_docid&lt;/P&gt;&lt;P&gt;                                     l_resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the RFC is not able to access the presentation server in this case then, what should be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 06:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878447#M1594552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-28T06:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878448#M1594553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I understand it, your aim is to upload an image from the presentation server to the app server, for use with SAPScripts, via some kind of .net application. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should carefully examine the form import_bitmap_bds and find the part where the image data has made it into SAP memory - the file has been read - and what happens to it afterwards. Then, your .net application should transmit the image data as a parameter to an RFC enabled function module that does this second part. You might even find that it's a callable FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2011 14:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878448#M1594553</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-05-29T14:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878449#M1594554</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'd like to correct one thing about what is said about RFC and dialog. If we use RFC in a special context, i.e. from a presentation server via the SAPGUI APIs and logging with the dialog mode active, then uploading a file from the presentation server, or even displaying a dynpro, will work. Here, I don't know if Ibrar runs his code from the presentation server or from the application server...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2011 16:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-issue/m-p/7878449#M1594554</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-05-29T16:51:01Z</dc:date>
    </item>
  </channel>
</rss>

