<?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>Question Re: Need to replicate short php code in BSP in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815680#M3128985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok here goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had this form in a BW Web template :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;lt;FORM method="post" action="/sap/bc/bsp/sap/zsavecsv/savefile.bsp"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="csv_text" id="csv_text"&amp;gt;&amp;lt;input type="submit" value="Get CSV File" onclick="getCSVData()"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/FORM&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The getCSVData() javascript function (extension of jQuery) was simply this:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;function getCSVData(){&lt;/P&gt;&lt;P&gt;&amp;nbsp; var csv_value=$('#TABLE_1').table2CSV({delivery:'value'});&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#csv_text").val(csv_value);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BSP page within the layout tab was/is :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF request-&amp;gt;get_form_field( 'csv_text' ) IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: output TYPE string ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; app_type TYPE string ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_xstring TYPE xstring.&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: file_content TYPE string. file_content = request-&amp;gt;get_form_field( 'csv_text' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; REPLACE ALL OCCURRENCES OF ' ' IN file_content WITH ''.&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Type'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'application/octet-stream' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Disposition' value = 'attachment; filename=csv_text.csv' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Connection'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'close' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Expires'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = '0' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Pragma'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'no-cache' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Cache-Control' value = 'max-age=0' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_cdata( file_content ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem: with the form method set to POST, the BSP page had generated by the system (nothing to do with me) a form that submitted to itself with the content of the POSTED field csv_text (plain csv data), then prompted to save the content with a download dialog box.&amp;nbsp; Leaving you with essentially a blank page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply changing the form method to GET the pre-generated form page doesn't get generated and you simply get what I wanted in the first place, a download dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense!&amp;nbsp; Well it doesn't really, since I can't understand why the form page get generated in the first place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 19:54:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-02T19:54:29Z</dc:date>
    <item>
      <title>Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaq-p/8815668</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;First off I know nothing about BSP, just thought I would get that one out the way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that said I have tried to follow this wiki :- &lt;A href="http://wiki.sdn.sap.com/wiki/display/BSP/Handling+Binary+Data" title="http://wiki.sdn.sap.com/wiki/display/BSP/Handling+Binary+Data"&gt;http://wiki.sdn.sap.com/wiki/display/BSP/Handling+Binary+Data &lt;/A&gt;with some success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what I am trying to achieve is simply reproduce this small piece of php code :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;lt;?php&lt;/P&gt;&lt;P&gt;header("Content-type: application/octet-stream");&lt;/P&gt;&lt;P&gt;header("Content-Disposition: attachment; filename=\"my-data.csv\"");&lt;/P&gt;&lt;P&gt;$data=stripcslashes($_REQUEST['csv_text']);&lt;/P&gt;&lt;P&gt;echo $data; &lt;/P&gt;&lt;P&gt;?&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a BSP application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following in the layout tab and in the Event OnInitialization:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; IF request-&amp;gt;get_form_field( 'csv_text' ) IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Type'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'application/octetstream' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Disposition' value = 'attachment; filename=csv_text.csv' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Connection'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'close' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA: file_content TYPE string. file_content = request-&amp;gt;get_form_field( 'csv_text' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Expires'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = '0' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Pragma'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'no-cache' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Cache-Control' value = 'max-age=0' ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPLACE ALL OCCURRENCES OF '&amp;nbsp;' IN file_content WITH ''.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_cdata( file_content ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is that I get the desired download dialog box but I am directed to a blank BSP screen with "Your request is being processed" message instead of simply leaving me on my current page and showing a download dialog like with PHP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am POSTING some CSV data from a table page in SAP BW to this BSP application that I want to download as a CSV text file.&lt;/P&gt;&lt;P&gt;I can't simply use the export to CSV function of SAP BW because of the modifications I have made in javascript to change the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am utilising this piece &lt;A href="http://www.kunalbabre.com/projects/table2CSV.php" title="http://www.kunalbabre.com/projects/table2CSV.php"&gt;http://www.kunalbabre.com/projects/table2CSV.php&lt;/A&gt;&amp;nbsp; of jQuery utility to get what I require from the client side.&amp;nbsp; Option 3.1 is what I am trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 12:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaq-p/8815668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-27T12:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815669#M3128974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by looking at the code, I don't see an obvious error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only concern is about the field &lt;STRONG&gt;Content-Type&lt;/STRONG&gt;. I am not sure whether this won't be overwritten by the ICF if you set it with the general &lt;STRONG&gt;set_header_field &lt;/STRONG&gt;method. There is a special method &lt;STRONG&gt;set_content_type&lt;/STRONG&gt; for it, which I would prefer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it still doesn't work: Did you switch on the "Network log" in Firebug (or in MSIE: &amp;lt;F12&amp;gt;), and compared the response headers with your expectations? Which header field values were actually sent in the response?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: Did you know there is an interface&lt;STRONG&gt; IF_HTTP_HEADER_FIELDS &lt;/STRONG&gt;containing constants for all specified header field names? Using these constants (like &lt;STRONG&gt;IF_HTTP_HEADER_FIELDS=&amp;gt;CACHE_CONTROL ) &lt;/STRONG&gt;instead of literal values may be helpful for avoiding mistyping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 10:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815669#M3128974</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-02T10:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815670#M3128975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; I changed the BSP to use set_header_field but have same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the response headers :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Response Headers&lt;/P&gt;&lt;P&gt;Content-Length&amp;nbsp;&amp;nbsp;&amp;nbsp; 27183&lt;/P&gt;&lt;P&gt;Content-Type&amp;nbsp;&amp;nbsp;&amp;nbsp; text/html; charset=iso-8859-1&lt;/P&gt;&lt;P&gt;Server&amp;nbsp;&amp;nbsp;&amp;nbsp; SAP NetWeaver Application Server / ABAP 701&lt;/P&gt;&lt;P&gt;Request Headersview source&lt;/P&gt;&lt;P&gt;Accept&amp;nbsp;&amp;nbsp;&amp;nbsp; text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&lt;/P&gt;&lt;P&gt;Accept-Encoding&amp;nbsp;&amp;nbsp;&amp;nbsp; gzip, deflate&lt;/P&gt;&lt;P&gt;Accept-Language&amp;nbsp;&amp;nbsp;&amp;nbsp; en-gb,en;q=0.5&lt;/P&gt;&lt;P&gt;Connection&amp;nbsp;&amp;nbsp;&amp;nbsp; keep-alive&lt;/P&gt;&lt;P&gt;Cookie&amp;nbsp;&amp;nbsp;&amp;nbsp; sap-usercontext=sap-language=EN; MYSAPSSO2=AjExMDABAAxBUk1TVEVDICAgICACAAMyMDADAAhCV0QgICAgIAQADDIwMTIwNzAyMTMyOAUABAAAAAgGAAFYCQABRf8A9DCB8QYJKoZIhvcNAQcCoIHjMIHgAgEBMQswCQYFKw4DAhoFADALBgkqhkiG9w0BBwExgcAwgb0CAQEwEzAOMQwwCgYDVQQDEwNCV0QCAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEyMDcwMjEzMjg1N1owIwYJKoZIhvcNAQkEMRYEFKHKk9CO4BE7BO07gr6jG1tal2mBMAkGByqGSM44BAMELjAsAhQPuFOoGUSIqlIrxSFJconeraYWyQIUCawlv5WI48vy06f%2fMrbjnJPL%2f9o%3d&lt;/P&gt;&lt;P&gt;Host&amp;nbsp;&amp;nbsp;&amp;nbsp; xxxx:8008&lt;/P&gt;&lt;P&gt;Referer&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A class="jive-link-external-small" href="http://xxxx:8008/sap/bw/BEx?SAP-LANGUAGE=EN&amp;amp;PAGENO=3&amp;amp;CMD=PROCESS_VARIABLES&amp;amp;REQUEST_NO=0&amp;amp;CMD=PROCESS_VARIABLES&amp;amp;SUBCMD=VAR_SUBMIT&amp;amp;VARID="&gt;http://xxxx:8008/sap/bw/BEx?SAP-LANGUAGE=EN&amp;amp;PAGENO=3&amp;amp;CMD=PROCESS_VARIABLES&amp;amp;REQUEST_NO=0&amp;amp;CMD=PROCESS_VARIABLES&amp;amp;SUBCMD=VAR_SUBMIT&amp;amp;VARID=&lt;/A&gt;&lt;/P&gt;&lt;P&gt;User-Agent&amp;nbsp;&amp;nbsp;&amp;nbsp; Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1&lt;/P&gt;&lt;P&gt;Response Headers From Cache&lt;/P&gt;&lt;P&gt;Content-Length&amp;nbsp;&amp;nbsp;&amp;nbsp; 27183&lt;/P&gt;&lt;P&gt;Content-Type&amp;nbsp;&amp;nbsp;&amp;nbsp; text/html; charset=iso-8859-1&lt;/P&gt;&lt;P&gt;Server&amp;nbsp;&amp;nbsp;&amp;nbsp; SAP NetWeaver Application Server / ABAP 701&lt;/P&gt;&lt;P&gt;Request Headers From Upload Stream&lt;/P&gt;&lt;P&gt;Content-Length&amp;nbsp;&amp;nbsp;&amp;nbsp; 24185&lt;/P&gt;&lt;P&gt;Content-Type&amp;nbsp;&amp;nbsp;&amp;nbsp; application/x-www-form-urlencoded&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 14:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815670#M3128975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T14:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815671#M3128976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's difficult to analyze from remote. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But where is the content-type 'application/octet-stream' that you had set? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, shouldn't it be "application/octet-stream" with a hyphen ? In your BSP code, you write 'application/octetstream' without hyphen.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see the MIME type that you had set in the header field list that you had sent (which is a mix of request and response header fields, anyway). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you put a break-point on the -&amp;gt;set_content_type( ... ) statement? Does it reach that statement at all?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 14:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815671#M3128976</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-02T14:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815672#M3128977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lol yes you are correct my mistake I had forgotten the hyphen, but it didn't help anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just put a break point on the -&amp;gt;set_content_type but the page is already generated at this point!&lt;/P&gt;&lt;P&gt;It does go through the motions and sets the headers correctly that's when I get the download dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the page is already generated at this point with the data in it with a form :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style type="text/css"&amp;gt;.middle&amp;nbsp; { vertical-align:middle; }&amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body onload="document.forms[0].submit()"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form method="post" action="/sap(bD1lbiZjPTIwMA==)/bc/bsp/sap/zsavecsv/savefile.bsp"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type="hidden" name="csv_text" value="&amp;amp;amp;nbsp;,&amp;amp;quot;No Applicable Data Found.&amp;amp;quot;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;amp;nbsp;,&amp;amp;quot;No Applicable Data Found.&amp;amp;quot;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;amp;nbsp;,&amp;amp;quot;&amp;amp;amp;nbsp;&amp;amp;quot;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;amp;nbsp;,&amp;amp;quot;No Applicable Data Found.&amp;amp;quot;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;amp;nbsp;,&amp;amp;quot;&amp;amp;amp;nbsp;&amp;amp;quot;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table border="0" width="100%" height="100%"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align="center" class="middle"&amp;gt;Your request is being processed&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it would seem my page&amp;nbsp; already has a generated html page before my code even kicks in!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 14:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815672#M3128977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T14:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815673#M3128978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it's because you are in a page, not in a controller. Probably, the MIME type proposed in the &lt;EM&gt;page properties &lt;/EM&gt;(see screenshot below) will finally be set from the framework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The more natural approach would be to use a controller or even an SICF request handler for your task. But if you set the MIME type for your page in the page attributes, I don't see why it sholdn't work in your way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/115490" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 15:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815673#M3128978</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-02T15:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815674#M3128979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you use the same page for two purposes? The download &lt;STRONG&gt;and &lt;/STRONG&gt;the form? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wouldn't it be better to handle the download with a separate item? In particular, since you have different MIME types for the form and the download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the "action" attribute of the form page you can specify the controller or page that should take care of the download. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We once had a similar thing (but for uploads), and we realized it with a separate controller. It came out that the controller even was reusable for other cases later on, for which we had no idea when the first app had been implemented.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 15:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815674#M3128979</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-02T15:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815675#M3128980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response, but the form I didn't create.&amp;nbsp; There is nothing else in my page other than what I posted.&amp;nbsp; Something else is generating this.&amp;nbsp; If a controller is required how to go about creating that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit&lt;/P&gt;&lt;P&gt;I've just checked and the MIME type for the page is set to application/octet-stream&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 16:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815675#M3128980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T16:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815676#M3128981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just created a page with flow logic with the following sole content: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Type'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'application/octet-stream' ).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Disposition' value = 'attachment; filename=csv_text.csv' ).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Connection'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'close' ).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Expires'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = '0' ).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Pragma'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'no-cache' ).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Cache-Control' value = 'max-age=0' ).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_cdata( 'a;b;c' ).&amp;nbsp; &lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It behaves as expected: When I call it, Firefox asks me whether I want to open the csv file with MS Excel, or simply save the file. When I choose "open", excel is started, with the first three cells of the sheet filled with 'a', 'b', 'c'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you try to reduce your code this way and see whether it behaves the same way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could give you a hint on what's going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Rüdiger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 18:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815676#M3128981</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-02T18:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815677#M3128982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Rüdiger&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Yes that does what I want my page to do but with me sending it some data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to progress from here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Craig&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 18:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815677#M3128982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T18:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815678#M3128983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Rüdiger&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ignore me I'm being an idiot, I changed the form from post to get and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It didn't dawn on me that this might have such an impact.&amp;nbsp; I simply copied the form from the example given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 18:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815678#M3128983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T18:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815679#M3128984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;never mind &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand you correctly, the problem was outside of the code you displayed to us, in a HTML form in a previous stage of the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to finish this discussion: I am curious if you could explain the root cause of the problem in a few words? &lt;STRONG&gt;request-&amp;gt;get_form_field( )&lt;/STRONG&gt; works just the same for GET as well as for POST requests. So what was the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 19:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815679#M3128984</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-02T19:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815680#M3128985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok here goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had this form in a BW Web template :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;lt;FORM method="post" action="/sap/bc/bsp/sap/zsavecsv/savefile.bsp"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="csv_text" id="csv_text"&amp;gt;&amp;lt;input type="submit" value="Get CSV File" onclick="getCSVData()"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/FORM&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The getCSVData() javascript function (extension of jQuery) was simply this:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;function getCSVData(){&lt;/P&gt;&lt;P&gt;&amp;nbsp; var csv_value=$('#TABLE_1').table2CSV({delivery:'value'});&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#csv_text").val(csv_value);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BSP page within the layout tab was/is :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF request-&amp;gt;get_form_field( 'csv_text' ) IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: output TYPE string ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; app_type TYPE string ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_xstring TYPE xstring.&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: file_content TYPE string. file_content = request-&amp;gt;get_form_field( 'csv_text' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; REPLACE ALL OCCURRENCES OF ' ' IN file_content WITH ''.&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Type'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'application/octet-stream' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Disposition' value = 'attachment; filename=csv_text.csv' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Connection'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'close' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Expires'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = '0' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Pragma'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'no-cache' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Cache-Control' value = 'max-age=0' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; response-&amp;gt;set_cdata( file_content ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem: with the form method set to POST, the BSP page had generated by the system (nothing to do with me) a form that submitted to itself with the content of the POSTED field csv_text (plain csv data), then prompted to save the content with a download dialog box.&amp;nbsp; Leaving you with essentially a blank page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply changing the form method to GET the pre-generated form page doesn't get generated and you simply get what I wanted in the first place, a download dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense!&amp;nbsp; Well it doesn't really, since I can't understand why the form page get generated in the first place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 19:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815680#M3128985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T19:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815681#M3128986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK now I am annoyed, just when you think you have cracked it.&lt;/P&gt;&lt;P&gt;This works in firefox but IE refuses to play ball.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Opens a page with this in the URL :-&lt;/P&gt;&lt;P&gt;/sap/bc/bsp/sap/zsavecsv/savefile.bsp?csv_text=%26nbsp%3B%2C%22No+Applicable+Data+Found.%22%0D%0A%26nbsp%3B%2C%22No+Applicable+Data+Found.%22%0D%0A%26nbsp%3B%2C%22%26nbsp%3B%22%0D%0A%26nbsp%3B%2C%22No+Applicable+Data+Found.%22%0D%0A%26nbsp%3B%2C%22%26nbsp%3B%22%0D%0A%22Channel%22%2C%22%26nbsp%3B%22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with a lot more on the end which I assume is simply the csv data and refuses to open saying "Internet Explorer cannot display the webpage"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume there is an upper limit to a URL string!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 20:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815681#M3128986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T20:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815682#M3128987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK I know why IE doesn't work, according to this &lt;A href="http://support.microsoft.com/kb/208427" title="http://support.microsoft.com/kb/208427"&gt;http://support.microsoft.com/kb/208427&lt;/A&gt; Maximum URL length is 2,083 characters in Internet Explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need to get the POST method working since &lt;SPAN style="color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; background-color: #ffffff;"&gt;name/value pairs are transferred in the header and not in the URL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; background-color: #ffffff;"&gt;Help! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 20:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815682#M3128987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T20:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815683#M3128988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Craig, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the suspect that BEx (or something in the calling app) is producing the intermediate self-submitting form, it's not, as you think, the BSP framework. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proof: I created a second BSP page &lt;EM&gt;submit.htm&lt;/EM&gt; with the following content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Test submit download&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h1&amp;gt;Test Submit Download&amp;lt;/h1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form method="post" action="download.htm"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type="text" name="csv_data" value="a;b;c"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type="submit" value="Submit"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling submit.htm and hitting the button, the download page is called, which I changed like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%&amp;nbsp; data: lv_csv type string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_csv = request-&amp;gt;get_form_field('csv_data').&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if lv_csv is not initial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Type'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'application/octet-stream' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Disposition' value = 'attachment; filename=csv_text.csv' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Connection'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'close' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Content-Lentgh'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = '0' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Expires'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = '0' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Pragma'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = 'no-cache' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_header_field( name = 'Cache-Control' value = 'max-age=0' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response-&amp;gt;set_cdata( lv_csv ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.%&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The page behaves as before, as expected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This proves that BSP receives the form parameter csv_data without any problems. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 20:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815683#M3128988</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-02T20:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815684#M3128989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Rüdiger&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Thanks again for coming back to me.&amp;nbsp; I will try this outside of BW Web Application and replicate as you have directly in BSP.&amp;nbsp; Unfortunately I think I've killed our DEV box so it'll have to wait until the morning.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll let you know how I get on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Craig&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 21:02:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815684#M3128989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-02T21:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815685#M3128990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Rüdiger&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;I tried it outside of BW and sure enough it works as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;I have also discovered why it's not working properly, but I don't know how to resolve it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Basically my form action is set to "&lt;/SPAN&gt;../bc/bsp/sap/zsavecsv/download.htm&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;" but when you submit it you end up with something like this "&lt;/SPAN&gt;/sap(bD1lbiZjPTIwMA==)/bc/bsp/sap/zsavecsv/download.htm&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;" in the form that's generated.&amp;nbsp; Presumably this is the session encode in the URL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;I have however managed to cheat and use javascript &lt;/SPAN&gt;XMLHttpRequest to initially get the request and get the BSP page to send me the "runtime&lt;SPAN class="L0S70"&gt;-&amp;gt;PAGE_URL" as the responseText. I then update the form action with the returned value and this works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;Can you think of an easier way of doing this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;Craig&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815685#M3128990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815686#M3128991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Craig: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: DE-CH; mso-fareast-language: DE-CH; mso-bidi-language: AR-SA;"&gt;bD1lbiZjPTIwMA==&lt;/SPAN&gt; is base64 for your client and language (decoded, it is &lt;STRONG&gt;l=en&amp;amp;c=200&lt;/STRONG&gt;). It's not the session id but the essential login information that the SAP-System needs in addition to user and password. (If cookies are enabled, the session id is stored as a cookie and not in the URL.) They can also be passed as form fields&amp;nbsp; (&lt;STRONG&gt;sap-client &lt;/STRONG&gt;and &lt;STRONG&gt;sap-language&lt;/STRONG&gt;) in the request or in the URL query part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ICF sends a redirect with this information "mangled" into the URL, immediately after the first node of the URL path. &lt;EM&gt;But this is a real redirect with HTTP-statuscode&lt;/EM&gt;, &lt;EM&gt;not a form&lt;/EM&gt;! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my eyes, you still haven't solved the mystery of that form above, with the tell-tale text "&lt;EM&gt;No Applicable Data Found&lt;/EM&gt;". I still would bet that this form doesn't come from the ICF or BSP framework!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, when a relative URL is specified which doesn't replace the top level node, this information is preserved (since it's part of the top level node!), and no redirect is necessary. It's inconceivable to me why the system triggers such a redirect in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 09:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815686#M3128991</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-03T09:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replicate short php code in BSP</title>
      <link>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815687#M3128992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rüdiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ignore the &lt;EM&gt;"No Applicable Data Found" &lt;/EM&gt;message as this is just part of the table content passed into the form value.&amp;nbsp; It was test data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I believe it's the BSP framework generating the form after the redirect with the action set to the same URL but with the client and language mangled into the URL.&amp;nbsp; Nothing from BW is doing this since BW is not even aware of the posting.&amp;nbsp; The page I use to post the data is completely manipulated by javascript on the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can only assume since the client and language are missing from the initial request it requires these to make the request and since it's receiving posted data it generates the form and submits it to itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT&lt;/P&gt;&lt;P&gt;This is only when I call the service directly in a browser.&lt;/P&gt;&lt;P&gt;I can see that there are 2 calls when we make the posting &lt;/P&gt;&lt;P&gt;1st GET request to &lt;CODE class="focusRow subFocusRow "&gt;/sap/bc/bsp/sap/zsavecsv/download.htm&lt;/CODE&gt; receives status "302 Moved Temporarily" then the 2nd GET request to &lt;CODE class="focusRow subFocusRow "&gt;/sap(bD1lbiZjPTIwMA==)/bc/bsp/sap/zsavecsv/download.htm receives status "200 OK"&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the BW template and check the posting I see a POST request to &lt;CODE class="focusRow subFocusRow "&gt;/sap/bc/bsp/sap/zsavecsv/download.htm with a status of "200 OK".&amp;nbsp; And thats it no redirect occurs here.&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will test this outside of both BSP and BW to prove it's BSP doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll come back with the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The results are, if I try to post a table of results from an html file locally the same problem occurs! &lt;/P&gt;&lt;P&gt;Basically BSP is generating this page for some reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about stopping the base64 encoding?&amp;nbsp; Or can we simply pass the language and client in the URL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 10:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-to-replicate-short-php-code-in-bsp/qaa-p/8815687#M3128992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T10:16:31Z</dc:date>
    </item>
  </channel>
</rss>

