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: 

Printing/Converting Office documents from SAP

former_member182374
Active Contributor
0 Kudos

Hi all,

When I try to print office documents by using CV120_START_APPLICATION. I don't receive feedback from the application (ie: Word, Excel etc) to SAP about error/success of printing.

is there another way to print office documents from SAP and reveice feedback?

Another question:

Is there a way to convert office documents (doc, xls, ppt)to pdf files without using external program?

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

To answer you first question, I assume that your function module is using OLE to open the document. In OLE, I don't think that you can retrieve the status of the printing. I believe that you are only able to fire specific commands, like saving, printing, etc.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

I think there is no direct(without using external programs) way to convert office documents(doc, xls, ppt) to PDF files .

Thanks,

Naga

balaji_viswanath
Participant
0 Kudos

Hi All,

I am also facing the same problem,

When I try to print office documents by using CV120_START_APPLICATION. I don't receive feedback from the application (ie: Word, Excel etc) to SAP about error/success of printing.

Is there another way to print office documents from SAP or should I use some other FM like CV120_GET_APPL_FROM_REGISTRY?

Advance thanks.

Regards,

Balaji Viswanath.