Application Development and Automation 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: 
Read only

PDF format

Former Member
0 Likes
609

Hi all,

I have a requirement that in the selection-screen i want to put a pushbutton 'Preview'.By clicking it should show a file which is already saved in the desktop of PC which is PDF format.

Thank you

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
583

You require OLE - Object linking and embedding.

As after the click of button you can upload the file but the problem you are facing is how to display it, if I am right. There come OLE in picture.

Check this link for OLE -

Regards,

Amit

Reward all helpful replies.

5 REPLIES 5
Read only

amit_khare
Active Contributor
0 Likes
584

You require OLE - Object linking and embedding.

As after the click of button you can upload the file but the problem you are facing is how to display it, if I am right. There come OLE in picture.

Check this link for OLE -

Regards,

Amit

Reward all helpful replies.

Read only

0 Likes
583

But how to call the file and display it..

Read only

0 Likes
583

You can even do with following FM -

/SMB/PREVIEW_EXT_DOC

SSFCOMP_PDF_PREVIEW

For second one you have to upload the file and convert it into OTF.

Regards,

Amit

Read only

0 Likes
583

For the FM SSFCOMP_PDF_PREVIEW

What values we need to pass..pls help..

Thank u

Read only

former_member194669
Active Contributor
0 Likes
583

Check for program

SAP_PDF_VIEWER_DEMO

aRs