cancel
Showing results for 
Search instead for 
Did you mean: 

Write page with object response.

Former Member
0 Kudos

I have a page and in the event OnInitialization I use the object response for create a PDF file and this work fine.

response->set_data( data = l_html_xstring

length = l_xlength ).

The problem is tha I want create the PDF in the event onInputProcessing, and I put this code:

call method runtime->server->response->set_data

exporting data = l_html_xstring

length = l_xlength.

In this case, the PDF doesn´t create and have an error.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181879
Active Contributor
0 Kudos

Did you also remember navigation->response_complete? Plus delete of caching headers. Please read:

<b>BSP Programming: Handling Of Non-HTML Documents</b>

/people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents