Work Item Forwarding

Hello,
Here is the scenario:
I have a task in a workflow. I have defined possible agents (in task definition) and responsible agents (in WF definition). The task attribute is "General Forwarding Allowed".
In the scenario, a responsible agent receives work item in his inbox. He then forwards it to the user who is NOT a possible agent of the task. The system gives the warning message but allows the forwarding. This forwarded agent then executes the work item.
Question
Is there a way to ALLOW forwarding of the work item to any user who is not a possible agent. But to PREVENT that user from executing the work item.
Any help would be appreciated and will be rewarded!
Regards,
Sandeep

Hi Sandeep
If you want to Allow general forwarding but restrict execution to only the users allowed, You need to rely on SAP's Authorizations.
If an action is allowed or not for a specific user, should not ("<i>can not</i>") be based on your workflow design. It must be based on your SAP security design (Your SAP Roles).
Remember that Forwarding isn't the only that another user can gain access to a workitem. If a user assigns a substitute that's not allowed to execute you will face the same problem, or even if an administrator executes the workitem from transaction SWIA.
If you are using SAP Standard functionality, the SAP Standard authorization check, for the called functionality, would be checked. In order to find out exactly which objects has been checked, you can use the trace functionality in transaction ST01.
If it's your own development you need to include the nescesarry checks in the ABAP code.
Regards
Morten Nielsen

Similar Messages

  • Work item forward when dead line reached

    Hi Every one,
    I got change request to deploy the dead line monitoring for the purchase requisition workflow.
    The workflow existing start with the agent determination step which will determines the approver and after that it has a custom user decision step( Dead line monitoring must be implemented for this task ) which will call the ME53N and if we say back it will give a pop-up with 3 options which are 'Approve' ,'Reject','Cancel'.The user will select one of the option and after that there is multiple decision step which have 3 branches will select one of the branch according to the user selected option and the flow continues so on.
    Business Requirement:
    If level 1  does not release requisition in one day, then it must go to Level 2.If level 2 does not release that requisition within three days then it must go to Level 3, escalation stops at level 3 and the work item must stay until unless level 3 make the action on the work item.
    The work item forward must be happen when escalation takes place not the notification.
    Please let me know the information aforesaid is not clear at any point.
    Regards,
    Rajesh
    Edited by: bhupathyraju rajasekhar on Jul 9, 2010 1:06 PM
    Edited by: bhupathyraju rajasekhar on Jul 9, 2010 1:23 PM

    You can do this in many ways. This is one of them:
    - Create a loop that goes around for the number of approval levels (so, 3-level approval means loop 3 times)
    - Inside the loop, create a 2-branch fork with only one mandatory branch to complete: one for approval and the other waiting for "expired" event
    - Set up modeled deadline monitoring for the approval step. Once the deadline is reached, you need to fire the "expired" event which will process the other fork branch.
    - After the expiration branch is executed, you can add any tasks to change the status, etc.
    Hope this helps,
    Abdullah

  • Enhanced Notifications(SWNCONFIG) Vs Work-item Forward Program (RSWUWFML2)

    Is there an easy way to find out the advantages of using Enhanced Notifications SWNCONFIG configurations over scheduling the work-item forward program RSWUWFML2? We are on Ep 7.0/ECC 6.0 and configuring UWL for work-item execution and receiving notifications. For occasional users, we are planning to send email notifications to the Outlook email addresses using RSWUWFML2 and the the SCOT internet Send programs. Are there any added advatnages of configuring Advanced notifications?
    Appreciate any ideas.
    Thanks,
    Saurabh

    Yes, there are several advantages, but you may not need all of them. It takes a little extra effort to set it up, but that's a one-time effort and we are not talking weeks or days.
    However, the primary argument is that this is the standard solution for work item notification. So you are recommended to use the enhanced notification solution whether you need the advantages or not.
    One advantage is additional flexibility in which work items should be checked. You can choose to send notifications to people who don't have new work items, but have not yet completed the work items they (probably) have been notified about before.
    Another advantage is additional flexibility in message contents and the number of messages sent to the user. RSWUWFML2 lets you choose between one message and one message per work item. In the new solution you can also send one message per category, although I am not sure what a category is.
    Further advantages:
    - Multiple schedules can be set up, so you don't have to use SM37 to get an overview of your notification schedules and you can send notifications every hour from 09 to 15 and every 4 hours the rest of the day if you wish. There is a time zone field in the schedule configuration. Whether it is used just to make sure the job runs at the desired time or is even more amazingly advanced (only notifying users when their own time zone shows the same time) I don't know.
    - There's more, but since I have never set it up myself I have not read all of the <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/b9/2a651eb04411d2b46f006094b9ea0d/frameset.htm">documentation from SAP</a> which includes typical scenarios to help you with configuration.
    After opening the link, expand the hierarchy as follows: Reference documentation => Workflow system administration => Extended notifications for SAP Business Workflow.

  • Work Item forwarding problem

    Hi All,
    Right now we have a interesting workflow problem. we applied support pack in the month of September after that forwarded work items are getting disppered from the users inbox
    If user A forwarded the work item to User B he is getting it, But it is getting disappered after midnight, It is happening to all the forwarded work items. It didn't happen before the support pack
    If anyone come across the problem please tell me what to do?
    Thanks in advance,
    Rishik.

    Hi all,
    I have same problem. I think there is Job in the background which doing such a refresh and the forwarded work items can't be seen in the inbox. even when I  try to refresh the organizational environment or call swu_obuf the work items are still disappeared.
    have you already found a successful solution for this problem?
    many thx!

  • Work Item forwarding BADI

    Is there a BADI that can be implemented to get the list users that a work item is being forwarded to?

    The question is about getting a list of the people being forwarded to not the person actually forwarding the workitem. I could not find anything. You still can utilize the enhancement framework to enhance the functionality. Function modules SWW_WI_FORWARD could be a good spot for you as I believe it is called when you click the "Forward" button as well as when function module SAP_WAPI_FORWARD_WORKITEM is called.
    You can use function module SAP_WAPI_FORWARDING_INFO_GET to read the related forwarding information.

  • WORK ITEM  FORWARDING issue...................................

    MY REQUIREMENT IS THAT I don’t want user to forward the work items to other users by setting substitutes. I can think of forwarding not allowed for a task; is there a better way to do it ?

    I think the above method is the best way.
    I think you can also restrict by some Authorization. In order to set a substitute you need to have some authorization.
    Thanks
    Arghadip

  • SAP inbox work item forwarding is not working properly

    Hi,
    We are having problem in forwarding the work item in ECC Upgraded environment.
    If USER1 forward a Work item to USER2,  the work item is disappearing from USER1's  inbox. also the same the same forwarded copy is available in the USER1 Outbox.
    But it is not reaching the USER2's inbox. Not able to trace where it is going. the USER1 has the authorizations to forward the work items.
    Is there any settings or changes that needs to be done in ECC6 for forwarding?
    Help is appreaciated.
    Regards,
    Prathap

    Hi!
    Have you checked note 1308276 - WF: Forwarded work items are not displayed in the inbox.
    Br
    Geir

  • SAP workflow logs for work item forwarding.

    Hi All,
    I just forwarded the workitem today to around 25 users. But I dont know where does this reflect in the logs. My workflow is waiting for approval in managers inbox.
    And the workflow logs says ready state. And no where that I can see the list of 30 users that I have forwarded it to !
    Thanks,
    AC.

    Hi,
    I just forwarded the workitem today to around 25 users. But I dont know where does this reflect in the logs. My workflow is waiting for approval in managers inbox.
    You can only forward the dialog workitem. Now go to workflow log. Clicks on agent button you will find the current agent to whom the workitme is belongs. After forwarding refresh your managers SBWP, workitem will not be there.
    Thanks and regards,
    SNJY

  • Please Help me with the Work Item agent to agent forwarding error

    hi folks ,
    This is the error I am getting when I am trying to forward the work item from agent to agent.
    "Work item 000000017188: Method SAP_WAPI_FORWARD_WORKITEM not allowed for type F "
    Please Help in this regards. its Urgent.
    thanks in advance for your help
    Krishna Chaitanya

    The F type Workitem cannot be forwarded because it represents Workflow (Also Subworkflow) workitem Id.
    You have to find out with workitem which has status W(Dialog Work Item; Represents a Single-Step Task) from SWWWIHEAD table and status should be in process and the TOP_WI_ID should be the value that you are trying to forward.
    Thanks
    Arghadip

  • Forwarding of Work Item from Approver's Inbox

    Hi All,
    We are in SRM 5.0 SP07 Classic Scenario.
    We have a requirement of restricting forwarding of work items from approver's inbox to users who do not have a approver's role. Presently, when the system takes in a user ID who is having a requisitioner role or for that matter any role. The requistioner receives a work item but the requsitioner is not be able to approve/reject the workitem.
    We would like to ensure only the approvers are selected in search and other users are not even displayed for selection.
    Is there a way to achieve this?
    With Regards
    Sathya

    Hi,
    As per the config guide,when you try to assign the User,using the FIND button,you will get to see all the users with the role "SAP_BBP_STAL_MANAGER" who can approve.
    Else you can filter the possible selection with the BADI BBP_CHNG_AGNT_GET.
    See the foll thread for more pointers:
    Re: Selection of approvers for Bid
    BR,
    Disha.

  • Forwarding work item

    Hi Forum,
    When we forward a workitem from Inbox of an approver..
    1)Which BADI is trigered?
    I tried puting a break point in workflow BADI but it is not trigered when i pushed the Send button.
    2)Are any mails trigered?
    Regards,
    Anubhav

    HI,
       To the best of my knowledge , there is no Specific BADI for forwarding Work Item.
    But inorder to allow forwarding the Work item, Purchasing Org structure (PPOSA_BBP) , Flag:FORWARD Work Item attribute need to be set.
    Regards,
    Kalandi

  • SWIA -- Forwarding option is grayed out... can not forward Work Item

    Hi,
    When I use SWIA to forward one Work Item to another user, that option is grayed out there.
    While another use with same access is getting this option for the same work item.
    Any user specific setting preventing this?
    DA

    Usually when you try to forward an already forwarded item then the option is greyed out. Which is why one user can forward it and another cannot.

  • Forward work item that has been completed

    Can I know if there is anyway that I can forward the work item to someone even though the transaction has already completed?
    Also I would like to know if I can forward the work item to someone when it's not in a dialog step?

    Hello Shreya,
                You can forward the workitem from the transaction code SWIA.
                 You can also forward the non-dialog work item too from the same transaction code.
    Regards,
    S.Suresh
    Edited by: Suresh Subramanian on Jun 17, 2010 10:33 AM

  • How to handle the situation to forward work item manually?

    Hi All,
    In my workflow -
    For agent determination I have some custom logic to determine agents. If custom logic donu2019t return any agents then the requirement is work item needs to send back to workflow initiator.
    My issue-
    When no agent determines
    1.Work item needs to send back to workflow initiator - and he should not able to Approve or Reject work item - He Can only forward work item to any other person manually (he determines to whom it should forward).
    2. After manually forwarding the work item it is normal process 2 level of approval from that point .
    Please let me know for the first item how to handle the situation?
    I have developed 2 section - one goes with regular agent determination -
    and the other one when no agent determines then I am assigning back to workflow initiator. Now I want to handle that - initiator should not accept or reject and he can only forward to someone. How to develop this?
    Please let me know your thoughts.
    Thanks in advance.
    Rajesh,

    Hi All,
    Thanks for the answers.. sorry for late replay.. requirement was not confirmed.
    1. As I described in my question
    After my custom conditions.. I have to send workitem back to initator ( Now initiator forwards the work item to someone else  ( need to restrict  users  based on role - )..
    While doing this process initiator should not have access to approve or reject he should only forward the workitem.
    After forwarding the work item -this person should have approve or reject options.
    My question is not answered..
    1. As Vijay told..
    Dont give Approve and Reject Options and in Description u specify like
    If I dont provide approve/reject when I am sending the work item to initiator - After initiator forwarding this work item - how do we the other approver will get options  Approve and Reject?
    2.  AS -surjith kumar
    If your Using the Rule or Expression you have to restrict via coding -  This will solve one of my problem -
    How I can restict  users with role based?
    My problem is not solved.. Initiator should not have access to approve but He should only forward the work item...
    Please let me know...

  • Forwarding 'Wait Step'work items using SWIA

    Hi,
    I need to forward work items of one user A to another user B urgently, using SWIA.
    The work items are in executed state. This is after a fork step in the workflow, where the executed work item is one branch of the fork.
    As these items are executed, we will have to forward the work items that are in ready state.
    The work item for the other branch of the fork is in ready state. However this is a wait step, and hence I am not able to forward this item.
    Kindly advise as to how should I forward these items.
    Best Regards,
    Smruthi.

    Hi Smruthi,
    Dont confuse with the wait for events and dialog work item. There is no direct link between the wait for events and the work item.
    Only dialog work items needs the user action and dialog work item's only can be forwarded to other user's.
    For this, the work item should have the status of 'Ready'. If the work item has the status 'In process' that means, the user opened the work item and still he didnt take ant action on it.
    In this case, using SWIA you can manually change the status as 'Ready' and then you can forward the work item to the other user's.
    To forward the work item use the function module 'SAP_WAPI_FORWARD_WORKITEM' or use the SWIA transaction.
    Thanks,
    Viji.

Maybe you are looking for