Cancel and Keep Workitem in Inbox

Hi,
My Workflow Step calls a Cutom Transaction which should have a button Cancel and keep Workitem in Inbox.How do i go abaout implementing this.
It should work similar to the User Decision cancel and keep work item .
My Step also has a Confirm End of processing Check.So if i click on the Cancel
the work item the screen confirm end of processin step should not appear and workitem should be in my Inbox

Hello,
Just call EXIT_CANCELLED. in your method. This cancels a WI without completing it and leaves it in the inbox.
<code to call screen/transaction>
if <your button was clicked>
  exit_cancelled.
endif.
Cheers,
Mike
Message was edited by:
        Mike Pokraka
Correction, brain on holiday, it's exit_cancelled not exit_return.

Similar Messages

  • Workflow - Change description "Cancel and keep workitem in inbox"

    Hi,
    Can you please tell me whether we have a way to change the description of "Cancel and keep workitem in inbox" as "Cancel".
    Thanks
    Ashu

    Hi Ashu,
    The text is coming from the Text symbol of standard include program LSWU2F10.
    Text symbol number is 301.
    Check for enhansement option to change the text symbol.
    But this change will affect all your decision step workflow's.
    Thanks,
    Viji.

  • Cance and Keep Workitem in Inbox

    Hi,
    Is there any way to change the text of Cancel and Keep workitem Inbox to Exit Menu.
    I dont want to build custom Transaction i prefer using the standard user decision step.
    Regards,
    Swathi

    Hi,
    This is SAP Standard option, you can can't ignore/change.
    Thanks and Regards,
    Prabhakar Dharmala

  • To remove Cancel and Keep workitem from User desicion

    Hi,
      I am having a requirement that I need to remove the extra system added button of <b>cancel and Keep workitem</b> in the User decision activity. I don't want that to be shown to the user for proccessing , I shoud display only Approve and Reject option. But the third one is getting added by iteself.
    Can any one please guide me in removing this option from the workitem.
    Advance thanks .
    Regards,
    Sabari Prabhu.

    Hi,
    I'm not on a SAP system right now, so i'm not sure if this will help (or is true for that matter).
    I think in the tabs of the step definition, you can alter the code used for the user decision.
    Or, if this is not possible, you can also create a custom ud step and a custom BO of the method used in decisions and change the method of the decision, so that these don't show up.
    I do not think that this is an easy solution.
    May I ask, what the functional requirement, or even the business spec is, for this? I think the cancel button is very handy, when users accidentally picked up a work item and is SAP standard behaviour.
    Kind regards, Rob Dielemans

  • Cancel and keep workitem in ready state in user decision step

    Hi,
    In a user decision step,there is a default option 'Cancel and keep the work item'.
    Now clicking on this option, the workitem goes into "Inprogress state"
    whereas i want to keep the workitem in "ready state"  after i click on the option 'Cancel and keep the work item'.
    I am trying to modify the Process method of Decision Object type to incorporate this funcationality by using FM "SAP_WAPI_PUT_BACK_WORKITEM.
    but im getting the error that this FM cannot be used at runtime.
    Place where im trying to call this FM:
    After the FM'SWU_PROCESS_MANUEL_DECISION'
    I am getting the value of RESULT.
    If result is SPACE or sy-subrc is not 00 then i am calling this Fm which takes Wi_id of the userdecision as input.
    Kindly help
    Regards

    Hi,
    Let me ask you this. Why you need to have this in "Ready" state, Not in "IN PROCESS" state. Anyway, the witem is still there in the user's inbox, and if you have any deadline monitoring, then this is also taken care with "Cancel and keep xxxx". So, i think, functionally you'll still be better with the existing functionality.
    And, with all this, if you are still trying to change, then i think it's NOT possible. If i understand correctly, you are trying to use the FM "SAP_WAPI_PUT_BACK_WORKITEM" within the PROCESS method. And, if you understood the functionality of how this works, you are trying to set the status of the SAME witem for which you are executing the PROCESS method.
    THe way i understand the behind-the-scenes process, once you make a decision and save, this method is the one which in turn sets the witem status. And within that, you CANNOT capture the status as it is yet to be posted to the Witem tables.
    Probably, after this decision step, use a different background task with the above FM to set the witem status to "Ready", BUT NOT IN THE SAME METHOD of PROCESS.
    Also, it's not advisable to change this std. method.
    Hope this helps you. Reply,if you need more info.
    venu

  • Cancel and Keep Workitem ....Not Working

    Hi,
    We need your help in resolving a workflow issue. Issue is, When user gets an Invoice to approve (Non PO), she opens the invoice, do some changes, and park it. Then she gets Option button to either u201CApproveu201D, u201CRejectu201D, u201CCancel and Keep Work Item in Inboxu201D. When she clicks u201CCancel and keep work itemu2026u201D, ideally the work item should remain in her SAP Inbox, however it is getting executed and gone from her workflow. I found that work item in her SAP Outbox xecuted state.
    Same thing happens when they try to forward the work item. She gets an option( a checkbox) to Keep a copy of the work item in her SAP Inbox as well, but that option is also not working and the work item gets transferred without leaving a copy into her SAP Inbox.
    SAP System ECC 6.0
    @Rick, "Hope this is not a duplicate ticket."
    Please advice.
    Thanks,
    Sid

    Dear Susan,
    Thanks for the reply. I am new in WF. The template is WS90100104 which is for Invoice (Non PO) Approval. No changes have been done. The task being used here is TS90100086 - Multiple Initial Approval of Inv - no PO.
    It was working fine on 4.6c but the problem started after the upgrade to ECC 6.0.
    I have not been able to simulate the scenario as the invoice comes from OAWD (Scanning).
    User effected are few not all of them.
    Please advice.
    Thanks,
    Sid

  • Cancel and keep wokitem in the inbox

    Hi,
    I have a requirement where i need to replicate the same functionality of the 'cancal and keep woktiem in inbox 'of the decision step type .
    whenever the workitem is executed the approver will get the custom defined options with cancel and keep worktiem in inbox by default.once he clicked on this button the worktiem will remain in inbox.
    i  need to replicate the same functionality by displaying one report to the approver..once approver clicks on the report button the report should be displayed and when he clicks back it should display the user decision options or come out and keep the workitem in the inbox.
    regards
    manju

    You can use the Method Tab to Display the Report. Use the Secondary Method option in Method tab of a decision task. By doing so a new session will be generated that will display your Report. Ask your client that they use the Confirm End of Processing option of a Task. In this they will get a Pop up where they have to Confirm the end of processing of Workitem in order to make the Workitem complete. Its the other way round but it is effective.
    <b>Reward Points if Useful</b>

  • Removing 'Cancel and Remain Item in Inbox' Button from Workflow

    Hi,
    When I create an option in workflow by default we get one option 'Cancel and Remain Item in Inbox' I think this option appears in ECC 6.0 & above. I want to remove this button from the workitem which is automatically appearing below my approve option.
    Can anyone tell me how to remove this option.
    Thanks & Regards.
    Shweta

    Hi,
    There is no standard way for hiding this option in the decision step (if I understand correctly what you mean). This has been "always" there - even before ECC 6. Basically this option is actually quite useful, if the user does not want to complete the task at the moment, and keep the work item in his inbox to return to it later.
    If you really need to hide it, it will probably mean that you need to make your own version of the decision task (and the method). You can check/debug the code of the method, and see where you could hide the button. BUT if you just need to hide this button for one certain task, it might much easier to just create your own simple screen and use that instead of the standard decision "screen".
    Regards,
    Karri
    PS. Try to search this forum for some hints. I remember seen this same topic discussed quite a few times, and there has been quite clever solutions.

  • "Cancel and Keep Work Item in Inbox" Not working ??

    Hi Experts,
    We need your help in resolving a workflow issue. Issue is, When user gets an Invoice to approve (Non PO), she opens the invoice, do some changes, and park it. Then she gets Option button to either u201CApproveu201D, u201CRejectu201D, u201CCancel and Keep Work Item in Inboxu201D. When she clicks u201CCancel and keep work itemu2026u201D, ideally the work item should remain in her SAP Inbox, however it is getting executed and gone from her workflow. I found that work item in her SAP Outbox xecuted state.
    Same thing happens when they try to forward the work item. She gets an option( a checkbox) to Keep a copy of the work item in her SAP Inbox as well, but that option is also not working and the work item gets transferred without leaving a copy into her SAP Inbox.
    SAP System ECC 6.0
    Please advice.
    Thanks,
    Sid

    Hello,
    Is this in SBWP or UWL? Does it only happen to one user? Does it only happen with one workflow?
    Check in the workflow log if there is anything unusual.
    regards
    Rick Bakker
    hanabi technology

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

  • I keep getting a pop up asking for my voicemail password.  I can simply press cancel and it goes away, but it happens frequently and often during a text or email.  Is there a way to stop this?  I don't even have a voicemail password.

    I keep getting a pop up message asking for a voicemail password.  I can simply touch cancel and it goes away.  Put it pops up quite frequently during texting, chatting or email.  Is there a way to stop this?  I don't even have a voicemail password.

    Contact your carrier; they are the only ones who can resolve this for you. Use the Carrier Luke,
    "Fun with the Sun, MEta"

  • I have attempted to update OS X 10.8.4 and keep getting this error message...The operation was cancelled.(3072) Anyone know why?

    I have attempted to update OS X 10.8.4 and keep getting this error message...The operation was cancelled.(3072) Anyone know why?

    You're trying to update an application that's running, perhaps in another account. Make sure you quit all apps that are to be updated. If another user is logged in under Fast User Switching or Screen Sharing, he or she must do the same.

  • TS3243 My time machine back up freezes at a partial backup. I keep cancelling and restarting a new back up and it will again freeze up at a slightly different point. Last freeze shows 485bytes of 246.16 GB. My last backup was Sept. 1 !!!!! Help!!!!

    Repeat: My time machine back up freezes at a partial backup. I keep cancelling and restarting a new back up and it will again freeze up at a slightly different point. Last freeze shows 485bytes of 246.16 GB. My last backup was Sept. 1 !!!!! Help!!!!
    Also: am running OSX 10.6.8 on an iMac8,1
    TimeMachine had be working well on a 1TB WD MyBook Ext. H.D. .
    QUESTION: ANY SUGGESTIONS OR SOLUTIONS?????

    See Pondini's TM FAQs for starters.

  • Executed Workitem in Inbox

    Hi All,
    Successfuly workitem executed,but again the same workitem text and its attachment keeping in the inbox with nill records.
    And also the same nill record workitem keeping in all other user's inbox.
    Same thing happening also in all other workflow workitems.
    Hope you understood my issue
    What could be the problem?
    Thanks and Regards,
    Prabhakar Dharmala

    You are not giving a lot of information. I suggest you spend some more time trying to figure out either the cause, or some things you can tell us.
    Sounds like a general task where the agent resolution fails (e.g. a role without the checkbox checked to raise an error when no agents are found).
    I would start by checking who started the workflow, and how it was started. Then check a few other things before you come back here with more information if it is still a mystery.
    <i>Message was edited by Kjetil Kilhavn:</i>
    You are not even saying if it is a standard workflow or a customer solution, whether it is a BOR object type or class that has been used, or indeed whether that is a standard or customer-developed class or BOR object.
    In short: you are not giving any information that is specific for your problem. You can't solve a problem without specific information. It's no different from when end-users  say "SAP does not work".

  • Firefox 3.6.8 will not start. I have to go to safe start, click reset to default, ok, then the shutdown box appears, I click cancel and it will open. I have rest profile, uninstalled and reinstalled, clicked alll he boxes on safe start, tried an older ver

    Firefox 3.6.8 will not start. I have to go to safe start, click reset to default, ok, then the shutdown box appears, I click cancel and it will open. I have rest profile, uninstalled and reinstalled, clicked alll he boxes on safe start, tried an older version need help. in English
    == This happened ==
    Every time Firefox opened
    == either after I last updated to 3.6.6 or .7 or reset my inernet exploerer values to default

    I had same problem where Firefox 3.6.8 would not start or open. Spent many hours trying different things to fix it. Uninstall of previous version and reinstall did not make any difference. Finally, after uninstalling Firefox, I searched for Firefox folders and files on my computer, deleted and removed all Firefox folders and files - deleted anything and everything related to Firefox so that it will be as if I was going to download Firefox for the first time ever. Then, using another browser, I downloaded Firefox 3.6.8 and installed it. It could be that some Add-Ons or something else from the older version of Firefox or profile was interfering with the new one. It was easier to delete remove everything and install all over again clean than to figure out which part was causing the problem.
    Keep in mind, when you delete all Firefox folders and files from your computer, you are deleting all your bookmarks and all your Add-ons. If you want to keep those bookmarks, you might want to save the URLs someplace safe to bookmark them again before deleting them. You need to re-install the Add-ons also. Upon installation, it asks if you want to import bookmarks and settings from another browser or settings you might have. I imported them from my other browser. Now, Firefox works. I also installed up-to-date Add-ons.
    I hope this helps. Always keep more than one browser functioning on your computer, just in case one fails.

Maybe you are looking for

  • Which role do I need DFS or File server on fail over cluster server 2012 R2?

    what I want to achieve is that I want to share all my user data files in a central location and to be highly available all the time whether it's a general share or folder redirection data. BUT I'm a bit confused;  I have fail over cluster  set-up on

  • Safari Update 7.1 will not open

    My wife is running Mavericks OS 10.9.5 on an older iMac.  She was using Safari 7.0.6 and all was working fine.  When she updated to 7.1 today the application will  not open at all.  We zapped her PRAM with no luck.  "Getting Info" on the Safari App s

  • Webutil invoke.string problem with c++

    hi , am using forms 10g and trying to call a dll in c++ it works when i call the dll using webutil to return an integer from the dll by sending 2 parameters of type varchar2 to invoke the function returning integer rc1 := WEBUTIL_C_API.Invoke_int('ca

  • Find ringtone in the cloud

    How do I find out if a ringtone is stored in the cloud?  I had to restore my iPhone and the ringtone did not restore.  For some reason, the file is not on my computer (in a format I can find anyway).  My phone is fine now and I would like to simply f

  • Disc sharing between G5 and Macbook?

    I have an Aluminum Macbook who's optical drive does NOT like my Microsoft Office 2008 disc for some reason. The disc works in every other computer we have (Powerbook and G5) and every other DVD and CD I have tried works just fine in my Macbook. Here'