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
Sheetal

Unless 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

Similar Messages

  • Mails are not getting deleted from server

    Hi
    I am reading a mail from using java mail from my mail server.
    When i am setting the message.setFlag(Flag.DETELED,true);
    the mail is not getting deleted from the server.
    I am not able to trace the problem, please help me solving this problem. It's a bit urgent.
    store = session.getStore("pop3");
    store.connect(hName, portNo, uName, pWord);
    folder = store.getFolder("INBOX");
    folder.open(Folder.READ_WRITE);
    Message message[] = folder.getMessages();
    System.out.println("Unread Msg Count : " + folder.getUnreadMessageCount());
    int n = message.length;
    for (int i = 0; i < n; i++) {
    fromMsg = (message.getFrom()[0]).toString();
    subMsg = (message[i].getSubject()).toString();
    if (folder instanceof POP3Folder) {
    POP3Folder pf = (POP3Folder) folder;
    Part messagePart = message[i];
    content = messagePart.getContent();
    if (content instanceof Multipart)
    messagePart = ((Multipart) content).getBodyPart(0);
    String contentType = messagePart.getContentType();
    Part messagePart = message[i];
    content = messagePart.getContent();
    if (content instanceof Multipart){
    messagePart = ((Multipart) content).getBodyPart(0);
    String contentType = messagePart.getContentType();
    message[i].setFlag(Flag.DELETED, true);
    store.close();
    Thanks and Regards,
    Luv Amieee...
    xx                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    yeah true...
    i did not close the folder.
    i got to know from sun faq only later on yesterday.
    but still.. thanks a lot...
    luv amieee..
    xx

  • Profile Imanges are not getting deleted from Profile Image library

    Hi,
    If I go mysite and edit my profile and set a profile images and save the changes. Image is uploaded to profile Image library in the root of the mysite.
    I Edit my profile again and this time I remove the profile image and save the changes. Image is not getting deleted from the profile Image library.
    as per my understanding it should get deleted. My site clean job is running. user profile is active in AD.
    Thanks
    Omkar

    My first question would be is it a big deal if the picture doesnt get deleted from the libarary?  My understanding is that the profile picture field is a URL link, the first time you add a picture it will provision 3 copies of differing sizes to the
    library.  When you "remove" the picture, it just empties out the picture URL field.  Which is a nice hidden recovery if someone accidently deletes a profile photo they really wanted (Or if your company really locks down picutures so you only get
    a choice of a couple avatars instead of a personal photo).
    Similar issue:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/17bc8538-568f-4fff-8933-458fdba4b701/delete-user-profile-picture-in-sharepoint-2010-when-account-is-deactivated-or-deleted-from-ad?forum=sharepointadminprevious
    and response:
    Since the user photo library follows certain standards OOB:
    http://iedaddy.com/2010/12/sharepoint-2010photo-management-for-social-mysites/
    I would say just create a small script that will periodically read the UPS and make sure there are no photos sitting in the library not associated to an account... here's an example of accessing the User Profiles w/ Powershell:http://iedaddy.com/2010/06/sharepoint-2010-updating-user-profile-properties-with-powershell/
    You would just modify it to delete image files whose name is not associated to an existing NTName in the UPS.
    ieDaddy
    Blog: http://iedaddy.com
    Twit: @iedaddy

  • Attachment in portal not getting displayed in SAP Inbox

    Hi All.
    While creating travel expense requests from Enterprise Portal, travelers create few attachments and then save the travel expense reports.
    A workflow then gets triggered and these travel expense reports reach SAP Inboxes of the checkers [in the finance department].
    The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
    I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
    What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox? Please suggest!
    Br,
    Hari

    Hi,
      You may have to check with the stylesheet, Check if the iVIews are using portal stylesheets from portal theme. If you want to use WD style sheets, The parameter for the web dynpro to use special theme "sap.useWebDynproStyleSheet" should be "true" (configuration adapter->webdynpro->sap.com->tcwddispwda) in visual admin. If you want to set this option for particular iViews only, then from the WD iView properties, set 'Supply Portal stylesheet' property to 'No'.
    Regards,
    Harini S

  • My email on my exchange account gets deleted from my inbox

    I have random emails that show up in my inbox and then get sent to my deleted folder automatically. Does anyone know what is casusing this and what the solution to fix it. Recently I have deleted the exchange account and reinstalled to see if that would help. This started happening after the latest upgrade. I'm using a iphone 4S

    Just to clearify the emails are not yahoo or gmail. Most are from inside my company but some out side as well.

  • My locked posts are not getting deleted from my questions

    Hi,
    Can someone remove the posts that have been reported as abused from id.Thanks a ton in advance.

    I see that you have quite a number of unlocked and yet open threads. You need to go and close those threads manually. Don't you think you are obliged to get back to the people who spent time on your issues to go back and update them of the progress and close those threads?
    These are only some of the examples:
    Database growth
    HTTP sessions struck
    Issue with trusted system
    List of all spool tables
    Issue in ESS
    Issues uploading a file
    pk

  • Deleted workitems are moving from sap inbox to other inbox

    hi,
    The client is receiving the workitems which are deleted from sap inbox in their inbox. How the issue can be fixed?
    Thanks,

    Hello,
    "The client is receiving the workitems which are deleted from sap inbox in their inbox"
    How are they "deleting" workitems?
    What do you mean by "sap inbox" - the SBWP mail inbox or the SBWP workflow inbox?
    What do you mean by "inbox".
    A bit more clarity, please.
    regards
    Rick Bakker
    Hanabi Technology

  • Workitem from SAP inbox is not getting removed

    Hello  All,
    Below is the FM i have used to create event ,
    CALL FUNCTION 'SWE_EVENT_CREATE'
          EXPORTING
            objtype           = 'ZIMSEC_SPE'
            objkey            =  LS_OBJKEY                 " Requition ID
            event             = 'ZSUBMIT'
          IMPORTING
            EVENT_ID          = IT_EVENT_ID
          TABLES
            EVENT_CONTAINER   = IT_CONT
          EXCEPTIONS
            OBJTYPE_NOT_FOUND = 1
            OTHERS            = 2.
        IF sy-subrc <> 0.
        ENDIF.
        IF IT_EVENT_ID IS NOT INITIAL.
          COMMIT WORK.
        ENDIF.
    The value in LS_OBJKEY is the unique ID ...request ID in my case ....
    Problem: The Workitem is not getting removed from my SAP INBOX.
    Kindly share ur comments .
    Thanks
    Sonal

    Hello,
    Please don't SHOUT.
    You say:
    "WHEN I AM SENDING SPACE IN MY OBJKEY THE WORKITEM GETS REMOVED FROM THE SAP INBOX "
    I have never tried creating an event with a blank object key, I can't see when that would be useful, but would it lead to the workflows seeing that as a terminating event? I'll have to to try that.
    In the meantime, don't use SPACE as an object key, only create an event when you do have a key.
    regards
    Rick Bakker
    Hanabi Technology

  • Logical deletion of workitem from SAP INBOX

    Hello ,
    When we are trying to delete some work items related to generic
    decision task from SAP INBOX ,logically delte button is not visible and
    we searched in menu it is in display mode.
    The same button  is visble for other workitems related to error idocs .
    We have assigned the role to delete the work items of  type all.
    The button is visible for some type of tasks .
    We have some 30 to 40 workitems (decision task)  which are to be deleted .
    Can we use reports RSWWWIDE and RSWWHIDE without archiving of those?
    Kindly suggest us.
    Best Regards,
    Veena.

    Hi Veena,
    Please have a look at the 'Data Management guide' from service.sap.com/data-archiving, which tells you abou various options for deleting/archiving WI
    Also have a look at Note 49545.
    Hope this helps,
    Naveen

  • Deleting email from SAP inbox

    Hai All,
    I want to delete a  email from SAP inbox, without  logging into SAP with that person's userid.   Please let me know how to do it.
    Regards,
    H.K.Hayath Basha.

    Hi Hayath Basha ,
      You can do if you have a Workflow Administrator role and have access to Tcode : SWI5 (WorkLoad Analysis).
    Following is the procedure :
    1. Go to SWI5
    2. Provide the required parameters ;
       Resposibility :
         Type  US
         ID    User ID of whom you want to delete the WI.   
       Period :
          Choose To be processed by
    3. Execute the Report..
       Now you will see all the workitems in his inbox.
    4. Select the workitem you want to delete from the list.
    5. Double click on the workitem selected.
    6. select the menu  Goto -> Technical work item display
           You will be taken to Display workitem screen
    7. In Display workitem Screen  select the menu
           Edit -> Change
       Now you will be give a option to Delete Logically.
    8. Click on Delete Logically button to actually delete the mail from the SAP inbox.
    Let me know if this works.
    Thank you
    Srinivas

  • I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. Help

    I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. It just wont give me my notifications. Help please.

    Go to Settings > Privacy > Location Services.
    Turn off SnapChat.
    Go to Settings > Notification Center
    Turn off SnapChat.
    Restart the device.
    Go to Settings > Privacy > Location Services.
    Turn on SnapChat.
    Go to Settings > Notification Center
    Turn on SnapChat.
    Test the issue.

  • Gmail deleting from my Inbox after I read it! How do I get it to stay in there until I manually delete it?

    I have a Treo 700WX which is linked through my gmail account.  I have no problems downloading and sending email but whenever I get a new email, it automatically deletes itself from my Inbox (and my phone completely) immediately after I read it.  On my delivery preferences I have unchecked the box that says "Only display messages from the last xx days."  I have also tried checking that box and typing 99 days.  Nothing works.  And these messages are still on my Gmail server as New Unread messages. 
    I want it set up so all messages have to be manully deleted from my Inbox but can't figure out how to do this.  Thanks in advance for your help!
    Post relates to: Treo 700wx (Alltel)

    Try a 10 second soft reset by taking out the battery for at least 10 seconds. This allows the device to power off completely, like a shutdown on a PC.
    For reference purposes, click on the following link for the support page for your device on the kb.palm.com webpage.
    http://www.palm.com/us/support/treo/treo700wxalltel/
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.
    Post relates to: Palm i705

  • The Subsequent Requirm not getting deleted after deleting the Item from P.O

    Hi all
    The Subsequent Requirment for the Material is not getting  cancelled even after deleting the Item from the Purchase Order  and we have even deleted the Requirment for the Top level material . If we click on the Pegging requirment for the Subsequent requirment the system is telling that no Pegging Requirment exists but it is not getting deleted. Waiting for the feed backs

    Kumar,
    Run MRP for the Materials involed and let us know if there are any exception messages.
    Regards,
    Prasobh

  • Received delivery subsystem error email 25,000 plus times. Can delete easily from my mac but deleting from my inbox on my mac does not delete from inbox on my husband and my iphones. HELP

    Received delivery subsystem error email 25,000 plus times. Can delete easily from my mac but deleting from my inbox on my mac does not delete from inbox on my husband and my verizon iphones. HELP

    delete and re-add e-mail on iphone and it will update with whats current on the server

  • Data in BBP_DOCUMENT_TAB are not getting deleted

    Hi All,
    We are in SRM 4.0.
    Since today morning whenever a user trying to create / change shopping cart, PO, GR it got updated in the BBP_DOCUMENT_TAB. But it is not getting deleted automatically. Earlier it used to get deleted automatically once the documents have been ordered.
    But I could see the POs and GRs have been transfered to the back end system.
    Job CLEAN_REQREQ_UP is running every 2 mts.
    Please advise.

    Hi Arun,
    note 338985 describes in detail how the the status of the document(s), CLEAN_REQREQ_UP and the IDOCs interact.
    If the documents are posted without any error i.e. there´s everything perfect but the 'obsolete' entries in BBP_DOCUMENT_TAB, then this sounds like a malfunction.
    Maybe you should debug the the cleaner with one document and see whats happening starting at the following spot:
    CLEAN_REQREQ_UP
    process selected entries: check  existence of follow on documents,
    update if necessary local documents etc. (depends on entry type)
            LOOP AT selarea.
              IF still_to_proc = c_proc_block_size.
                SET UPDATE TASK LOCAL.
              ENDIF.
    lateron the entries are deleted in function module BBP_DELETE_FROM_DOCUMENT_TAB
    Note 535765 describes how to delete entries via a Z* report but I would NOT RECOMMEND to do that without having checked the situation by SAP before.
    see note 535765:
    Please note!:                                                       
    Deleting relevant entries from the BBP_DOCUMENT_TAB may cause severe
    problems, as the system needs the entries to set the right status to
    shopping carts, invoices and confirmations. So please be careful with
    the deletion of entries.                                            
    Kind Regards
    Michael

Maybe you are looking for