Workitems - Deletion
Hi
My requirement is to delete workitems from the inbox of the particular user.
I am using function module SAP_WAPI_SET_WORKITEM_COMPLETD to delete the workitems.
But this function module delete the workitems(if it is same) from the inbox of all users.But i need to delete the workitem for a particular user even though it exists in other inbox also.
If i delete the workitems from users inbox , the workflow is going into error.how to avoid this.
Help me to solve this issue.
Hi Pandiyan,
If you send that SY-UNAME (ie.username) for the import parameter ACTUAL_AGENT, then it should be deleting those work-items for that person only.
<b>Reward points if this helps,</b>
Kiran
Similar Messages
-
Hi All,
Could anybody please tell me if it is possible to find out the log of the workitem deleted through tcode 'SWWL'?
Thanks in advance,
SushmithaHi Sushmitha,
I think SWWWIHEAD table will help you to get this information.
But once the workitem is deleted you will not be able to see its log.
To view its history i think you can run the workflow onec again.
Hope this will help you.
Regards,
Deepa Kulkarni -
SWWL - Workitem deleted by mistake
Hello All
A work item deleted by SWWL by mistake. I would like to know, is there a way to get back a deleted work item ? I would appreciate your quick response.
Thanks
BIHi,
Some how the system is generating duplicate workitem rarely
This can not be happen, deleting won't solve the problem. Can you tell which workflow & BO your using for which Requirement ? So it easy to analyze.
Regards,
Surjith -
Hi guys,
I have a question...
We have a use case (workflow) that has an And Split of two manual actions. The first manual action is an approval of 4 resources. The other manual action is an approval of one resource. This approval can be done by one or more approvers. If one of these approvers approves this manual action, the others don't have to anymore. The question is, how to implement this. OOTB, Identity Manager want all the approvers to approve before it continues its workflow. We got this far that is continues if one approver does the approval but the workitems for the other will not be removed (as it is not OOTB funtionality).
Do you guys have any idea how to implement this kind of customization? Any experiences yet on this?
Cheers,
ElgerHi
if the workflow is triggered for the same order ID.
The Workitem should delete in the runtime.
I don't know upto how much level this solution might help you but, I think the case with you is when ever you try to Change Order ID which is already existing for this order ID you don't want to trigger the Work Flow that means the possible cases are
1. You might have Assigned a wrong Triggering Event to the workflow.
2. What you can do is maintain a table in which insert a Flag field and make this *flag field to 'X' when ever for the first time the Wrokflow is triggered.
3.Some how if you can get that whether the Field is X or not so that as said in the earlier posts you can terminate the workitem or I hope you can make use of SAP_WAPI_SET_WORKITEM_COMPLETD Fucntion module -
Hi
I am triggering my workitem using FM SWE_EVENT_CREATE in this FM i am getting the event id but for my requirement i want the workitem id so any body tell me how to get the workitem id .
thanks
srinivashi srinivas,
Check this threads...
Re: abap workflow triggering
Cheers
Alfred
Reward with points for helpful answers. -
Delete/Undelete Workflow/Workitem
Hi Gurus
Is there any transaction to "Undelete" workitems/workflows which have been inadvertently deleted using transaction SWWL. We are on MySAP ERP 2004.
Thanks in advance.
T. AhujaHi Srinivas,
SWUE will not start from the point of logically deleted. It just create the event for the object u have used.
For restarting the workflow SWPR is the transaction.
If you want to see the history of workitem deleted you use the transaction SWWH.
Regards,
Amandeep Kumar. -
Deleted Shopping Cart awaiting approval
Greetings SRM Gurus,
I have a case of two shopping carts which are shown (under monitor shopping cart) as having been deleted, yet they are appearing in the users approval list as awaiting approval.
In the approval list they are greyed out so the user cannot approve them, and I need to know how to remove them from this list.
Simple really !!!!!
AdrianHi,
Use Transaction SWWL to delete work items from the specific User Inbox
Another way would be if you want the workitem to be removed from the approval inbox , then you need to find the workitem id through the workflow log.
Then run the function module 'BBP_PDH_WFL_DELETE' ( exact name i dont remember ) and give the workitem id as input.
Then the shopping cart will be removed from the approval inbox and also necessary changes will be made in the workflow log .
Related links ->
Re: Delete SC from BBPSC4 and no control is possible
Re: Delete Shopping cart from Sourcing cockpit?
delete workitem
Deleting mails from SAP Inbox
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
Hello Gurus,
My User says that he is having the Shopping Cart showing
in his Work List for a long time,and now he doesnt need the
SC any more.He wants the SC to be removed from his work list.
Help me in removing the SC from his work list.
Points Rewarded for the Help.
Regards
ArshadHi
<b>Two ways to do this -></b>
1) Use Transaction SWWL to delete work items from the specific User Inbox.
2) Please logon as Purchaser user (relevant for the purchasing group of your shopping carts) and see. thendelete all the Shopping Carts of the relevant user.
<b>Related links -></b>
Re: Delete SC from BBPSC4 and no control is possible
Re: Delete Shopping cart from Sourcing cockpit?
delete workitem
Deleting mails from SAP Inbox
Hope this will definitely help.
Regards
- Atul -
Dynamic Parallel Approval for HCM Process and Forms
Hi everyone,
I have a scenario where I need to use the "Dynamic Parallel Approval" (or to keep it simple, initially I tried using the "Parallel Approval" wizard)for a workflow used in the HCM Process and Forms.
The standard task for approval in process and forms is TS17900101. I have mentioned a multiline container in the Miscellaneous tab of this task. However,I was unable to use this task in the wizard. There are no results attahced to this task unlike any other standard approval task (like TS30200147). I need to use the task TS17900101 in the workflow assigned to process and forms, but not sure how to handle this scenario (parallel approval).
If this is not the right way of doing it, Is there any workaround for "Parallel Approval" in HCM Process and Forms.
Could anybody throw some light around this area.
Thanks for your help.
- MMThanks Anuj. But I believe, the container element that I add in the miscellaneous tab does not necessarily have to be used in the agent assignment. The multiline container is just to instantiate the workitem 'n' number of times. Correct me if I am wrong.
My concern is that I was unable to use this approval task (TS17900101) in the workflow wizard for dynamic paralle/parallel approval.
Arghadip - Thanks for your suggestion. I have seen some your nice contributions in the WF forum.
I actually tried using the 'Blocks'. But this is what I ran into. When I send multiple approval requests (say 3), if one person has approved it and the second has rejected it,I need to take out the workitem from the third person's list (because it has been rejected by someone in the group). I am not sure if this is possible using Blocks. And in my case the third person is still having the workitem, but gets a dump/error when he tries to open it.
Also, if any one has rejected the request, I do not have to wait for the rest to take any action on the workitem and proceed further. But I guess in 'Blocks' it will not let you go out unless every workitem has been processed.
To summarize,here's what I need - I need to come out of the block for two conditions. One, if everyone has approved, comeout of the block with an apprval flag. Two, if anyone has rejected (even if some have not processed their workitem), delete the workitems from others inbox and come out of the block with a rejection flag.
So, any kind of input or suggestions on how this could be handled would be highly appreciated.
Thanks
MM -
Read and Unread flag for Workflow entries in the inbox.
Hi there!
I was wondering if there is any mechanism or way to detect that the user have read a particular approval. else it will be mark as unread. It is of similar concept to our email as well as the Alert link in SRM. If this approval(item) is not accessed b4 by the user, it will be marked as unread in the workflow entries in the inbox. The field to reflect read and unread flag is a customize field, take note.
Points will be generously givem...
Jason.CHi
<u>Please refer to the links below -></u>
How to delete Missed Deadlines WorkItems from user's inbox.
delete workitem
delete workitem
Hope this will definitely help.
Do let me know, incase you need any other details.
Regards
- Atul -
Automatic deletion of workitem once the action is done.
Hi Team.
I have a small concern in Workflow,When the employee submits the Expense to admin for approval,the Admin has got 3 options
1.Approve
2.Review/Change
3.Reject.
When he selects the Approve or Review/Change and approves the Workitem its getting deleted from his Inbox.
But When he rejects the Expense with some comments its not getting deleted.
Could you please give some idea where exactly to check for workitem to get deleted.
PLease send the Solutions to [email protected]
Regards,
Pradeep P.
Edited by: pradeep penmatsa on Oct 31, 2008 10:56 AMif you want to set the workitem status from ready to complete then use the FM
SAP_WAPI_WORKITEM_COMPLETE
for this function module what you need to pass is Workitem ID and you can get it from SWWWIHEAD table
or if you want to delete them
SAP_WAPI_WORKITEM_DELETE -
Workitem should not be deleted
Hi experts,
In my workflow scenario, I have to send mail to multiple agents, that working fine. My problem is, if any of the agents executes the workitem from his sap inbox, the mail get deleted from the inbox of all the agents, which should not happen. Only the agent who execute the workitem, mail should be deleted from his inbox only.
Can any one help me on this please??Hi,
That is the standard behaviour of SAP Workitem. IF you want to keep teh workitem in his inbox then you should make use of Dynamic Parallel processing with a multiline container element which is availabel in the MIscellaneous tab,
All teh agents for whom you are sending the mail populate all teh user in a multiline container element and then assign this element in this field , once you do this a internal <CONATINER ELEMENT NAME>_LINE element will be created by the system, you assign this element in the Agents using EXPRESSION under control tab.
THis will dynamycally create parallel branches based on the number of agents populated in the mulitline container element. In this way you can make sure that the agents are having the workitem for each.
Regards
Pavan -
Delete Workitems in PI 7.1 at Transaction SXMB_MONI_BPE
Hello,
I am new here and working at an integration process at PI 7.1. While testing it, only one process instance produced many many workitems with status completed.
I recognized that all trials to start a new process instance failed, because the process engine assignes all new start messages to the already existing instance
Is there a possibility to delete all those completed Items in transaction SXMB_MONI_BPE or any other transaction? Or to kill the existing process instance?
Many thanks for your help!
Yours FranziskaHI ,
You can Logically Delete the Work Flow which means it will kill the execution of Work flow.
Use SXMB_MONI_BPE --> Process Selection --> select your workflow and click on button logically Delete workflow.
Normally you should not delete or manually complete the work flows.
Regards,
Anurag Garg -
Workitem not getting deleted from SAP inbox
Hi ,
I have a scenario in workflows , in which when a user creates a timesheet , a mail goes to approver , when the timesheet is approved the mail should get automatically deleted .
We have created a standard task for this purpose ( a copy of TS31000007) .
The business Object is CATS , terminating event is COMPLETED , method is APPROVE . There is no triggereing event a FM is being used .
The standard task is copied in two test environments , from first system the mail gets automatically deleted , but from the second one it is not getting deleted .
Also the workflow log in SWEL doesnt show any rows in the second system .
In the first system , there are 4 steps in the workflow log :
Dialog work item created
Background process started
terminating event received
work item processing complete
Though the workitem has deleted , but the status of the workflow is in Progress
while the second has only two steps in workflow log
Dialog work item created
Background process started
and the workflow status is "Ready"
I guess the terminating event in the second case is not getting received .
but ,I have checked sweinst and found that the instance linkage is activated .
Also when the workitem is approved , it does not get delete , and if we try to re execute it again , the gives a msg " NO data found "
Can someone help me to find why the mail is stuck in the inbox and correct this problem.
Thanks
SheetalUnless and until the Terminating event is triggered the workitem will not disappear. Check how the Event is getting triggered in other system. I feel it is getting triggered by standard means. Check whether there is proper settings in SWEHR3.
It means that you are not doing any special configuration for event triggering or coding. Please check what is missing in the system you are having problem. Check SWU3 setting is fine or not.
<b>Please close thread when issue resolved</b>
Thanks
Arghadip
Message was edited by:
Arghadip Kar -
How to delete a completed workitem logically or completely
Hi buddys,
Any one kindly help me how to delete a completed leave request work item completely or logically.
For example: An employee has allpied for leave and that has been apoproved by his/her manager and the same has been updated in the backend. Now the workitem status is completed. Now I need to delete the completed workitem either completely or logically.
I went to SWia and gave the workitem number and followed the procudere, but it is not happening.
Any one tell me how to delete this workitem
Regards
SiriTry through T.code SBWP.
Maybe you are looking for
-
HP t510 Thin Client and USB Printer Redirectiion
We have HP t510 thin clients connecting to server side XenCenter and running Windows 7 virtual sessions hosted on the server. We are trying to connect a USB lablewriter printer to one of the thin clients. On the t510 device, XEN Connection General Se
-
I can't get printer to work on iMAC!
It was working until I used the airport utility (1.3.3) on my iPhone to reconfigure my airport extreme to allow printer to connect to wifi via PIN. Now it works on phones and iPads and windows laptop but not iMAC. I have an HP Officejet 4622.
-
Code 110 Reason Error in HTTP Receiver adapter
Hello I am having proxy to HTTP Receiver scenario in which i am calling the target application URL through HTTP Receiver Adapter. This interface is async interface and hence i am not expecting any response from the target system. When i execute my in
-
Passing parameter in URL (forms 10g)
Hi, I'm using forms 10g (904) and I need to pass in a paramter when the form starts. I have created a parameter and it works when I debug. But when I run it on Oracle Application Server, how do I pass the parameter in the URL? I have tried ¶meter
-
Hi All, Please provide me some good documentation for tkprof with examples Thanks in Advance, Elangovan.S