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.

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

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

  • SOFM in user decision step - provide reason in UWL

    Hello Everyone,
    I'm working with a customer who wants to use a user decision step and add a reason for the rejection only.  This step will be executed in UWL - since UWL doesn't support syncrhonous dialog chains, it can't be implemented by adding another step with SOFM.  I have seen the 'template with attachment' in the user decision step, and have tried binding SOFM to the Reference in the container, but the user doesn't have the option.
    Perhaps this could be implemented with a secondard amodal method - which checks the user decision code and only implements if the decision was rejected.  I'd like to be able to put a condition on the secondary methods.
    If you've done something like this, please let me know!
    Regards
    Ginger

    Hi Ginger,
    Unfortunately it is not only synchronous dialog chains, but also secondary methods that are not supported in the UWL, so you're stuck both ways.
    Though, I have been told that the latest SP does support some kind of advance with dialog functionality (SP15 I think?).
    At one customer we used a custom ABAP-based decision step which executed in a wingui session - thus synchronous dialog chains worked as long as every subsequent step was wingui based (which SOFM.CREATE obviously is) - worked quite well.
    Let me know if you need more info.
    Cheers,
    Mike

  • 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

  • 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

  • How To Send Invoice List as attachment in User Decision Step?

    HI All,
    I have developed a workflow in which there is one ZMETHOD in which i will get the list of invoices.and that i want to send it as attachment to User Decision Step.
    How to do this?
    Regards,
    Arpita

    If your users will have access to MIR4, why not just bind the business object BUS2081 as an adhoc object into your decision step?  That would solve everything pretty nicely, I think. 
    Regards,
    Sue

  • Smart form attachment in User decision step

    Hi,
    i have a requirement to display Smart form in user decision step along with Approce and reject buttons.
    Please guide how to attach a smart form in workflow.
    Thanks.
    Edited by: Sanjay_lnt on Jul 10, 2010 8:13 PM

    Here are some codelines may help you.
      CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
        EXPORTING
          region                = 'B'
        IMPORTING
          folder_id             = lv_folder
        EXCEPTIONS
          communication_failure = 1
          owner_not_exist       = 2
          system_failure        = 3
          x_error               = 4
          OTHERS                = 5.
      lv_object-objla    = 'EN'.
      lv_object-objnam   = 'MESSAGE'.
      lv_object-objdes   = p_name.
      lv_object-file_ext = 'PDF'.
      CALL FUNCTION 'SO_DOCUMENT_INSERT'
        EXPORTING
          parent_id                        = lv_folder
          object_hd_change                 = lv_object
          document_type                    = 'EXT'
       IMPORTING
          document_id                      = lv_doc
       TABLES
         objcont_bin                     = it_objcont_bin " Your binary file data
       EXCEPTIONS
         active_user_not_exist            = 1
         dl_name_exist                    = 2
         folder_not_exist                 = 3
         folder_no_authorization          = 4
         object_type_not_exist            = 5
         operation_no_authorization       = 6
         owner_not_exist                  = 7
         parameter_error                  = 8
         substitute_not_active            = 9
         substitute_not_defined           = 10
         x_error                          = 11
         OTHERS                           = 12     .
    Now pass the folder details to AttachObjects of BO type SOFM
    Edited by: Saurabh Thalpati on Jul 14, 2010 12:20 PM

  • 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

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

  • Tcode in user decision step

    Dear experts,
    I have a user decision step. Before the approver can approve or reject the workitem i need to show a tocde screen to him. Say for example CN25. My workitem will be generated only after initiator makes changes in that tcode. I want approver who gets the workitem to see CN25 tcode screen and then only make decision. Is there any possibility to attach or bring a tcode screen in user decision step.

    Dear Hemalatha,
    Thanks a lot for your reply.
    You can direct;y use the Object which is used to trigger the workflow. Then you can bind this object to get that tcode as
    attachment in decision task.
    This is exactly my requirement. In my BO i have a standard method "display" to display the Tcode. I want to know how should i do the binding from BO's method to user decision task so that i can display a link as attachment of user decision step, by clicking which user can see the display screen.

  • Attach PO to User Decision

    hello Experts,
    My Question is really simple , as i'm pretty new to workflow i just want to ask . How to attach PO (ME21N) to a user decision step?
    Best Regards

    Hi Ahmed,
    In before step(which can be a background activity), in your method Create a reference to the PO Business Object and Export to WF.
    Bind it to ATTACHOBJECTS which is a WF contianer Element. And bind ATTACHOBJECTS to the Decision step task container
    element ATTACHOBJECTS.
    SWC_CREATE_OBJECT <obj variable>  <Business Object> <PO Number>. " Obj variable of type TOJTB
    This creates an attachment to the transaction.
    Hope this would solve your issue.
    Regards
    Narin

  • Looping a single branch in User Decision Step

    Hi All,
    Can anyone tell me is looping possible for a single branch in user decision step in a workflow?
    If yes, How?
    I want like to loop the step cancel and keep workitem inbox.
    Whenever the user clicks cancel and keep workitem in inbox in a user decision and again executes the WI i would like the workflow to start execution from the step just above the user decision step, i.e; Display PR.
    This is my requirement. Tell me how can i implement it?
    Thanks,
    Raj

    Hi,
    instead of doing so, you could try to enter that method as "secondary method" or "before method" within the tab-strip "Methods".
    If you used your own coding for a decision, you could enable the exception 8015 of the method's result, which is the cancel-button. If you did so, you can enable that outcome in the workflow-activity's definition.
    Best wishes,
    Florin

Maybe you are looking for

  • Can I use an Airport Extreme Base Station from the USA in Europe ?

    A friend of mine gave me an Airport Extreme Base Station from the USA to Germany. When I hook it up to my PB by ethernet cable the Computer can't find the Base Station at all. If I use my Sonnett Aria Extreme PCI card it finds the station but in the

  • Update profit centr-customer line items prior to New GL Migration scenario4

    Our clients are migrating to New GL with scenario 4 (with Profit Center Accounting / Parallel Ledgers/ but w/o document split). SAP does not provide for any BADI to update profit center on AR or AP open items if you do not use document split. Has any

  • Status of elements not appearing in Management Cockpit

    The Problem is as follows:                                                 when you look into the management cockpit and ask to display data from, for example, December 2004, the cockpit shows all the four walls with elements without status, when, in

  • ClassCastException out of JNDI

    I have an object I am placing in the JNDI tree through a WebLogic startup class. I then have other classes that access that object. Right now I am doing testing and I want to get at that object through a servlet. The problem is that I get a ClassCast

  • Xml reference

    hey , i hava a very simple question how would i reference an xml schema of my own from an xml document?? cheers