"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

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

  • 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

  • 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

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

  • 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

  • New User with the task from the copied user

    Hi frnds,
       I created a new SAP user id by copying the existing. When i logged into the portal using the new user id, i was able to see the task from the original user id in the task list. But this should not happen. Is there any configuration to control it?
    Let me know if you have any solution for the same.
    Thanks,
    Suganya

    1. Its not happening now.

  • The installation of SAP Front-End components failed with 95 errors.

    I tried to install SAP GUI 7.20 on Windows Vista X64.  And I got this error message:
    The installation of SAP Front-End components failed with 95 errors.
    This 7.20 version used to run on this operating system fine. I reinstalled the OS, and now I got this.

    Hi,
    I suppose you reinstalled the same OS.
    Did you install the JSDK (java) afterwards. As you must be aware Java is a pre-requisite for the SAP Frontend.
    Also make sure you have set the environment variables after installing java.
    Further documentation, the SAP installation manual can be found in the u201CDOCUu201D folder of the installation software.
    Regards,
    Rohan.

  • How to let sql server 2008 know the table created at front end in c#

    How to let sql server 2008 know the table created at front end in c#

    The best solution is to create table type and pass the DataTable as table-valued parameter. I have an article on my web site about this:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    The full article is a bit of overkill for what you are doing right now, but just the few first pages should get you going.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • 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 universe found for this document in the CMC

    Hi,
    We have a universe which drives around 45 Web Intelligence reports in Business Objects XI R2.
    Recently, when I made changes in the universe and tried to export it, the Designer interface hung and further it was found that the universe file got corrupted for some reason.
    Now, the administrator deleted the universe from the CMC and exported a copy of the same universe that I had saved on my local machine before exporting. He was successful in doing so. However, when the associated Webi reports are accessed, an error message " Some objects are no longer available in the universe. Error 10001 Error INF" is displayed.
    In the CMC, FOLDERS> Report Properties > Universe: shows - " No document found for this document"
    I know we are missing out on something simple. Any pointers will be extremely helpful.
    Many thanks!!

    I beleve there was a unique identifier for the old universe.  You could probably restore from an old cms database backup and filestore backup to get it back that way.  The other (probably better option) would be to go into the webi documents themselves and specify the universe there.  I believe XIR2 had this functionality although I don't recall for sure when it was introduced (may have been 3.x).  There may be some other alternatives, these are the few that came to mind initially.  Good luck!

Maybe you are looking for

  • Sale/Purchase Analysis Report

    Hi All, I want to create purchase analysis and sale analysis in crystal report. Does anyone have a standard format for these?  If yes, please help me out?

  • Virtual PC, Windows & virus protection

    I hope I'm not repeating a question, but I've done a lot of searching and haven't seen it yet... I've installed Virtual PC 7.0.1 w/Windows XP Home. If I understand what I read at Mactopia, I shouldn't have to worry about viruses and such on the Mac s

  • App Error 523 SOLVED!!

    Did an software update on my curve to 4.5. when i tried to push a new theme on it, it reloaded a blank screen with a "App Error 523" code and a little reset button underneath it. i have tried the button many times now to have the curve reboot and giv

  • [OpenBox]"Moc Controller" Pipemenu script

    Hey guys, I really like Moc and I use Openbox. My aim was to use Rootmenu to control and see song played. So, I decided to write a script with all fonctions I needed. I just wanna precise that I imagine there is already something like that, but i did

  • Enabling telnet and ftp on M4000 wth solaris 10

    hi all, please i need help i have installed solaris 10 on M4000 and i have enabled telnet in /etc/default/logins and ftp in ftpusers but i am not able to telnet and ftp?? i did some research and i found that it may be the firewall??? please i need he