hi guru ,
we have a single bsp which produce pdf upon a personnel number, in the onrequest event ,
first we call a function to get pdf xstring, then use :
CALL METHOD response->set_content_type
content_type = 'application/pdf'.
CALL METHOD response->set_data
data = data_source.
to returen the pdf
the bsp works if we start it from se80 directly, the pdf file displayed in ie window, but when we try to run it from url or from another page, it will first bring up the pdf reader,then an error appears, the pdf file has been corrupted.
i guess it maybe related with response handling, could you pls give us some hints?