Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to display PDF in a new browser?

Hi guys,

I have generated PDF using adobe life cycle manager (transaction SFP) in WDA. Now the requirement is to show the PDF in a new browser. Both views are in the same WD object. I have tried different methods to get the PDF data into the new window which i am opening using method:

lo_window_manager->create_external_window

I have the common context through component controller but the data does not reach the second view. I am guessing it is not possible to share same context if you open a new browser.

Next i tried saving the pdf in a controller class but even then i dont get the data back. The data does get stored through the set functionality.

I also tried using cl_bsp_server_side_cookie=>set_server_cookie and get_server_cookie methods and still i did not get any data.

I also tried adding the pdf data into the url and created an inbound plug in the second the view where i needed the pdf data. That url was then sent in the method create_external_window. That did not work out because pdf data is too long to be added as url parameter.

Any other suggestion. Any suggestion or code will be appreciated.

Thanks

Former Member
Not what you were looking for? View more on this topic or Ask a question