You are on page 1of 27

SAP TechEd 03 Basel

2003 SAP AG BPI 151, Patrick Schmidt 1


Building Your Own
Workflow from
Scratch
Patrick Schmidt, SAP AG
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 2
Learning Objectives
As a result of this workshop, you will
be able to:
Use the workflow definition tools
Work with the workflow inbox (SAPGui based)
This session is not:
About Business scenarios it is about technology
A general introduction to workflow management
A general introduction in SAPs WebFlow Engine
This session cannot cover all workflow
functions - but feel free to interrupt for
questions or meet the expert after the session
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 2
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 3
System and User
System characteristics
WebAS 6.20 SP 24 (or higher)
SAPGui for Windows 6.20 PL 34 (or higher)
System info
M35
Client 800
User
Manager: WF-MGR-## (00-98)
Employee: WF-USR-## (00-98)
Password
Init
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 4
Agenda
Scenario
Runtime
Definition time
Summary
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 3
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 5
Employee Manager
Reject Reject notification notification of of
absence absence
Change Change notification notification of of
absence absence
Accept Accept notification notification of of
absence absence
Mail: Mail: Notification Notification of of
absence approved absence approved
Scenario
2
2
3
3
4
4
5
5
Create Create notification notification of of
absence absence
1
1
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 6
Agenda
Scenario
Runtime
Definition time
Summary
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 4
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 7
Demo
Demo
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 8
Employee Manager
Reject Reject notification notification of of
absence absence
Change Change notification notification of of
absence absence
Accept Accept notification notification of of
absence absence
Mail: Mail: Notification Notification of of
absence approved absence approved
Scenario
2
2
3
3
4
4
5
5
Create Create notification notification of of
absence absence
1
1
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 5
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 9
Step 1.1: Choose Workflow Definition
1
1
double
click
2
2
3
3
4
4
WF-USR-##
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 10
Step 1.2: Start Workflow
1
1
2
2
3
3
Press
execute
WF-USR-##
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 6
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 11
Employee Manager
Create Create notification notification of of
absence absence
Reject Reject notification notification of of
absence absence
Change Change notification notification of of
absence absence
Accept Accept notification notification of of
absence absence
Mail: Mail: Notification Notification of of
absence approved absence approved
Scenario
1
1
2
2
3
3
4
4
5
5
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 12
Step 2.1: Reject Notification of Absence
Deadline has
been reached
Attachments
1
1
2
2
Click here to reject
3
3
4
4
single
click
double
click
WF-MGR-##
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 7
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 13
Step 2.2: Reject Notification of Absence
1
1
4
4
5
5
Create attachment
to explain why the
notification has to
be rejected
3
3
2
2
6
6
WF-MGR-##
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 14
Employee Manager
Create Create notification notification of of
absence absence
Reject Reject notification notification of of
absence absence
Change Change notification notification of of
absence absence
Accept Accept notification notification of of
absence absence
Mail: Mail: Notification Notification of of
absence approved absence approved
Scenario
1
1
2
2
3
3
4
4
5
5
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 8
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 15
Step 3.1: Decide to Change Notification
Double
click to
execute
Revise notification of
absence
Click to read
reason of rejection
1
1
1
1
2
2
4
4
3
3
WF-USR-##
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 16
Step 3.2: Do not change notification
Work item cannot be
completed
1
1
2
2
5
5
Do not change anything
In the notification of
absence
WF-USR-##
3
3
4
4
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 9
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 17
Step 3.3: Change Notification
Work item disappears
1
1
2
2
3
3
Revise notification of
absence
WF-USR-##
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 18
Employee Manager
Create Create notification notification of of
absence absence
Reject Reject notification notification of of
absence absence
Change Change notification notification of of
absence absence
Accept Accept notification notification of of
absence absence
Mail: Mail: Notification Notification of of
absence approved absence approved
Scenario
1
1
2
2
3
3
4
4
5
5
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 10
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 19
Step 4.1: Approve Notification of Absence
double
click to
execute
Click here to
approve
2
2
3
3
4
4
5
5
WF-MGR-##
1
1
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 20
Employee Manager
Create Create notification notification of of
absence absence
Reject Reject notification notification of of
absence absence
Change Change notification notification of of
absence absence
Accept Accept notification notification of of
absence absence
Mail: Mail: Notification Notification of of
absence approved absence approved
Scenario
1
1
2
2
3
3
4
4
5
5
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 11
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 21
Step 5.1: Check Your Mail
WF-USR-##
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 22
Agenda
Scenario
Runtime
Definition time
Summary
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 12
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 23
Definition Tools - The Goal
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 24
Definition Tools - Scenario
Scenario from the definition perspective
Step 1: Call Workflow Builder
Define a new search area for the available tasks
Step 2: Insert first steps out of the available tasks
Insert step Create notification of absence
Insert step Approve notification of absence
Step 3: Insert mail notification about approval
Step 4: Insert step to delete absence request if rejected
Insert step Notification of absence rejected
Insert step Delete notification of absence
Step 5: Insert step Revise notification of absence
Step 6: Insert loop to do the approval again
Step 7: Assign agents
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 13
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 25
Demo
Demo
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 26
Step 1.1: Call Workflow Builder
1
1
3
3
Single click
The search area
has to be defined
once
2
2
4
4
Double click
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 14
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 27
Step 1.2: Introduction
1
1
2
2
3
3
5
5
4
4
6
6
7
7
8
8
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 28
Step 2.1: Insert Step Create Notification
Drag & Drop
1
1
2
2
3
3
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 15
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 29
Step 2.2: Insert Step Approve Notification
2
2
1
1
Drag & Drop
3
3
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 30
Step 3.1: Insert Step to Send Mail
Right
mouse click
to create
1
1
2
2
Choose
send mail
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 16
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 31
Step 3.2: Create Mail Step
1
1
Define mail title
Define
mail recipient
Define mail text
2
2
3
3
5
5
4
4
6
6
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 32
Step 4.1: Delete or Not? Insert Decision
Click create
button
1
1
2
2
3
3
4
4
Single click
to select
outcome
Choose user
decision
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 17
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 33
Step 4.2: Delete or Not? Insert Deletion
1
1
2
2
3
3
Drag & Drop
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 34
Step 5.1: Insert Update
2
2
1
1
3
3
Drag & Drop
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 18
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 35
Step 5.2: Edit Binding
6
6
1
1
2
2
3
3
Drag & Drop
5
5
4
4
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 36
Step 5.3: Edit Condition
4
4
1
1
5
5
2
2
3
3
6
6
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 19
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 37
Step 5.4: Insert Update
2
2
1
1
3
3
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 38
Step 6.1: Insert Loop
Double-
click to
create flag
1
1
2
2
3
3
2
2
4
4
5
5
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 20
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 39
Step 6.2: Insert Loop
2
2
3
3
4
4
Drag & Drop
1
1
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 40
Step 6.3: Define Loop - Condition
Double
click to
insert
1
Click = to
insert
Enter X as
constant and
press return
4
4
3
3
5
5
2
2
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 21
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 41
Step 6.4: Take Care to Leave the Loop
1
1
2
2
3
3
Drag & Drop
4
4
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 42
Step 6.5: Take Care to Leave the Loop and Save
1
1
3
3
2
2
4
4
Draw a line
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 22
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 43
Step 6.6: Save
1
1
3
3
2
2
4
4
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 44
Step 7.1: Assign Agents
Employee
Create notification of absence
User decision - revise or withdraw
Revise notification of absence
Manager
Approve notification of absence
Create document from template
Workflow system
Send e-mail
Delete notification of absence
Who is responsible for what?
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 23
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 45
Step 7.2: Assign Agents
click to
navigate
1
1
4
4
2
2
3
3
click to
navigate
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 46
Step 7.3: Assign Agents
click to
navigate
1
1
4
4
2
2
3
3
click to
navigate
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 24
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 47
Finish
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 48
Agenda
Scenario
Runtime
Definition time
Summary
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 25
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 49
Summary
You are able to:
Use the workflow definition tools
Work with the workflow inbox
(SAPGui based)
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 50
Further Information

Public Web:
www.sap.com\technology

SAPNet:
Use ALIAS: webflow

Workshops at TechEd 2003


Building your own workflow from scratch
Extend the Reach of SAPs WebFlow engine

Book:
Practical workflow for SAP ISBN1-59229-006-X
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 26
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 51
Q&A
Questions?
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 52
Please complete your session evaluation and
drop it in the box on your way out.
Feedback
Thank You !
The SAP TechEd 03 Basel Team
SAP TechEd 03 Basel
2003 SAP AG BPI 151, Patrick Schmidt 27
SAP AG 2003, TechED_Basel / BPI151, Patrick Schmidt/ 53
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express
permission of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other
software vendors.
Microsoft

, WINDOWS

, NT

, EXCEL

, Word

, PowerPoint

and SQL Server

are registered trademarks of


Microsoft Corporation.
IBM

, DB2

, DB2 Universal Database, OS/2

, Parallel Sysplex

, MVS/ESA, AIX

, S/390

, AS/400

, OS/390

,
OS/400

, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere

, Netfinity

, Tivoli

, Informix
and Informix

Dynamic Server
TM
are trademarks of IBM Corporation in USA and/or other countries.
ORACLE

is a registered trademark of ORACLE Corporation.


UNIX

, X/Open

, OSF/1

, and Motif

are registered trademarks of the Open Group.


Citrix

, the Citrix logo, ICA

, Program Neighborhood

, MetaFrame

, WinFrame

, VideoFrame

, MultiWin

and
other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C

, World Wide Web Consortium,


Massachusetts Institute of Technology.
JAVA

is a registered trademark of Sun Microsystems, Inc.


JAVASCRIPT

is a registered trademark of Sun Microsystems, Inc., used under license for technology invented
and implemented by Netscape.
MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in
several other countries all over the world. All other product and service names mentioned are the trademarks of
their respective companies.
Copyright 2003 SAP AG. All Rights Reserved

You might also like