Trying to delete bpm workflow items using SWWL

Hi All,
I'm trying to delete workflow items of a BPM that is stuck. I'm  using SWWL for this.
However, I get the following error:
Work item 000000002255 locked by user WF-BATCH.
(enqueue error)
How do I delete this locked work item??
I'm suspect that this is causing all my other BPM's to get stuck waiting forever. These other BPM's were working correctly earlier.
Thanks!
Harsh

HI,
Try completing it manually from SWIA. also check for SM58 (enter WF-batch for user in selection screen) and complete the LUW manually.
alwo try SAP_WAPI_Workflow_resume or resume_workflow. pass the instance id of workflow (not workitem)
Regds,
Nilesh

Similar Messages

  • ITunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide

    iTunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide from cloud - the files that do not upload show grayed out on my other devices.

    Have you confirmed that you successfull purged iTunes Match by also looking on an iOS device?  If so, keep in mind that Apple's servers may be experiencing a heavy load right now.  They just added about 19 countries to the service and I've read a few accounts this morning that suggests all's not running perfectly right now.

  • Deleting all workflow  items from SAP inbox

    hi ,
    I'm doing some Workflow testing and I've got a bunch of work items in my
    Inbox.  Is there a utility I can run that will just delete all of the work
    items in my Inbox, regardless of the status?
    any suggestions????
    thanks in advance for your kind attention.
    Ashish

    So if I don't want a user to receive a particular Workflow message everyday, how can I cancel that? Can someone tell the transaction code and procedure to do this?
    Thanks
    > Ashish,
    >
    > In Dev & Test environments you can delete work items
    > using txns SWWL or SWWL_TOPLEVEL (Menu Path: Tools ->
    > Business Workflow -> Development -> Administration ->
    > Workflow Runtime -> Reorganization). However it is
    > not recommended to do this in Production. You cancel
    > the Workflow in Production
    >
    > Cheers,
    > Ramki Maley.
    >
    > Please reward points if the answer is helpful.
    > For info on awarding points click on this link:
    > https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.ht

  • Strange issue while trying to delete files - locked item that I can't find

    I am working on clearing off some hard drive space, and my first step was to remove some unneeded items from an external HD to make some space there. When I drag the folder I'm trying to delete to the trash, I first get a message that the items will be immediately deleted (I think because my internal HD is quite full?) and that's fine because I do want to delete these, so I say OK. It starts the process of deleting, and counting how many files it's deleting, then gives me a message that the operation cannot be completed because item "xx" is locked. The only solutions I have found on here involve unlocking "xx" but my problem is, when I search the computer and/or the external for item "xx" nothing is found. I'm really not sure if the issue with item "xx" is an issue with the drive or with the computer, or what to do about it?? If it's the drive, I suppose I could back up what I do want to save from the drive then re-format it?? Any help would be greatly appreciated, and please word any answers as if you are speaking to a complete idiot, because with regards to this kind of information, you are! Thanks!

    Ah, I see now.
    HOWTO: find and unlock locked files scattered on your Mac OSX local and removable hard drives
    http://webpageauthority.wordpress.com/2010/04/26/howto-find-and-unlock-locked-fi les-scattered-on-your-mac-osx-local-and-removable-hard-drives/

  • Trying to delete my Contacts Storage using Clear Data button however it's Unavailable

    Just recently upgraded to a Droid Razr (been a long time blackberry user) and really just beginning to understand some of the features.  During the initial setup I didn't handle my contacts the way I would have preferred and would like to start over.  From what I can decipher, I should be able to go to Settings>Applications>Storage Use> and then chose "Contacts Storage" to completely delete my contacts via the "Clear Data" button.
    However, the "Clear Data" button is grayed out and unavailable.  I've tried using "Force Stop" thinking that if this application currently had the data in an open state then that might be why is was unavailable.  However, it doesn't appear that "Force Stop" ever actually stops the application and it certainly doesn't allow me to chose "Clear Data" afterwards.
    Does anyone know how I could either make the "Clear Data" button available or another method to completely remove my contacts?
    Some other info that might be helpful:
    Hardware: Droid Razr
    Android Version: 2.3.6
    Data Size: 31.29MB
    I do not want to "root" my phone at this time.  If I were going to make a wild guess, I think it could be related to Backup Assistant (same idea that if an application has locked the data, it's not read/writable).  However, I don't see any way in the phone to disable Backup Assistant to test this theory.  Furthermore, I have disabled sync with all other contact services (facebook, linkedin, etc.) so if I can ever delete my contacts... the deletion won't propogate to my original sources.
    Any help would be greatly appreciated!!!

    Take a look at these instructions i Found And you might be able to Get Rid of them by Tapping on the Contacts up on Top then hitting your settings and Tap Manage Contacts that might give you the option there to get Rid of them. You could Export them to your SD CARD Then once in there Format the Card. But a word of Caution if you have an Pictures or Songs in there they will be Wiped as Well..
    How do I manage my contacts on my DROID RAZR?
    How do I manage my contacts?
    Quick links 
    Create a new contact
    Add recent calls to contacts
    Edit a contact
    View contact
    Unable to view contacts within the Navigation app     
    My contacts on Corp Sync account Stopped Syncing after I updated the phone software to 6.12.173  
    Delete a contact
    Add picture to contact     
    Create a new contact group
    Delete a group
    Sort contacts
    Set an individual ringtone for a contact
    Contact transfer assistant
    Choose which contacts to display
    Create a new contact
    Touch ,tap contacts.
    Press the Menu key and tap Add contact.
    Choose an account to store new contacts
    Add all the information you want to store for this contact in the appropriate fields.
    Tap Save.
    Add recent calls to contacts
    From the Home screen, tap 
    Tap the recent (second from the left icon).
    Scroll to the number you want to add to contacts.
    Touch and hold the number.
    Tap Add to contacts.
    Select Existing to add number to existing contact or New to create a new contact.
    Add all the information you want to store for this contact in the appropriate fields.
    Scroll down and tap Save.
    Edit a contact
    From the Home screen, tap .   
    Tap Contacts.
    Locate and tap the contact you would like to edit.
    Tap the options key. (four squares located beneath the display screen)
    Tap Edit contact.
    Make your changes.
    Tap Save.
    View contact
    Tap   
    Tap Contacts.
    Press and hold the contact that you would like to view and tap View Contact.
    Delete a contact
    Tap  
    Tap Contacts.
    Tap and hold on the contact.
    Scroll down and tap Delete contact.
    Tap OK to confirm.
    Note: At this time multiple contact selection is not supported.Add picture to a Contact
    From the Home screen, tap .   
    Tap Contacts.
    Locate and tap the contact you would like to edit.
    Tap the options key. (four lines located beneath the display screen)
    Tap Edit contact.
    Tap on the image icon located on the top left corner
    Make your selection
    Tap Save.
    Create a new contact group
    Tap   
    Tap Contacts.
    Tap on the group icon  located next to the magnifying icon.
    Press the menu button
    Tap New Group.
    Enter the name of your group.
    Tap OK.
    Tap the check box of the names you would like to add to the group..
    Tap Done.
    Repeat steps 7-9 until you are done adding items into the groups.
    Delete a group
    Tap   
    Tap Contacts.
    Tap on the group icon located next to the magnifying icon.
    Tap and hold on the group name you wish to delete. 
    Tap delete group.
    Tap Yes to confirm.
    Sort contactsTo sort contacts or set display options, press Menu > Display options and touch:
    Only contacts with phones: hide email-only contacts.
    Sort list by: sort by first or last name.
    View contact names as: view contacts as first name or last name first.
    Choose contacts to display: select which source to use contacts from.
    Set an individual ringtone for a contactYou can assign a custom ringtone for each of your contacts.
    Touch and touch the name of the person.
    Touch > Options.
    Touch Ringtone and select the ringtone to use.
    To switch back to the default ringtone for a contact, select Options > Ringtone > Default ringtone. CLICK HERE to visit our web based contact transfer assistant.
    Contacts Menu OptionsWithin your contacts Menu you will have other options to help manage and share your contacts such as, Add contact, Display options, Accounts, Import/Export, Share name cards and More.Notes:
    Exporting contacts to the SIM card does not currently save the contacts. You can export and save contacts to the SD card.
    If you have multiple SIM cards, you will need to power cycle the device for all the SIM contacts to be visible.
    Under More, you can see My info - Which contains all of your contact information.  And Settings - Access toDisplay suggestions and Contact storage, which allows you to choose which account new contacts will be saved to.
       You can also remove the Display suggestions under you Contacts settings as well by removing the check from this location as well.
    Unable to view contacts within the Navigation appIf you're unable to view your contacts within the Nagivation application, try updating your Google maps application. Touch Market > Menu > My apps and select maps to update to the latest version.
    Choose which contacts to display.
    Q: I have several accounts set up in my phone. How do I choose which contacts to display for the account i have set up such as Facebook, Corporate/Enterprise, Gmail/Google etc..? A: From the home screen, touch Apps > Contacts, touch the Menu key> Display options. Under Choose contacts to display, select the account which contacts the contact you wish to display or not display and check to display or uncheck to hide the contacts.
    My contacts on Corp Sync account Stopped Syncing after I updated the phone software to 6.12.173If you experience the issue with the contact sync after the update, please follow the steps below:
    Under Accounts, select the corp sync account, General Settings, and UNCHECK the Contacts check mark.
    Tap on - OK, OK.  Go to your Corp Sync email account and tap on the Manual Refresh (two arrows) to perform the Sync.
    Power Cycle the device and repeat the steps above by CHECKING the Contacts check.
    Details 
    Answers others found helpful
    MotoCast User Manual
    Troubleshooter
    Download MOTOCAST Desktop Software
    Locks Up/ Freezes (DROID RAZR)
    How can I speed up receiving the GPS signal for my outdoor workout faster?

  • Workflow Items deletion

    Hi,
    Can anybody please let me know how to delete the Workflow items in ECC 6.0? What is the TC or any other process/ program?
    Your help and time will be really appreciate.
    Thanks & Regards,
    Niki Shah.

    Hi,
    If by ABAP you  have this FM SAP_WAPI_WORKITEM_DELETE
    if want a tcode for that use tcode SWWL
    Regards
    Jaime

  • How to use CSAP_MAT_BOM_MAINTAIN for deleting / changing sub-items?

    I'm trying to use CSAP_MAT_BOM_MAINTAIN for BOM create / change / delete.
    Issue: This Function module is not working when I'm trying to delete / change sub-items of a BOM. I'm getting update termination (ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC) during BOM post.
    Is there a way to fix this?
    (1) BOM creation part is working fine
    (2) BOM item (without any sub-item change) change / delete is also working

    hi
    The following parameter are important parameter and mandatory
    Matnr ;  Enter the material Number
    BOM_USAGE : Ther many BOM available that is sales BOM and Production BOM etc  here you need to mention usage of BOM that is for sales or production
    I_STKO : Enter the BOM Header information  . Note : Ask your Functional consultand
    Apart form this parameter, all are optional so do worry
    regards
    anand kumar

  • WORKFLOW ITEM forward

    Hello All,
    When I am trying to forward workflow item using SWIA , I am getting the message like " WS is not a valid object type for a task".
    It's in statuts "STARTED" and AGENT is "SAP WORKFLOW".
    How can I forward this item to user as workflow administrator.
    Regards,
    Lavanya.

    Hi,
    Please follow the below steps........
    1. If you have the workflow instance number
    Oepn table SWWWIHEAD through tcode se11/se12/se16
    Enter the instance number in field TOP_WI_ID and execute.
    You will find there are multiple woritem there.
    Get the workitem whrere WI_TYPE is 'W'.
    That is the dialog workitem of that workflow. ( There may be the multiple dialog workitem as per the workflow design )
    Now forward the dialog workitem through SWIA
    2. If you hav woritem number which is not wokflow instance number
    Open table SWWWIHEAD through tcode se11/se12/se16
    Enter the instance number in field WI_ID and execute.
    You will get the worklow instance number in field TOP_WI_ID.
    Now get the top wokitem id adn open table SWWWIHEAD through tcode se11/se12/se16
    Enter the instance number in field TOP_WI_ID and execute.
    You will find there are multiple woritem there.
    Get the workitem whrere WI_TYPE is 'W'.
    That is the dialog workitem of that workflow. ( There may be the multiple dialog workitem as per the workflow design )
    Now forward the dialog workitem through SWIA
    Hoping that this will help you to fix your problem.
    Thanks and regards,
    SNJY

  • Delete freight cost items

    Hello all,
    I am trying to delete freight cost items. When certain items are of a certain type and have 0 cost value I need to erase them. The problem is that I need to do this automatically, is there a user exit or a FM or BAPI or BADI to do this?
    Many thanks in advance.
    Best Regards,
    Tiago Magalhães

    Problem solved.
    I used the user exit EXIT_SAPLV54B_004
    Because the items that had 0 cost value were generating error on the transfer of the costs, what I did is change their status like this:
    IF c_scd_item-vfkp-netwr IS INITIAL.
       IF c_scd_item-vfkp-stber <> 'C'.
        c_scd_item-vfkp-stber = 'C'.
      ENDIF.
      IF NOT c_scd_item-vfkp-stfre IS INITIAL.
        c_scd_item-vfkp-stfre = ' '.
      ENDIF.
      IF NOT c_scd_item-vfkp-stabr IS INITIAL.
        c_scd_item-vfkp-stabr = ' '.
      ENDIF.
    ENDIF.

  • How to delete a list item in Sharepoint 2007 via SOAP?

    I am looking to delete a list item using soap web services. I am using the Lists.asmx web service.
    The XML looks like this:
    <Batch OnError="Continue" ListVersion="1">
    <Method ID="1" Cmd="Delete">
    <Field Name="ID">7</Field>
    </Method>
    </Batch>
    I got this from the msdn docs at http://msdn.microsoft.com/en-us/library/lists.lists.updatelistitems%28v=office.12%29.aspx
    And I am using the Lists.UpdateListItems Method.
    I am doing this in python and python has a library, suds for this purpose. However I get this exception:
    suds.WebFault: Server raised fault: 'Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.'
    I have looked for typos, and verified the XML format. Where am I going wrong?
    Some help please.

    http://linesofcode.net/snippets/166

  • Activating "Workflow can use app permission"

    HI,
    I am trying to activate the "Workflow can use app Permissions".
    I am getting the error "System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied. "
    The user is part of the SiteCollectionAdministrators.
    What other permissions are required to activate the feature?
    Thanks

    No I don't think you have to configure the App Domain to use workflows.
    Do you also have a User Profile Service (preferably with User Profile Sync) up and running?  2013 workflows (like Apps) use properties in the User Profile to pass identity back and forth.  If you are going to run using App Permissions the workflow
    service is still going to want to be able to identify the initiator of the workflow.  For that you need User Profiles.
    Also, is your user just a Site Collection Admin or are they an actual member of the Site Owner's group?  Its not clear from the documentation whether activating that feature is a permission dependency or an actual group membership dependency.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • SWWL - being used to clear Inbox for Workflow Item in error

    Hello,
       We are currently using SWWL for clearing Workflow Iitems from the Inbox if they have errored out directly in production. I have tried to review this in the forum and generally have come to the conculsion that SWWL should not be directly used in the production environment. Is there any standard SAP Note where SAP recoomends not to use SWWL ? If so , alternatively what is the other way to do this ? Do we have to use RSWWWIDE , which needs to run regulary to clean up the Work-Items which have errored out ?
    I am a functional consultant abd would like to propse the correct methods of deleting these workflow's. if there ar any other ways of doing this, please let me know.
    Thanks for your help in advance.
    Jagruti

    Hi Jagruti,
    Regarding your quest for an official note from SAP you need look no further than the [online help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/f4/843239cb0211d1950d0000e82dec10/frameset.htm]. Aside from consistency issues it may even have audit implications if you use workflow for any auditable businessfunctions (e.g. approving purchases). If this report is found to have been run in production, there is no way of telling if it was used as an electronic shredder to destroy an audit trail.
    To get rid of errored work items you should cancel the workflows. They would then be archived if you use archiving. Edit -> change -> delete logically. Otherwise SWPR can delete them en masse, but you may need to apply a note.
    HOWEVER, all the above aside, this should not be necessary in first place. The scenario you describe is a business case that should be part of the workflow if it happens regularly. This is what workflow is for! It should be designed to recognize the deletion of a delivery and complete when it happens, removing itself from the user's inbox. Workflows in error should be rare and caused by (usually technical) exceptions that are either unexpected or very rare. If you have regular errors, it's a business scenario that needs to be modeled. Even if it's by putting a deadline onto the workflow to cancel after some obsolete timeperiod.
    Cheers,
    Mike

  • Trying to delete file from trash but get this: The operation can't be completed because the item "File name" is in use. All other files delete except this one. Please help

    Trying to delete file from trash but get this: The operation can’t be completed because the item “File name” is in use. All other files delete except this one. Please help

    Maybe some help here:
    http://osxdaily.com/2012/07/19/force-empty-trash-in-mac-os-x-when-file-is-locked -or-in-use//

  • Hi Friends... I'm trying to delete a back-up file on mu TC but I get the message "The operation could not be completed because the item "bands" is in use. I'd like to start the Back from scratch, could help me out with deleting the current file?

    Hi Friends...
    I’m trying to delete a back-up file on mu TC but I get the message “The operation could not be completed because the item “bands” is in use. I’d like to start the Back from scratch, could help me out with deleting the current file?

    Sorry, I am very confused. I asked the following question....
    Is this the only backup file on your Mac, or do you have other backup files and data on the Time Capsule disk?
    The answer that you gave was....
    This is the only one
    Now you are saying that....
    But I have lots of other files on Time Capsule! The back up file is only one of them.
    Can you clarify, please?

  • I'm trying to delete a movie and it says...operation can't be completed because the item "     ".m4v is un use.  I've shut down the computer, closed out of everything etc.  I don't know what else to do?

    I'm trying to delete a video to free up space on my mac.  I've moved it to trash and when I try to empty the trash it keeps coming up with...."The operation cannot be completed because the item " .........  .m4v is in use".  I'm not exactly computer literate - I don't even know what the m4v is, but I've read some discussions saying to shut down the computer - which I did - nothing everything else I've found on the m4v is too technical for me to grasp.  Can anyone help me?

    Sorry, didn't notice that you cd'd into that directory. Can't explain why you can't delete it, but I don't do server or NAS stuff. You might want to repost to the Unix forum.

Maybe you are looking for

  • How do you retrieve your numbers back from icloud if they disappear off your phone?

    My mom has an iPhone and it has deleted her contacts twice now. We need to know how to get her contacts back from icloud onto her phone.

  • Embedding symbols inside symbols that are runtime exported.

    I'm attempting to use CS4 (PC/Vista, if that matters) to create a SWF file that will basically act as a "library" of commonly used symbols. This SWF would be loaded at runtime by other SWFs, which could then use the symbols within it, including all a

  • Change report legend label waveform name

    I am automatically generating a report using VBScript. Everything works OK, except the legend label for one of my waveforms. For one waveform I want to use the channel group name instead of the channel name. For the other one, I want the channel name

  • Tcode SDCCN not available.

    Dear All, is there any way to activate tcode SDCCN in netweaver.7.0 system. bcos it not available, should i activate something, to get SDCCN tcode available in netweaver 7.0, Please help me.. Regards,

  • Lighting effects previews ok, but disappears

    Hi there, Huge apologies if this has been covered elsewhere or is a simple solution. I just need the answer asap. I am working in Photoshop CS6. I am putting a light effect over a layer and the lighting effect using the alpha channel. Everything is f