Hi Gurus,
I want to automatically send an email at the end of the workflow with an office document created with the "document from template - step" as an attachment.
Unfortunately it seems it is not possible to create the "document from template" dark - meaning without a user interaction - as it is hard coded in the function module (WF_DOCUMENT -> CREATE) to always call/review the created office document and to manually save the document.
Only after manually saving the document, the workflow proceeds.
I wonder why there is no CREATE DARK method in the BOR (WF_DOC) to create the document from template without a user interaction.
Of course I can create my own function module and suppress the dnypro call, but maybe there is a smarter solution here I don´t know?
Cheers
Dominik