Академический Документы
Профессиональный Документы
Культура Документы
Alan Rickayzen
SAP AG
®
z Events
z Binding
z Methods
z Workflow system
z Agent assignment
z Diagnosis transaction
Page 1
Workflow System
Events
Application
Flow
Dataflow
RFC connections
User assignment
Legacy Systems BOR
®
Debug methods
z Event simulation
z Event log
z RFC queue
z Event creation in SWUE
z Instance linkage
Page 2
Event consequences
z Triggering workflows
z Terminating events
Wait steps
Asynchronous steps
Creating events
Page 3
Event simulation
Events can be
activated
Event items
too
Error codes
Object key
workflow
Not necessarily!
Page 4
Event trigger - SWUE
Avoid modifying
by hand.
Page 5
Event instance linkage
Compare key
with event log ®
Page 6
Binding
Technical trace
Lines can be
marked permanently
ContBindExecute
shows the binding
Page 7
Technical trace: Binding 1
Result of
the binding
Error messages
Binding definition
Page 8
Binding: Problem avoidance
Methods
Page 9
Test method - OSS note 83496
Debug switch
Navigation Input/Export
parameters
Exception
Workitem status
Page 10
Methods: Problem avoidance
z Use parameters,
never use secret container elements.
z Use exceptions wherever possible.
z Avoid standard exception macros other than
exit_return.
z Take care distinguishing between table/single element
items.
swc_get_element, swc_get_table_element, swc_set_element,
swc_set_table_element
Workflow
Page 11
Workitem technical information
Step log
History
Page 12
Error analysis
Error category
Action to perform
Application
Application
transaction
transaction
Object
Object links
links
Related
Related Process
Process
workitems
workitems participants
participants
and
and flows
flows
Application
Application Related
Related
transaction
transaction Objects
Objects
Page 13
Object links
Object links
from application
(QM/PM/SM, EC,FI)
®
Workflow version
visible in the
flow container
Page 14
Flow version: 4.0 onwards
Flow Version
Page 15
Agent assignment
Page 16
Diagnosis Transaction: SWUD
Diagnosis transaction
View flow
directly
Select for
analysis
Page 17
Intelligent Diagnosis
Diagnosis according
to flow definition
Test platform
Appropriate
tools
View components
directly
Page 18
2. Part: Performance Tuning for Workflow
z Workflow performance
z Workflow administration
z Workflow archiving
http://www.asug.com/
z Deutsche SAP Anwender Gruppe (DSAG)
Page 19
Improving Performance
z Development criteria
z Workflow runtime environment
z Inbox
z Coming up for free (4.5A)
QQWF_EVENT_NOTIF_CREATED
Page 20
Start workflow directly
Page 21
Avoid terminating events
Page 22
Optimize workflow data (cont’d)
Page 23
Improving Performance: System
Distribute work
Process 1
started here
RFC_server1
Application
Server 1
Update Task
Application
Server 2 RFC_server2
Workflow
Process 2
started here
started here
Page 24
Distribute work-processes
RFC_server2
Process 2 ®
started here
SAP AG 1998 M4 SAPTechEd ’98, Karlsruhe (Alan Rickayzen) / 49
WS001
RFC_server1 started here
RFC Destination
WS001
RFC_server1 RFC_server2
WS002
started here
Page 25
Isolate Workflow Processes
Workflow
Server
Page 26
OSS Performance notes
Page 27
Workflow Performance: Release 4.0
3.0C 3.0D
FI FI Execution
WI
WI Execution
3.0C
WI Confirmation
D 3.1G
BI1
BI Execution
B1 3.0C
BI Confirmation
3.0D
3.0C BI2
B2
BI Execution
3.1G
3.0C BI Confirmation
3.0D
Page 28
Administration
Customizing SWU3
Maintain separate
number ranges in the
production system
Page 29
Deadline Monitoring Exceptions
z Many deadlines
Switch from single case-oriented to permanent
z Several instances of SWWDHEX
Delete all instances with job overview (SM37)
Reschedule using SWU3
z No instances of SWWDHEX
Check selection with job overview (SWU3)
Reschedule using SWU3
Workitem Analysis
Always
Always check
check
Error Deadline that
that your
your
overview overview
deadline
deadline
calculation
calculation is
is 33
SWI2 minutes
minutes in
in
advance
advance ofof sy-
sy-
uzeit!
uzeit!
Page 30
Tasks without Agents
SWI4
rhwfotsk
Page 31
RFC queue
SM58
Check
Check for
for dumps
dumps for
for
the
the user
user WF-BATCH!
WF-BATCH!
Pay special attention to Batch
Batch items
items Status
Status
wf-batch
‘Started’
‘Started’ (SWI1)
(SWI1)
SMUF
Page 32
Summary: Administrator Duties
z Monitor errors/deadline.
z Workitems without agents.
z Monitor RFC queue and short dumps
(first productive week).
z Monitor workflow table space.
Page 33
Archive - Delete
Archiving
SARA
Workitem object
does not archive notes
(but they are deleted)
Page 34
Archiving
SARA
Process-specific archiving
T 00005
Page 35