SlideShare a Scribd company logo
1 of 44
Download to read offline
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

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

CRMUG Webinar - The Basics of Workflows in Dynamics CRM
CRMUG Webinar - The Basics of Workflows in Dynamics CRMCRMUG Webinar - The Basics of Workflows in Dynamics CRM
CRMUG Webinar - The Basics of Workflows in Dynamics CRMShane Wolf
 
SAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesSAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesWarren Eiserman
 
Building trust within the organization, first steps towards DevOps
Building trust within the organization, first steps towards DevOpsBuilding trust within the organization, first steps towards DevOps
Building trust within the organization, first steps towards DevOpsGuido Serra
 
ITIL-v3-Incident-Management-Process-PPT-RED.pdf
ITIL-v3-Incident-Management-Process-PPT-RED.pdfITIL-v3-Incident-Management-Process-PPT-RED.pdf
ITIL-v3-Incident-Management-Process-PPT-RED.pdfManishKumar526001
 
Pipefy Full Presentation
Pipefy Full Presentation Pipefy Full Presentation
Pipefy Full Presentation Felipe Scholz
 
Process Management by Jan Mohammed.pptx
Process Management by Jan Mohammed.pptxProcess Management by Jan Mohammed.pptx
Process Management by Jan Mohammed.pptxJanMohammed3
 
S/4HANA Migration Challenges and Use Cases Workshop
S/4HANA Migration Challenges and Use Cases WorkshopS/4HANA Migration Challenges and Use Cases Workshop
S/4HANA Migration Challenges and Use Cases WorkshopCelonis
 
The Evolution of Development Testing
The Evolution of Development TestingThe Evolution of Development Testing
The Evolution of Development TestingCathal King
 
Workflow, a brief overview
Workflow, a brief overviewWorkflow, a brief overview
Workflow, a brief overviewHansRontheWeb
 
Sap workflow adminsitration
Sap workflow adminsitrationSap workflow adminsitration
Sap workflow adminsitrationArghadip Kar
 
Oracle EBS Production Support - Recommendations
Oracle EBS Production Support - RecommendationsOracle EBS Production Support - Recommendations
Oracle EBS Production Support - RecommendationsVigilant Technologies
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testingRichard Bishop
 
Data-Driven Operations - Practice realtime data analyse
Data-Driven Operations - Practice realtime data analyse Data-Driven Operations - Practice realtime data analyse
Data-Driven Operations - Practice realtime data analyse Guixing Bai
 
05. itil v3 service operation 2020.pptx
05. itil v3 service operation 2020.pptx05. itil v3 service operation 2020.pptx
05. itil v3 service operation 2020.pptxzaledinwswd
 
Improving Performance Improvement (Market Requirements Document - MRD)
Improving Performance Improvement (Market Requirements Document - MRD)Improving Performance Improvement (Market Requirements Document - MRD)
Improving Performance Improvement (Market Requirements Document - MRD)Adam "AB" Bloom
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testingTricia Karina
 
Webinar: Keep Calm and Scale Out - A proactive guide to Monitoring MongoDB
Webinar: Keep Calm and Scale Out - A proactive guide to Monitoring MongoDBWebinar: Keep Calm and Scale Out - A proactive guide to Monitoring MongoDB
Webinar: Keep Calm and Scale Out - A proactive guide to Monitoring MongoDBMongoDB
 

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

CRMUG Webinar - The Basics of Workflows in Dynamics CRM
CRMUG Webinar - The Basics of Workflows in Dynamics CRMCRMUG Webinar - The Basics of Workflows in Dynamics CRM
CRMUG Webinar - The Basics of Workflows in Dynamics CRM
 
SAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesSAP Business Workflow - Best Practices
SAP Business Workflow - Best Practices
 
Building trust within the organization, first steps towards DevOps
Building trust within the organization, first steps towards DevOpsBuilding trust within the organization, first steps towards DevOps
Building trust within the organization, first steps towards DevOps
 
ITIL-v3-Incident-Management-Process-PPT-RED.pdf
ITIL-v3-Incident-Management-Process-PPT-RED.pdfITIL-v3-Incident-Management-Process-PPT-RED.pdf
ITIL-v3-Incident-Management-Process-PPT-RED.pdf
 
Pipefy Full Presentation
Pipefy Full Presentation Pipefy Full Presentation
Pipefy Full Presentation
 
Process Management by Jan Mohammed.pptx
Process Management by Jan Mohammed.pptxProcess Management by Jan Mohammed.pptx
Process Management by Jan Mohammed.pptx
 
S/4HANA Migration Challenges and Use Cases Workshop
S/4HANA Migration Challenges and Use Cases WorkshopS/4HANA Migration Challenges and Use Cases Workshop
S/4HANA Migration Challenges and Use Cases Workshop
 
Standard operating procedures (SOPs)
Standard operating procedures (SOPs)Standard operating procedures (SOPs)
Standard operating procedures (SOPs)
 
The Evolution of Development Testing
The Evolution of Development TestingThe Evolution of Development Testing
The Evolution of Development Testing
 
Itil process framework__rowe(40)
Itil process framework__rowe(40)Itil process framework__rowe(40)
Itil process framework__rowe(40)
 
Workflow, a brief overview
Workflow, a brief overviewWorkflow, a brief overview
Workflow, a brief overview
 
Sap workflow adminsitration
Sap workflow adminsitrationSap workflow adminsitration
Sap workflow adminsitration
 
Oracle EBS Production Support - Recommendations
Oracle EBS Production Support - RecommendationsOracle EBS Production Support - Recommendations
Oracle EBS Production Support - Recommendations
 
090 Process Mapping
090 Process Mapping090 Process Mapping
090 Process Mapping
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Data-Driven Operations - Practice realtime data analyse
Data-Driven Operations - Practice realtime data analyse Data-Driven Operations - Practice realtime data analyse
Data-Driven Operations - Practice realtime data analyse
 
05. itil v3 service operation 2020.pptx
05. itil v3 service operation 2020.pptx05. itil v3 service operation 2020.pptx
05. itil v3 service operation 2020.pptx
 
Improving Performance Improvement (Market Requirements Document - MRD)
Improving Performance Improvement (Market Requirements Document - MRD)Improving Performance Improvement (Market Requirements Document - MRD)
Improving Performance Improvement (Market Requirements Document - MRD)
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
Webinar: Keep Calm and Scale Out - A proactive guide to Monitoring MongoDB
Webinar: Keep Calm and Scale Out - A proactive guide to Monitoring MongoDBWebinar: Keep Calm and Scale Out - A proactive guide to Monitoring MongoDB
Webinar: Keep Calm and Scale Out - A proactive guide to Monitoring MongoDB
 

Recently uploaded

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 

Recently uploaded (20)

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 

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