cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow - Work items in 'ready' status for an agent.

Former Member
0 Kudos

Hi All,

Is there a way to identify the work items in a particular status for an agent. i.e., The work items for the agent UTHOMAS in 'ready' status. Also the object key for which the work item is created ??

Thanks in advance

Uday S

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

Also look at table SWWWIHEAD in SE16. You can filter based on user & status. I think it should either directly show the run-time object or you can look at other SWWW* tables..& link them to get it.

Hope this helps.

Former Member
0 Kudos

Hi Uday,

You can view all the workitems in the system using the transaction SWI2_FREQ. Using this transaction you can check the status of all workitems and the assigned agents.

Thanks

Bhooma

Former Member
0 Kudos

SWI2_FREQ lists the work items by date, task and not by agents. Iam looking for a transaction/table which lists the work items based on agents and status. And also for each work item, the object key.

Thanks

Uday

Former Member
0 Kudos

hi Uday,

Use transaction :SWI1, here u can do the selection based on the status /task /date of the workitem .

i am not aware of selection of workitems based on agents.

Hope this is useful.

Regards,

Saujanya

pokrakam
Active Contributor
0 Kudos

Hello Uday,

SWI5 is what you're after. Just enter the agent (type US), and select 'To be processed by' and leave the date blank.

It will not show any object key. Though it may seem obvious at first it often doesn't make sense: a task can have many objects/container elements, which key are you after? So you have a decision (DECISION.PROCESS) with an invoice and a purchase order in the container - which is the key? DECISION is the task object, it has no key. Or what about a <something>.CREATE task?

SWI14 may help you here, but to really list tasks for agent for a specific object will involve some custom ABAP specific to certain tasks.

Hope that helps,

Mike

Former Member
0 Kudos

Thanks everyone.

FM SAP_WAPI_GET_WI_ALL returns the list of work items for the logged on user. The structure ' WORKLIST' contains the work items with thier statuses.

And from the table SWWLOGHIST, the field PARA VAL1 contains the object key. But would have to do a little string search to fetch the exact object key as the Object type and Cat ID are concatenated with the key. Ideally would like to avoid this, but looks like this is the only way for now.