Workflow Tips
Workflow Tips
Workflow Tips
SAP workflow is used for many different business scenarios. This blog will give tips and
tricks for the basis part of SAP workflow.
SAP has created an excellent FAQ note: 2214571 – Collection Note: Workflow
troubleshooting guides, FAQs and important notes. This is a good starting point for find
solutions to workflow issues.
Program RSWUWFML2 can be used to send reminders to workflow owners that they still
have open workflow items:
It is important to know that only reminders will be send in mail if the workflow owner user
ID’s mail address in maintained in SU01.
2149444 – RSWUWFML2 does not send all notification emails or send multiple
emails for the same work item
2457493 – Locked/invalid users still receive workflow notification emails
2889964 – Workflow Notifications: Emails being sent for old documents/ work items
2472157 – Work item description with HTML table in expression is not displayed
correctly
2689868 – RSWUWFML/RSWUWFML2: Improved locking
2715001 – RSWUWFML/RSWUWFML2: Suffix check, migration to new table
2785701 – Report RSWUWFML2: E-mails contain HTML tags
To change the message subject of a mail, create a new message in SE91. Example is class
Z_CUSTOM message 010 with text: “Gentle reminder of workflow”. Now put in field
message class for subject field the name of your class (Z_CUSTOM) and the message
number in message number for Subject:
Goto transaction SE61 and select text type Text in Dialog. First the default text
SWU_NOTIF_INBOX:
Now use the copy button to copy the text to a Z text. For example Z_SWU_NOTIF_INBOX.
Change the text as per you requirement and activate the text.
Now you can use this new text in the workflow reminder mail program:
SAP workflow inbox
Using transaction SOY5 or via program RSSOINBO you can get an overview of the amount
of workflow items per user:
See also OSS note 2422812 – How to delete workflow item from inbox and OSS
note 1705866 – “Logically Delete” for a large number of work items.
For execution of mass logical deletion in SWIA, you must select all items and in the
command area enter ADMC as command and press enter:
Please note: mass cancellation is possible. Mass completion not. Only via ABAP code. See
OSS note 2650820 – Mass complete work items manually.
Restarting workflows
Workflow tables start with SWW. They can grow very large in a productive environment. For
analysis see blog. For deletion and archiving see blog.
For activating workflow in a new system or after an S4HANA upgrade, please read this
dedicated blog.
Transport issues with workflow
Workflow development objects can give some issues in transports, since not all objects are
immediately put into a transport upon development.
If you have set a workflow task to general and want to transport it, use program RHMOVE30
to put it into a transport. For more background read this SAP blog.
Using transaction SBCS_EXTCOM you can setup forwarding for a user ID towards different
user ID as admin. This might be needed in case of illness of a user:
In the third tab of this transaction you can see if a user has setup a substitution himself.
If you get this error, increase the value Maximum node number in transaction SWPA:
Do not just increase, but read OSS note 2397114 – Workflow error “maximum number of
10,000 nodes reached”, which advices to check the workflow definition, before increasing
this value.