SlideShare a Scribd company logo
May 7 – 9, 2019
Tips and Tricks for Workflow Administration
Susan Keohan, MIT Lincoln Laboratory
Martin Maguth, MaxECM
Session ID 82919
About the speakers
Susan Keohan
• SAP Workflow Specialist
• You won’t believe I’ve been
working with SAP for 24
years
Martin Maguth
• Managing Partner at
MaxECM Solutions LLC and
long-time ASUG Volunteer
• Fun fact: Workflow Hacker
1.Basis and Runtime customizing
2.Workflow diagnosis
3.Workflow Reports
4.Event and traces
5.Real Life advice
Agenda
• The most important tasks of a workflow
administrator
• Key reports available for SAP Workflow reporting
• How to troubleshoot and diagnose errors
Key Outcomes/Objectives
Running SAP workflows
without a Workflow Administrator
is like
running SAP
without a Basis team
- Unknown Workflow Administrator
What is a Workflow Administrator anyway?
Your Workflow Administrator
• Makes sure that your workflow development and runtime
environment are properly configured and maintained on
an ongoing basis
• Coordinates workflow development and enhancements
• Is the point of contact for your users when workflows are
not behaving as expected
• Communicates issues to the basis and/or ABAP team if
changes in SAP are necessary
Introduction
1.Basis and Runtime customizing
2.Workflow diagnosis
3.Workflow Reports
4.Event and traces
5.Real Life advice
Agenda
Basis Customizing ( TX SWU3)
No exceptions!
Must be complete
Fun Fact: Edit System
Workflow Administrator
will identify you (or
someone else) as the
recipient of Workflow
error messages
Basis Customizing
• Workflow basis customizing is necessary to configure
the SAP workflow engine and its definition and runtime
environment
• Use transaction SWU3 to access basis customizing
• Basis customizing is generally a one time setup task
• MUST be completed BEFORE you start developing and
running workflows in your SAP system
Runtime Configuration (TX SWPA)
• Workflow runtime should be configured to
ensure best possible workflow performance
• Use transaction SWPA to access basis customizing
• Runtime customizing is also generally a one time
setup task and manages system data volume and
size, template levels, buffering, etc.
Runtime Configuration
Configure buffers, if
needed
Maintain data limits
In general, the
defaults you see
here are sufficient.
If you start to see
performance issues,
it’s worth revisiting
this transaction.
1.Basis and Runtime customizing
2.Workflow diagnosis
3.Workflow Reports
4.Event and traces
5.Real Life advice
Agenda
Workflow Diagnosis
• Workflow diagnosis allows you to run most diagnosis and
setup steps from one screen for a workflow template
• Use transaction SWUD to access workflow diagnosis
• Transaction allows you to execute troubleshooting for a
template based on certain symptoms, e.g. workflow is
hanging or not started
• Should be run before a workflow template is activated in
SAP production and monitored on an ongoing basis for
frequently used workflow templates to detect issues early
Workflow Diagnosis - SWUD
Perform specific
troubleshooting steps
for a template.
Use this when a new WF
Template goes to Prod!
1.Basis and Runtime customizing
2.Workflow diagnosis
3.Workflow Reports
4.Event and traces
5.Real Life advice
Agenda
Workflow Reports
• SWI2_FREQ Work Items per Task
• SWI1 or SWIA more granular, with more Admin options
• SWI2_DIAG Workflows with Errors
• SWI2_ADM1 Work Items Without Agents
• SWI2_ADM2 Work Items with Deleted Users
SWI2_FREQ
No matter which way
you use to get there,
you’ll end up looking at
the WF Log
SWI2_FREQ
From the Workflow
reports, you can
perform many
administrative actions
Workitems without users (TX SWI2_ADM1
Select step and
perform user
determination,
forward, etc.
“Just do it”– Execute items without check
• Workflows can get “stuck” when no agent can be
determined or when the selected agent is not available to
execute the item
• Use transaction SWIA to access and execute the work
items without agent check
• This transaction can be used by administrators to continue
with a workflow that has been put on hold and cannot
continue; the administrator can access and execute a work
item even if he/she is not the selected agent for the step
“Just do it”– Execute items without check (TX SWIA)
Execute items as an
administrator or
complete manually
1.Basis and Runtime customizing
2.Workflow diagnosis
3.Workflow Reports
4.Event and traces
5.Real Life advice
Agenda
Event Trace – What’s going on?
https://www.youtube.com/watch?v=H-
kA3UtBj4M
“What’s going on?” – Event trace
• If a task or template is supposed to be triggered or
terminated by an event, the failure of the event will
result in incorrect or no processing of the task
• This can be a result of the event not being raised or a
failure in the event processing, such as bindings,
check functions, incorrect linkage, etc
• The event trace is a technical tool that gives you
details about the processing of the event, publishing,
and receivers
Event Trace: What’s going on?
• Use transaction SWELS to start and stop the
event trace
• Use transaction SWEL to access the event trace
• Remember to turn on the trace only when
needed and to turn it off after usage
• Use SWEQADM to access event queue, if active
“What’s going on?” – Event trace
Drill into the event log
for more details
“What’s going on?” – SWEQADM
You have the ability to
re-deliver any events
stored in the event
queue
1.Basis and Runtime customizing
2.Workflow diagnosis
3.Workflow Reports
4.Event and traces
5.Real Life advice
Agenda
Real life advice
• Spending time getting to know the Workflows in
the development process will be invaluable
• The majority of issues will be with Agent
Determination (make sure your WF Developer
uses ‘Terminate if no agent found’ or some such
logic
Scenario 1 - Where’s my approval
• Whenever possible, get the document/object/cart
number!
• Run your favorite WF report – Drill in to see multiple
instances of the WF, identify the one in question
• Someone may have reserved the task (or already
executed it)
• WF has not yet reached their level of approval
• Check to see if user is logged on to the correct system, because, hey, it happens
Scenario 1 - Where’s my approval
• … Here’s where your in depth knowledge of HOW
a workflow finds an approver will come in handy.
You may need to know about Agent Resolution,
HR Org structures, Rules and Responsibilities.
Scenario 2 - Why did or So-and-So get this?
• You can view what is in a user’s inbox with
transaction SWI5
– Was it forwarded to them?
• Check Substitutions (table HRUS_D2)
– Are they a substitute for the actual agent?
Scenario 3 – It’s dead, Jim
A user may call and say ‘The workflow for XXX isn’t
flowing”
SWI2_DIAG will show you any workflows that have gone
into error.
Scenario 3 – It’s dead, Jim
Scenario 3 - It’s dead, Jim
• Check for Short Dumps
• Check for RFC calls
• If dialog task, check for Agent Resolution
Daily checklist
• SWI2_DIAG – All WFs in error
• SM58 – failed RFC calls
• ST22 – Short Dumps
Take the Session Survey.
We want to hear from
you! Be sure to complete
the session evaluation on
the SAPPHIRE NOW and
ASUG Annual Conference
mobile app.
Access the slides from 2019 ASUG Annual Conference here:
http://info.asug.com/2019-ac-slides
Presentation Materials
Q&A
For questions after this session, contact us at [email] and [email].
But wait, that’s not all!
But wait, that’s not all!
But wait, that’s not all!
But wait, that’s not all!
Let’s Be Social.
Stay connected. Share your SAP experiences anytime, anywhere.
Join the ASUG conversation on social media: @ASUG365 #ASUG

More Related Content

DOCX
Workfolw transactions
PPT
07 b 01workflowdefinition
PPT
About work flow
PDF
SAP Business Workflow - Best Practices
PPT
05 a 01workflowarchitecture
PPT
07 a 01templates
PPT
03 01 whatisworkflow
PPT
Business workflow
Workfolw transactions
07 b 01workflowdefinition
About work flow
SAP Business Workflow - Best Practices
05 a 01workflowarchitecture
07 a 01templates
03 01 whatisworkflow
Business workflow

Similar to ASUG82919 - Tips and Tricks for Every Workflow Developer or Administrator for SAP Software.pdf (20)

PDF
Methods To Leverage SAP Workflow
PPT
05 b 01workflowcustomizing
PPT
09 01 tasks
PPT
The cornerstones of SAP workflow
PPTX
SAP TECHNICAL Workflow CREATIONPPT.pptx
PDF
General Workflow an introduction
PPTX
Automate business processes using SharePoint Designer Workflows
PDF
Modelling your Business Processes with Resolver Core
DOCX
An introduction to sap business workflow
PDF
Pdf mbs workflow
PPTX
SAP workflow events
PDF
Jad approach and workflow definition template
PDF
DF2UFL 2012: Workflows: Making the MOST of Salesforce.com Native Functionality
PPT
04 01 workplace inbox
PDF
What is a Workflow A Beginners Guide to Workflow Management
PPT
Sue Keohan presents at BPX Day: Successful Collaboration between Business and IT
PPT
15 a 01 reporting
PDF
2000 09 dh,mm,mts,mz m (xml world 2000) wf-xml tutorial
PPTX
Discovery and Analysis for Case Management
PPT
Workflow-technology-tutorial-amia12-vojtech-huser-harm-scherpbier-
Methods To Leverage SAP Workflow
05 b 01workflowcustomizing
09 01 tasks
The cornerstones of SAP workflow
SAP TECHNICAL Workflow CREATIONPPT.pptx
General Workflow an introduction
Automate business processes using SharePoint Designer Workflows
Modelling your Business Processes with Resolver Core
An introduction to sap business workflow
Pdf mbs workflow
SAP workflow events
Jad approach and workflow definition template
DF2UFL 2012: Workflows: Making the MOST of Salesforce.com Native Functionality
04 01 workplace inbox
What is a Workflow A Beginners Guide to Workflow Management
Sue Keohan presents at BPX Day: Successful Collaboration between Business and IT
15 a 01 reporting
2000 09 dh,mm,mts,mz m (xml world 2000) wf-xml tutorial
Discovery and Analysis for Case Management
Workflow-technology-tutorial-amia12-vojtech-huser-harm-scherpbier-
Ad

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
System and Network Administraation Chapter 3
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Introduction to Artificial Intelligence
PPTX
history of c programming in notes for students .pptx
PDF
System and Network Administration Chapter 2
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
System and Network Administraation Chapter 3
How to Migrate SBCGlobal Email to Yahoo Easily
Introduction to Artificial Intelligence
history of c programming in notes for students .pptx
System and Network Administration Chapter 2
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Operating system designcfffgfgggggggvggggggggg
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Odoo Companies in India – Driving Business Transformation.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
wealthsignaloriginal-com-DS-text-... (1).pdf
PTS Company Brochure 2025 (1).pdf.......
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Ad

ASUG82919 - Tips and Tricks for Every Workflow Developer or Administrator for SAP Software.pdf

  • 1. May 7 – 9, 2019 Tips and Tricks for Workflow Administration Susan Keohan, MIT Lincoln Laboratory Martin Maguth, MaxECM Session ID 82919
  • 2. About the speakers Susan Keohan • SAP Workflow Specialist • You won’t believe I’ve been working with SAP for 24 years Martin Maguth • Managing Partner at MaxECM Solutions LLC and long-time ASUG Volunteer • Fun fact: Workflow Hacker
  • 3. 1.Basis and Runtime customizing 2.Workflow diagnosis 3.Workflow Reports 4.Event and traces 5.Real Life advice Agenda
  • 4. • The most important tasks of a workflow administrator • Key reports available for SAP Workflow reporting • How to troubleshoot and diagnose errors Key Outcomes/Objectives
  • 5. Running SAP workflows without a Workflow Administrator is like running SAP without a Basis team - Unknown Workflow Administrator What is a Workflow Administrator anyway?
  • 6. Your Workflow Administrator • Makes sure that your workflow development and runtime environment are properly configured and maintained on an ongoing basis • Coordinates workflow development and enhancements • Is the point of contact for your users when workflows are not behaving as expected • Communicates issues to the basis and/or ABAP team if changes in SAP are necessary Introduction
  • 7. 1.Basis and Runtime customizing 2.Workflow diagnosis 3.Workflow Reports 4.Event and traces 5.Real Life advice Agenda
  • 8. Basis Customizing ( TX SWU3) No exceptions! Must be complete Fun Fact: Edit System Workflow Administrator will identify you (or someone else) as the recipient of Workflow error messages
  • 9. Basis Customizing • Workflow basis customizing is necessary to configure the SAP workflow engine and its definition and runtime environment • Use transaction SWU3 to access basis customizing • Basis customizing is generally a one time setup task • MUST be completed BEFORE you start developing and running workflows in your SAP system
  • 10. Runtime Configuration (TX SWPA) • Workflow runtime should be configured to ensure best possible workflow performance • Use transaction SWPA to access basis customizing • Runtime customizing is also generally a one time setup task and manages system data volume and size, template levels, buffering, etc.
  • 11. Runtime Configuration Configure buffers, if needed Maintain data limits In general, the defaults you see here are sufficient. If you start to see performance issues, it’s worth revisiting this transaction.
  • 12. 1.Basis and Runtime customizing 2.Workflow diagnosis 3.Workflow Reports 4.Event and traces 5.Real Life advice Agenda
  • 13. Workflow Diagnosis • Workflow diagnosis allows you to run most diagnosis and setup steps from one screen for a workflow template • Use transaction SWUD to access workflow diagnosis • Transaction allows you to execute troubleshooting for a template based on certain symptoms, e.g. workflow is hanging or not started • Should be run before a workflow template is activated in SAP production and monitored on an ongoing basis for frequently used workflow templates to detect issues early
  • 14. Workflow Diagnosis - SWUD Perform specific troubleshooting steps for a template. Use this when a new WF Template goes to Prod!
  • 15. 1.Basis and Runtime customizing 2.Workflow diagnosis 3.Workflow Reports 4.Event and traces 5.Real Life advice Agenda
  • 16. Workflow Reports • SWI2_FREQ Work Items per Task • SWI1 or SWIA more granular, with more Admin options • SWI2_DIAG Workflows with Errors • SWI2_ADM1 Work Items Without Agents • SWI2_ADM2 Work Items with Deleted Users
  • 17. SWI2_FREQ No matter which way you use to get there, you’ll end up looking at the WF Log
  • 18. SWI2_FREQ From the Workflow reports, you can perform many administrative actions
  • 19. Workitems without users (TX SWI2_ADM1 Select step and perform user determination, forward, etc.
  • 20. “Just do it”– Execute items without check • Workflows can get “stuck” when no agent can be determined or when the selected agent is not available to execute the item • Use transaction SWIA to access and execute the work items without agent check • This transaction can be used by administrators to continue with a workflow that has been put on hold and cannot continue; the administrator can access and execute a work item even if he/she is not the selected agent for the step
  • 21. “Just do it”– Execute items without check (TX SWIA) Execute items as an administrator or complete manually
  • 22. 1.Basis and Runtime customizing 2.Workflow diagnosis 3.Workflow Reports 4.Event and traces 5.Real Life advice Agenda
  • 23. Event Trace – What’s going on? https://www.youtube.com/watch?v=H- kA3UtBj4M
  • 24. “What’s going on?” – Event trace • If a task or template is supposed to be triggered or terminated by an event, the failure of the event will result in incorrect or no processing of the task • This can be a result of the event not being raised or a failure in the event processing, such as bindings, check functions, incorrect linkage, etc • The event trace is a technical tool that gives you details about the processing of the event, publishing, and receivers
  • 25. Event Trace: What’s going on? • Use transaction SWELS to start and stop the event trace • Use transaction SWEL to access the event trace • Remember to turn on the trace only when needed and to turn it off after usage • Use SWEQADM to access event queue, if active
  • 26. “What’s going on?” – Event trace Drill into the event log for more details
  • 27. “What’s going on?” – SWEQADM You have the ability to re-deliver any events stored in the event queue
  • 28. 1.Basis and Runtime customizing 2.Workflow diagnosis 3.Workflow Reports 4.Event and traces 5.Real Life advice Agenda
  • 29. Real life advice • Spending time getting to know the Workflows in the development process will be invaluable • The majority of issues will be with Agent Determination (make sure your WF Developer uses ‘Terminate if no agent found’ or some such logic
  • 30. Scenario 1 - Where’s my approval • Whenever possible, get the document/object/cart number! • Run your favorite WF report – Drill in to see multiple instances of the WF, identify the one in question • Someone may have reserved the task (or already executed it) • WF has not yet reached their level of approval • Check to see if user is logged on to the correct system, because, hey, it happens
  • 31. Scenario 1 - Where’s my approval • … Here’s where your in depth knowledge of HOW a workflow finds an approver will come in handy. You may need to know about Agent Resolution, HR Org structures, Rules and Responsibilities.
  • 32. Scenario 2 - Why did or So-and-So get this? • You can view what is in a user’s inbox with transaction SWI5 – Was it forwarded to them? • Check Substitutions (table HRUS_D2) – Are they a substitute for the actual agent?
  • 33. Scenario 3 – It’s dead, Jim A user may call and say ‘The workflow for XXX isn’t flowing” SWI2_DIAG will show you any workflows that have gone into error.
  • 34. Scenario 3 – It’s dead, Jim
  • 35. Scenario 3 - It’s dead, Jim • Check for Short Dumps • Check for RFC calls • If dialog task, check for Agent Resolution
  • 36. Daily checklist • SWI2_DIAG – All WFs in error • SM58 – failed RFC calls • ST22 – Short Dumps
  • 37. Take the Session Survey. We want to hear from you! Be sure to complete the session evaluation on the SAPPHIRE NOW and ASUG Annual Conference mobile app.
  • 38. Access the slides from 2019 ASUG Annual Conference here: http://info.asug.com/2019-ac-slides Presentation Materials
  • 39. Q&A For questions after this session, contact us at [email] and [email].
  • 40. But wait, that’s not all!
  • 41. But wait, that’s not all!
  • 42. But wait, that’s not all!
  • 43. But wait, that’s not all!
  • 44. Let’s Be Social. Stay connected. Share your SAP experiences anytime, anywhere. Join the ASUG conversation on social media: @ASUG365 #ASUG