SAP Workflow Course: Section 5A-01: Workflow Architecture
SAP Workflow Course: Section 5A-01: Workflow Architecture
SAP Workflow Course: Section 5A-01: Workflow Architecture
Contents:
• Task
• Workflow
Runtime
Interaction with users Business Workplace
and application tools Work item Manager
process invoice
release invoice
calculate
travel expenses
Who?
Task What?
process
correspondence
release absence form
When?
check leave entitlement
Tasks
Tasks
object
objectmethod
methodor Task
or Task(TS)
(TS)
manual activity
manual activity
Time-independent and
client-independent
Workflow
Workflow
workflow Workflow
Workflow (WS)
(WS)
workflowdefinition
definition
Task
Object type with
object method • What will be • Who will be Organizational
executed by responsible for plan
the task? the task ?
Properties
Texts Event
s
• work item text: title of work • terminating events
item in worklist
• task description
• notification text
• triggering events
• deadline text Only if the task is not used
• desired end text in a workflow
• latest start text
SAP Workflow Course – Section 02: Workflow Architecture 9
Object Methods and Single-Step Tasks
create
Reference to object
object method method
edit
object method
display
object method • Objects are the encapsulation of behavior
for performing defined business tasks
Credit
Analysts
_WI_Object_Id
_WI_Object_Id.Number
_WI_Actual_Agent
...
Example :
Employee &_WI_Object_ID.CreatedBy& created a
notification of absence under the number
&_WI_Object_ID.Number& on &_WI_Object_ID.CreateDate&.
Please decide whether to approve.
Workflow
Workflow template
template
• Reference to
workflow definition
Workflow
Workflow template
template Workflow
Workflow definition
definition Step
Step
Notification of
absence created
Approve notification
of absence
rejected
approved
Revise notification
of absence?
Send mail
No yes Revise notification
of absence
sent
cenceled revised
Resubmit for
No approval?
Terminate
workflow
Workflow
terminated
SAP Workflow Course – Section 02: Workflow Architecture 16
Workflow Definition: Workflow Builder
Workflow Builder:
workflow definition • Block-oriented
modeling
object
overview
• Top-down modeling
is possible
• Special functions
such as cut, paste,
move, copy
task • Print: local / R/3
step types
spool / file
• Checking and
messages
activating
• Drag ‘n’ Drop
functionality
SAP Workflow Course – Section 02: Workflow Architecture 17
Workflow Definition: Basic Concepts
triggering
• Triggering events
event control the initial start
Workflow of the workflow in
Organizational
management workflow definition addition to the
termination and
calling of subsequent
terminating tasks in the workflow
tasks event
Organizational • Each Task defined
management under the workflow
will execute in the
object types arranged sequence
methods defined via the
workflow definition
Desktop External
application SAP applications
functionality
SAP Workflow Course – Section 02: Workflow Architecture 18
Workflow Definition and Runtime Environment
Start WF Event
triggering
event
Workflow-Template
Workflow
Workflow Workflow
Workflow
Org. plan definition
definition
terminating Workflow manager
Inbox
event Process
TASK
TASK Work
Work item
item
Org. plan
display
Work item manager
Determining
Object type
Execution agents
Execution of
of an
an
Deadline
Method
Method object
object method
method monitoring
Workflow log
Database
SAP R/3 Functions
SAP Workflow Course – Section 02: Workflow Architecture 19
Workflow Architecture: Unit Summary