User Decision & Form

With a requirement, it is required to display a lot of information in the 'User Decision' ( in the area of Task Description). This means, this description will have to be displayed to help the user know the information about the document which he will require to approve.
As there are huge amount of information to be displayed in here - so I may not be able to use the task description (may be messy, and if a new field is to be added they might have to change the task description).
Question is? How to design a program & its module pool screen to be added to user decision in order to show the screen in the 'User Decision' description. I know by using the function module I will be able to show the logo's. (I see a program & screen option in the same tab).
If there are some examples - please share them too. Thanks

There are different ways you can accomplish this. One way is to create a task that displays the data you want first (for example a task to call MB01). Insert this task before the user decision task. If both tasks have the same agent, the second task will immediately be displayed if the previous task has the "confirm end of processing" flag set.

Similar Messages

  • 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

  • Display attachments in SAP work list (at user decision) from portal.

    Hi Experts,
    How can we get the uploaded attachment form portal to SAP UWl .
    We have requirement like user wants to upload the travel expenses related documents (.PDF,.Txt or .doc files) in portal that attachments needs to available in approver inbox as link at user decision level.
    We have done the binding part and we are getting the attachment from first level to next level but unable to get the attachments uploaded in portal.
    I found one link but itu2019s not working.
    How to store Multiple Attachments in Workflow.
    SAP_WAPI_GET_ATTACHMENTS by using this function module I am getting only OBJECT_ID                                SOFM
    DESCRIPT                       Office Document
    SHORTTEXT                      Office Document
    Please help....good Rewards for useful answers ....
    Edited by: RameshG on Jan 12, 2011 7:04 PM

    Dear Ramesh,
    Need your help!
    While creating travel expense request from Enterprise Portal, travelers create few attachments [pdf/doc/xms/txt] and then save the travel expense reports.
    A workflow then gets triggered and this travel expense report reached the SAP Inboxes of the checkers [in the finance department].
    The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
    I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
    What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox?  Does this involve coding?
    Please suggest!
    Br,
    Hari

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

  • Note in user decision step

    Dear Experts,
    I have requirement to add a note in user decision step to allow the user to enter comments while approving or rejecting workitem in UWL. I have enabled the note using XML file. I read that this comments will be captured in workflow container element attachobjects. My requirement is to send the comments entered by approver to initiator via mail. Please let me know how to capture the comments from UWL note to send mail step.
    Br,
    Bharath

    Hi Rick,
    Thanks for your reply.
    I have got the attachments in container element attachobjects. Can you please tell me how to get the text entered by the user from this step because currently I have SOFM instance in hand. I am not sure how to convert this to some form and extract the user comments alone. Are there any FM that can help to do this.
    Br,
    Bharath

  • User Decision in a Module Pool

    Hello Guys,
    I am relatively new to SAP workflows. I am implementing a solution here and I have mixed feelings about the design. I would love to hear some advice on how to proceed or some reassurance that I am going in the right path.
    Requirement:
    If a Requeust (say Material Creation)  is created by the Initiator in my Custom Module Pool program, the workflow is triggered and sent to the Approver.
    The Approver should View the Request by executing the workitem from his Inbox which will in-turn call the Module Pool Program.
    From there the approver will have two options either to Approve or Send Back.
    I have designed my workflow like this...
              View Request  (Activity)
                      |
              Aprrove / Reject  (User Decision)
       5.  I am marking the 'View Request' activty as complete from my Dialog Program so as to make the workflow come to the User Decision step so that I can pick one and execute form the Module Pool. I have a bad feeling that it might not be a standardized method. If not, then how shall I proceed.??

    From my point of view the decision step is completely unnecessary (or alternatively I am missing a point here). What is the role of the decision step in the process?
    If you have some kind of approval, you should be able to handle it with a one single workflow step. There is no "standard way" of doing things, but there are best practices. If you take a look to any of the SAP standard workflows, they normally work like this (let's take a leave request as an example):
    1. Approver clicks the "Approve leave" work item from his inbox
    2. This will open the leave request approval application
    3. Approver clicks the approve button.
    4. Clicking the approval button updates the leave request status to approved in the database and at the same time completes the "Approve leave" work item, and thus the workflow will continue.
    Everything is handled with a single step and there is no need for some kind of sequential decision step.
    Even better would be that when you click the approve button, you would trigger an event REQUEST.APPROVED of your possible business object instance, and your task would be waiting for this event. The event would complete the even, and thus you would not need to use SAP_WAPI_WORKITEM_COMPLETE (=your application/module pool does not need to know anything about the workflow (=work item ID) - it would just trigger the event for the request). The best approach is to separate the business logic / application from the workflow, if you have a possibility for it (and if you are building something from scratch, then you have all the possibilities for this).
    Kind regards,
    Karri

  • Creating attachment in User decision activity.

    I am running a background ABAP report and the output of report is to be attached to the WI for user. The user will receive the decision step with attachment which includes report output as excel.
    please suggest how can I achieve it. How can I attach report output to WF that will be going for user approval.

    Hi Verma,
                      To show Output in Excel Format use document form Template step type and immediately followed by User decision so that when the user executes he will first see the excel sheet then he can take a decision on it.
    If u want a display on the same user decision step type then make that method as default methos and bind it to the USER Decision container.
    Regards,
    Dheepak

  • Attaching HTTP Links for User Decisions?

    hi all,
    how can we attach HTTP Links along with User Decisions. i have previously attached Business Objects as links along with approve/reject button but this time I need to attach a HTTP link.
    Points will be awarded.

    hi ravi,
    the basic requirement for me is that the frontend is going to be Webdynpro Pages controlled with a workflow in the backend. say if a personnel submits a form, it has go to the person's manager for approval.
    So while approving it, if incase he wants to see the approval information, he would click on the URL which comes with the User Decision. this is the precise requirement.
    Regarding Javascript code, where can we write the java code for URL's. is there any standard template which follows the same requirement.

  • Can we display custom error message in user decision step screen.

    Hi,
    My requirement is to display error message when approver selects reject button in user decision step.
    based on some condition i need to display error message in user decision screen when approver tries to
    reject .
    Please help
    Thanks,
    Phani

    Hi ibrahim,
    Thanks for your Replay.
    steps
    1. cretae global class with interface  IF_SWF_IFS_WORKITEM_EXIT.
    2. cretae Event with importing parameter.
    where i need to call EVENT_RAISED method ,do inned to call that method in
    IF_SWF_IFS_WORKITEM_EXIT ?
    how  SWRCO_EVENT_AFTER_EXECUTION value is passed to method EVENT_RAISED ?
    Thanks,
    phani

  • Opening a Crystal Report in B1 8.8 in a User Defined Form representing UDO

    Hi Experts,
    Is it possible to open a Crystal Report from a User Defined Form representing my UDO?
    I had developed a 'Vendor Quotation' UDO and its  User Defined Form
    I wanted to show the report while clicking the Preview menu in SAP B1 8.8 toolbar.
    I have created the Crystal report and used the record selection as {@OVQT.DocEntry} = {DocKey@}
    Please help
    Also, is it possible to add Print layout and assign a default Print layout to this User Defined Form?
    Thanks in advance
    Regards
    Arun

    Hi,
    I also face the same problem. I make a master type using UDO. But i want to print it.
    In my opinion ( i haven't tried this way ). If we make a UDO ( master or document type ) , we will find the docentry and object field in our UDT. Both of these will connect between SAP form and Crystal report. In crystal report we select the tmsp_doclinetypelayout. It is a store procedure which will connect between SAP form and CR. Before that try to modify this SP by adding the udo object.
    Fyi, if i'm not mistake dockey is connected to docentry SAP form.
    Thanks
    regards
    bodhi86

  • Sending Mail with attachment like User Decision

    Hi,
    Is there any way to send the document attached with the send mail step ? In User Decision, we can use binding between the workflow and task and document is attached. Like wise, is there any method ??
    I know we can send the attachment using the FM SO_****. So don give that answers. I want to know without using the FM, is it possible or not ?
    And i don want to use BO SOFM.
    For example, in Project Definition, one person creates a milestone. WF is triggered and goes for attachment of concorrence note. One attaches the concorrence note and mail is send to initiator. In that mail, can he able to see the attachment ??

    As far as I know the answer is "probably". You aren't saying how the mail is sent to initiator, you just say you don't want to use the FM or the BOR object type SOFM. I assume you are using the standard sendmail step type, i.e. BOR object type SELFITEM with method SendTaskDescription.
    As I am sure you can imagine, an attachment doesn't magically appear. If you send a workflow step (task) to someone, you can bind attachments to make them available in work item display. If you send a message you can construct it with attachments, but that doesn't happen without any effort. If you look at the parameters for SendTaskDescription you will see that there is a parameter for attachments. Try passing (binding) a value to it. If your SendMail task doesn't include that parameter as importing parameter you will of course have to fix your task (TS object) first.

  • Container Operation step in User Decision

    Hi,
    I have used one set container operation step in one of the user decision task. But it seems it is not working inside the user decision step.
    I have checked the SWI1 log as well, but it is bypassing it.(screen shot attached from Workflow and SWI1).
    Please sugegst that can we use container operation step inside the user decision task.
    SWI1 log as well ( Not setting the variabl)e
    Regads,
    Priyanka

    Hi,
    check if in the workflow definition you mention if this step should be shown in the log or not. Also make sure using the technical details option in the workflow log that indeed the container operation was executed or not.
    If everything seems correct, but still in execution it skips something, then your workflow definition might be corrupt, either fix it by deleting the step in development, saving it and then recreating it. Or if it was corrupted after transport you could try your luck with function module SWD_REPLICATE_FROM_9999.
    Kind regards, Rob Dielemans

  • Step for User Decision

    Hi All,
    I have a scenario and two solutions for it.
    Please give me the input for which is a better solution and why.
    Scenario - Approver have to either Approve/ Reject a particular request made.
    The user decision has to come from Java front end  and the workitem created has to be executed externally
    ( not by opening sap inbox)
    Soln 1 : Create an asynchronous task and custom terminating events for the workitem and trigger terminating event for any user decision Approve or Reject.
    Soln 2 : Send an normal decision task and programatically execute one of the decision using the WAPI* FM when user clicks Approve/Reject.
    Both of them I think uses the WAPI * FM.
    Thanks
    Chandran

    Sorry I was not clear in my question before.
    I still refered to the first solution which uses a Aysn Task and a method which does not have any code (just a placeholder)
    IA is absolutely right but I dont have the flexibilty to use an ivew.
    Thanks a lot for your reply. I would close up this thread.
    Just some additional clarification if you can bring up
    What additional code that would be required for the second solution (both uses a sap WAPI FM )
    Both can be tracked by WF tools by finding out the agent and the person who have completed the Workitem so which tools you were mentioning about
    Actually I did not get which is a better solution but realized both can be used atleast no worry on the performance load. My be this topic can go for a long time to figure out
    Regards,
    Chandran.

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

Maybe you are looking for

  • Mac Mini Fusion Drive constantly running...

    Hey does anyone have an experience similar to mine? Basically I can hear the mac mini constantly running, as in the hard drive is constantly reading/writing something. It is like a rhythmic reading/writing every 5 seconds or so. This also happens wit

  • Using Event 21 in Table maintenance generator

    Hi, How can i get the updated record when using event 21 in maintenance generator.

  • Where does Leopard store my Identity info?

    I dunno what's going on, but Mail insists on continuing to use an email account that was closed and deleted last year, and Safari has some other issues relating to my personal info. I'd like to take back control. Where does Leopard store my identify

  • Anchor Links, Need Help!

    I've read anchor links can be done in iWeb by doing my own html; but how, exactly, to I do that? I would like to create alphabetical anchor links on a list I've published. (Click on "b" or "c" and it takes you to the "b's" or "C's" on the list. Thank

  • Debugging inbound idoc user exit

    Hi all, I have a client who wishes to do some data validation when creating an inbound idoc.  We've identified the appropriate user exit and set a break-point in it, but how do I get the inbound process to stop here so I can see the data coming throu