Professional Documents
Culture Documents
An Overview
Definition
•
• Workflow Builder- SWDD
• Workflow Wizard Explorer-SWF3
• Business Object Builder –SWO1
• Business Workflow Explorer-SWDM
• Business Workplace - SBWP
From a technical point of view, a SAP workflow
consists of 3 main components :
• Workflow
• Task
• Object Method
Workflow Components
Object
Workflow Task
Method
The workflow :
•A series of tasks which represents a business
process (e.g. Leave Approval Business Process)
•Defines what tasks are executed (sometimes
based on outcomes of previous tasks)
A task :
• Usually akin to a specific step in a process
(ie. Display Employee Leave History)
• Define Agents (which users can and
cannot execute the step)
• Deadline monitoring is defined here
An object method :
•The ABAP which actually executes the task. (ie. SQL,
etc)
•This could be straight ABAP
•Or Call Transaction (dialog task)
•Call to a FM, subroutine, etc
Business Object Builder
•Key fields
•Attributes
•Interfaces
•Methods
•Events
Key Fields
Object
Workflow Task
Method
Task
•
• Tasks describe elementary business
activities. Tasks always refer to a method
of an object type. Possible agents are
defined for tasks. Tasks can refer to
automatically executable methods
(background tasks) or they can need a
user to execute them (dialog tasks).
Task as a Step in a Workflow Definition
•
• A task is referenced in an activity as
a step in a workflow definition. A
task can refer to
A customer task/standard task
A workflow task/workflow
template.
•
• Within SAP Business Workflow you use
tasks for the following purposes:
• To use methods of an object type in a
workflow (Single step task)
• As a framework for defining a workflow
(Multistep task)
Creating a Workflow Task
•
• Single step task
• You use a Single step task to define an
activity that can be executed within a
workflow definition or independently. This
activity can be a transaction in the R/3
System.
• A single-step task can be part of a
workflow definition as a step of the type
activity.
Multiple step task
Workflow Definition
Step (Workitem)
Task
• Containers, with their table-like structures, are used to
contain values (constants) and object references for control
purposes for the workflow process and execution of work items.
•
Binding
• _WI_Object_ID _WI_Result
• _WI_Actual_Agent _Attach_Objects
• _Adhoc_Objects _WI_Group_ID
• _Workitem
Defining Single-Step Tasks
Object
Workflow Task
Method
Workflow Template
Condition
Allows for the ability to test the value of an
expression (normally a container variable).
This will generate a True/False branch and
associated events.
Multiple Condition
Allows for the ability to associate the value(s)
of an expression (normally a container
variable) with any subsequent events (along
with subsequent ‘Undefined’ steps).
Event Creator /Wait For Event
PA - Personnel Administration
Recruitment .
Personnel Administration .
Process Absence Approval .
Automatic Generation of Documents for HR
Applications Using SAP Business Workflow.
•Ques ti ons ?