cancel
Showing results for 
Search instead for 
Did you mean: 

Wait...Your request is being processed

bjorn-henrik_zink
Active Participant
0 Kudos

Hi,

I am successfully downloading a PDF document, but the calling window never stops processing and displays <b>Wait...Your request is being processed</b>.

How can I prevent that?

Here is some coding from the OnInputProcessing event handler:

* some Browsers have caching problems when loading PDF format
  runtime->server->response->set_header_field(
                     name  = 'cache-control'
                     value = 'max-age=0' ).

* set file name
 runtime->server->response->set_header_field(
                     name  = 'content-disposition'
                     value = lv_filename ).

* finally display PDF format in Browser
  runtime->server->response->set_data( data   = l_pdf_xstring
                      length = l_pdf_len ).

navigation->response_complete( ).

Thanks.

/Elvez

Accepted Solutions (1)

Accepted Solutions (1)

former_member191062
Active Contributor
0 Kudos

Hello Elvez,

this behavior is do to the <xhtmlb:protectDoubleSubmit> what can not be user together with download. As the browser where the protect is active is never reciving a repsonse from the server. >> It does not knows when to remove this element.

Please correct your page.

Best regards,

Dezso

bjorn-henrik_zink
Active Participant
0 Kudos

Hi Dezso,

Thanks for your reply - that explains why SAP is not using this behaviour in their standard applications. One final question before I set the question as answered - would it solve my problem to simply remove <xhtmlb:protectDoubleSubmit>?

/Elvez

raja_thangamani
Active Contributor
0 Kudos

Yes if you remove <xhtmlb:protectDoubleSubmit>, you wont get message "wait..your request is being processes" at all.

Raja T

Answers (0)