cancel
Showing results for 
Search instead for 
Did you mean: 

How to set status for work items

former_member696081
Participant
0 Kudos

Hello Friend's,

As per my client current scenario every work item will be sent to 3 useru2019s .If any one of the user click on work item it will automatically call a Ztransaction for further action. Here if the user has viewed the item and back to sap inbox by clicking the back push button(in Ztransaction) without any modification or taking the any action(SAVE) then the rest of other user (2 users ) work items are disappearing from other user SAP inbox.

But my client required that whenever the user click on back button it should be READY status to all the users and it should not disappear from other user SAP inbox.

Please provide me any advice to the above requirement.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member696081
Participant
0 Kudos

Thanks for all for your valuable inputs.

Former Member
0 Kudos

Hello Ranga,

that requirement is solved here:

But as it's quite an old one, it's hard to find here by the Forum's search option.

A more advance way could also make use of the work item exits.

Best wishes,

Florin

former_member193382
Active Contributor
0 Kudos

Hi,

As Arghadip said, it is standard SAP behaviour.

In your case you need to check for user action. So i think you might have designed your step as synchronous task. Make it asynchronous and define terminating events such as changed, saved, cancelled etc.

Now if the user performs any of those actions, only then the WI will be set to completed status or else it will remain in his/her inbox. I think this should do the job.

Regards,

Raj

Former Member
0 Kudos

This is the standard behaviour. When you click on the workitem SAP Understands you are taking ownership of this request. If you do not want this behaviour you can use deadline monitoring to change ths status to ready state provided the status was Executed.

You can use FM

SAP_WAPI_PUT_BACK_WORKITEM

Thanks

Arghadip