Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Viewing different types of documents in SAP

Former Member
0 Kudos
115

Hi,

Is there an easy way to view the contents of spools and .pdf files from within sap using a control ?

I need to to load it up with a batch and scroll between the various spools, some of which can be in pdf format others in the normal spool formats available.

Thanks

3 REPLIES 3

athavanraja
Active Contributor
0 Kudos
38

do you want to view pdf files within SAP GUI?

if yes you can use PDF viewer control (CL_GUI_PDFVIEWER)

Regards

Raja

0 Kudos
38

Hi RAJA,

can CL_GUI_PDFVIEWER be used to display normal sap spools as well?

0 Kudos
38

for sap spool why do you want a viewer, you could simply show it in SAP GUI itself.

or

convert to spool to pdf using standard FM and show the content within the PDF viewer

Regards

Raja

if youfind the answers helpful reward them by clicking the radio button and if your question is answered , mark it as answered