转 Using Document Template in Workflow

Using Document Template in Workflow

By Madhavi from Link

This tutorial details about the usage of the step “Document from Template” in workflow. 
Sometimes, it becomes a necessity to work with the documents (Word, Presentation, excel and others). Go to Transaction SWDD and create a new workflow definition. 

Before we go ahead and create a document template, we need to save the workflow definition. Save your workflow definition.  

Now select “Document templates” from the list as shown below (You can find this on the left side bottom of the screen)  

 

Click on “Double-click to create”

 

Click on “Change document class” and then select “Document” from the list provided (see the screenshot below):

 

The following screen appears:

 

Enter some text in the document: 

 

Save your document. 

 

After saving, go back to the main screen. You can observe the document template you just created, as shown below:

 

Now in your workflow definition, create a new step “Document from Template”: 

 

Enter the step name. 


In the section, Doc. Template(s), select the document we created earlier using the F4 help. Also enter the agent details.  

 

Save your entries. 

The workflow definition would look like this:

 

Activate your workflow and execute the same. 

Your work item would look as follows:

 

Execute the work item. The document would open as shown below: 

 

Modify the document and Save. 

 

Your work item is executed.

猜你喜欢

转载自sapabap.iteye.com/blog/1880002