Skip to Content
Technical Articles
Author's profile photo Sébastien HERMANN

ZAUTODOC : Automatic generation of technical BW documentation

Creating technical documentation in BW is always a pain. Anoying pages and pages of tables : cubes attributes, transformation mapping… No brain, no gain… but lots of customers ask this kind of docs, because it’s the process ! (And if i must tell the truth… sometimes it’s usefull)

So i created a program to extract all technical objects of a flow and write it in a word document. You can generate simple document like a master data direct alimentation from ECC : just choose your masterdata from selection screen and push F8.

But you can also generate a complete flow document, starting from a workbook and got all cubes, transformations, DSO, and datasources that is involved in the flow. All ABAP routine and formulas are added in the document. It’s not more complex to generate, you just have to select your workbook from selection screen and tick the “recursive” box option before press the F8 key.

Word document is generated using a DOTX template, so you can customize the template with YOUR colors and themes. A cover image is also added on first page. At the begin of the documentation, a dataflow graphic is added to help the global understanding of the flow.

You could choose to display DTP & IP in the document or not, or only if they are in process chain… it’s your choice.

The program use my abstraction class CL_WORD to generate the DOCX file. You need to install it to use ZAUTODOC.

Finally, all of this is free


And there is a direct download link (remember that you will need SAPLINK to install .slnk file) :

Download link :

Feel free to comment here

My others blogpost :

LISTCUBE replacement : a new way to display data

ZAL11 : a replacement for AL11

ZTOAD – Open SQL editor

Abstraction class to generate MSWORD with SAP using OLE

Generate DOCX file in ABAP

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Tobias Haas
      Tobias Haas


      thanks for your useful tools!

      Author's profile photo Haradev Viswanadha
      Haradev Viswanadha

      Hi Hermann,

      This is excellent and something i have been searching for a while. Thanks for the tool. Is there anyway i can execute the program only till a particular info-provider and not the complete flow everytime. The reason is Any object i give, it is picking the entire flow till the data source. Also i did not the table as shown above instead plain text without tables. Am i missing something? Thanks again for the great source. It is very useful




      Author's profile photo Sébastien HERMANN
      Sébastien HERMANN
      Blog Post Author


      Actually, the program is designed to generate documentation with direct ascendant flow :

      If you ask documentation for an infocube, you will get :

      • infocube
      • All transformations to this infocube
      • Source of transformation (only if infosource or datasource)
      • DTP
      • IP (only if datasource found)

      If you tick the "recursive" checkbox, you will get also all infoprovider that are source of your cube, etc until datasource

      Actually, transformation, DTP, IP, (and update rules 3.x) are not independant objects (not proposed in selection screen) but are attached to an infoprodiver.


      For your second problem, it sound like a "style" problem. At the begin of the program, there is constant called cs_custo that contain all things that you can (may... must) change to fit to your requirements.

      All style names are in this part. You can check which table style are available in the template you used, and which one are defined in cs_custo. I think the gap is here and that's why you got plain text instead of "beautiful" word tables.



      Author's profile photo Shelendra Gupta
      Shelendra Gupta

      Hi Sebestien,

      The link mentioned above are not working.

      Thank you!!

      Author's profile photo Sébastien HERMANN
      Sébastien HERMANN
      Blog Post Author

      sorry, my website was offline during few days. It's fixed 🙂


      Author's profile photo caherine bellec
      caherine bellec

      Hello Sébastien,

      Thanks for your report, it will save my life !!

      Is it possible to generate a XLS file from your report ? For example for the transformations rules.



      Author's profile photo Sébastien HERMANN
      Sébastien HERMANN
      Blog Post Author


      I'm sorry but its not possible to gernerate xlsx file with the class.

      Lot of work to add this possibility, but i know there is another open source project to do this 🙂


      Author's profile photo Thomas Jacotot
      Thomas Jacotot

      Hello Sébastien,

      Very usefull tool!

      Thanks a lot. I implemented it and it works very well.

      Is there a possibility to add information about composite providers and HANA calculation views?

      When my query is based on HCPR and Calculation view I don't have details about the source Calculation view (at least the name).





      Author's profile photo Sébastien HERMANN
      Sébastien HERMANN
      Blog Post Author

      Hello Thomas,

      I did an HANA version of ZAUTODOC, with HCPR, basics info on calc view, and also a picture of the calc view. Unfortunately, i didnt released it.

      I currently dont have access to a BW on HANA version to create a clean package.

      There is link for partial release with ADSO & HCPR (but not calc view):

      Author's profile photo Ravi Giduturi
      Ravi Giduturi

      Hi Sebastien, Can you please share the latest ZAUTODOC.nugg file that is including ADSO & HCPR.

      Author's profile photo Sébastien HERMANN
      Sébastien HERMANN
      Blog Post Author

      yes, previous link is reactivated !

      Author's profile photo Thomas Jacotot
      Thomas Jacotot

      Hello Sébastien

      Thanks a lot for this partial release. I implemented the new version of the ZAUTODOC program. But I kept the previous version of the class ZCL_WORD. I did not succeed to make the new one working. The word doc is not editable. But with the old version it works and I can see the composite and the link with the source HANA view.

      Is your HANA version of ZAUTODOC could be testable?

      I could test it on my BW for HANA system if you want.



      Author's profile photo Sébastien HERMANN
      Sébastien HERMANN
      Blog Post Author

      Hi Thomas,

      The "hana version" is not yet packaged.

      There is a small program which scan the calc view to extract sources

      There is another small program which build a JPEG of the calc view.

      It remain to assemble theses peaces of code to create the calc view section of the doc.