How to display PDF in a new browser?
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:
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.