cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Output export to PDF

harishkollipara
Explorer
0 Kudos

Hi All,

I am using the ALV component SALV_WD_TABLE in my Webdynpro.

When I display the output in ALV in webdynpro, I get two icons one with excel and other PDF symbol icons.

When I select some rows in the ALV output list and click the PDF icon, I am getting a popup for saving the selected list into a file.

My requirement is to directly open the pdf file in a seperate window when the user clicks the PDF icon.

Does this requirement need change in standard coding of ALV component?

Unable to proceed, please suggest.

Regards

Harish

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Harish,

create a popup window with a view named V_pdf, have only one ui element of type interactive form, please make sure you uncheck the enabled checkbox, and assign the pdfSource to an context attribute of type xstring, this xstring would hold the data of the pdf file or in other words, this attribute should contain the pdf file in xstring format, once that is done, simmply call the popup view after binding the pdfsource context node attribute. to disable the pdf popups you have to open any adobe document then goto preferences->internet and check the option "display pdf in browser". that should solve your problem.

Thanks & Regards

Abir Chakraborty