My users now want me to print an MSWord document in SAP. No fancy conversion of grids or special characters, just...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
print the text of the document. I can use WS_UPLOAD to pull it in as a text file, but during batch processing and high volumes, can't sit there and convert to text or .prn. Can SAP pull in a Word doc and print it? Yes. You need to use the Desktop Office Integration (DOI) classes. These allow you easy OLE access to MS Office and other OLE enabled objects. (In the help documentation there is a wealth of information under: SAP LibraryBasis ComponentsControls and Control FrameworkDesktop Office Integration).
If you wish to store a Word document (or any other document) in SAP, then you can use the Business Document Service (BDS) (SAP LibraryBasis ComponentsBasis ServicesBusiness Document Service).
There are some excellent articles in the SAP Professional Journal that should get you started using these.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header.continue reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location.continue reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.