WorkFlow User Decision

Hi
I want to change the step egent , by a workFlow container element ,
i want to know wich element to choose , and what option to choose on changing agent of the step
I try
(work flow initiator _ Expression) with PERNR but it dosent work
ANY HELP PLEASE

what you can do is instead of using the Expression in the step  and instead of using &_Wi_INITIATOR& , you declare a workflow container element of type SWHACTOR where you need to pass the object type as P and his pernr number , i mean you hva e to fill two fields in this element
e;g  :  P 12345

Similar Messages

  • 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

  • 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

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

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

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

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

  • Workflow - User decision step with checkboxes

    Is it possible in standard steps to give the user step of decision, but with options with checkboxes, for example 3, so that he can check or uncheck any of them?

    Thanks, I started making on my own the method of custom business object with screen and so on.
    thanks

  • User decision step prob

    Hi,
    In my workflow user decision step have 2 approvers.
    if one of the approver opening the work item ,remaining approvers relevent work item(User decision) deleted from sap inbox.
    i want to keep all approvers work items  alive upto getting decision from any one.
    Please suggest me in  this
    Thanks and Regards,
    Ragavendran K.

    Hi,
    It is  possible by doing the following
    create a multiline element for the approvers.
    you use this element in a simple subflow where you pass on the mutliine element in the Miscellaneous  tab.
    Now for every record in the container 1 workflow is started.
    Your workflow should have a fork 1:2
    in one branche the user decision and after the user decision a create event step.
    And in the other branch a wait for event step.
    Now only when a UD is executed an event gets triggered,m which should terminate all of the workflows.
    Kind regards, Rob Dielemans

  • Description changes not reflecting in User Decision step

    Hi,
    I am displaying the ECM (cc01) description in the workflow user decision step. In this user decision step I do have three options
        1. Changes completed (to move the ECM to next level)
        2. Edit ECM (Calls ECM n change mode CC02)
        3. Cance (standard)
    If I choose Edit ECM, and change the description in the ECM and come back to the user decision step, it still shows the older description some cases. In some cases I am getting the updated description in user decision step. In Edit ECM step I am using Z method which is the copy the standard BO method Edit_synchron of ECM to call the transaction CC02.
    Z method does not contain any importing or exporting parameters. Also in the workflow<->Task binding I bound ECM <-> _WF_Object_ID.
    Thanks,
    Muruganantham

    2 case:
    1.) Description not changing: How the description get populated in user decision step ? Is it some varibale get populated based on select query ?
    2.) Description get changed: Please check the new workflow instance get created and you can only see changed text in new instance. Already triggered workflow will not show the changed value.
    Please check the worklow design, whether its creating new workflow instance on every change in ECM ?
    BR,
    Prakash

  • 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

  • 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

Maybe you are looking for

  • My new Mac Pro 2.66..how sweet it is!

    So I received my new Mac Pro and, while in the process of setting things up, I have to say this is one gorgeous machine having opted for the ATI 4870 card and 6 GBs of RAM. Compared to my old G5 it is silent; the only fan noise occurs upon booting an

  • Getting Started with the BlackBerry Classic

    Reposted from the Inside BlackBerry Help Blog Whether you are new or experienced with BlackBerry 10, here’s a quick guide to get you started with the BlackBerry Classic! Step 1 – Insert your SIM and media card The first step you’ll want to take after

  • In need of a pattern for a common problem - what to instantiate?

    I'm sure this is a common problem with a standard solution (in a form of well known pattern), but I am not aware of one nor do I have any idea how would I Google for it... So, here it goes (exemplified): a user is presented with a combo box that enab

  • To check the date value-Urgent

    H iAll, Please help me in this code. I have to validate the user entry date with some dates. User entry date must lie between 4 weeks back and 20 weeks back and it chouls be monday only. Please check this code and suggest. Thanks in Advance! DATA : Z

  • ID CS6 Opens in a reduced size window- Not Maximized

    I maximize and then close, but when I reopen it is in a reduced window. Any suggestions? thanks jon