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

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.

  • I have some content in my library that I do not want to sync with my ipod touch. The content has previously been synced and I want to remove it without deleting it from my itunes library. Is this possible?

    I have some music content in my itunes library that I do not want to sync with my ipod touch. The content has previously been synced and I want to remove it without deleting it from my itunes library. Is this possible?

    Hi Pez,
    iTunes in the Cloud is not iCloud. Any songs that you have purchased but have not downloaded (or have deleted), go to iTunes in the cloud. The setting I mentioned will show all of your purchases in the various views in the Music app, whether they are on your device or not. If you turn that setting off, you will only see items that are actually on your device.
    Glad to hear the second sync worked! But if they all start appearing again, make sure that setting is turned off
    Cheers,
    GB

  • 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

  • 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

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

  • 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

  • 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

  • "Also Display Work Items of Adopted Substitutions" - where is this option??

    Hi,
    When i use adopt substitution (Passive substitution) i am able to see the workitems of the absent user in my inbox. At the same time the workitems belonging to me disappears from my inbox. I have to manually End my Substitution to work on my workitems.
    I want to have all the workitems to be available in my inbox at the same time? (Just like a n active substitution) I found the below link and it states,
    http://help.sap.com/saphelp_nw04s/helpdata/en/8d/25f558454311d189430000e829fbbd/frameset.htm
    <b>Which work items the substitute is able to display depends on the setting <i>Also Display Work Items of Adopted Substitutions</i> on the <i>Customizing </i>tab page.
    If the setting is set, the substitute sees both their own work items and those of the absent user.</b>
    But i am unable to find the exact place to make this setting. Can some one help?
    Thanks,
    Prasath N

    The <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/45/a142428e999923e10000000a155106/frameset.htm">documentation from SAP</a> clearly states that this is a new option in NetWeaver 2004s, so unless you are using that version (or a later version when one arrives) you will not find it.
    Anyway, it seems that the option is available in your personal workflow settings as you say (inlcuding the customizing of defaults).

  • I have an iPhone 3G. I'm trying to find out how to retrieve accidentally deleted text messages on my phone. Is this possible?

    I have an iPhone 3G.  I need to know how to retrieve accidentally deleted text messages.  Is that possible?  Please say yes!  Thanks

    Myself and my girlfriend use the decipher textmessage program. She's on windows and I use the version for my macbook pro. It works cool and lets you save your text messages from your iphone to your computer. I've actually recovered a few deleted messages with it too which was helpful since I'm a laywer and needed them for work. Their site is:
    http://www.video-converter-mac.org/iphone-sms-recovery/
    Good luck! Hope you and your family are able to recover your sms messages!

  • Amending List content (deleteing & renaming) - Effect on previous created work items/reporting

    Hi, 
    I going to be changing the naming and structure of support groups and incident tier groups. I'd like to know what effect this has on all previously created work items and the reporting on those work items. 
    In addition, I am also adding list items to impact and risk list to change incident prioritisation settings and want to know the effect it will have on the live work items and historical work items.
    Cheers,
    Pete

    When you're thinking about editing enums in a live system, it's important to know a little but about how they work on the back end. 
    each enumeration entry essentially breaks down into a GUID and a display string; there are other properties, like Parent, Ordinal, InternalName etc, but those don't come in right now. when you use a console form to look at an incident, the control reads
    the GUID that is stored on the incident in the property in question, and then goes and collects the list that property references, and shows you the correct display string for your language. the specifics are not important, but the fact that what's stored
    on the incident is that system generated GUID is. when you edit a list, each entry has a unique GUID, that can't be changed or seen through the UI.
    Adding a new entry will add a new guid and a new display string. this option will be available the next time the form is opened. this works pretty much the way you would expect it to. 
    Renaming an enumeration keeps the GUID the same, but changes the display string. any incident with that GUID will see the new string, and the data warehouse will be updated with the new string, so
    historical incidents that had that value will now have the new display string.
    Deleting an enumeration will remove the entry from the list and break the mapping of that guid to the display string, but does nothing to the incidents that have that guid on them. the net-net of this is that any incident with that guid
    will have a value (i.e. not null) but it won't have anything to show to analysts, so it will look like it isn't set. the datawarehouse keeps those mappings even after they are deleted, so removing a mapping will not affect reporting. 
    the end of this is that you should re-classify any items before deleting an enumeration, you should only rename an enumeration if that new name makes sense for all work items for all of history. it is possible to reorder enumerations while keeping their
    GUIDs, but it requires some XMLing. I've posted about it elsewhere in this forum, so let me know if you need a link

  • 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

  • Visual Studio Tabs - Show Title instead of Work Item Number?

    When opening individual work items in Visual Studio, the tab in the document well just says "Task 100485" or "Bug 38374".  Is there a way to instead have it show the Title of the work item?  Just showing the number isn't really
    helpful when quite a few are kept open.

    Hi Brian,  
    Thanks for your post.
    We show view the work item Title in each opened work item form in VS. As the work item’s tab has fixed width in VS, so if show the work item Title in each work item’s tab in VS, it will costs the wide width, if work item’s title is long, maybe two or three
    work item tabs can show in VS at the same time.
    As far as I know there’s no default way to change work item’s tab show work item Title in VS. For this scenario, please
    submit it to User Voice site at: http://visualstudio.uservoice.com/forums/121579-visual-studio. Microsoft engineers will evaluate them seriously.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for