Workflow Issue - Adding parameter to my decision step.

Hi
I am working on workflow and in decision step there are 4 parameters that I can use for Title. I have a requirement of 6 parameters. Is there any way in which I can add another parameter to my Decision step.
Himanshu Verma.
Patni Knowledge Park, India.

Would it be possible for you to concatenate the values of two parameters into one in a previous step?
Or even having only one parameter and a previous step that generates the full title you want to display...
Data element is SWD_PARAM1 which is CHAR255, long enough for holding a custom title.
Hope that helps,
Andres.

Similar Messages

  • Terminating Event with Decision Step

    Hi,
    In our purchase requisition approval workflow, I need to have a decision step in which to prompt approver to either approve the req. or reject the requisition.  In this decision step, I need for it to have terminating events for "SIGNIFICANTLYCHANGED", "RELEASE", "REJECT" and "RESET".
    First, I copy the generic decision task 8267 to my my own custom decision task.  Then I added a BUS2009 in the container, releasecode and other needed elements.  In this custom decision task, I was able to add these terminating events that has been defined in the BUS2009.  I was able to setup binding, except the one binding
    Terminating Event  ->   Task
    &_EVT_OBJECT&      ->   &_WI_OBJECT_ID&
    Since the &_EVT_OBJECT& for the terminating event is BUS2009.  And the custom decision task &_WI_OBJECT_ID& is DECISION business object. They're incompatable business object.  So I replaced that binding with
    Terminating Event     ->  Task
    &_EVT_OBJECT&    ->   &PURCHASE_REQ&
    After all the configuration has been setup.  I created a new purchase requisition.  Upon the RELEASESTEPCREATED event, it create a custom decision workitem in my agent's inbox.  When I triggered the "RELEASE" event, it is however not terminating my custom decision workitem.  The workitem still sits in the agent's inbox waiting to be execute.
    Is it possible to setup terminating events for decision step?  Any kind of suggestions or inputs would be greatly appreciated.
    Thank you.
    Jennifer Tran
    System Analyst

    I will suggest you to create a fork with 2 parallel branch and 1 necessary branch. Put the approval step in 1 branch and the wait for Release step event in another branch in this way you can suffice your requirment.
    Thanks
    Arghadip

  • Adobe form as attachment to user decision step

    Hi,
    i need to add adobe form as attachement to user decision step in workflow.
    1. i created activity step which call business object method with parameters workitem id
         i am using FM  SAP_WAPI_ATTACHMENT_ADD’  which will return attribute id
         i am passing that attribute with document id to 'ZSOFM'
            ZSOFM <-----------------------------------ZSOFM (Method to task)
          Bindings 'Attach_objects'  <------------- ZSOFM(Task to Workflow).
    2. i created user decision step
        Bindings  'Attach_objects' --------------------> 'Attach_Objects'( Workflow to user decision task).
    but when we execute first activity step in background i am not getting any PDF output .but when we  execute same method from class i can see pdf data is coming is it due to user name WF-Batch.
    when i execute activity step in back ground which will have sy-uname as WF-Batch i am not getting any PDF output data.
    please help how to solve .
    Thanks,
    Phani

    In transaction SWO1 create a z-object lets say zmyobjpdf (you might want to use it as a sub object of your standard object without delegation since they will probably have the same key).
    create a method in that object calling the adobe form.
    set it as the default method in the object header.
    now create an instance of the zmyobjpdf in the workflow for example as an attribute of the original object) and transfer it to the decision task.
    It will be displayed as an attached object pressing it will call the default method - your adobe form.
    If your question was about how to create a function module to display the form see SAP Library - PDF-Based Forms

  • Workflow- Adding Terminating event into a Decision Step

    Hi
    I have a requirement like, in the decision step for example 'Approve' or 'Reject' has to be executed from the web application by triggering a terminating event for this decision step. I have copied the decision BO DECISION to ZDECISION and created two terminating events and make it ashynchrounous. But this step is not getting executed in the workflow showing error as 'no terminating event is attached to the task'.
    Any input on this is welcome. If you could reply bit early as I need the information ASAP.
    Thanks in advance.
    Padman

    Hi Padman,
    Weclome to the SDN forums. We don't have a specific Workflow forum yet. Please post your questions in the General SDN Forum until we do.
    I moved your questions there.
    Thanks, Mark.

  • 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

  • User decision step agent issue

    Hi All
    In my WF I get a user profile back from a method that check a ZTABLE for the correct user to receive mail and a user decision work item .
    The mail step is working correctly and sending mail to the user (as per the parameter returned from the method)
    The problem is that user decision step does not sent a workitem to the correct user .
    Any ideas on what the problem might be ?
    In the email step I bind to &ADDRESSSTRINGS&.Not sure what the correct binding is for the user decision step?
    Many thks
    Gerhard

    Click workflow  log (use any of the log transactions, swi1, swi2_freq swi6 etc)
    click list with technical details, shift+F9
    find the step, click on it and tick the tab container.
    But if you could just answer my previous question about how you are sending the mail, because if you directly use email address then it is of course impossible to use that as agent assignment for the user decision.
    A user decision is ultimately sent to a user id
    Kind regards, Rob Dielemans

  • 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

  • "You can also" link in UWL work item when using user decision step in workflow

    Hi,
    Just want to check if anybody has tried adding links to this section in the UWL when using user decision step? I need to pass some custom links which will be calling some webdynpro applications and backend transactions. I have read somewhere that Ineed to modify the XML file but don' t know how the next steps once I have defined (i.e. how to handle those links).
    Thanks in advance.
    Rammel

    Hi Rammel
    I hope you are keeping well and many thanks for using the SAP Discussion Forums .
    Based upon your scenario you mentioned that:
    You want to add links to the "You Can Also" section in the UWL with user decision steps
    In an effort to pass custom links (calling web dynpro) applications.
    You wish to know how to modify the XML
    Ok now based upon the scenario there are two key points regarding XML files and efforts to change them.
    Remember that XML in terms of the UWL follow the notion of precedence. Now that means that once you make a change to an XML file you need to re-upload it to realize changes. To re-upload an XML file and realized changes you need to do so with a "High" or "Very High" priority and also ensure that the UWL Cache has been cleared of the UWL Service restarted so changes can be realized.
    The second key point is to ensure that you backup all current XML files before making any changes so you can easily revert those changes if required.
    Now reverting back to your query, the XML files and the "You Can Also" section. Kindly see the documentation outlined below as here you are going to make changes to the I-View configuration:
    Configuring the UWL
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45?overridelayout=t…
    UWL Content Configuration
    UWL Content Configuration - Configuring the Universal Worklist - SAP Library
    Kindly update me as per your findings.
    Kind Regards & All The Best
    Troy - Enterprise Portal Support Engineer

  • Error in decision step in customise workflow

    Hi,
    When i execute my customise workflow, There are 2 decision steps. On 2nd decision step i am getting error message  'Element '_WI_OBJECT_ID' not in container. In 1st decision step, element WIOBJECT_ID is not in container, but it execute successfully.
    How do i solve this?
    Regards,
    Smit

    Hi,
    Smit do proper binding between event and workflowcontainer and WF container to task container.
    If you are not aware of it you should use RED Round button which automatically do this for you.
    and another thing goto agent assignment and specify that task with general task from attributes.
    Hope magic Works!
    Regards,
    Purvesh Patel.

  • Decision Step in Workflow inbox in NWBC

    Hi All,
    As of now when I click on any task in my Business workflow inbox then it takes me to a Decision Step in workflow but this screen is displayed as GUI , but need to find a Webdynpro replacement for this Decison Step.
    This is a standard Decision task step with minimal configuration, so want to know if there is any standard SAP provided Web dynpro to replace this.
    Thanks
    Kumar

    Hi,
    It would be better to use the custom webdynpro application.
    Please follow the below steps...
    Create a Separate Webdynpo Application ( WDA ) where you need to put all the option as SBWP by coding.
    After that you need to configure the SWFVISU.
    Run Tcode SWFVISU.
    here, select "Task Visualization' and maintain your standard task ( TS ) with ABAP web dynpro option.
    Now selct your entry and click on Visualization Parameters as mentopn below.
    APPLICATION ( WD application name )
    DYNPARAM
    NAMESPACE
    SYSTEM_ALIAS
    Second, ask Portal team to chagne the XML code for the above standard task and application ( i.e. WD appilcation which will be launced on clicking the task ).
    From the next run of the workflow, WD applcitoon will be lauched from the protal.
    for the old workitem this will not work.
    Thanks and regards,
    Sanjay

  • Adding of RAW-attachement in decision step ?

    hi,
    i have an decision step in an workflow.
    there it is possible (as SAP Standard) to attach a attachement.
    but the only thing a user should do there is to enter an RAW document, just a text
    for the next user.
    BUT: when i push the 'attachement' button in the decision step i get
    a very user-unfriendly popup 'between'. there the user must enter
    a text BEFORE he can enter the text in the editor.
    is it possible to avoid that windows between and get DIRECTLY into
    the note-editor ???????
    reg, Martin

    Hi,
    Assign "Description as your default attribute in your BO basic data...
    this will work...
    Regards
    Gautam

  • Maint. Order as Attachment in workflow decision step!!!!

    Hi All,
    I am making a workflow in which i want to attach the Maintenance Order in the Decision Step , is it possible or not.
    How can i do attachment in Send Mail Step is there any provision.
    Basically my requirement is like:-
    When the User create the Maintenance Order a workflow should trigger which will go the SAP Inbox of the recipient now he has to see the maint. Order created and should approve if it can be Released or not .
    When he does the approval the application should go for the another approval and when he approves the application is sent back to the workflow initiator.
    Please suggest me what is the best way to do this scenerio. As i m very new to workflow so have only basic knowledge
    Please help me out!!!!!
    Thanks

    Hi Rachit,
    Have a look at std WF like WS20000014, WS20000021 etc..
    It will give idea about maintenace order processing
    Regarding your question about attaching objet to User decision, yes, its possible. Just Bind the Maintenance Order Object related container element to AdhocObjects elemnet of user decision.
    Your overall process can be there will be 2 user decision steps.
    Once these two steps approve, then you can use a third step with background task which will actually release the maintenace order. e.g. For this step you can use BAPI.
    Hope this helps.
    Regds,
    Akshay

  • Workflow decision steps

    Hi,
    I have a decision step.  When the user executes it a workflow log and a create attachment buttons appear on the top.  Is there a way to suppress these buttons?
    Thanks,
    Scott

    Hi Janos,
    Thank You for your quick response.
    I am able to see the link attachment in the Objects and Attachments section but when i click it on the link the invoice image it should get open in SAP Document Viewer  it's not opening  just doing nothing .
    "ArchiveLink Image in workflow screen doesn't work , the image does not open. No error message at all ,just doing nothing when clicking on that link"
    But when logged into SAP Portal the same link is opening and able to see the image in SAP document viewer. But from SAP GUI it's not working.

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

  • Workflows : Objects & Attachments @ User Decision Step ?

    Hi pple,
    As Ramki said,I was able to create a link in the OBJECTS and ATTACHMENTS part for a normal Activity step.
    But now my requirement is to create a Link at Objects and Attachments part in USER DECISION Step. Can I do so?
    I tried copying the DECISION BO to ZDECISION and copied the the standard Decision task TS00008267 to my task say..TS97900168 with my BO ZDECISION, Now when I tried to include this task in the WF User Decision step, I am getting an error that I cannot include any other object other than DECISION BO.
    I thought of creating a ZDECISION Business Object and change the Default method of this BO. But I am not able to include a Z Business Object in the USER DECISION Step itself.
    Is there any way of instantiating the Objects and Attachments part with our own Attachment of the USER DECISION Step.
    Please let us know.
    Regards,
    Raja Sekhar.

    <i>But now my requirement is to create a Link at Objects and Attachments part in USER DECISION Step. Can I do so?
    </i>
    I am not sure I understand your requirement correctly. But an agent can attach objects or documents at a decision step by clicking on the Create button in the Decision step display.
    <i>Is there any way of instantiating the Objects and Attachments part with our own Attachment of the USER DECISION Step.</i>
    You can copy the standard decision task and define container elements for the BO references already available in the WF container. Bind them from WF to the step. These objects will then show up under Objects and attachments in the decision step.
    You can use the 'Create object reference' wizard to create an object reference if it is not already available.
    Cheers,
    Ramki Maley.

Maybe you are looking for

  • Problem Getting Thread to Stop

    Hello, I am simulating a race. When the winner has been determined, I need to stop the other threads since the race is over. Here is the code that I have with regards to stopping the threads: public void simulateTravelTime() { try { Thread.sleep((int

  • Black bar below email instead of menu bar

    After installing the software update, I have a solid black bar below my email boxes. I can't reply, forward, delete or move mail without it. Is there a solution for this?

  • How do I back-install PhotoShop CS2, 3, or 4?

    How do I back-install Photoshop CS2, CS3, or CS4, all of which I once owned.  I have CS5 currently installed, but need an earlier version for a project. Thanks for any help.

  • Comunicating to a GPIB port using labview from a pc.

    I want to interface with an oscilliscope Through its GPIB port using my pc. Is there a code out there that has this capability already? What is the easiest method to do this.

  • IOS 5.1 Exchange Password Issue

    I have searched and read serveral forums lately about this issues however I've been unable to figure out a soultion.  It seems every morning the iOS 5 will get a password prompt saying the exchange password is incorrect.  When I go to work and connec