cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro OfficeControl: no Print button

lucius_schmid
Explorer
0 Kudos

Hi

I use the Web Dynpro OfficeControl UI-Element for working with Office documents.


Does anyone know if it is possible to print a document opened with OfficeControl (in-place)?

When you open a document with OfficeControl several buttons are not available but is it somehow possible to get all or enable specific buttons e.g. "Print"?


As you can see in the snapshot below the File Tab is not available and therefore the Print ability neither.

Environment:

SAP Version 740

Office 2010


Thanks for any suggestions

Lucius

Accepted Solutions (1)

Accepted Solutions (1)

lucius_schmid
Explorer
0 Kudos

Hi

did not find a solution to get the Print Button in Office however as a more or less working solution a Webdynpro Button can be placed and in the assigned action the

if_ios_document~printdocument( )

can be called to print the document.

Printing works but still, unfortunately, it is not properly implemented then when the user decides to close the Print-Popup Box (Cancel or Close (X)) the SAP ACF Trace box reports an error (Invoke of printdocument failed)

Answers (0)