Forward Workitem

Hi,
Could anyone please help me in the following scenario of forwarding work item.
A workflow is active for an employee and there are some workitems in his manager's inbox. When the manager changes, and a new manager comes in his place, we need to forward the workitems of old manager to the new manager. Could you please assist me in this scenario.
Thanks in advance.
-Pavan

Standard workflow substitution, I suggest you read up about it in the online help.
Go to the old manager's inbox, set up a substitute ( settings -> workflow settings -> maintain substitute ). Add the new manager as a sub and mark it active. Now the new manager can see al the items in the previous manager's inbox. Put a reasonable end date on it (e.g. a week) to give enough time to process all outstanding items.
If the previous manager has left the company then it's fine to lock the userid and leave it in the system until all workitems have been processed.
Cheers,
Mike

Similar Messages

  • IF_SWF_IFS_WORKITEM_EXIT: How to find out recipient of forwarded Workitem

    Hello everybody,
    I am developping a workflow application with an external status monitoring, i.e. for each workitem I must write the current status as well as the person or organizational unit who is reponsible for the workitem to an external Z-table.
    I found that the programming exits using the interface IF_SWF_IFS_WORKITEM_EXIT would be the right way to do this. However, I cannot find the recipient of a forwarded workitem in the whole object, neither a method which would return this information.
    Does anybody have an idea?
    Thanks a lot
    Martin

    Hi,
    not quite.
    I want to achieve the following:
    Let's assume, the workitem is in the inbox of user DILBERT.
    Now DILBERT is in his Business workplace, selects the workitem and clicks "forward". He gets the popup to enter the user he wants to send the workitem to. Let's say, he picks user WALLY.
    Now I want to upate my custom status table with the user WALLY as the actual agent. Unfortunately, when I call the mehtod IM_WORKITEM_CONTEXT->get_header, the field WI_AAGENT still contains the value DILBERT instead fo WALLY.
    And I can find the value WALLY in no other accessible field either.
    Thanks,
    Martin
    Edited by: Martin Krausch on Apr 19, 2009 4:47 PM --> corrected typo only

  • I need a fmodule to forward workitems

    hello,
    I need a function module to forward workitems. I know about SAP_wi_forward and SAP_WI_OBJECT_FORWARD but these function modules can only forward one workitem at a time,. Iam looking for a fmodule which transfers multiple workitems to a user in one time..Will u help me in this ASAP.................
    Thanks And Regards,
    Vicky

    you should use SWW_WI_FORWARD
    all processings on work items are always done one by one so you have to do the LOOP by yourself

  • Limit users in search when Forwarding workitem or creating Substit. Rule?

    When you are in Universal Worklist, you have capabilities to Forward workitems or Maintain Substitution Rules.  In both cases there is a select box where you can search and pick a user from the system who you want to Forward a workitem to or say make your Substitute when creating a Substitution rule.  
    Is there a way to limit the users returned when searching?   It appears you can find any account/user in the system.  For example, we entered "admin*" in the search box and it returned "administrator".  We would not want this or any other kind of non end user account.  
    Also, we have concerns about customers accidentally being able to forward workitems to different customers or competitors.
    Matt

    Hi Mike, thanks for the OSS and reply.  I agree with what you are saying.  I'll just add a few comments.  To help clarify, I guess there are two security concerns.   One is who you can forward workitems to and the other is hacker type security.  A security vulnerability report from a 3rd party is what prompted my posting.  They had issue with the user search on creating substitute and forwarding workitems (the fact it allows a complete enumeration of the system's user accounts).
    Restricting by possible agents (=General Forwarding not Allowed) is also for exactly this purpose.
    Perhaps that explains why not many companies have the same concern?
    I agree and we are using this in some workflows.  It does prevent you from forwarding a workitem to someone that is not a possible agent.  The problem is that the user search still shows all user accounts.  Fails their report and some of our users complain it forces them to know who the other possible agents are or guess.
    Another option is to not allow forwarding for the task but put the whole thing in a loop and give them a forward option as a decision choice or button which results in an agent selection step or popup box and then loops around, sending the task to the new agent.
    Yes, we do this in some workflows.  The only issue is that we do this with synchronous dialog in SBWP and we cannot do the same in UWL.
    Thanks again for your reply.
    Matt

  • Forwarding workitem to a Service user.

    Hello All,
                   We are using a standard  function module SAP_WAPI_FORWARD_WORKITEM OR by SWIA
                   for forwarding a workitem but its showing Following  error
                  ERROR   :   User ABC  is not a dialog user: Not possible to forward.
                   This user is a SERVICE user and if we make it dialog user than it is allowing to forward workitem to this user.
                   What we want is to forward workitem to a SERVICE user.
                   Kindly provide the solution for the same.
    Regards,
    Aditya

    Hello Eddie,
                         On searching  for the note details on sap marketplace got the following error.
                         ERROR:    The requested SAP Note is either in reworking or is released internally only.
    Regards,
    Aditya

  • Issue :- Forwarded Workitem displayed in Both Inbox

    Dear Experts ,
    I am having the below issue related to Forwarded Workitem .
    I was having the problem of  " Workitem dissapears from SAP Inbox after forward "  , and was got resolved by implementing the SAP Note - 1308276 .  After implementing the Note , the below issue occurs .
    If a workitem is forwarded from User 1 inbox to User 2 inbox then ,  it should get dissapeared from user1 inbox and should get assigned to user2 inbox ,.   But now  the workitem is being displayed in both user1 & user 2 inbox .
    This issue occured after implementing the SAP Note - 1308276  .
    Let me know if any more clarifications needed .
    If any one has any idea related to the mentioned issue , suggestion will be highly appreciated .
    Thanks
    Prabhudutta Behera 
    +91-9657722358

    Hi,
    That really doesn't sound normal behaviour at all. I think you should check if SAP has provided a new note for this. And if not, then address the question to SAP.
    Regards,
    Karri

  • Error in forwarding workitem

    Dear experts,
            For Purchase requisition release workflow , I am developing custom workflow with 3 level of approval.User decision step is going for first level of approval,If that person he is on leave I need to forward that workitem to next level.
    For this requirement I had set the dead line in user decision step and in request end tab 1 day time line given.i am using the FM SAP_WAPI_FORWARD_WORKITEM but it giving error. u201DFunction not available for this workitemu201D.
    Ques: What to forward the workitem to next level .
    Searched in forum,but I didnu2019t get any helpful information.
    Kindly give some idea ,to complete this task. If you have any document related to this ,provide me.
    Thanks in advance.
    Regards,
    Ram

    Hi,
    U can follow the below steps to achieve ur expected result:
    1) U hav ur workitem sending step. Include a deadline under 'latest end' tab. Here u specify the date & time whn the workitem shld b forwarded to the next person. Select 'Modelled' as action.
    2) This will include another branch for deadline for tht step.
    3) Include 'Process control' step in the new branch.
    4) Select 'Cancel workitem' and specify the workflow step number for ur workitem sending step used in step 1.
    5) In the 'outcome tab', u can see 'Processing Obselete' . Activate tht by clicking on the gray button. This will include another branch as 'Processing Obselete' for the step.
    6) Now include another workitem sending step for the next person.
    Whenever the workitem is not completed within the specified time by Person1, it will delete the workitm in his inbox  & send it to Person2.
    Hope this helps.
    Regards,
    Sivagami

  • Forwarding Workitem to Other Approver

    HI,
    we are having classic scenario with 2 level approval.
    User has created a SC which went to a approver X who is on leave.Now i need to forward that workitem to Another person who can approve that.
    Kindly guide me how to perform this.
    regards
    subbu

    Hi go into the current approvers workload inbox tcode swi5 and then copy the workitem number, then execute tcode swia enter the workitem id and then click the forward button and then put the approver's id to whom you want this to be sent.
    Alternatively go into tabel hrus_d2 and maintain the enter the current approver in the firs field and in the seconf field enter the desired approver and give s start and end date, So that you need not forward any workitem everytime there is one.
    Hope this helps.
    Saj

  • No Notify when Approver Forwards workitem - Accident or Design?

    Hellos.
    I am trying to figure out what IDM is doing when an Approver selects an administrator to whom he wishes to Forward his workitem.
    I see that deeply buried is the :forwardToButton variable.
    I understand that the current workitem becomes owned by the selected admin from the drop-down Select list.. i.e. it is indeed Forwarded.
    What I dont understand is why there is no automatic Notify activity informing the new owner of his obligations when this happens.
    How has the field plugged this hole? Any hints by the experts?
    The new owner has to be notified by email somehow, or does IDM rely on the forwarder to do it automagically.
    GF

    Hi,
    This is default feature. In this case, the owner of the workitem is changed to the new owner and emails are not triggered. You can call a rule in onclick and send an email
    Regards
    Arjun

  • Forward Workitem to Next Agent if workitem is not processed

    Hi all,
       My requirement is,i want to forward the workitem to next agent if it is not procssed within 5 minutes.
    i am using latest End Tab to specify the time and next agent to whom the work item is to be send.
    but the problem is ,if the workitem is not processed in time then message comes in Deadline Messages section of business workplace of next agent but i want it in Inbox and corresponding action is taken place.
    Thanks,
    Arpita

    Hi,
    By deadline monitering you can do this activity.and you can also forward the workitem by the following method.
    U can see the workitem of the user by the table SWWUSERWI giving user id.
    select the workitem id.
    Go to the transcation SWIA.
    Forward the workitem to your inbox.
    This will not appear in user inbox anymore
    Regards,
    Pranab

  • Find the list of forwarded workitems, forwarded by and forwarded to agents

    Hi experts,
    I want to find the list of workitems which were forwarded and the corresponding forwarded by and forwarded to agents.
    The above requirement is for workitems of all kinds of status (might be completed, ready etc..)
    Please suggest.
    Regards,
    Karthik

    Thanks a lot vikram,
    Hence the answer is refering to SWWLOGHIST table.
    We need to pass the value 'SWW_WI_FORWARD' (which is an FM) to the field 'METHOD' of SWWLOGHIST table and get forwarded by and forwarded to agents from 'METH_USER' and 'PARA_VAL_1' fields for the worktiems in any date range.
    Regards,
    Karthik

  • Forwarding workitem to different user

    there is a workflow which is in error failed due to agent assignment but we need to forward the workitem to a new user after restarting workitem as the previous user got terminated . Can anyone please suggest how to do that

    Hi,
    Please follow the following steps
    Copy the Work-item id of the error step
    Create a new session & go to se37
    Enter the FM u201CSWL_WI_CONTAINER_MANIPULATEu201D & Click on execute button
    Enter the work- item id in WI_ID field
    Remove the u201CXu201D from the Display field & click on execute button
    Enter the missing details like, address string, manager name etc.
    Use Tcode - SWPR
    Give the workitem id of the top node of workflow and date in the creation date field & click on Execute button
    Select the concern workflow from the list (with respect to the workflow key)
    & click on select the error workflow from the list & click on button
    Go to workflow log and check for the last work item id.
    Create a new session & use Tcode u2013 SWIA
    Copy the paste the last workitem id you just got & click on Execute button
    click on forwarding button, one pop up screen opens.
    Enter the user & press enter key. (a success message will be displayed)
    Open the new session & use se37 (for confirmation)
    Execute the FM u201CRH_LOCAL_INBOX_GETu201D
    Enter the USER_ID, LANGUAGE
    Click on Execute button.
    you should now see the workitem in users inbox.
    Many Thanks!
    Ritin
    Edited by: Ritin Jain on Jan 12, 2010 1:00 PM

  • Forward workitem manually.

    Hi
    We are on SRM 4.0
    When an approver recieves a work item for approval, he can forward that workitem using an icon (envelope) against that workitem.
    1- What is this functionality exactly for. Can he forward the workitem to any body, whether the person to whom it is forwarded is an approver or not.
    2-When we click on the envelope icon (forward) we have to find the list through find tab. If we insert * (star) the system does not throw the list. But if we enter a then the system throws the search list. What is the logic behind this.
    3-Is there any documentation available for this functionality.
    Please advice on this.
    Regards

    Hi ,
    Usindg the envelope icon you can forward the work item ( eg: shopping cart) from X-approver to Y-approver.
    If you use the wil card search (using * ) system will throw all the user with irrespective of the role assignment. Practically it's not possible to the user the one who doesn't have the approver authorisation. So it's always good if you forward the work item the one who already exists as the approver.
    Kind Regards,
    NMK
    Please provide the points if it's useful.

  • Error while forwarding workitem using SWIA

    Hello Friends,
    When i am trying to forward a workitem form one user to another , I get the below error message. Recently we have upgraded from 4.7 to ECC 6.0
    The Workflow template was orininally created on the prior version .
    Error : WS is not a valid object for a task
    Please assist if you have an idea on this.
    thanks
    Raghu V

    Hi Raghu,
        All WS and TS objects are know as work items in run time. Go to technichal view of workflow log  You'll see all work items in a hierarichal structure. Look for the one which has agent assigned to it or still in ready/in process status. There will be number against it in work item id column. That is teh number you want to use in SWIA for forwarding.
    Warm Regards,
    Anuj Nagpal

  • Forwarding Workitem Problem

    Hello Experts,
    i have a problem.
    Sometimes we forwad a workitem to another agent (from business workplace) and after this the workitem has no agent. When i read the workflow-protocol, i can see no error and the workitem seems to be correctly forwarded to the other user, but the workitem is not in the inbox of the user.
    The tasks of the Workflow are all defined as "generall Task"... so there is no error in my opinion. When i run the report SWI2_ADM1 the workitem is listed as "workitem without agent". When i run the report SWIA and forward the workitem another time to the same user, the workitem appears correctly in the inbox.
    And last but no least... this error occurs not everytime with the same workitem. Sometimes i forward a workitem and its correct, sometime (same Workflow definition, other case) it disappear.
    Has anybody an idea, whats wrong?
    Thanks in advance for your help.
    Holger Steffens

    Hi,
    this isssue sounds too weird to be caused by some customization.
    I would check OSS to see if it is acknowledged by SAP and raise a message when you dont find a solution there.
    On how to solve:
    I'm guessing it is some sort of buffer problem that is  causing it, check SM21 to see if there are any weird entries.
    Also check if /$tab and /$sync will solve your problem. Do not use these commands in production since it could disrupt an update on master data somewhere (pretty rare but still, better safe than sorry)
    Kind regards, Rob Dielemans

Maybe you are looking for