How to retain the work item in inbox of user if user press the icon cancel?

HI,
we  are using a text editor in approval section of workflow where the user needs to enter the reason for apporval or rejection.
the requirement is how to retain the work item in inbox of user if user press the icon cancel? there are two icons in editor,one is ok(tick marg) and cancel(cross mark).
so when user dont enter any text in the editor and press on cancel icon,then approval/rejection should not authorize and work item will remain in the user's inbox .unless and untill he enters the text.
i have tried   LEAVE TO TRANSACTION 'SBWP'.leave program etc but nothing is working.
please guide me.
thanks
prsahu

Hi,
Go with Sangvir Singh suggestion.
It also looks neater from a Business Process Modeling perspective. You continue the process flow only when a change has occurred.
Kind regards, Rob Dielemans

Similar Messages

  • How to forward a work item from user inbox

    Hello,
    We are trying to find a way to remove work items from a users inbox. the workitem has not been opened
    and also it is possible that the work item is in more than 1 users inbox.
    we want to remove the work item from only the 1 user and leave the work item in the other user's inbox.
    Regards
    Gaurav Maini

    Hi ,
    U can see the workitem of the user by the table SWWUSERWI giving user id.
    select the workitem id.
    Go to the transcation SWIA.
    Forward the workitem to your inbox.
    This will not appear in user inbox anymore
    Regards
    Pranab

  • Error: You are not a receiver of the work item in Leave Request Approval

    Hi all,
    I have copied the standard leave request workflow and done the customization as per my requirement.
    Agent assignment for all the tasks are General Tasks.
    We are facing below error when we are trying to approve the leave request from MSS UWL.
    "You are not a receiver of the work item.".
    This started happening after implementing the note 1501377 which is for clearing the approved leave request
    workitems from UWL .
    i have gone through the threads related to this issue and tried given solution but no success  .
    Please let me know if anything else is missing since its happening after implementing the note.
    Thanks,
    Santosh

    Able to resolve the issue :-).
    i was using Fork since my workflow is a two level process.
    so the workflow was travelling to both branches one was in ready state another was in waiting state(48hours deadline)
    having different agents.
    i debugged the 1501377 note code when leave is approved it is looking  at last workitem  of the request which is waiting state workitem in my case and I was trying to approve the leave from user who is in ready state. then it throws the error.
    So i have changed the design of workflow. i have done below things for two level process.
    i will have requested end for approval task with outcome in that branch i kept second level approver. My questions
    1) i am planning to do write below code to post the entries into infotypes after approval by managers. is it ok or any suggestions?
       CALL METHOD cl_pt_arq_processor=>post
          EXPORTING
            im_request =
          RECEIVING
            ret_value  = retrun
    2) how to complete the WF if the 1st manager misses the deadline and WF goes to second manager?
    Please let me know.
    Thanks,
    Santosh

  • SRM Notification sent but user has not received the work item

    The notification is received by the user but the work item is not actually visible in the user's inbox.
    Please suggets what to do?

    Hi
    The user will receive the work-item in few cases only.
    1) Incase the manager has partially rejected the Document.
    2) Incase Buyer has made some changes to the Document.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Error: You are not a receiver of the work item in Leave Request Deletion

    Hi All,
    We are using customized leave request workflow which is the copy of standard leave request workflow.
    All tasks are assigned as general tasks and assigned in SWFVISU.
    But the employees are unable to delete the leave request with Sent status.
    Scenario:
    Employee applies leave.
    Now when the employee tries to delete / cancel the leave request before approval (Status is SENT), the employee is getting the error
    "You are not a receiver of the work item".
    This issue is happening for only the leaves which are in "SENT" status and though the employee is able to delete the "REJECTED" leave requests. The employee is also able to change / modify the leave requests without an issue.
    We are on EHP 7 with SP level 22 and running this on Portal 740.
    I have gone through the threads related to this issue but did not get any success.
    Please let me know if I am missing something that can resolve the issue .
    Regards,
    Anurag

    Hi Sid,
    As I mentioned above, we are on EHP 7 with SP 22 and hence the above note 1066288 does not apply in our case.
    Moreover, we're using WDA based application and the above note seems to be the one for XSS based on WDJ.
    Regards,
    Anurag

  • Workflow loop, return the work item to the inbox, instead of automatically executing the work item

    Hello all,
    Within a workflow I have a loop. Inside that a foreground step is executed. Then a condition step is executed to decide if the workflow should continue, stop, or return the work item to the inbox.
    This new workflow was modeled after an existing workflow that is doing just that. Unfortunately, this new workflow is not returning the work item to the inbox. Instead, it just keeps displaying the screen that is called by the function module that is called by the business object method that is executed when the foreground task runs.
    I've included a Word document with further detail in a number of screen prints. Hopefully this is something that will experience workflow developer may have seen before and know how to correct.
    Unfortunately I have done very little workflow development and don't have a clue what might be causing this problem.
    Any help would be greatly appreciated.
    Bruce
    I could not attach a Word file, so I added 3 jpg files.  I would have added another 3, but it seems that posts are limited to 3 files.

    Hi Bruce,
    As per your design, If you are approving or returning, the workflow loops back to the step "Approver - stat key approve".
    Suppose you are one of the approver for this step ""Approver - stat key approve" and if you click on approve or return, then it will try to create a new workitem for "Approver - stat key approve" step.
    As you are one of the approver again, the window opens immediately instead of reaching the inbox of all other approvers.
    Include a dummy activity step in the "approve & return" condition outcome.
    Active the workflow & refresh the buffer SWU_OBUF.
    After this, when you click on return it will not open the same screen again. Instead it will be reaching all the approvers' SAP inbox.
    Thanks,
    Karthikeyan

  • How to stop workitem complete or how to keep work item in inbox based on conditions even if it completed

    Hi,
    my requirement is to call webdyn pro screen from workflow..
    i am calling webdynpro screen by using FM :CALL_BROWSER from workflow.
    when webdyn pro screen is called user will enter some values . if user closed webdyn pro screen with out entering any values we need show this workitem in his inbox. so that user can again open it and enter values in the webdyn pro screen.
    Please help how to stop work item complete based on conditions.
    Thanks,
    phani

    Hi,
    As per my understanding, this is not a proper approach toy call web dynpro using FM CALL_BROWSER. is the web dynpro screen being called when user clicks on the work item from portal UWL OR from SAP SBWP ?
    if you are calling web dynpro screen from portal UWL when user clicks on work item link, better you achieve it using SWFVISU tcode. in SWFVISU tcode you can maintain which web dynpro. application to call when particualr work item task come in user's inbox. in your web dynpro code, then you can write your buisiness logic when user clicks for example SUBMIT/SAVE button. on action submit/save button you can use FM SAP_WAPI_WORKITEM_COMPLETE to complete the worktiem once the user clicks on final submit/save button. in this way the workitem will get removed from user inbox only upon clicking on submit/save button.
    You can refer below link for web dynpro for workitem:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?QuickLink=index&…

  • How to direct the Work Items in SBWP to different folders

    Hello All ,
    Is there a possibility of having a rule on the SBWP , so that the work items coming in to the inbox can be placed in different folders based on some grouping .
    I see 4 kinds of grouping :
    Grouped according to task
    Grouped according to content
    Grouped according to content type
    Grouped according to sort key
    Is there any help on how to use this . Any example given ?
    Do we have any other groupings on the workflow inbox other then the above ?
    Thank you very much for your valuable input ...

    As said above, the work items are automatically directed to these folders according to rules briefly explained here (and you can't change the rules): [sap library - workflow - inbox|http://help.sap.com/saphelp_nw70/helpdata/EN/ae/b82ccee10611d2a62f0060087a79ea/frameset.htm]
    In case you don't have work items in your inbox, use transaction SWUI_DEMO: used to start several demo workflows
    If you want a custom business workplace, see demo transaction SWLD_INPLACE1: a custom business workplace with one container (program of 210 lines)

  • The work item not coming in SAP inbox ....

    Hi experts,
    I am doing PR realese workflow.It is moved to quality server from development. In quality it is activated and showing no error.When a PR is created  mail is send to approver and the workflow is waiting for his approval. But the work item is not available in his SAP inbox. Even he is getting the remainder mails.But the work item is not available in his business workplace(SBWP).I cross checked user ids of approvers. But still its not working ....the mails are sent to approvers external mail ID.....
    Is there any configurations to make for making the SBWP active ?????
    Pls anyone give me a solution for  this problem...
    Thanks & regards,
    Jayaraj

    Hello,
    The best solution would be to take your mouse, move your cusror to the top part of your screen, and click on the "Before you ask (here are many workflow answers)" thread. If you've tried everything that is proposed there then please reply to this thread explaing what you have tried.
    Cheers,
    P.

  • How to go directly to the work item in CRm 7.0

    Hi
    http://xxxxvdc2s.eu.xx.xxxxxxx:8000/sap/crm_logon?sap-client=200?default.htm?crm-object-type=WORKITEM_IB&crm-object-action=B&crm-object-keyname=WI_ID&crm-object-value=26120
    This is above the url which i am passing .Its not directly going to the work item.
    and also the client is filled with 200 ?default.htm which is wrong.
    if i am using http://xxxxvdc2s.eu.xx.xxxxxxx:8000/sap/crm_logon?sap-client=200? then client is not filled with any thing its properly logged in but here i have to go through all the steps to reach my work item.
    if i am using http://xxxxvdc2s.eu.xx.xxxxxxx:8000/sap/crm_logon?default.htm?crm-object-type=WORKITEM_IB&crm-object-action=B&crm-object-keyname=WI_ID&crm-object-value=26120
    then here its defaultly taking 100 as the client instead 200.
    so any body please help me in CRM 7.0 how to login directly to perticular client and go to perticular work item?

    Found the solution .The solution is instead '/' symbol use '& ' symbol
    http://xxxxxxxxxxxx:8000/sap/crm_logon?sap-client=200&crm-object-type=WORKITEM_IB&crm-object-action=B&crm-object-keyname=WI_ID&crm-object-value=26120
    then got worked

  • How to include sap work item in the email sent by workflow - WS01700044

    Hi,
    In FSCM Dispute Management, we have a requirment to include the sap work item in the email being sent by the workflow - WS01700044.
    The underlying task in it is TS01707928. This Task sends an email to the outlook as well as work item to SAP inbox.
    We want to include Sap Work item in email being sent to the outlook.
    This will help the users to process the workitem directly from the email instead of going to SAP Inbox to process the work items.
    Please suggest the possible ways.
    Thank you.
    Vijay

    Sadly, I believe this will require a bit of development to make it happen. The project I'm on now...we are finding that to get it to do what we want it to do, a development to customize the email message to include all the case fields is required.
    D

  • How to use the url in the work item

    hi ,guys ,
       I have question in design the workflow, my scenario is as follows : I develop the workflow in the sap gui ,then integrate it into the portal using uwl . now i want add a link in the work item ,before approver excute the work item ,the approver can click the url to view the detail approval information ,and the system popup a web window which link to the pcui application . and someone advise me to maintain the href in the work item text ,but i have no iead on it ?can anybody give me some advices or sample material ?thanks in advance .
    Jialiang.Qiu

    Hi
    If we talking about adding an URL in the GUI workitem display you can proceed as follows:
    1. In the workitem text editor, change the editor to line editor (Goto -> Change editor)
    2. enter the tag /* (Usually used for comments) to the left
    3. enter the URL on the line as follows <a href=http://www.cnn.com> click here</a>
    Regards
    Morten Nielsen

  • How to secure the users from deleting the work items

    Hi all,
    I have a question like this.........whether we could secure the users from deleting the work items by someone in the Project and also assigning a specific user to allow them to delete the idoc. 
    Please help me on this as this is critical.........
    Thanks in advance
    Chakri

    One of t he possible way is, ask the basis team to create users as Service Users and you can determine whether the login user is whether a service or dialog user  by using the a bapi BAPI_USER_GET_DETAIL under the exporting parameter logondata with field USRTYP where if the logged in user is Service user then this field will be populated as S if the user is a dialog user then it will be populated as A.
    Now in more efficient way of fixing this is get the list of users for whom you donot want to give the authorization of deleting workitems and assign the appropriate role for all the listed users...
    for roles and authorizations i hope the basis team is the right team to consult....

  • Error while opening work item in Inbox sbwp for verifcaion of right invoice

    Hi,
    I am working on SAP workflow with IXOS.
    I faced  a problem in opening the workitem when it came into the inbox.
    In nomal scenario when i click on the workitem under workflow folder in my inbox, it opens the attached document in document viewer, i can see the attached document ,and after verifying it ,i can furher process it.
    But now when i click on the work item in my inbox it directly takes me to the next processing window, without opening the attached document for my verification, so i am unable to check that i am processing the right invoice.
    Please help.

    Yes, it was working fine before.
    And also the problem generally rise in afternoon.

  • "Workflow Template Create" screen  appears while executing the work item.

    Hi,
       I am learning the workflow. I have created a test workflow in which there is a user decision step and 2 mail sending steps for the outcomes of the user decision.The workflow is activated properly . When I excute the workflow the screen for "Workflow Template Create" opens everytime. When I go to the Business workpkace a mail is there in my inbox with the title as given in the user decision step. Again when i am trying to execute the work item in the inbox again the same screen for "Workflow Template create " is opening. I am totaly confused with this problem . Pls suggest what might be the reason..?

    I think the Wflow Template Creation screen is not opening but your current session is getting closed so the previous session which is Wflow Create one which you have already opened is appearing. Please check your template design and act accordingly.
    Thanks
    Arghadip

Maybe you are looking for