Steps to Output a Microsoft Word Document from an SAP System

  • by Said Belahbib, SAP HCM and FI/CO Technical Quality Manager
  • December 4, 2017
Many companies start producing and generating their documentation in Microsoft Word, and this method works fine for a small number of documents. However, over time as business needs grow, this method becomes increasingly difficult to manage. One solution is to migrate documents from Word to an XML-based file format that is easy to parse with an SAP system. Here are four steps to output an employee agreement contract in Word format so that end users can modify the document if needed, store it, and link it to the employee. This tailored solution is based on standard SAP functionality. With it you can optimize document-based processes for any industry and companies of any size. This solution can be used for any SAP system and Microsoft interface.
Learning Objectives

Reading this article, you will learn:

  • Different methods to store your objects (different kinds of documents)
  • How to read your files from an SAP Web Repository and from a MIME Repository
  • How to generate a Microsoft Word document including SAP master data as you do with Adobe interactive forms
  • The step-by-step process for designing and generating a Word form
Key Concept

A technical approach with four steps can transform XML and HTML files into Microsoft Word documents. The approach is to store template files in a MIME Repository or a Web Repository and then convert the template files into Word documents, while replacing dynamic fields with SAP system master data.   

Companies often need to interface Microsoft Word with their SAP systems. For example, you may need to output an employee document in a Word format that all the company’s employees know how to handle so that they can modify the content if needed. Using the example of a contract with an employee, I show how to store your file within your SAP system using an SAP Web Repository and a MIME Repository, how to handle the file content and modify it according to business requirements, and how to output a web file from a Word document.  

Said Belahbib

Said Belahbib has a Ph.D. in nuclear physics and an MBA (European Management for the Global Market). He works at a university (unil) in Lausanne. He is the SAP HCM/FI-CO expert and has led several full live cycle projects for many international companies. He has advanced SAP HCM/FI-CO configuration  skills and technical SAP NetWeaver architecture skills covering integration, maintenance, and technical development for SAP mobile and Fiori UI5.

See more by this author


Comments

No comments have been submitted on this article. 


Please log in to post a comment.

To learn more about subscription access to premium content, click here.