Professional Documents
Culture Documents
AB2002 - Business Workflow - v1.0
AB2002 - Business Workflow - v1.0
0
AB2002 - Business Workflow - v1.0
Business Workflow
Business Workflow
1 PrepareMe
2
TellMe
3
ShowMe
4
LetMe
5
HelpMe
Business Workflow
Business Workflow
1 PrepareMe
2
TellMe
3
ShowMe
4
LetMe
5
HelpMe
Workflow Definition
Workflow Definition
Aents are the people who pro!ess the tasks .via the work
items/. ;or e3ample' re4uisitioner an# a member of the
pur!hasin #epartment.
A s*stem user who parti!ipates a!tivel* in SAP Business
Workflow an# e3e!utes work items
"*pes of aents available
1 Possible aent
=ser who is orani5ationall* authori5e# to start a task an# e3e!ute the
asso!iate# work item
1 $esponsible aent
=ser assine# lo!all* to a step in the workflow #efinition
1 (3!lu#e# aent
=ser who is e3!lu#e# from pro!essin a work item
&ontainer
&ontainer
8ontainer is the pla!e where all the #ata use# in the workflow is !olle!te#.
Basi! !ommon #ata stru!ture of the various #efinition.
8ontainers have !ontainer elements for hol#in the followin0
1 >alues .8onstants/
1 Stru!ture
1 7b)e!t referen!es
1 8omple3 t*pes
"he !ontainer elements !an be use# to !ontrol the e3e!ution of work items an#
workflows.
"*pes of !ontainer0
1 Workflow !ontainer
1 "ask 8ontainer
1 (vent 8ontainer
1 :etho# 8ontainer
1 $ule 8ontainer
Binding
Binding
Bin#in #efinition0
1
Spe!ifi!ation of assinment rules #es!ribin the
assinment of #ata to a !ontainer element or the
e3!hane of #ata between two !ontainer element.
Business '!(ect Builder
Business '!(ect Builder
Workflow instantiation
8ommen!ement of a step
Sen# :ail0
"he sub)e!t
line of the
mail - E0
!hara!ters
at the ma3.
"o insert
8ontaine
r
(lements
"o enter
te3t in
mail
Step %ypes in Workflow
Step %ypes in Workflow
Sen# mail0
Within the "ask
.un#er the
876"$7C tab/
"he sub)e!t line of
mail shown in
Work item "e3t
"he :ail "e3t is
present un#er the
#es!ription "ab within
the "ask
Step %ypes in Workflow
Step %ypes in Workflow
8on#ition
$un time use0
- 8an be use# in a s!enario where further
!ourse of a!tion #epen#s on the !on#ition bein
true or false
8on#ition
Step %ypes in Workflow
Step %ypes in Workflow
Pro!ess 8ontrol
- "his !an be use# to !an!el the e3e!ution of a
work item or workflow or set a work item to
obsolete
- 2t fa!ilitates the alternate steps to be taken in the
pro!ess obsolete bran!h
Step %ypes in Workflow
Step %ypes in Workflow
Pro!ess 8ontrol0
"he options
available with
Pro!ess
!ontrol
"he workflow step is
to be mentione#
#epen#in on the
;un!tion !hosen
Step %ypes in Workflow
Step %ypes in Workflow
:ultiple 8on#ition0
Base# on the value of a workflow !ontainer
element one of the several bran!hes in
workflow is pro!esse#
:ultiple 8on#ition
Step %ypes in Workflow
Step %ypes in Workflow
(vent 8reator 0
- "o raise an event in the workflow
- <ata moves from workflow to event
Step %ypes in Workflow
Step %ypes in Workflow
Wait0
- "he s*stem waits for a spe!ifi! event to be
triere#
- "he work item is onl* !omplete# if the e3pe!te#
event o!!urs
Step %ypes in Workflow
Step %ypes in Workflow
;ork0
- =se# for the purpose of parallel pro!essin
- "he user !an #efine the number of parallel pro!esses an# how man*
shoul# be !omplete# for the ;ork to terminate an# workflow to
!ontinue
- "he fork !an be terminate# b* #efinin a !on#ition too
Step %ypes in Workflow
Step %ypes in Workflow
8ontainer operation0
-
;or the purpose of performin arithmeti!
operations or value assinments to workflow
!ontainer
-
8onstants an# #ata within workflow !an be use#
-
:ultiline operations are allowe#
Step %ypes in Workflow
Step %ypes in Workflow
A# ho! an!hor
- Aives user the option to sele!t between various
workflows at runtime
- "he steps of the sele!te# Workflow shall repla!e this
one
Step %ypes in Workflow
Step %ypes in Workflow
Web A!tivit*
- "he sele!te# !ontainer elements are poste#
usin the http proto!ol in an F:C or S7AP
messae
Step %ypes in Workflow
Step %ypes in Workflow
Subworkflow0
- An a!tivit* that refers to another workflow rather than a
task
=n#efine# Step0
-"hese !an be use# as pla!ehol#ers #urin #evelopment
- "he* are inore# at run time
&'N%A$N3. J B$ND$N7
&'N%A$N3. J B$ND$N7
What is a &ontainer
What is a &ontainer
8hoose subt*pe.
Save it.
'!(ect %ype Definition
'!(ect %ype Definition
Basi! #ata
1
Aeneral0 Super "*pe ' $elease ' Aeneration
1
8hane 9 "ransport
1
<efault 0 :etho# 9 Attribute
K 8ont#.
'!(ect %ype Definition
'!(ect %ype Definition ;contd**< ;contd**<
?e* ;iel#s
1 <etermines whi!h appli!ation table .s/ the #ata is save#
1 7ne or more ke* fiel#s !an be use#
1 8ombine# ke* fiel# values provi#e uni4ue i#entifi!ation for an
ob)e!t instan!e.
1 8an refer to a #atabase table or a view.
&ontdI
&reation of /ey fields
&reation of /ey fields
Attributes
1
Propert* of an 7b)e!t
1
Sour!e of 2nformation
<atabase ;iel#
>irtual
7b)e!t
1
:ulti Cine0
A multiple-line attribute !orrespon#s to an internal table use#
in ABAP
K 8ont#.
A data!ase attri!ute is A data!ase attri!ute is
defined with reference to a defined with reference to a
column ;not a key column< column ;not a key column<
of the related application of the related application
ta!le* ta!le*
A "irtual attri!ute is A "irtual attri!ute is
calculated with ABAP calculated with ABAP
code* code*
&reation of Attri!ute
&reation of Attri!ute
'!(ect %ype Definition
'!(ect %ype Definition !ont#.
:etho#s
1
<ialo%Ba!kroun#
1
S*n!hronous%As*n!hronous
1
;un!tion :o#ule
1
BAP2
1
"ransa!tion 8o#e
1
$eport
1
7ther
K 8ont#.
%ypes of methods
%ypes of methods
S*n!hronous metho#s0
2mport parameters
(3port parameters
(3!eptions0
1
"emporar* error
1
Appli!ation error
1
S*stem error
'!(ect %ype Definition
'!(ect %ype Definition 8ont#...
(vents
1
S*stem wi#e messae about a !hane in
state of an 7b)e!t
:o#ele# 0
Not accessi!le at runtime*
2mplemente#0
'nly in test or internal useB possi!ly unsta!le*
$elease#0
.eleased for use !y the customer*
7bsolete0
%he functionality has !een replaced* %he old
functionality is still supported for two releases*
5acros used during SAP
5acros used during SAP
'!(ect Programming
'!(ect Programming
8ontainer <e!laration 0
SW8P876"A26($ O!ontainerJ
8ontainer 2nitiali5ation 0
SW8P8$(A"(P876"A26($
O!ontainerJ
K 8ont#.
5acros used during SAP
5acros used during SAP
'!(ect Programming
'!(ect Programming !ont#.
"rier (vent0
1
2mpli!itl* via eneri! tools' for e3ample
!hane #o!uments' status manaement'
messae !ontrol et!
1
(3pli!itl* via fun!tion mo#ule
SW(P8$(A"(P(>(6"
3"ent %riggering9 Status &hange
3"ent %riggering9 Status &hange
3"ent %riggering9 5essage control
3"ent %riggering9 5essage control
8reate a separate output t*pe an# #e!lare B .workflow event/ as
transmission me#ium
8reate a !on#ition table
8reate a a!!ess se4uen!e
Assin the a!!ess se4uen!e to the #efine# output t*pe for a workflow
event
<efine !on#ition re!or#s an# #e!lare the event
Assin the output t*pe to a pro!e#ure
3"ent %riggering9 &hange Documents
3"ent %riggering9 &hange Documents
3"ent %riggering9 ABAP &ode
3"ent %riggering9 ABAP &ode
8all SW(P(>(6"P8$(A"(
$eportin
1
Work 2tem :onitorin
1
Work 2tem Anal*sis
1
Work loa# Anal*sis