Professional Documents
Culture Documents
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
Mostly this customizing activity is done by Basis team. Reason being that SAP user id used for this activity
should have SAP_ALL & SAP_NEW authorization.
Fig: Maintain Runtime Environment
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
We can maintain Workflow admin either as a Role/Org Unit/ Job/Position/Workcenter/User as seen above.
Whoever is maintained as WF Admin will get a notification mail in their business workplace (SBWP Tcode)
whenever a workflow runs into an error. Based on this notification mail relevant troubleshooting can be done.
An example error notification mail sent to WF Admin will look as below,
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
From above mail we can understand that for workflow WS92000001 triggering event TRIGGERWF
of business object ZBUS2012 is not maintained. Troubleshooting for this case will be to enable the
Linkage Activated checkbox in SWE2 Tcode. This checkbox enabling means that workflow is correctly
linked to the event & will look as below,
Fig: Event Linkage activation in SWE2 Tcode
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
Units of measurement and time that are used by the SAP System can be maintained here.
Schedule Background Job for Missed Deadlines:
Background Job SWWDHEX is executed regularly as per the time interval maintained in this
activity to check whether new deadlines have been missed since the last time it ran.
Schedule Background Job for Work Items with Errors
There are 3 possible error types in Workflow namely Temporary error, Application error and
System error.
Temporary Error:
Error that occurs when certain system resources are not available. For e.g. Personnel no to be
processed by approver is already being processed by another user.
Application Error:
Error that occurs when an error exists in the called application. For e.g. There is no authorization
to edit the object.
System Error:
Error that occurs if there are inconsistencies between the business object type definition and
the method call.
For e.g. Mandatory method parameters for the method call have not been set.
Background Job SWWERRE is executed regularly as per time interval maintained in this activity to,
Notify workflow system administrator in the event of application errors and system errors
Restart background workitems with temporary errors
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
Conditions for work item start and work item end is checked via a background job. Background job
SWWCOND is scheduled with the standard parameters in this activity.
Schedule Background Job for Event Queue:
Events used to trigger workflow are managed via Event queues. The background job for the event
queue is scheduled with the standard parameters in this activity.
Schedule background job for clearing report:
Background job SWWCLEAR is used to deletes all job logs of the following background job:
SWWCOND Work item rule monitoring
SWWDHEX Work item deadline monitoring
SWWERRE Work item error monitoring
After scheduling, the background is executed once a day at 00:00 hours.
Maintain Prefix Numbers:
An example WF template id will look as WS92100001. WS is the prefix which refers to Workflow
template id. Remaining 8 digits are made up of 2 parts. First 3 digits should be maintained manually
in this activity. Remaining 5 digits are generated automatically by SAP which is a running no. We can
define one prefix number per system (DEV/QAS/PRD) and client (100/200 etc...).
Check Number Ranges:
This check routine determines whether there is a number range for workflow tasks and customer tasks.
If the status of this check has the status error, we can correct the error as follows:
Use the report RSCLTCOP to copy all the content of the T77* tables from the client 000 into the
relevant client.
Carry out the Customizing for personnel planning and workflow again.
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
systems.
Maintain Additional Settings and Services:
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
Tasks in task groups related to above scenarios like Test Workflows etc are made as General Task.
Once Perform Automatic Customizing button is clicked, SAP system will maintain the customizing
activities automatically.
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
If a particular activity has been executed successfully the icon colour changes from RED to GREEN.
Later user can go to each activity & reset the default value to a different value. For e.g. 3 minutes is
default value for the background job for missed deadlines as below,
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
Based on our requirement we can manually change this value. Note that its MANDATORY to
ensure
that Maintain Runtime Environment activity & Maintain Definition Environment are GREEN in colour for
proper functioning of Workflows.
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
To perform automatic customizing for Maintain Additional Settings and Services, single click
on it and then click on perform automatic customizing button. Excluding manual activities
Maintain Web Server & Maintain Standard Domain for Internet Mail other activities will
be
maintained automatically. In case of Classify Tasks as General all 7 sub-activities under this
activity will be maintained automatically.
Verify automatic customization settings:
To verify the customization settings click on Start verification workflow icon as highlighted below,
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
This will start a verification workflow which will finally send a mail to our inbox (SBWP Tcode)
to inform whether customizations are correct or not.
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
Now a days, I am working on Workflow in PP and this document really helped me.
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)
SAP Business Workflow: Workflow Recipe for Passionate Starters - Part I (Spice up!!)