User Decision in Workflow

Hi All,
When I use the User Decision Step in Workflow, then If I mention two Outcome Text, then at runtime it shows three by adding Cancel and keep.
Now, if I click on Cancel and Keep it in Inbox, then the execution go furthur.
How to cancel the execution of Workflow there only and not to move furthur...
Plz give reply...
Rahul

hi
check the link below, it will help you
http://****************/Tutorials/Workflow/CustomText/CustomText.htm
<b>reward points for useful ans</b>
Regards
Aarti

Similar Messages

  • Workflow user decision problem

    Hi experts!
    I've got a problem on using the user decision in workflow.
    i have a workflow with a user decision that has 3 user decision options (basketball, volleyball, and badminton)
    Here is the problem:
    After i selected one of them and flagged them as finished.
    I'd like to loop again with that user decision but the decision options now will be the remaining two and the other one will not be displayed
    ex:
    BEGINNING
      options:
         basketball (selected)
         volleyball
         badminton
    AFTER LOOP
      options:
         volleyball
         badminton
    Here's the question:
    <b> how will i do that? </b>
    i would like to make a workflow with using only one user decision. Based on my thinking i would come up with so many user decisions if i randomly select the decision options.
    Thanks in advance.
    <i>Points will be given for any answers that would come up with an idea..</i>

    There is an user exit for customizing our work items but I am afraid that will it be applicable to your requirement. I tried your scenario to pass variables to the user decision, but i failed. Experts please share your views. Is it possible to pass variables to user decisions using user exits?

  • How to integrate outlook with notification in user decision

    Hi experts,
       there are notification/latest end/requested start... tabs in step type 'user decision' of workflow.
       But these messages are sent to workflow inbox and now i want to sent these messages to outlook.
       For notification i could use function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to achieve this.
       But how could i achieve latest end/requested start with 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
      After some research i find that 'extented notification' seems could reach this.
    Any advice on this requirement and is  'extented notification' ok for this requirement  ?

    Hi Gang LI,
    Using 'SO_NEW_DOCUMENT_ATT_SEND_API1' you can send notification amisl to a user. But user decisions are used to send workitems to user to take action on. These have deadline monitoring activated to take care of missed deadlines for the task.
    Please explain if you need to send workitems to the users.
    Regards,
    Saumya

  • Programatically pprove/Disapprove user decision step in a waiting workflow.

    Hi Experts,
    If I have the approval step work item ID,can I programetically resume the waiting workflow by providing the input (approve disapprove).
    The use case is that the workflow is started. The workflow has a approval step and it is now waiting for user decision.
    When the workitem is created,I get the workitem id thru an exit.
    Now assume the user decision is got thru another means and now I want to resume the waiting workflow by providing the decison into the waiting workflow.The workflow should now continue with the subsequent steps.
    Is there any WAPI to do that.
    Thanks in advance.
    Bikram

    Ad Hoc Approval should be done with transaction SWIA.
    If this occurs a lot then a redesign of the flow is in order. One where with deadline monitoring you can take certain actions when workitems are idle for an amount of time.
    Also setting up substitution is advisavle for this scenario.
    Programmatically doing stuff is done with the SAP_WAPI function modules, check out if sap_wapi_decision_complete works for you.
    Kind regards, Rob Dielemans

  • Workflow user-decision mail with Approve & Reject button to Outlook.

    Hi All,
    Requirement: To send a mail with Approve & Reject buttons to outlook inbox.
    Approach: I have used the user-decision step in the workflow and the approve, reject buttons are displayed . As far as solution in SAP inbox is concerned, it is solved.
    However the requirement is to show the mail with the buttons in the outlook mail.
    Resolution Required For: to show the mail with the buttons in the outlook mail. I am new to workflows sending mail to outlook inbox. Is there any way to do this using ABAP developments.
    Thanks for your time.
    Best Regards,
    Goutham.

    Hi,
    If you are on ECC 5.0 or above, you can use the Extended Notif. for achieving this.
    How are you getting the Outlook mail ?. If you already have Extn.Notif, then do the following :
    1. In Transaction SWNCONFIG,for your Scenario and Category,
    in the Subscription Basis Data -->Subscription Settings,
    Set the parameter SHOW_ACTION_DECISION_AS as "LINK"
    This will give you the options of your user decision as LInks in Outlook mail.
    There is lot of material in this forum for Extended Notif. if you search.
    Hope this helps.
    venu

  • Url link in User Decision workflow step

    Hi Experts,
    I had created a workflow for "Employee transfer" process using SWDD tcode.
    I had a created a workflow step with type as "User Decision".I had included "Approve" & "Reject" decision options.
    Now i want to include URL link along with "Approve" & "Reject" in the user decision workflow step (i.e) The manager needs to see the URL link along with "Approve" & "Reject" in his SAP workflow inbox.
    Can anyone guide me...
    Regards,
    Krishna Balaji T

    Hi Krishna,
    I understand your issue. I have faced a similar issue in my project.
    Here is the solution!
    To add link of a URL you need to have the binding with the BO of the transaction your are refering to. To do this, you need to bind your BO event (triggering event) to the workflow container and then the workflow container to task container. This BO value should flow from event-> workflow -> task container to get the link in the User Decision.
    To do the binding you need to follow the following steps:
    1. Go to t-code SWDD and open your workflow template.
    2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
    3. Go to Start Events tab.
    4. In the Object type enter your BO name (BO for the transaction you need to add as link), in Event of object enter the BO event. This would serve as the triggering event for your workflow.
    5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement. This binding would ensure that the URL comes under 'objects and attachments' section.
    6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Check the condition before saving (recommended).
    6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
    7. Save the changes made and activate your workflow.
    8. Do the binding between the workflow and the user decision step. Select automatic binding (recommended).
    You can also refer to the similar thread that I had provided solution to. This would help you resolve the issue!
    Re: URL of site has to be attached along with the mail
    Hope this helps!
    Regards,
    Saumya

  • Calling Transaction through User Decision step in workflow

    Hi all,
    Pls help me calling a transaction through User Decision step in workflow. I have attached two buttons to my User decision and the one of the outcomes to a task where I am calling the transaction through a method of BOR. But the problem is I am unable to see the transaction when I press the button on my User Decision at test run.
    Can you ppl let me know how can I achieve this?
    Pls reply ASAP...
    Thanks
    Sangharsh

    Hello Sangharsh ,
    Please Check the paramater of of the method which you define.
    e.g. I define CALL_TCODE_CJ03 method
          which have the parameters FLAG,ProjectDefinition,WBSElement2,User
          with export, import checkbox.            
    Pass the paratmeres in programs
    e.g.
    BEGIN_METHOD CALL_TCODE_CJ03 CHANGING CONTAINER.                      
    DATA:                                                          
          FLAG(1),                                                        
          PROJECTDEFINITION TYPE PROJ-PSPID,                              
          WBSELEMENT2 TYPE PRPS-POSID,                                    
          USER TYPE USR21-BNAME.                                                                               
    SWC_GET_ELEMENT CONTAINER 'FLAG' FLAG.                              
      SWC_GET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.    
      SWC_GET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.                
      SWC_GET_ELEMENT CONTAINER 'User' USER.                                                                               
    GET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.                       
      GET PARAMETER ID 'PRO' FIELD WBSELEMENT2.                                                                               
    SET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.                       
      SET PARAMETER ID 'PRO' FIELD WBSELEMENT2.                             
      CALL TRANSACTION 'CJ03' AND SKIP FIRST SCREEN.                                                                               
    SWC_SET_ELEMENT CONTAINER 'FLAG' FLAG.                              
      SWC_SET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.    
      SWC_SET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.    SWC_SET_ELEMENT CONTAINER 'User' USER. 
    END_METHOD.
    I hope it will help you.
    ***Assigning points is the way to say thanks in SDN.***
    Minaxi Shah

  • Workflow: User Decision Activity doesn't work

    friends,
    URGENT!!!
    I've created a User Decision Activity but it doesn't work.
    It sends a message to SBWP but there the user hit APROVE  OR REJECT, and instead it work, it simply show another screen with only a button labelad "Cancel and keep work item in inblox".
    It simplily doesn't folow.
    I've created an method that executes a standard function 'EDITOR_TABLE' that call a screen to the user put a description text for the rejection. It's market 'Advance with dialog'.
    thanks
    Glauco
    Abap / Workflow Consultant
    msn: [email protected]

    Hi,
    Your patch level seems to be OK.
    pls. try the declaration as 'Data: uid like syst-uname' or you could try directly assigning the sy-uname.
    Try to debug and see the content of the sy-uname, when it hits this code.
    HTH,
    Regards,
    Nataraj.

  • Attachment in workflow user decision

    Hi All,
    Can anybody let me know how to use attachment in workflow user decision box? My requirement is I have one internal table and I want to display the data of the internal table as an attachment.
    Thanks,
    Salil.

    HI,
    Go thru thi link
    http://help.sap.com/saphelp_nw04s/helpdata/en/8d/25f131454311d189430000e829fbbd/content.htm
    Thanks
    Sunil

  • User decision history report, workflow summary log

    Hello SAP Workflow community,
    In our project there is a task to implement User Decision history/log management. I want to get programmatically (via ABAP, in order to be able to store this data in DB too) the history all user decisions (statuses of all User Decision work items) inside of specific workflow and send the summary report to the workflow initiator/workflow administrator upon the workflow completion.
    After some search I found the complete set of relevant function modules under SAP_WAPI_WORKITEM_*, where you can get detailed information per work item, including their statuses, but I'm not sure, that this is the best practice to implement such task.
    Of course, we can go «brute force» and built such log manually: to log each user decision and store it in multiline container and after that find some way to send it to the desired person. But I'm pretty sure, that there must be another way, should be some standard, SAP-provided way to build such summary report. Could you, please, point me to the relevant directions.
    The Bottom line is at the end of each workflow execution I want to send to workflow initiator the report with list of all User Decisions, their statuses (approved/declined) and username, who took the decision.
    Thanks.

    GOS->workflow->workflow overview should show the workflow log showing the status of the workflow until now (workitem name/start data & time/end date &time/decision/status/user name).
    Table swwwihead has the fields wi_cd (creation date) wi_aed (end date) and wi_aagent (actual agent)
    Table sww_wi2obj has the link to the object.
    Table swwloghist has the workitem history.
    You could use the way suggested by Karri, since the decision is hard to read directly. But for workflow reports,I usually use BW see Workflow reporting in BW – extractor improvements

  • SAP Business WORKFLOW User Decision Rejection Rollback.

    Dear SAP experts.
    Please help on below Query:
    1) In my Custom workflow , we are mailing to a user with user decision on change of some SAP data.( material master, source list, PO change).
    2) In A User Decision there are 2 Options:
    APPROVE Changes.
    REJECT     Changes.
    3) As per CLIENT's Requirment if REJECT changes is chosen then all SAP chanegs that were done to TRIGGER this WORKFLOW should be Rolled back and UNDONE.
    4) is this Possible?
    5) Please guide me with some Example or Logic to accompalish this task...
    Thanks to reply.
    (Used for SAP learning only)

    You can check what are the changes that are done from Changedocument tables like CDHDR and CDPOS
    Please make sure to put filter such that the rollback change does not trigger new Workflow. You can achieve this using SWB_COND by maintaining start condition.
    Thanks
    Arghadip

  • Workflow and user decisions

    Hi Experts,
    I dont have much experience in workflow and I have to code something. At present we have a task which takes the user to transaction MIR4 and then the task is considered completed.
    The user wants to go to tcode MIR4 and then if any changes are made and save button is explicitly clicked, then only the Workflow task/item considered closed, else the user should be prompted that do they want to complete or cancel.
    If its a complete then the document is saved and if not then workflow task/item stays in his/her inbox.
    My doubts are :
    1> How can I prompt user if they want to complete or cancel ? I am thinking User decision, will it be right?
    2. How can I manage to keep the workflow taks in inbox, should I do a loop to itself?
    3. How can I find the document was saved or not ? I am thinking change documents.
    Can you please advice?
    RS

    Hello Reena.
    I would like to attempt,
    1. Yes.
    2. No, I think you get three options generally -
    > (say) Accept, Reject, Cancel and keep work item in inbox. So, no need to use loop.
    3. Yes and No. I suggest you can use the concept of Change Documents or alternatively use Event trace and check in Event log whether the material (say) is created or not.
    Hope this assists you in your decisions.
    Good Luck & Regards.
    Harsh Dave

  • Workflow : User Decision on Email using Web Services

    Hi,
    I have the requirement of sending User Decision on Email Using Web Services.
    Eg : I have created one ECR Using T-Code "CC31" and on status change "CC32" of this ECR, My workflow triggers. Now what i want is to send the User Decision on maintain User Email ID  as URL link. This link will contain the ECR Nos. There will be "N" nos of Links send on email depending on Requirement. By clicking on that Particular Link , Action taken should be updated in sap.
    URL Link is just like confirmation link send on our email id during user Registration on some Website or when we create our Gmail / Yahoo Account.

    Why not use the extended notifications? - it has an option to send links to approve/reject or any other option in the decision task and use a standard web service. See the document attached to note 1646056 - Workflow Quick Start Guide to Extended Notifications.

  • Need Help in Workflow - User decision

    I have to pass 5 parameter with this user decision title but they only give 4 parameter options in the user decision step. Is there anyway I can have five parameter place?
    Please help

    You might try creating a container element which is a long text field. Then write a method that will concatenate 2 or more of your parameters into the text field. Call this method before the decision step, and use this text field as a parameter.
    If you do this, you need to find out what the maximum length of a parameter can be (I think it's 50 char).
    All seems like a lot of work for one extra parameter, though!
    Cheers
    Lyal

  • Attachment in WORKFLOW user decision step

    Hi all,
    My requirement is to display a link in user decision step.
    When link is clicked, control should navigate to MM02 transaction.
    Also in following user decision step i need to provide link for smart form in user decision.
    Can anybody please guide in detail .
    Thanks.
    Edited by: Sanjay_lnt on Sep 26, 2010 1:14 PM
    Edited by: Sanjay_lnt on Sep 26, 2010 1:15 PM

    Closed.

Maybe you are looking for

  • Lightroom on a PC and Mac

    Does the licensing allow you to do one install on a PC and another install on a Mac? I thought it was supposed to be dual platform, but just got off the phone with Adobe and was told that while the disk will install on either platform, you have to ch

  • Finder Invisible Files

    Hi, I've noticed that sometimes after I expand a zip or rar archive that I can't see the extracted files in the Finder. The fies are visible under the command line but finder doesn't seem to register them. Can anyone suggest what is causing this? The

  • Level 0 members.

    Hi, Can we tag Dynamic Calc for Level ) members? Thanks, Venkat

  • Component allocation in routing

    In CA02 (Sales order routing) when I go to component allocation more than once then i get following message. It is ok that you only go once in component overview?? Component overview for routing cannot be called up Message no. CM022 Diagnosis You wan

  • Lync mobile device connection issue

    Hello everybody, I'm implementing Lync Mobility and remote access in our organization. Remote access is workig fine. But mobile devices cannot connecting to Lync Server 2010. My topology is :  Reverse Proxy Server(IIS7 works fine) <--> Front End Serv