<?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 GUI_DOWNLOAD Control_flush_error --&amp;gt; session missing? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-control-flush-error-gt-session-missing/m-p/8068536#M1613338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the deal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed an application (simple Report) in which a PDF is created, downloaded to the Presentation Server (Client) and executed via inetexplorer. Works all fine testing with SAP_ALL. When run with the rights of a user who's acutally going to use this application. the program fails, because the authority is missing. The respective authority CANNOT be assigned to the user due to in-house regulations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid this authority issue, I packed the code including the GUI_DOWNLOAD Function Module into an RFC-FM with the option "DESTINATION". Destinination in my case is the same server I start the request from, access is gained via a system user who has SAP_ALL. So bottom line I'm just outsourcing the code, which would require the end user to have certain rights he isn't supposed to have, to the system user...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet, when tested with the appropriate User (in DIalogue mode of course) I'm getting Sy-Subrc 21 = Control_flush_error. I have a sense of foreboding the session GUI_DOWNLOAD needs, is cut when Calling the RFC FM. If that is correct, I have a problem, because...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET --&amp;gt; can be used for application server, can be used in background&lt;/P&gt;&lt;P&gt;DOWNLOAD/UPLOAD --&amp;gt; can be used for presentation user, needs dialogue mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone confirm this?... Or maybe it's something completely different? Would I have any other chance to download a document from runtime to the presentation server via an RFC FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me, &amp;lt;&amp;lt; priority normalized &amp;gt;&amp;gt; &lt;SPAN __jive_emoticon_name="confused"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jul 19, 2011 11:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2011 15:12:46 GMT</pubDate>
    <dc:creator>Lukas_Weigelt</dc:creator>
    <dc:date>2011-07-19T15:12:46Z</dc:date>
    <item>
      <title>GUI_DOWNLOAD Control_flush_error --&gt; session missing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-control-flush-error-gt-session-missing/m-p/8068536#M1613338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the deal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed an application (simple Report) in which a PDF is created, downloaded to the Presentation Server (Client) and executed via inetexplorer. Works all fine testing with SAP_ALL. When run with the rights of a user who's acutally going to use this application. the program fails, because the authority is missing. The respective authority CANNOT be assigned to the user due to in-house regulations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid this authority issue, I packed the code including the GUI_DOWNLOAD Function Module into an RFC-FM with the option "DESTINATION". Destinination in my case is the same server I start the request from, access is gained via a system user who has SAP_ALL. So bottom line I'm just outsourcing the code, which would require the end user to have certain rights he isn't supposed to have, to the system user...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet, when tested with the appropriate User (in DIalogue mode of course) I'm getting Sy-Subrc 21 = Control_flush_error. I have a sense of foreboding the session GUI_DOWNLOAD needs, is cut when Calling the RFC FM. If that is correct, I have a problem, because...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET --&amp;gt; can be used for application server, can be used in background&lt;/P&gt;&lt;P&gt;DOWNLOAD/UPLOAD --&amp;gt; can be used for presentation user, needs dialogue mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone confirm this?... Or maybe it's something completely different? Would I have any other chance to download a document from runtime to the presentation server via an RFC FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me, &amp;lt;&amp;lt; priority normalized &amp;gt;&amp;gt; &lt;SPAN __jive_emoticon_name="confused"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jul 19, 2011 11:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 15:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-control-flush-error-gt-session-missing/m-p/8068536#M1613338</guid>
      <dc:creator>Lukas_Weigelt</dc:creator>
      <dc:date>2011-07-19T15:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DOWNLOAD Control_flush_error --&gt; session missing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-control-flush-error-gt-session-missing/m-p/8068537#M1613339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that if you search the forums, you'll see that you are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as I see it, your in-house regulations prevent users from downloading, but the requirement is for users to be able to download. Is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 16:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-control-flush-error-gt-session-missing/m-p/8068537#M1613339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-19T16:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DOWNLOAD Control_flush_error --&gt; session missing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-control-flush-error-gt-session-missing/m-p/8068538#M1613340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, I did search the forums and found lots of threads which point to a "similar" direction; but I needed to make 100% sure I was assuming right technical-wise &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inhouse Regulations prevent our authority experts to assign the authority object as it would enable users to download ANYTHING from ANY report... And yes, the requirement for the application is, users are able to download from this particular report. So bottom line, as I have your confirmation I assumed right &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;,  I'll make a customer authority object which hopefully only affects that one particular application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-control-flush-error-gt-session-missing/m-p/8068538#M1613340</guid>
      <dc:creator>Lukas_Weigelt</dc:creator>
      <dc:date>2011-07-20T07:01:48Z</dc:date>
    </item>
  </channel>
</rss>

