Workitem execution

Hello everybody,
i have a problem with the UWL. LeaveRequest scenario.
The Approver of a LeaveRequest got his Workitem in his Inbox of the UWL. So far so good. But when he tries to execute the WI, the screens stays empty. The WebDynpro application 'LeaveRequestApprover'doesnt show up. Now i figured its a permission problem. Because when i assign this user the super_admin role at the portal, he can successfuly execute the WI and gets his LeaveRequest Approver application.
So the question is, is there a special role for executing WIs?
regards,
Markus

Got it working now. Had to assign the iViews for executing a Webdynpro Application from the UWL the suitable roles.

Similar Messages

  • Workitem execution from outlook - via citrix

    Hallo,
    we access SAP via Citrix and we want to execute workitems from outlook (by a decision task).
    I use the report RSWUWFML2, the user receives e-mail with corresponding attachments to execute the workitem, but I don't know, how to open them.
    Do I have to set up anything special?
    Thank you.
    Petra

    Hi PB,
    Are you not able to open/execute the workitem ?
    Does it give you error ?
    I have built scenarios of executing the workitem from Outlook,
    in order to do that, you need to run the report RSWUWFML2 in background, hence create a variant for the report with following checkboxes ticked,
    X  New workitems only.
    X  One message per workitem.
    X  Workitem Execution.
    After you run this report in background, you need to create a shortcut of your transaction to which your workitem should lead you.
    I mean, say on execution of workitem, you want the user to reach transaction ME54N, then create a shortcut for this transaction, by opening your client thru SAP, going to ME54N and clicking the shortcut button on the menu.
    Now, add this shortcut to your SAP GUI LogOnPad.
    Note* : you should have all the valid parameters in the shortcut.
    Thats all I did.
    Hope it helps.
    Reward if helpful.
    Citrix system wouldnt create an issue I suppose.
    Aditya

  • Decision step with method before workitem execution

    I have a decision step, which uses method before workitem execute uses BO Bus2094 - 'Display' method.
    When an agent receives a workitem, try to execute the workitem 'Getting an information message 'Error when starting submethod'.
    When i see the information of the error -
    "At least one submethod could not be processed.
    See the technical Workflow log to determine the error cause."
    When i check technical log of workitem, 2 steps are in error mode.
    1.  Dialog work item executed - Error when starting submethod
    2. EXECUTE_METHODS  - System error in asynchronous method start
    This is happening in Quality system, not in DEV system.
    Any inputs to resolve this.

    Hi,
    @Sivagami: I wonder, how a container element e.g. BUS2094 that was passed to a copy of the DECISION task is automatically executed just before the decision dialog? Good stuff, if it works like this, I'll try this at a later time.
    @Indira: Depending on the Release and such things I have expirienced several smaller bugs regarding the decision steps, especially when extending the data flow (from/to workitem), using the in-place-decision Workitem exit. So maybe you're already doing everything right, but just the inbox doesn't works as designed.
    To work around this problem, you could enter the object methods as a secondary method, which then will display the Sales document in a separate window,
    or you follow the proposal of Sivagami. If the Sales document doesn't seem to appear, you could enforce the display, by globally substitute the business object DECISION to one of your own, re-define the object's method Process that read the business object fromt the work item container and executes it's display method, which is basically the same result you'd like to have.
    Best wishes,
       Florin

  • Re : Multiple Workitem Execution

    Hi ,
           I'm using sap 4.7  and created a workflow for plant wise material release .
    I would like to execute multiple workitems in one go.  Just gone thru postings in SDN ,  SAP Help  and  i could not able find much information on this topic.
    Do we need any programming to be done for executing multiple workitems ( of sam type ) . 
    Looking for  your views...
    Regards,
    Vijay

    hi,
    check this thread:
    Group many related workitems into one workitem for approval
    kind regards, Rob Dielemans

  • Multiple agents for a workitem execution

    Hello Workflow experts,
    I have developed a simple workflow with single step to display a document using IW23 transaction.
    My requriement is to send a workitem to 3 agents inboxes parallely. This I'm achieving by the rule by function module and populating the ACTOR table.
    Now, when any one of the agents executes the workitem, the workitem disappears from all the three agent's inbox and the workflow is getting completed.
    I want the workflow to be completed and the workitem to be disappeared only after all the 3 agents executes the workitem. Until then the other agents must be able to see the document by executing the workitem.
    Please suggest me a way to achieve this.
    Thanks,
    Madhan.

    Hello,
    That's the standard way workflow works - you send a workitem to x agents and when the first one executes it, it disappears from the others' inboxes.
    For your scenario, with 3 agents, you would do 3 parallel forks and make the condition 3 from 3.
    For a variable number of parallel agents, see (for example) :
    Re: Dynamic Parallel Processing - Multiple Parallel Agents
    regards
    Rick Bakker
    Hanabi Technology

  • TS20000189 Change trip - uwl workitem execution

    Hi there!
    The standard workflow task TS20000189 Change Trip is used both for changing expenses AND for changing travel requests. In the standard configuration, when clicking a UWL workitem a transaction iView is opened. I want to configure this to open up a WebDynpro interface instead since that's what the users are used to.
    However, the problem is - how to I make the task TS20000189 access the two different applications (sap.com/esstratre/Expenses or sap.com/esstratre/Request in WS20000040 and WS20000050 respectively) or alternatively - the two different portal pages? I can make it access the Expenses application through the xml file, but then the Request application wont open...
    Please help!
    Brgds, Caroline

    Hi,
    Have you found any solution for this?

  • Workitem execution flag by user

    Hello,
    Here is a scenario. We are sending workitems to multiple users for dual/parallel approval  ECR/ECO process through a mixture of workflow config, change types and signature strategies.  The problem is whenever an user has approved a workitem, the SAP Inbox doesn't show that particular workitem has been executed by that particular approver/user. 
    Example, User A gets a ECR/ECO approval work item in his inbox. He signs it and saves ok. Since there could be multiple approvers and not all have signed by then, the work item remains in his inbox. The next day/next week, there is another ECR/ECO approval work item  that comes to the inbox and the user (mostly engineers and not too SAP-savvy) is confused which one he has signed already since there is NO FLAG that accompanies the work item he has approved laready last day/week.
    So, the question is there any way to differentiate executed work items (flags in Inbox etc.) that still remains in the inbox due to incomplete status but has already been executed/approved by that particular user ??
    Thanks

    Hi Arghadip,
    Thank you for the reply but the truth is, we are at a time crunch in our project and the basic solution is already in place . So,  given the scenario we are in, when the WIs are executed/approved but nevertheless stayed in the inbox  due to dual approval process when other approvers are still waiting to sign it, how can an individual user know ( just by looking at the inbox) whether or not a particular WI has been signed by him/her? This is only for the ease of individual user, so that he/she doesn't have to click through the WIs to know if he has already signed it or not..
    Please let me know if you find anything

  • Workitem execution error

    Hi
    I have configured UWL and be able to see my worklist nicely. But once I try to execute it, below error occurred:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Application URL ':///webgui/!' is not valid! Please check the protocol and host entries for system 'AX0'..
    See the details for the exception ID in the log file
    com.sap.portal.appintegrator.sap.Transaction::HTTPRenderLayer
    I am new in portal and workflow intergration, please help.
    Thank you

    Tipically this is because you have not set ITS params. This service will allow you to see sap gui through http connection (like portal).
    If you are working with netweaver see ABAP stack
    ITS must be activated on your R/3 system where workflow is defined.

  • How to Get the Current Workitem id at runtime

    Hi All,
    I have a scenario, where request pending with a user who has already resigned the organization. The requirement is that we need to provide a report
    of the request and with whom it is pending with along with the workitem id with a forward push button.
    So that if the user identifies that a request is pending with someone he can click the record and press for the forward button and a pop-up to be showed where he can enter the userid to whom he needs to forward it.
    In this scenario can anyone tell me how to get the current workitem id at run time and to save it to a custom table.
    I tried with method before workitem execution, but here i am not getting the current workitem id.
    Can you please suggest a good solution for this.
    Thanks and Regards,
    Balaji

    Karri,
    I think i can explain you with an example.
    Here is my Scenario.
    A user has raised a Gate pass and it went to all approval's and got approved and the material is also sent out from the plant. Lets take the date as 1.1.2013 (A Warehouse person have done the checking and sent out of the plant).
    On 1.3.2013 some of the material has been returned and a material inward request has been raised and now the warehouse person has to do a inward checking and to sent it back for the initiator for the approval, but the warehouse person has resigned the organization on 1.2.2013, now the workitem is pending with the warehouse person who has already resigned.
    My scenario is once the material inward request is created and before the workitem is delivered to the warehouse person i need to get the workitem id and to store the workitem some where.
    So that in future if any warehouse dept head wants to forward the workitem which are lying in the person inbox who has already resigned he can do it via a report using this workitem id.
    So, can anyone help how to get the dialog workitem id before the workitem creation or execution. I tried with "method before workitem execution" but my break point is not triggering at this point.
    Thanks and Regards,
    Balaji

  • In Decision task, Method defined after execution is not called from Portal

    Dear All,
    In one of my scenarios, I am using a decision task for approval.
    In that after the approval action is taken i am calling a BAPI to update business function.
    I have called this BAPI in the Methods ( After Workitem Execution ) .
    When I execute this task from the SAP Inbox ,  the method is getting called successfully and the BAPI is also executed successfully. But when I approve the task from portal this method is not getting called at all, and BAPI also fails.
    Actually in the workitem display , I am using the standard FM SWU2_INPLACE_DECISION_PROCESS, will it have any impact when its used from Portal ?
    Is there any common place that will be called from both SAP Inbox and Portal after the task execution , so that based on the decision taken , I can process the action at the same place.
    Advance thanks for your response.
    regards,
    Sabari Prabhu.

    Hello,
    Unfortunately, that I know, there is no way to call your BAPI if you're using the standard decision JavaWD. In fact all that WD does is calling a WAPI to read the decision alternatives and then once the user has taken his decision it calls another WAPI to feedback the decision into the backend.
    The blog mentionned by Pavan concerns only the secondary methods with amodal call, this is different from the before and after methods which are not supported and cannot help you for calling your BAPI. The so-called "Program exits" are not supported either.
    The only alternatives I can see for you are:
    - Develop your own decision screen specific for your workflow and integrate there your BAPI call. This would also give you more flexibility to show your agents the information they need to take their decision. This is the way I usually go for now.
    - Change your UWL settings so that decisions are processed in a GUI screen instead of the JAVA WD screen. The main disadvantage is that you can do this either for all decision or for none of them. You can't just set that up for the decision in your specific workflow (or at least I haven't found how to do it).
    To change the way decisons are processed in UWL you must first change the parameter "List of preview sections to hide" in your UWL iView to add value USERDECISION.
    Then you must create a custom XML config file (or modify an existing one) in which you must customize each decision task used in your company individualy. To do that just take a standard config file and find the Item type entry for a standard decision task as an example. All you have to do is to recreate the same entry for each of the decision tasks you actually use and replace the defaultAction="viewDetail" parameter by defaultAction="launchSAPAction".
    Cheers,
    Patrick

  • Lotus notes integration for receiving workitems

    Hi All,
           i am getting some problem during getting the workitems in Lotus notes....
    what all should i need to check whether configuration side is ok.....
    and since which version of SAP is eligible to integration with lotus notes and outlook...?
    <removed by moderator - please refer to the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] regarding asking/offering points>
    Best Regards
    Dev
    Edited by: Mike Pokraka on Jul 17, 2008 1:13 PM

    yes they exist..........
    i have some doubts ........on this
    when ever i try to do auto forwording setting ..............
    its giving warning      "The forwarder and the recipient are identical"   and making internet address to  external address....
    and the variants are like in RSWUWFML2
    Job suffix              =        1            " What the siginficant for 2 ? 
    Tasks (blank = all)        =     TS00008267  "task number for decision step
    New Work items Only   X
    one msg per work item  X
    Workitem display          X
    Workitem execution      X
    Message Class for Subject       SWU_NOTIF
    Message Number for Subject        2
    Before Work Item Description    SWU_NOTIF_PROLOG1
    After Work Item Description     SWU_NOTIF_EPILOG2
    SAPLOGON_ID   =   SPACE
    Regards Dev

  • How to Use Methods AFTER Work Item Execution (Modal Call)

    Hi,
    Need to execute a piece of code after a decision based on the result.
    Hope this can be done using Methods After WorkItem Execution
    Can anyone give some idea about how to use this.
    Regards
    Imman

    Hi Mike,
    I have a common piece of code that has to get executed irrespective of the decision made,but after the decision.
    Imman

  • Not able to send workitem to external email id or Lotus notes.

    Hi,
    I am using standard program RSWUWFML2 to send workitem to external email id like lotus notes. When I  execute this program i get the message "Work item xxxxxxxx sent to xxxxxxxxxxx".
    As per the documentation of the program, program should process the workitem and send the same to external mail id. Please let me know if i miss something.
    Below are the settings i did for program.RSWUWFML2
    Job suffix                      2
    Tasks (blank = all) : task name of the workitem to send is entered. only one task is entered.
    New Work item = X
    One message per workitem = X
    workflow entry = X
    workitem = X
    workitem execution = X
    logs all =X
    Edited by: Sunny80 on Dec 1, 2009 8:58 AM
    Edited by: Sunny80 on Dec 1, 2009 9:01 AM

    This is solved.

  • Sending notification about workitem

    Hi All
    In case I need to send a notification to the agent in his outlook about the workitem generated in his inbox,then what is the best way to do that.
    Report RSWUWFML2 will have to be scheduled to perform this task however I do not wish to use it.
    Should I create a mail step in the workflow just before the task or is there any other way that can be used to do this.

    In the second option , should i then create a mail step before the task or it should be in parallel to it using fork.
    Will it work if I create my own method and use secondary methods in workflow(before workitem execution)

  • Two similer workitems comes in agent's inbox

    Hello Friends,
    I had created a custom workflow for the release of Purchase Requisition(PR). Here I need 2 levels of approval for items whoose value is above a particular amount. So based on the release group & release strategy, the workflow will deliver workitems into the inbox of the agents for approval.
    My problem is, the workitems will appear in agent's inbox twice. Even if we complete a workitem execution, the other will remain in the inbox as not started. I tried by assigning single users to task as well as to activity. But the problem remains.
    How can I rectify this problem ? Please help me.
    Regards,
    Abijth

    Hello Sanker,
    Sorry for being late on my reply. I was out of station due to some reason.
    Your assumptions were correct. I was using 'RELEASESTEPCREATED' event. I have to use 2 levels of approvals, because based on the net price of the PR item, the Release Group & Release Strategy will give 2 Release Codes. The client's requirement is to have separate level of approvals for each release codes.
    In scope of this situation, how can I solve this problem?
    Regards,
    Abijith

Maybe you are looking for

  • My Macbook Air 2013 battery life is sub 4 hours. How do I diagnose and resolve the issue?

    Hi, I have a 6 month old Macbook AIr 2013 and I am getting sub 4 hours of battery life against the 12 hrs advertised. I looked into the application monitor and found that Spotlight has been causing my battery to drain Here is a brief snapshot of Syst

  • HP Laserjet Pro 200 276nw won't scan to network folder in 10.8.4

    HP Laserjet  Pro 200 276nw won't scan to network folder on either Macbook or MAcBookAir running 10.8.4. Everything works normal scanning to network folder on  iMac G5 running 10.6. All other functions work normally--printing, printing from iOS device

  • Mini Dvd-r

    This might seem really dumb, but before I go and break my computer I figure I'll ask first. Can I insert the Mini Dvd-r's (used in video cameras) into my drive slot, or will they get stuck? If I am correct in assuming that putting them in will be a b

  • Invoice create from DeliveryNote

    Good Day Experts: I have SalesOrders that were "Copied To" a DeliveryOrder using the Copy To button on the lower right portion of the SalesOrder screen. I then use the DeliveryNote object via the DocEntry value to get information to build an Invoice.

  • ITunes does not start up

    OK... I double click on my iTunes icon and the hour glass shows up for about 5 seconds then disappears and nothing happens. It does show up under processes using EXACTLY 40,000 K of memory. It never starts up. I have uninstalled and reinstalled 2 tim