Q
Problem solve Get help with specific problems with your technologies, process and projects.

How to immediately expedite workitems

I have some doubts regarding the status of the work items. I have designed a workflow template with some activities and a requested start date and requested end date (all are container elements). I am triggering this workflow template programmatically by calling the function module SWE_EVENT_CREATE and by passing the above dates as container elements.

I have some doubts regarding the status of the work items. I have designed a workflow template with some activities and a requested start date and requested end date (all are container elements). I am triggering this workflow template programmatically by calling the function module SWE_EVENT_CREATE and by passing the above dates as container elements. To my knowledge, there is a background job SWWDHEX scheduled for monitoring these workitems. From the transaction SWWA, I set the time interval for this job to 3 minutes (minimum allowed is 3 minutes). Because of this, workitems are delayed by a maximum of 3 minutes for transition from "Waiting" to "Ready" state. Sometimes this background job is much delayed due to other background jobs. But a client requirement says this is too much of a delay in getting the workitems. So, could you please guide me in achieving the desired result? I need to get the workitems in "Ready" state immediately in endusers SAP inbox.
Well, this is certainly one of the rare times that I have heard that a customer can not wait for 3 minutes for a workitem. Anyway, you can set up case specific deadline monitoring (SWU3). If you use that, it will schedule a job for each work item. This way the job will execute as soon as the deadline expires and thus trigger the workflow. Please understand that this may have a negative impact on the performance of your system if you have a high number of jobs triggering constantly. Having said that, if this requirement is important to your client, then they may be willing to 'wear' the performance hit.
This was last published in September 2003

Dig Deeper on SAP workflow development

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close