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

Similar Messages

  • 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

  • Send Workitem from Sap inbox to outlook

    Hi all,
    Any one please explain how to send workitems in sap inbox to outlook.
    What all configurations are needed?
    Thanks in advance

    First you need to be able to send an e-mail from SAP Business Workplace to your e-mail address. If that's not in place you need to configure the e-mail connector or whatever it is called. Basis people should be able to help you with that. It not only involves setting up SCOT to transmit messages with address type INT, you also need to have jobs running on your application server to pass on the SMTP messages.
    Once that is working you can start thinking about e-mail notifications for workflow. If you have transaction code SWNCONFIG in your system, you should use the extended notifcations that you configure there - that is SAP's recommendation. In order to use it it seems you must have SAP Web AS running.
    The other alternative (unless you are on a release < R/3 4.6C) is the report RSWUWFML2.
    For assistance setting up any of these three, please post your specific questions.
    In both cases you need to have a sender address defined for the user that executes the report, any user sending e-mail must have an e-mail address in the user record.

  • Login pop-up when launching Webdynpro ABAP application from SAP Inbox

    Hello All,
    We have configured our workflow to trigger WD ABAP application from SAP Inbox.
    However when we launch the workitem from SAP Inbox, we are getting a login pop-up screen in IE which prompts us to enter SAP password.
    Can you please help how can we avoid getting that login screen and how the WD ABAP application can single sign on from SAP GUI to IE for that user-id.
    Appreciate all your help.
    Regards,
    Samta.

    Hi Samta,
    You can configure User(RFC) and password for your webdynpro appl'n using SICF tcode.
    Path : /default_host/sap/bc/webdynpro/sap/(your wdp appln)
    Thanks
    Katrice

  • 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

  • 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

  • Refreshing workitem in sap inbox while reverting form two parallel level.

    if a user raise a request whcih is supposed to get approved /reject/revert by level1 and level2 people parellelly, if  level1 perform any of the activity of approve/reject/revert in his sap inbox ,level2 sap inbox logically should get clear respectivly and vice versa if level2 perfom the same activity.
    in my scenario
    the request from level0 goes to level1 & level2 ,both of them are autherized to approve/reject/revert the document,
    whosoever from level1 or level 2 perform the activity first in thier sap inbox..accordingly for other level sap inbox clear the work iteam as that activity has been already triggered by any 1 of them.
    in this context..the approve and revert function work perfectly..if  level1  person will aprrove or reject,respectively the same activity in level2 inbox get clear as it is already performed by level1 ,but in revert function. if level1 revert the document from his sap inbox thn the same activity for same document its not gettting cleard from level2 sap inbox .
    as for approve and reject..the respective function will get performed and workflow get closed .but for revert ..the document will be sended to initiator for change,once the initiaotr make the changes it has to come  again  for level1 & level2  approve/reject/revert user decision.
    please let me know for revert function how i synchronize the level1 & level2 activity.if level1 sent the document for revert thn  how to clear the same work item from level2 sap inbox parellely.
    how to refreshing workitem in sap inbox while reverting form two parallel authorised  levels w.r.t to revert function triigerd by any of the level.

    How are you sending the workflow item to level1 and level2.
    The simplest way is to create a rule and assign it to the workflow item.
    What the rule will do is fetch both level1 and level2 userids and pass the it to the workflow. When two userids are passed to a task the workflow item is send to their inbox. And so as anyone of them processes it, it disappears from the other person's inbox.
    You dont need to use PARALLEL option.
    Khusro Habib

  • Approvers of Rejected line items not getting removed -Process controlled WF

    I have developed shopping cart approval using process controlled workflow. We are using SRM 7.0, patch level 9.
    Decision set used is item based approval for partial documents (Type 4)
    While testing I observed that when I reject any item, the corresponding approvers of that items are not getting removed.
    As per your requirement, if we create SC with 2 items A and B. Based on various conditions
    2 process levels are determined for item A, say approver X and approver Y at respective level.
    3 process levels are determined for item B, say approver X, approver Z1 and Z2.
    Approver X, rejects item A and approves item B. Since one item is rejected, the work item is sent to requestor for acceptance. All process levels are of type "Approval". Once the requestor clicks on "Accept" button, the item A, which is rejected gets deleted from the shopping cart.
    However now when I see the Approval Process Overview, the current approver shown is Y. The work item is sent to approver Y and the value of the shopping cart is shown as 0.00. Logically the approver Y should have been removed from approval process.
    Could you let me know if I am missing any step or do I need to do some coding to get rid of approvers of rejected items.
    Regards,
    Manish.

    We were using N-step process level on the item level contrast to example provide by SAP of N-step process leve on Header level. SAP uses standard tables /SAPSRM/D_WF_015 and /SAPSRM/D_WF_016 to implement the logic. We have customized the solution with logic on same line of sap but using bespoke tbale ZSAPSRM_D_WF_016. Let me know if anyone needs solution.

  • Notification Mail in SAP Inbox is not going to External Mail.

    Hi
    Notification Mail (Simple Mail and not workitem) triggered from workflow are reaching the sap inbox. I need to send this to Outlook also.
    In workflow I am using 'send mail' step to and uisng sap userid. With this the mail reaches SAP INbox.
    But This doesnot flow to Outlook. Here i am only reffering to mail and not workitem.
    I know we need to configure job (RSWUWFML2) to send workitems to outlook. but do we need to do the same for sending simple mail to outlook?
    I noticed if we send mail using email id it is flowing to outlook but if the mail is sent using userid from workflow its not flowing.
    Do i need to use some program to send notification from sap inbox to outlook.
    I checked RSWUWFML2 but this has no option to send only mail and doesnot send the mail from sapinbox to outlook.
    Any help clue appreciated.
    Thanks.

    Hi,
    As per my understanding... You would be using Mail step to send mail from your workflow, right?
    If this is the case then in mail step-> recipient type would be "Organization Object"... so make it as "E-mail address" and and pass or bind mail id to it. Now you need to go to SOST and check that mail is displayed there or not...
    and If your don't want to use Mail Step in your worklfow, then you can use Mail FM - SO_NEW_DOCUMENT_ATT_SEND_API1 to send the mail... Here you need to pass mail id and the text to it and you can see in SOST.
    Hope it is helpful to you.
    Thanks & Regards,
    Mihir

  • How can i autoforward that mail from SAP INBOX to the outlook

    Hi ,
    My Requirement is that,
    I have to send an email to outlook, whenever PO Created in SRM System
    I have created  custom workflow, i have added a sendmailtask step, i given the SAP userid to send SAP Mail to the user.
    It is sending SAP Mail to the User to his inbox perfectly.
    Now, how can i autoforward that mail from SAP INBOX to the outlook. This is has to work for all users.
    Please give some suggestions. ot it can be achived any other way.
    Note: This is Email Message not a workitem.
    I have doubt that RSWW program will work only for workitems.*
    Thanks & Regards,
    Suresh.

    Hi ST,
    what I understand from your requirement is that you are able to send messages using SendMail Step to SAP Inbox and now you want it to be sent to users Outlook.
    Here you need to create a container which would store users email address of Outlook (which would be stored in SU01 or in a ztable), use this container in your Send Mail step and in the Recepient Type as email.
    Hope it helps.
    Aditya

  • Cancel &  keep workitem in  SAP inbox.

    Hi Workflow Experts,
    while executing a workitem , when i click on "cancel & keep in sap Inbox" , which BAPI gets called ????.
    My requirement is :- if my workitem is executed (which is a module pool program )& no action is taken ( like user clicks on "back" button ) , the workitem should remain in the SAP work place.
    Thanks In advance,
    Ashish

    As I understand what you write you have created the approval screen yourself. Then the best option is to detect that cancel or exit was pressed and then throw the exception for cancelled execution (i.e. call the macro exit_cancelled). I prefer creating the screens in function groups for this purpose, as that makes it easy to pass information back to the calling method.
    Side note: I started wondering when the spell checker indicated that I had misspelled cancelled. Why is it that every spell checker insists we all misspell the same way they do in USA? Annoying, is what it is! I want to keep my English English.

  • Blocking Indicator not getting removed on milestone confirmation in PS

    Dear Experts,
    I have a issue in my project.
    We have a scenario where Preq and PO getting created from PS activity.
    We are using Invoice plan in this scenario. created in the Activity.
    When we create Milestone and Invoice plan it will go for release process to get Preq released. after this PO will be created and GR will be done.
    Problem: When PS confirms the Activity the blocking sign in PO invoicing plan  is not getting removed.
    Please explain me:
    What configuration settings required to remove the blocking sign indicator in PO automatically.
    Tell me Process steps if any.
    Appreciate early response.
    BR,
    Arun

    Awaiting kind replies.

  • Purchase Requisition Work -item disappering from SAP inbox

    Hi,
    My users are forwarding  Purchase requisition work item from SAP inbox which is disappearing from agent inbox as well from forwarded inbox also.Please guide me
    Abhijit Bagade

    Hi Abhijit
    Please refer to SAP not 1308276 .Which tell about the work items.
    1308276 - WF: Forwarded work items are not displayed in the inbox
    Hope this will solve your problem
    Regards,
    Nitin Amritkar

  • Delete automatically Workitem from the INBOX

    Is it possible to remove or delete workitem from the inbox of the remaining agents, when the workitem is sent to multiple agents at a time, and one of the agent completes the workitem ?
    Can anyone help me for this problem ?

    Hi Rohit,
    Thanks for your reply.
    But, what I want is different.
    My case is like...
    A particular workitem will be sent to multiple users at a time, for approval from one of them. Once, one of them completes the execution of the workitem, then it should clear/delete the workitem from other users' inboxes.
    Thanks
    Sai

  • Remainder mail from SAP inbox to Outlook

    Hi All,
    My scenario is like this. In one employee SAP inbox work item is pending from last five days. At that moment i want to send a mail to his Outlook .Means  sending reminder emails to the employee after every 5 days to his outlook by seeing his workitems in SAP inbox.
    Please tell to How it wil happen.

    Hi
    Check this link also..
    [Dead line setup for mail|Deadline (Reminders) set up;
    Hope this link will resolve ur issue..
    Regards
    Kiran

Maybe you are looking for

  • How to show muliti language data correctly using webi reports

    Hi , Can you please suggest me how to show multi language data correctly in webi reports . Do we need to install any lang pack in both server and client machine ? Thanks & Regards Venkat

  • Can I exchange my iPod?

    I just got a new iPod and I realized it didn't have a back camera, only a front-facing one. I want to exchange my iPod for the iPod that does have a back camera and a front-facing camera. Can I do that? Will there be a charge?

  • Asurion equals Worthless Insurance

    I am just posting to advise EVERYONE carrying the Asurion Insurance package for their wireless devices to CANCEL THE INSURANCE IMMEDIATELY. You are paying for NOTHING!  If you have an accident with your device, YOU WILL GET NOTHING from Asurion, exce

  • Can I put a class into a jsp??

    I want to put this class into a jsp.. and reference it when I need it... can i just dumped it into a jsp... or do I have to do anything specific to it... public class areaformat {      public synchronized static String replace(String str, char oldcha

  • What to do with iTunes during a Hard Drive Reboot?

    Do to technical difficulties I'm having to reboot my Hard Drive... How can store my iTunes on an exterior hard drive temporarily and then bring it back after the reboot? Comments, suggestions and opinions are welcome...