SWWL - delete work item - approval preview log??

Hi all,
SRM 5.0 ECS.
We have implemented custom  n step approval wf for shopping cart .The shopping cart has PO and invoice created and the header status for shopping cart is approved.However now the workflow has restarted for the cart and I need to delete the work items from the approvers inbox.
If i delete the work items from SWWL transaction,will the shopping cart status still be "APPROVED"???
Is SWWL the best way to delete the work items??What will the approval preview for the shopping cart show after I delete the work item?

Once, Workfiow item is approved, Workitem disappears from inbox right..
Why do you use SWWL transaction to delete the workitems..
Can you elaborate the issue..Please.
Thanks,
Balaji.T

Similar Messages

  • Urgent what is the programs to delete work item history and work item

    hi gurus this is very urgent ,
    what is the programs to delete work item history and work item ?

    Hi Deppak.
    There is a program ,to delete an workitem and history
    RSWWHIDE---Program to delete the history.
    RSWWWIDE--- Program to delete an workitem.

  • Deleting work items in PTARQ in mass. Is this possible ?

    Hi
    I have a number of leave request work items that I need to remove/delete from Manager Inboxes in the portal.
    I have identified the work item #'s and am aware that I can remove these via SWWL in mass which is fine. In order to remove the reference to these leave requests from the UWL worklist in the portal also means that I need to remove these workflow instance #s/work items from PTARQ. However the issue I have is that the delete program RPTARQDBDEL does not allow me to enter in multiple work item numbers or even workflow instance #'s (which PTARQ seems to use).
    My question is how can I go about deleting these items from PTARQ in mass ?
    Might someone be able to help ?
    Thanks
    Nicola

    Hi,
    When the approver clicks the leave request approval item in UWL, it opens the leave request approval application. This application lists all leave requests with status SENT. So, if you delete the work item (with SWWL), yes - the work item disappears from UWL. Now if the manager opens some other work item, again the approval application lists all leave request. And since you did not delete the leave request from the database with PTARQ, it will be of course still included in the list.
    >PTARQ will remove any remaining details in the UWL
    >manager would see the skeleton information in the UWL list.
    So, these are not really correct. PTARQ does not delete anything from UWL. PTARQ deletes the leave request itself, and thus it will not be anymore in the approval application list of requests.
    So if you want to get rid of the whole "leave request package", you need to execute both PTARQ (to delete the leave request) and SWWL (to remove the item from UWL).
    Regards,
    Karri

  • How to delete work items

    Hi,
    I'm using XI 3.0 and am trying to delete some Work Items that are sitting in Error status.
    I've tried following OSS note 807906 but cannot see the menu items mentioned (specifically the Edit=>Change option) - can someone explain more clearly how to delete them?
    Thx
    Here is summary of OSS Note:
    "First make sure that the process is actually 'irretrieveably lost', that is, that it has not simply encountered a temporary error (for example, the failure of synchronous sending and so on).
    If you are certain that the process is no longer required, call the log of the affected process (using the process selection (SWF_XI_SWI1)) or the SXMB_MONI, ... and display the work item of the process (Workflows).
    Go to the technical work-item display (if this is not displayed by default) and then select Edit => Change there.
    Under 'Services for Administration', select the 'Logical Deletion' function.
    This function is used to set the process to the 'Logically Deleted' status and to delete all outstanding correlations. The process has then reached its final status and can also be archived"

    brian
    are u luking into deleting error messages. If yes then,
    SXMB_ADM --> Schedule/Delete Jobs
    Delete Messages SXMB_MONI

  • Delete Work Item from PO Releaser's Inbox during Workflow

    Hi All
    How can I delete the previous Work Item that was created in the PO Releaser's Inbox if a PO was changed which re-triggered the PO Release workflow but this time to a different PO Releaser.
    The workflow is working correctly, i.e. creating the new release item in the new releaser'd Inbox but not deleting the old Work Item for the previous releaser.
    Any idea on how I can accomplish this?
    Kind Regards
    Utian Goliath

    PLease refer the below stuff................create a task and put the code inside the method.This task should be fisrt step in your workflow.
    User sets doc to Complete from FBV2 , Complete event triggered and workflow triggered.
    Workitem goes to approver .
    Now , the user immediately changes doc from FBV2 , sets it to Complete again and workflow triggered
    workitem goes to the same approver for the same document.
    SAP_WAPI_WORKITEM_TO_OBJECT - Worklist table will giv all parent id's for the object key concatenation of
    com code , doc no and fiscal year.
    SWP_WORKFLOW_INSTANCE_DELETE - Pass the parent id and will delete the entire instance but not
    parent workitem id.
    SAP_WAPI_WORKITEM_DELETE - Pass parent id everything will be deleted .( Check_final_state = blank ).
    No trace found in SWI14 and SWI2_FREQ.
    To remove the previous workitem , create a method in the begining of the workflow , use F.M.
    SAP_WAPI_WORKITEM_TO_OBJECT to get the workflow id's and then
    SWP_WORKFLOW_INSTANCE_DELETE or SAP_WAPI_WORKITEM_DELETE to delete the previous instance.
    data : lt_worklist type table of SWR_WIHDR,
           lw_worklist type SWR_WIHDR,
           lv_objkey type SWOTOBJID-OBJKEY,
           lv_return type sy-subrc,
           lv_id type SWP_HEADER-WF_ID.
    concatenate object-key-sourcecompanycode object-key-documentn
    object-key-fiscalyear into lv_objkey.
    CALL FUNCTION 'SAP_WAPI_WORKITEMS_TO_OBJECT'
    EXPORTING
      OBJECT_POR                     =
       OBJTYPE                        = 'FIPP'
       OBJKEY                          = lv_objkey
      TOP_LEVEL_ITEMS                = 'X'
      SELECTION_STATUS_VARIANT       = 0001
      TIME                           =
      TEXT                           = 'X'
      OUTPUT_ONLY_TOP_LEVEL          = ' '
      LANGUAGE                       = SY-LANGU
      DETERMINE_TASK_FILTER          = 'X'
      REMOVED_OBJECTS                = ' '
    IMPORTING
       RETURN_CODE                    = lv_return
      TABLES
      TASK_FILTER                    =
        WORKLIST                       = lt_worklist
      MESSAGE_LINES                  =
      MESSAGE_STRUCT                 =
       if lt_worklist is not initial.
    loop at lt_worklist into lw_worklist.
      object-instance = 'X'.
    move lw_worklist-wi_id to lv_id.
    CALL FUNCTION 'SWP_WORKFLOW_INSTANCE_DELETE'
      EXPORTING
        WF_ID                         = lv_id
        DO_COMMIT                     = 'X'
    EXCEPTIONS
      WORKFLOW_DOES_NOT_EXIST       = 1
      OTHERS                        = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    ENDIF.
    Second way is to create a fork , and use wait for event step in it with the same event that is triggering the WFL
    In the same branch take a process control to end workflow instance.
    In the second branch carry out normal processing.
    Necessary branch = 1.
    So incase the user triggers the event again, a new instance will be created ,
    and in the previous instance , the first branch will follow ending the
    previous instance and the workitems of other branch will be logically deleted.

  • Delete work item - Sort Key

    Hi,
      How do I make a workitem have the ability to be trashed. Is it possible.
    How do I use the sort Key. Can I sort my work items based of a sort key.
    Any help is appreciated.
    Joe Vellaiparambil

    Hi Jose,
           as already said the only way to trash a WI is to archive it or delete it via SWWL (but it can be done only by the administrator).
    Anyway you can let your users reject the WI. To enable this feature, put a flag in the checkbox "Processing can be rejected" in the Control lable (Step Properties) of your activity in the workflow builer, you should also change the WF definition to manage this option. To refuse the execution the user will select the item in the workplace and use the icon beside the attachment management (if I don't mistake it's the one on the left).
    If I understand you also need to sort your WI in your workplace:
    Via SWL1 - "Dynamic Columns for Worklist" you can define upto 6 Task container variables that will be available as column in your workplace.
    If you go to your workplace in Inbox -> Workflow -> Grouped according to task you will see your WI organized by task, for each tasks you can change the layout of your worklist according to what defined in SWL1 so you will sort / filter / search as you prefer.
    Regards,
          Gianluca

  • Delete work items

    Hi All,
    I need to delete/archive work item from SAP Inbox for a particular task upto a specific date only.
    How can I do this.
    Regards,
    Neerja

    Hi,
    Delete in test system using RSWWWIDE and RSWWHIDE reports.
    Reports RSWWWIDE and RSWWHIDE are intended for internal use only. The work items are deleted from the database without further query or an authorization check. They can be started from the workflow development environment using the administration menu.
    In a production system, you must archive the work items before you delete them (transaction SARA), with the object 'WORKITEM'.
    Regards,
    Lim...

  • SRM archiving: Deleted work items

    Hi all,
    Transaction code: SARA
    Can somebody help, I've archived and deleted workflow items but now I need to be able get the agents names when reading the archived data which doesn't seem to be happening
    In the forntend system the approval overview is obviosly empty because its been deleted. In the backend system I'm using program RSWWARCR to read the archived data but this only gives heading for the workflow, how do I get the agents?
    Archive infostructure also gives just the last agent's username without any details on the action done by the agent. e.g
         ID         Task                     Last agent   CreateDate        Done On  
      78875     WS90000026     A72025       2004-11-23        2004-11-23
      78876     WS10000049     A72025       2004-11-23        2004-11-23
      78877     TS90100003      WF-BATCH  2004-11-23        2004-11-23
      78878                             2                     004-11-23          2004-11-23
    I'll really appreciate your help
    Thanks and Regards

    Hi Bennie,
    Not sure, but have you tried whether report RSWWARCP gives the required fields?
    If not, you could try to create a custom archive infostructure to include the fields which you want to read from archive. For this, you will have to create a custom field catalog to start with. You can refer note 994119 as an example for creating field catalogs.
    Hope this helps,
    Naveen

  • CcBPM- Error process instance and error work item

    Hi All,
       I i just listing donw my queries about ccBPM.
               1)  What is the difference betwen process instance and work item?
                       I am presuming that, during ccBPM runtime message creates process instance and one process instance can have n number work item. Pleae correct me if i am wrong.
             2) If one process instance is in error status, it means one of the work item is in error. is my undertanding right?
             3) How should i edit/delete work item?
             4) How should i edit/delete process instance?
    Thanks
    Rajesh

    1) What is the difference betwen process instance and work item?
    I am presuming that, during ccBPM runtime message creates process instance and one process instance can have n number work item. Pleae correct me if i am wrong.
    BPM comprises of many Steps. (Receive step, Send step, transform etc...) Durng runtime, A BPM is converted into SAP Workflow in the Background and gets executed. Hence all steps are referred to as WorkItems.
    YES. ccBPM runtime creates multiple instances.. one BPM instance for each inpu message
    2) If one process instance is in error status, it means one of the work item is in error. is my undertanding right?
    Each process instance is independent of the other. Sometimes, the workitems blokc the processing if the other. Hence when the workitems block the processing, they should be deleted using SWWL.
    3) How should i edit/delete work item?
    4) How should i edit/delete process instance?
    You cannot delete a process instance. But can delete the work items.
    -SM

  • Agent Inbox Work Items

    Hi Forum
    I have this problem whereby if an agent deletes an email in their agent inbox, it shsows that its deleted, but once you search again that same email that was deleted is shown in the result list
    Tried logging off and on but the deleted work item is still displayed in the Agent Inbox
    Ritchie

    Glen we are using crm5
    Note 908153 is applicable in our situation. BADI was implemented and it seems we need to add in method BEFORE_DELETE
    We need to provide coding on this
    Any idea how to achieve using R_DELETE_ALLOWED
    Ritchie

  • Work Items to PR Agents (Only one of two agents received)

    Dear all,
    I am facing a problem like this:
    In my PR Workflow, the task TS00007986 is assigned agents by position. There is one position applied for a particular release strategy and there are two agents under this position.
    Now, there is one PR created, it went to the correct release strategy and thus sent to the correct agent. However, only one of the agent is receiving that work item while the other don't. In another words, instead of sending to both the agents, only one received.
    In SWEL, the possible agents are showing both agents' names, but the icon "In User's Inbox" is only appearing on one of the agent.
    I would like to know, what would be the possible error for this and in such cases, how could I trace the errors?
    Thank you very much in all advances.

    Here's an update on this issue:
    For example, the two agents are Agent A and Agent B.
    I think Agent A and Agent B both received the work items. However, Agent A executed the work item but later canceled the action without processing the work item (approved or rejected the PR). When Agent A executed the work item, the same work item would be removed from Agent B's inbox, but it is still in Agent A's inbox.
    The problem is, the work item has yet to be processed. In this case, how this issue should be solved (only processed work item is removed from all the agents' inbox)?
    Thank you very much.

  • Pulling Multiple Approver Names from Workflow Logs for One Work Item

    I have a workflow design which requires multiple approvals per single work item.  I happen to have another functional design that is also pulling data from those same workflow logs.  Assuming I have multiple approvals at various levels for a single work item which table do I need to reference along with which fields to reference the different approvers per level of approval?

    Hello,
    The same tables. The principle is the same, just more agents.
    regards
    Rick Bakker
    Hanabi Technology

  • Work Item not getting logically deleted

    Hi All,
    We have created a custom workflow for PR approval at Item Level. I have RELEASE STEP CREATED as triggering event.
    I have used a FORK with 5 branches with 4 wait events and min cond as 1. The inherited business object ZBUS2009 has been created with events CHANGE, DELETED. The business object has been delegated to Original Business object BUS2009.
    To trigger the events like DELETED and CHANGED, I have used POSTED METHOD of ME_REQ_POSTED BADI.
    When a PR Item is created the agents are determined successfully and work item is placed in his SAP Inbox. Later the PR Item has been deleted and saved the BADI Implementation is triggered and I can see the log in SWEL for DELETED event with success icon.
    However when i go back to PR Item which i have deleted and see the workflow log the work item is still in the approver's inbox. but the graphic log shows that the DELETED branch of the fork is completed. I tried all options like Buffer synch, background job, queue admin etc with no success.
    I did the same workflow at one of my previous clients and it is working perfectly for last 2yrs.
    Can any one guide me on what could have gone wrong or what i am missing?
    Thank you all in advance for help...
    Regards,
    Lakshmi Narayana

    Hi Arghadip,
    Thanks for your quick response.
    The fork is having 5 parallel branchs and 1 necessary branch and is INDEED HAS NO EXTRA CONDITIONS.
    Also as i mentioned the graphical log shows that the completion of BRANCH Beneth DELETED but the work item is still in approver's inbox. 
    Please let me know if I am missing something....
    Rgds,
    Lakshmi

  • Work Item Not getting Deleted

    Hi
    We have a starge issue.
    We use the table SWWUSERWI to see all the work items in the user's inbox.
    If we delete the work item in this table it will remove the same from user's inbox.
    We have a problem now. Even after we deleted all the work items the SRM "Approval" link and the "Inbox" still contains Workitems( more than 200 ).
    Is there anyother table or tCode to find the work items in user's inbox'
    Thanks
    Siva.

    HI experts!!
    The issue is solved!!!
    The another user who is not with the company currenlty had maintained the user who had problem as substitue!!!.. we had to remove the substitute to solve the problem.
    Thanks
    Siva.

  • PO print-preview  for a PO with all  deleted line items

    Hello MM Gurus,
    I am not able to print preview of a PO for which i deleted all the line items. It gives me a message saying that no print relevant changes.
    Client need to print such POs. Client expects a text like "item cancelled " for deleted PO items.
    My understanding is that its standard SAP pre delivered customising however it is not working.
    Pls suggest.
    Regards,
    Pankaj

    Ask your ABAPer to modify the smart form, deleted materials wouldn't come for obvious reasons in standard system ... you need to get in customized/ developed.

Maybe you are looking for