Skip to Content

Document Templates Creation in workflow

The step type Document from Template enables you to create documents in Workflow with different PC applications. These documents are based on a template that you create with the PC application when you define the Workflow.

This template can reference elements from the Workflow container. You can display and edit templates created in this way throughout the Workflow.You must have saved the Workflow to be able to create a template.The receiver of the Workflow must have installed the PC application locally on their PC to be able to execute the work item.

When the Workflow is executed, the template is opened in the relevant PC application and can be completed there. The document is then saved in a container element in the Workflow container.

The generated document is passed to a container element of the workflow container, from which it is available to other steps.You use this step type to create documents of various PC applications and process them within the workflow. The work item recipient creates the document based on a document template, which can also contain container elements of the workflow container.

 

 Example :

 

For creating the document we have to open/click on document templates tab from navigator.

 

 

image

 

 

Double-click to create in the Document templates tray by double-clicking.

 

 

image

 

Before creating the PC document better to save the defination . 

 

image

 

As you will double click on Document templates you will get the docuemnt templates:

 

image

 

 

Insert container elements and/or system fields from the object area into your template by double-clicking. These fields are replaced with the content of the container elements/system fields at runtime.

 

 image

 

 

 specify title and save it.

image

 

save  document template.

 After saving the document you will able to see this in yuor builder:

 image

 

insert the step :

 

image

 

 Insert the document template, here we hve sdn_testing (you can also create document from here) also give the agent name where you want to send the document. For example i am taking workflow initiator.

image

 

and after activating it  :

 

image

 

Now we will go for testing.for local testing excute the workflow:

 

image

 

and here is the outpur in inititator mail box:

 image

 

 

You can only save the document template from your PC application as a local copy on your PC

 

 

image

 

 

 

NOTE : The PC application for which you want to createa document must be installed on your PC.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. dheepak hari
    hi the blog looks good, i was unable to pass container element to adobe is there any option to send container elements to Adobe.
    (0) 
  2. Andrzej Nowak
    Hi,

    could you say where are templates are stored in SAP? I find WF: Logical Information Object and WF: Phisical Information Object in transport request and links – entry to tables SWUOLOxxx and SWUOPFxxx. I don’t now how manage them. I can use RSWUODEL report to delete old document but not template. I have some unnecessary templates in system.

    Regards
    Andrzej

    (0) 

Leave a Reply