You are on page 1of 17

SAP Work Flow Step by Step

1 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Hom e About Us Privacy Policy Dis clam ier Term s and Co


Topics:

Search
SAP Material Download

Contact Us

Work Flow Step by Step


This document explains how to build a workflow.
On execution of Transaction code SWDD you will enter into
as this..

SAP Error Bank


SAP Quiz
Materials Management
Production Planning
Plant Maintenance
Project Systems
Warehouse Management
ABAP Report Logics

left-side area is information area , navigation area and step


. Middle was the graphical model which represents the g
workflow process scenario diagrammatically.

undefined double click for new step in the diagram represen


into it. Now select a step from the steps listed on the left side
one according to your criteria.

For example I selected user decision. I dragged that into the d


It represents that there is a case of user being asked to take
follow later.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

2 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

This is a user decision screen where you need to fill some f


screen shot.

Title of the task is display the material, it leaves us with two opt
display or not to display.
So, you need to mention these two steps in the decision texts
yes or no.

When you execute the workflow to display the material from th


the workflow gets activated and user gets these two options to

12/9/2016 9:12 AM

SAP Work Flow Step by Step

3 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

now select the agents , expression, workflow initiator (expre

click on the transfer and to graphic button.

now you get the following screen with the decision inserted into
It has 2 steps yes and no click on the yes option & assign
below.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

4 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Drag and drop activity step to the yes option. You will get the
details of the activity & select the option of create task.

fill in the fields as shown and select the BOR object class in
we have assigned workflow object to business object repos
like a class object.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

5 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

asugmat2007 is the example material and task is to display th

After selecting the BOR object type in the object category, giv
the method as display.

After selecting the display , it will ask you to transfer with a po

12/9/2016 9:12 AM

SAP Work Flow Step by Step

6 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

In the work item text , type please review material and cli
above it.

You will get a select expression pop up box displayed. I


number item.

This means you are asking the workflow to select the mater
review it for selection. Here you need to do it like this.you sh
material number here and also the material group.

In order to do that, I typed in material group after selecting the


again select the material group in the pop up box of work item

Note: these material number and material group are prese


bus1001006-standard material.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

7 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Now after selecting the work item text , save the contents as
Note also here in the work item text

please review material followed by material number variab


followed by text in material group again followed by m
ampersand.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

8 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

On save the contents as a local object, go to additional d


maintain as shown below and click on it.

Now you will get the screen as shown below. In that select the a

Select the ASUG task to . and click on the Attributes butto


task and then click transfer.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

9 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Now again click the back button for the second time to get t
mark in that pop up box as shown below.
This pop up is showing definitions which you assigned so
them again.

After you click the tick mark continue button, you will get to the

Note that you got the task number assigned now here. and in
select workflow initiator.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

10 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Click the transfer and to graphic button

Clicking on transfer and to graphic, now assign a new task to


the diagram.

I am assigning send mail to the user when he selects no op


the send mail diagram part of no as shown below.

As and when you assign the send mail step to no, the follo
Subject line and body message.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

11 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Then a pop up window appears as below asking for naming yo


the input boxes and then clicked the tick mark button and save.

Now click on the would you like to display the material? option

12/9/2016 9:12 AM

SAP Work Flow Step by Step

12 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

The following screen appears.In the title as shown by the curs


to insert a parameter here which I will define below as shown b

pop up appears in which you need to select the material numbe

12/9/2016 9:12 AM

SAP Work Flow Step by Step

13 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Now this material number is displayed in the parameter 1 as


assign to title above. This makes the material number variabl
to the title, showed it by a black arrow here.

Then click the tick mark button.

The following screen appears and then click on the step typ
shown below.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

14 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Now select the work flow container option in it as shown below

container elements are shown. Select the material object typ


below.

Change container element pop up screen appearsas sho


properties button.

12/9/2016 9:12 AM

SAP Work Flow Step by Step

15 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Click on the import check box in the parameter settings as


by clicking on the tick box and activate it.

Continue and save, system will display Message workflow de


successfully.

Now let us test the scenario ..F8

12/9/2016 9:12 AM

SAP Work Flow Step by Step

16 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

Test workflow screen appears as shown below.

Click as shown above to get the popup window.

Give a material name and press F8.

Decision step in workflow screen appears as shown below,now


option provided Either yes or no. Select Yes It should show th

12/9/2016 9:12 AM

SAP Work Flow Step by Step

17 of 17

http://www.erpbizz.com/abap/sap_workflow.htm

When I clicked on yes the display material initial screen app

Thats all, Pl provide your views about doc on given id.

Your feedback
Your feedback is
amit@Erpbizz.com.

important

to

us.

Please

mail

you

2006-2014 ERPbizz.com. All rig hts reserved.


All product names used or published in ERPbizz.com are trademarks of their respective companies. ERPbizz.COM, is
not affiliated with any company.
This is Purely Knowledg e Sharing Platform Hence Readers are req uested to test all scenarios before implementation
in live server.

12/9/2016 9:12 AM