No Administrator found for the task (solution in FAQ not applicable sadly)

Hi All,
I have had to build a custom work item inbox due to complex client requirements, one of which being that all tasks are declared as "General tasks", so that all users can select and work them. 
Work item execution is performed using the function module SWL_WI_DISPATCH (I've also tested using SAP_WAPI_EXECUTE_WORKITEM), which sometimes returns the error 'No administrator found for the task'.
I followed the standard instructions for this error message, refreshing the org assignments, transaction SWU_OBUF etc, and this did not help the issue.
The error seems to occur within the function module RH_WI_AGENT_EXECUTE_CHECK, however according to our configuration I can see no reason why users shouldn't be allowed to execute the work item, if the org assignment has been stable for several months, all tasks are generic, and the work item status is READY.  There is no rule for determining agent beyond them being "General task"s.
Does anyone have any ideas?  According to the data in SWWWIHEAD I can't see any reason why execution should be failing for these work items.
Thanks

Hi there,
almoste there
The new extended eMail notification do allow a feature, which is named "Forward by eMail" (in the general settings of SWNCONFIG). And the result is, that a work item can be executed by another user-id, who is not the actual receiver of the work item.
If you looked at report RSWNWIEX you'll find out that exactly the proposed solution is in use there, having a very usuable example already in place:  (check lines 155 and following)
      CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
        EXPORTING
          workitem_id    = p_wi_id
      IF lv_rc <> 0 AND cl_swn_settings=>wi_forward_via_mail = 'X'.
*-         require to put back if WI is selected
          CALL FUNCTION 'SAP_WAPI_ADM_WORKITEM_BACK'
            CALL FUNCTION 'SAP_WAPI_FORWARD_WORKITEM'
              EXPORTING
                workitem_id   = p_wi_id
                user_id       = sy-uname
              COMMIT WORK.   "Needs to be done before executing again
                  CALL METHOD cl_swf_run_wim_factory=>initialize( ).
                  CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
That doesn't blast a security hole, as far as I see.
Using the table SWWUSERWI directly is not advisable at that time, I'd say.
Best wishes,
Florin

Similar Messages

  • No administrator found for the task  Message no. 5W141

    Dear all,
    i am doing asset mass changes i am not able to release my work list (AR31) it"s giving message like 
      No administrator found for the task  Message no. 5W141
    plz can any one help me  following steps i followed
    1.substitution for assets mass changes to substitute Dep Key
    condition is asset class = 15000 and Dep area = 01
    substitute with Dep key S200
    for 15000 asset class actually dep key S475
    2.i created work list for asset class 15000 and dep area 01
    then attached my substitution
    3. in AR31  here all assets status is Ready when i release work list  it"s giving message same
    i tried in DEV and QTY no solution
    this is high priority in my project
    plz Dear friends send reply
    Regrds
    Govind

    HI Jayendra
    I am having the same problem with releasing the worklist in AR31.
    No administrator found for the task
    please let me know the solution.
    Thanks
    Sharath

  • 'No Administrator found for the task' while releasing the task in AR31

    Dear Gurus,
    i am facing the issue 'No Administrator found for the task' while releasing the task in AR31  while doing Mass Asset change.
    Please help to provide the solution.
    Many thanks.
    Kumar

    Dear Kumar,
    error 5W141 indicates that the  configuration for workflow is not in place fully.                                                                               
    1. SWU3 => Automatic customizing  
    You find the customizing of the workflow under Basis -> Business             
    Management -> SAP Business Workflow. There you can check the minimum         
    customizing for workflow:                                                                               
    2,  Please check in transaction OAWF if the responsible users are             
        assigned to the workflow tasks                                            
        Menu path: Basic Functions                                                
                     Assign tasks to agent                                       
                        Correct worklist                                         
                        Release worklist                                         
                        Correct and release worklist                                                                               
    3,  In addition check if the users are assigned to the workflow-tasks      in the basis-component (transaction
         PFTC).                                
       Menu path: Task type: TS   - Standard task        
           Task     : corresponding task (e.g.8010 - correct worklist                                                                               
    The relevant logic is: if the system finds that the agent or user is  defined, it will go straight to T-code SO01. And the user can edit the  work list there.                                                                               
    Following is a reference notes :                                             
                322526  Analysis for workflow problems      
    Regards Bernhard

  • "No administrator found for the task" in the front end

    Hi all,
    My issue is, whenever approval request is raised from the front end ( JAVA WEB-DYNPRO), it triggers the workflow through the "<b>sap_wapi_start_workflow</b>" and when the workflow proceeds to the first level of approval, the front end application provides the approver with <b>Approve</b> and <b>Reject</b> options.
    On click of approve, from the java webdynpro, the approve status is written in the container using "<b>sap_wapi_write_container</b>" and then a call is made to "<b>sap_wapi_workitem_complete</b>". Upon excution, the message line is "<b>No administrator found for the task</b>" and the return code is "<b>1</b>".
    But if we do the same steps from the backend (R/3), the workitem is getting completed without any such error.
    Please advice.
    Thanks.

    Hi Balaji,
    I think I have an answer for you.  This has happened with us when approving a WD java task using UWL (in our case for travel).  The key is the return code of 1.
    What has happened is this.  The return code actually comes from the function SWW_WI_STATUS_CHANGE_NEW which is called deep in the WAPI wrapper.  It means "infeasible_state_transition = 1".
    This is due to the fact that after updating the container, your wapi call from web dynpro tries to change the workitem from status of "Ready" to status "Completed".  This will not work.
    What you will have to do is call "SWW_WI_STATUS_CHANGE_NEW" to set the status to 'SELECTED' beofre setting the item to complete.
    The reason for this is that when you are executing from R3, the status change is done for you.  When calling from the WD, no reservation of the workitem occurs.
    Sorry about last night, I live well outside of town and the phone reception at my place is poor.
    Regards
    Gareth

  • No administrator found for the task error message

    Dear all,
    I got the message "No administrator found for the task" when the MSS user try to approve and overtime. When i double click on the error for details, it actually give
    WF notification:work item cannot be executed message no. 5W141. As got overtime, i am using the standard task 20000460 which i already maintain the agent as general task. I am using the Agent (Default Rule) rule number 157 (Superior (chief position)).
    I tested it in my development and it works, however it does not work in my production. Do i miss any setting or parameter?
    My R/3 backend is 4.7 with Enterprise Portal 6.
    Thanks
    Regards,
    Bryan

    You hvae to refresh the organizational assignment and you can do it from SBWP txn ,
    1.Execute SBWP.
    2.On Menu clcik on Settings -
    > Workflow Settings -
    > Refresh Organizational Assignment .
    and now you try to execute the workitem now you find see the error.

  • "No Administrator found for the task " ?

    Hi All,
    I am using a standard method "display" in my ztask . [BO - FIPP, method - dispaly]
    workitem created by this task is to be delivered to "initiator".
    Now, initiator has this workitem in his inbox, but whenever he tries to execute that , a message is dispalyed saying
    "No Administrator found for the task " and task is NOT executed at the end.
    Please suggest wat could be missing or wat could be cross checked here to resolve the matter.
    Many Thanks
    Regards
    Priya

    You're welcome Priya,
    One of the major advantages of forums like these is the search functionality. If you learn how to use that in an effective way you can solve more problems in shorter amounts of time than by posting questions.
    Kind regards, Rob Dielemans

  • SAP_WAPI_DECISION_COMPLETE No administrator found for the task

    Hi gurus,
    I have a problem executing the FM SAP_WAPI_DECISION_COMPLETE. Everytime i run the FM, it gives the error "No administrator found for the task". But in the Workflow Logs (SWI1), there is an agent and can actually access the workitem on the business workplace of that agent. I just need to run this because the approval is triggered in WebDynpro. I've done the following things to fix it but the error still occurs:
    1. Set the decision step as General. (even the standard decision gives the same error)
    2. Set the workflow as General.
    3. Refresh the Org. Structure thru SWUS
    4. Refresh the object buffer thru SWU_OBUF.
    5. Log in and out of the system after refreshing buffers
    I hope somebody can help me out as soon as possible.
    Thanks in advance,
    Dexter

    Hi Rick,
    I've used SAP_WAPI_DECISION_COMPLETE a couple of times before, here's how i called the FM:
            CALL FUNCTION 'SAP_WAPI_DECISION_COMPLETE'
              EXPORTING
              WORKITEM_ID          = wa_wfm_steplog-wi_id   "----
    >wi_id of the decision step
              LANGUAGE             = sy-langu
              USER                      = sy-uname  
              DECISION_KEY         = ly_decision_key            "-----> 0001
              DO_COMMIT            = 'X'
            IMPORTING
              RETURN_CODE          = l_subrc
         NEW_STATUS           = new_status
            TABLES
              MESSAGE_LINES        = lt_message.
    i found out that the error occurs if this FM is not executed by the Agent (approver). But even if i run this FM using a different login and key in the UNAME if the agent, it still gives the error.
    Its weird because on my previous company, any user can execute this FM to update ANY decision step.
    Hope you can still help me.
    Thanks,
    Dexter

  • WF Err: No administrator found for the task

    Hi,
    I am implementing idoc alert functionality using the program RSEIDOCA which uses the task 74508518. The problem I am facing is users are not able to open the work item from the attachment then receive in the mail.
    The error thrown is No administrator found for the task.
    I have tried executing the work item from SWIA and the same error persists.
    I had made the task general, refershed the buffers, refreshed the Org environment, but the problem is still there.
    Can any please suggest any way out.
    Thanks in advance

    Hi,
    One more addition to the case. Upon more testing I see that problem is only coming when I try to execute work item created by some other user.
    I have tried executing the work-item using SWIA , but with no success.
    Thanks in advance for help.

  • AR31 - No administrator found for the task. Msg No 5W141

    When I retire an Aset thru AR31 and release I get an Error msg. No administrator found for the task. Msg No 5W141. I did search in this but it is for goods movement. But I face this while retiring an Asset. Is there any one who can giude me to resolve this issue. This is the first retirement after implimentation.

    Hello Syamagari
    1- Please check in transaction OAWF if the responsible users are   assigned to the workflow tasks
       Menu path: Basic Functions
                     Assign tasks to agent
                        Correct worklist
                        Release worklist
                        Correct and release worklist
    2- In addition check if the users are assigned to the workflow-tasks  in the basis-component (transaction PFTC).
       Menu path: Task type: TS   - Standard task
                  Task     : corresponding task
    3.-Also check the minimum customizing for workflow:
         SWU3 => automatic customizing
    Regards
    Javier

  • ERROR : - No administrator found for the task

    hi ppl,
              I have done a work flow which will trigger whenever a purchase order is created and in that WF i a put an Activity  which displays the particular purchase order in business work place. The WF is getting triggered and when i execute the work item in the business work place. in says this error <b>No administrator found for the task</b> what exactly is this error. can u plz help me out.

    Hi Hari:
    I think is because you had not define the Task Properties.
    Enter to the transaction <b>SWDD</b>, find your activity and then enter to the <b>Task Properties</b>, <b><i>Red button</i></b>.
    Select the name of your activity and then in attributes  you have:
    - General Task
    - General Forwarding allowed
    - General Forwarding not allowed
    - Forwarding not allowed
    Use <b>General Task.</b>
    I hope this will work.
    Best Regards,
    Jessica

  • No administrator found for the taxk

    Hi Guru's,
    Can anyone tell me the reason for the error "No administrator four dof the task"
    This problem I am facing when I am try to relase the work list which is made for the mass retirement of asset.
    The user has full authorisation.
    Please help.
    Thanks
    Deepak

    You hvae to refresh the organizational assignment and you can do it from SBWP txn ,
    1.Execute SBWP.
    2.On Menu clcik on Settings -
    > Workflow Settings -
    > Refresh Organizational Assignment .
    and now you try to execute the workitem now you find see the error.

  • Error " No Adminsitrator found for the Task"

    Hi Experts,
                          I got this messege when I clicked on an item in Business Workplace - Inbox - workflow- Grouped According to Task - Active Idoc Monitering.
    The Standard Task I am using is TS 74508518. I hav maintained in Agent Assignment. What else do i need to configure so as to get this thing done!1
    Regards,
    Arnab.

    Hi ,
            many thanks. But I solved it in a different way, Sloution given above..!
    But again , many  thanks 1ce again for prompt reply.
    Regards,
    Arnab.

  • No Administrator for the TASK

    Hi All,
    Could you help me to resolve workflow issue. We have a workflow for PO release strategy. The agents are maintained in customized table. Now when I am adding a new agent in that customized table, the workflow is picking up the agent correctly but the he is not able to approve it as it gives the error "No administrator found for the task".
    Can somebody help me to resolve this issue.
    Thanks for your help.
    Regards
    Hema

    Hi Hema,
    It might be authorization problem. after displaying this message run transaction /NSU53 and check any authorization are missing. if yes then contact basis team and if message display like 'all authorization checks have so far been successful' then run transaction SWU_OBUF and press synchronize(shift + f1) then try again.
    Hope these helps.
    Regards,
    Parag

  • An installation package for the product Solution Center cannot be found

    I have had my printer for a while but all of a sudden when I sign on, I keep getting, an installation package for the product Solution Center cannot be found. Not sure why I am having the issue now, any ideas?

    knokdawg wrote:
    Printer - HP Officejet Pro 8000 wireless
    Connection - USB
    OK...  what operating system?  You can download the full featured drivers for supported operating systems from HP here.  Select the appropriate operating system, then download the full featured driver.  Run the program after downloading it.  Do not connect the USB cable until instructed to by the installer program.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Error message when no atachment found for the workitem while approving ?

    Hi Folks,
    I need some help in this issue please.
    Requirement is, Agent needs to attach a document to work item and then approve. To achieve this, i have put code in for complete execute condition of the step.
    This is how it works, when agent attaches doccument and approves, it completes workitem and when there is no attachment, it does not complete work item but it does not stop agent by throwing anykind of error message.
    I need a error message when there is no atachment found for the workitem and agent tries to approve it. Please suggest how i can get this done ?
    Thanks a lot in advance..
    Prasu

    Hi
    There a couple of different ways to accomplish this.
    If your not using standard task/methods your able to extend your method. In here just check if a document is attached, display a message with the message statement, or a FM (e.g. TH_POPUP_TO_INFORM), and then call the workflow statement "<b>Exit_Cancelled</b>", by doing this the workitem will stay in the inbox, in status in process until the document is attached.
    If your using standard task / Methods, you need to check if a document is attached in the workflow logic, preferably in a condition. Now - if no document has been attached create a loop, and within this loop create a task, for displaying the message. A easy solution here could be a simple decision task with only one Decision, or if you are able to do some ABAP development, create a small method for displaying the message.
    In order to make sure that this task/message will popup immediately, create a container element e.g. "Last_Agent", the do a binding from the decision task to the workflow container ActualAgent -> Last_Agent.  Now you Last_Agent as the agent for you "Display Message" Task
    Regards
    Morten Nielsen

Maybe you are looking for

  • RSCRMBW_REPORT

    Hi, I'm using function module RSCRMBW_REPORT to extract a query in a CSV file. Now, I'd like to extract a second query and put the results at the end of the existing CSV file. Do you know how I can manage this ? Best regards, David

  • ValidateData.js - apply changes to data form

    Hi, I've modified the ValidateData.js file to add a button to a form. My question is how do I actually see the changes I've made in the file appear in the data form? In layman's terms, how do I execute the code inside ValidateData.js? Thank you!

  • Unspecified error using odt in Visual Studio 2003

    Hello all We have Windows XP SP2. We have installed ODT version 10.1.0.4.00 on our workstation. We have MS Visual Studio 2003. We have the Oracle client 10.1.0.2.0. We also have Oracle data access product 10.1.0.4.0. When I try to access Tools - conn

  • How to compile a java file to class with class

    There is a java file. And i want to compile it with class, not javac command. so i can catch the compile errors. how to do it? special thanks.

  • I web 09 has lost my website-and scrambled the published version PLEASEHELP

    I worked on my business website this afternoon and finally after three weeks of work I finished it. I then published it to a folder on the desktop to FTP later tonight. This is a procedure that I have followed without issue until today. When I went b