Workflow workitem deletion

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
srinivas

hi srinivas,
Check this threads...
Re: abap workflow triggering
Cheers
Alfred
Reward with points for helpful answers.

Similar Messages

  • 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. Ahuja

    Hi 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.

  • Delete workflow workitem

    Hi Experts,
    How can i delete a workflow workitem? regardless of the status?
    Thanks.
    Best Regards,
    PRS Helpdesk

    Hi
    Good
    Use the tcode SWIA.
    Thanks
    mrutyun^

  • Log of workitem deleted

    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,
    Sushmitha

    Hi 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

  • Best Workflow for Deleting?

    Hi Folks.
    Would anyone like to suggest the best workflow for deleting files after a project? Let's assume that i have no future need for any of the captured footage or PE7 files. It would be helpful to know what the default locations are for all the footage and files that are now on my computer.
    Thanks, Stan

    In my book I recommend that, whenever you start a new project, you create a new folder for it. That way, all of your captured video, project files, rendered video and scratch files are in the same folder. Removing it all from your hard drive is as simple as deleting the folder.
    If you didn't do that, things get a bit more complicated. Once you've backed up what you want to keep, you can manually delete the captured video, rendered files, etc., from the sub-folders -- but you'll need to do it manually. Hopefully the files will be recognizable by the names you gave your project and capture files when you created them.

  • How to receive/execute workflow workitems in MS outlook

    Hi,
    I was told that it is possible to receive/execute workflow workitems in MS outlook or other supported mail clients (not SAP INBOX).   I have tried to research (SDN, OSS) and so far just found documentations to set up workflow notification to MS outlook.  Nothing about receive/execute workflow workitems.  I'd like to be able to set this up without buying a third-party vendor product.  I would really appreciate it if someone could give me some guidance on where to find some helpful documentations or some brief description how to configure this.
    Thank you.
    Jennifer

    Hi Jennifer,
    I've heard it could be possible with the SOAP adapter. I never used it but I found these links in SAP Help:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm">General info</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm">SOAP adapter</a>
    This should allow you to approve without direct access to SAP.
    If you want to execute with direct access to SAP you can use program RSWUWFML2 which allows you to send mails with executable attachments. But the user needs sapgui installed on his pc, and be able to reach the SAP system.
    Regards,
    Martin

  • Workflow Workitem approval from Handled Device.

    Hello,
    In SAP users will use handled device to approve SAP Workflow Workitems. Below are my questions.
    1. Is this possible with SAP Technology or we have to make use of some other application out of SAP.
    2. Is there any specific setting or configuration in SAP to enable users to approve workflow from Handled Device.
    3. Can link to SAP workitem be send in mail to  handled device and workitems can be opened from handled device.
    Any links or PDFs related to Handled Workflow Development / COnfiguration is much appriciated.
    Thanks in Advance.

    Hi,
    You will not be able to execute SAP work items in Blackberry or Iphone because of their technological restrictions. You have to develop BSP application and certain necessary customizing, SWNCONFIG, SCOT etc, have to be done.
    Regards

  • Issue in workflow - Logically Deleted Scenario

    Hi,
    We have an issue in Journal Entry Workflow. The user has tried to upload a document for Journal Entry Posting. Document is in Parked Status. In the workflow, when it has come to the required step of workflow approval and checks for the document type, it has got logically deleted. Thereby the workflow got terminated.
    Kindly let us know as how to proceed further. What would have been the reason for this automatic logical delete? Mail us the solution regarding the same.
    Regards,
    Veera

    Automatic Logical deletion ! I think this is not possible check with the log of the workitem whose user id is appearing then in the code check weter you have assigned any FM to locially delete the work item which is being trigered by mistake if not just start another WF and proceed with your work.
    Regards
    Bikas

  • 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
    BI

    Hi,
    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

  • Workflow gets deleted but dependant steps are not deleted

    Hi Experts,
    When OMR_DELETED event of BOR object ECO is raised, as per design the workflow instance is logically deleted. But all the dependant steps of the workflow are not getting deleted logically.
    Why is this happening?I mean why workitems generated for child steps are not deleted when parent workflow instance is logically deleted?
    Thanks,
    Sonali.

    Hi,
    as per design the workflow instance is logically deleted. But all the dependant
    steps of the  workflow are not getting deleted logically.
    Are you using wait to delete logically or through Function Module. Can you tell where you doing this.
    Regards,
    Surjith

  • 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

  • WorkItem Delete

    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,
    Elger

    Hi
    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

  • How do i create a workflow to delete tasks.

    I've created a workflow that will take the Title, Start Date, and End Date from one list (roomReserved) and then create a task on another list (centralCal) setup as a central calendar. When a yes/no checkbox is checked, it will then create the task on the
    centralCal. The problem I'm having right now is i am unable to remove or delete the task created in centralCal when the checkbox is unchecked.
    I way I'm trying to delete the task in the workflow is:
    if current item:checkbox equals no
    then delete item in centralCal
    in the "Choose List Item" popup menu
    I choose List:centralCal
    Find the List Item:
    Field: Title
    Value:
    Lookup for Single line of text (popup)
    Data source: Current Item
    Field from source: Title
    Return field as: string (greyed out)
    To make sure the correct item is deleted I'm comparing the titles from the roomReserved and centralCal.
    What I want the workflow to do is delete the task from centralCal if the checkbox is unchecked from roomReserved. Any idea's on how to change my workflow to fix this would be greatly appreciated.

    Hi James,
    I tried reproducing the issue in my environment. I created a list1 with two column: title and checkbox, a list2 with one column: title.
    I created two workflows in SharePoint Designer: workflow1, if current item checkbox field equals yes, create item in list2, title= current item title. Workflow1 start automatically when an item is created.
    Workflow2: if current item checkbox field equals no, delete item in list2. Choose List Item is set as below, and workflow2 starts automatically when item is changed.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Issue in workflow workitem that gets triggered to two users at one time.

    Hi All,
    Below are the query  details:
    Module:  HR
    Area:      Workflow
    Process: Hiring
    There is an workflow in HR module that is triggered when an hiring action is run against an candidate.
    There are two or three maximum approvers  which is based on the position to which the candidate is hired.
    Issue:
    During the hiring process some times the workitem is getting triggered to two users at once.
    One is the actual approver who should receive the workitem in his UWL and other is the user of our service center who is no where involved in the approval process.
    Analysis Done:
    We checked the workflow log and found that the actual approver's ID is getting displayed under agent and workflow is complete. But the other user's ID is no where shown in the log but he has received an workitem in his UWL that makes the issue still confusing.
    Awaiting for experts suggestions.

    Reply to Susan Questions:
    You say that 'the workitem is getting triggered to two users at once' - do you mean that there are two workflow instances that are being kicked off at the same time when the hiring action is performed? Or is it that the workflow is generating two tasks that go to these different users?
    Ans : There is a single task attached to the activity.
    Is this a custom workflow?
    Ans : Yes.
    Are you certain that the erroneous task is only going to the user in the service center, or is it perhaps going to everybody (marked as a general task)?
    Ans : The task is marked as general but the workitem is received by only one user of the service center at a time.
             As this issue has taken place 4 times in the past year all the 4 receiver were different belonging to different position.
    Reply to Pavan Questions:
    1. Did you try to check the SPRO settings with respect to Hiring Process ,is there any where based on the position does workflow is forwarding the workitem to the other user.
    2. Check the other user Roles and in the Org Structure where he is located , there could be a possibility of wrong position holding.
    Ans : We checked the org structure, but org structure of both the centers are different and independent there is no linkage    between the two.
    *3. IF you are using custom workflow then check if any standard workflow is also getting triggered. Check *
    Ans : Yes this is a custom workflow, but no other Standard workflow is being called.
    4. Check in the SWEHR3 is any custom entries maintained.
    Ans : No, entries are maintained in SWEHR3.
    Additional Info :
    The task that triggers the workitem has an send mail step before it.
    The send mail activity is to notify receiver that there is an workitem lying in the UWL.This mail is received by the actual user and not by the other one.The next step is the task that creates workitem which gets triggered totwo different IDs.
    This scenarios mostly has come up when the number of approver is 1. If the approver is more than 1 the  workflow runs fine without  deviating the workitem to any worng user.

  • Custom Workflow - BPEL - delete registered policies

    Hi all,
    I am trying to set up a custom workflow with the Oracle Beehive Custom Workflow Tutorial.
    After some difficulties I finally succeeded in deploying the BPEL-process. Only the integration with beehive does not (yet ;-)) work correctly.
    I need to redeploy the policy, since I would like to change the triggering eventtype. My first trial was to just add the policy once again - but it failed with 'A policy with the same name already exists.' Now I was trying to delete the policy - but that failed with 'No entity found the the given bodn'. 'Beectl list_policies' does not show my policy.
    How can I ever delete or lookup my registered policies?
    Thanks for any help.
    Regards,
    Bettina

    Hi Nickw..,
    Sorry for the multiple repeated updates... it happened because of the slow internet connection
    I am able to get the Worklist task now, but only for the CAPS lettered Users..!!
    The Audit section in the BPEL Console for this process looks like:
    <NAME>IFS_MESSAGE_SUBJECT</NAME>
    <VALUE>Checkout Request 88731 submitted in Content Services</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_REJECT_MSG</NAME>
    <VALUE>Choose <B>No</B> to Reject the request.</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_ECM_WORKFLOW_OWNER</NAME>
    <VALUE>ORCLADMIN</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_MESSAGE_HEADER</NAME>
    <VALUE>A Checkout Request has been submitted in Content Services. You are listed as a responder for this request. Your response is requested. <BR><BR>Request Details:<BR><BR><B> Requester </B> : ORCLADMIN<BR><B> Responders </B> : PRASANT PRASANT1 <BR><BR> For complete request details click here</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    1. I am able to get the heading the IFS_MESSAGE_SUBJECT as Checkout Request 88731 submitted in Content Services
    2. But nowhere i can find the IFS_MESSAGE_HEADER in the Worklist screen
    the following:
    For complete request details click here</VALUE>
    Where will be the issue..?
    Thanks in advance....
    and best regards,
    Prasant

Maybe you are looking for