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: 

ABAP Open pdf file in Microsoft Word using OLE

former_member599328
Discoverer
0 Kudos

Hi all,

I am looking for the method which can open pdf in Word.

I want to copy all pages of pdf into doc/docx and add there footers.

Could anybody give the cue how to import pdf?

Thanks,

Lilya

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Diu you try to perform this task in Word, recording it into a macro, then look at the generated VBA code and translate it to Abap/OLE2. (Edit a PDF Word for Office 365 Word 2019 Word 2016 Word 2013)

former_member599328
Discoverer
0 Kudos

Macro? Firstly I need to open pdf in Microsoft Word, not add something to the document in macro. I think it's possible to achieve my goal through methods of ole-object of Microsoft Word. By the way I opened pdf in Microsoft Word (newer versions than 2013 can do that). But I need to do that programmatically, haven't found solution yet.

0 Kudos

What he said is you should try write VBA code, look at those statements and you will know which method, properties... you need to use then call it in ABAP OLE.