Workflow forwarding

Hi,
i have integrated the webdynpro form with workflow by using sap wapi create event function module which is mentioned in webdynpro form.
now i want to add a button to forward a work item to any user.
please let me know is there any function module?
if i mention that function module in forward button(in webdynpro form),will that work item be moved to any user?
Please let me know how to do??
Regards,
Ramesh.

Hi Ramesh
You can use FM SAP_WAPI_FORWARD_WORKITEM
The user should be one of the Possible Agents (either the task should be set as a General task in Agent Assignment or if there are a fixed set to Agents in Agent Assignment, the user should be a part of it).
Also, the user should not be an excluded agent of that work item.
Regards,
Modak
Message was edited by: Modak Gupta .......... to know more on Possible Agents, refer this link : http://scn.sap.com/community/bpm/business-workflow/blog/2013/05/10/workflow-self-study-notes-part-2-theory--agents  

Similar Messages

  • Workflow Forwarding is giving dump in webdypro.

    Hello Experts,
    I am working with some workflow tool with WD ABAP. And i want to forward workitem to another user and i m using
    SWL_WI_DISPATCH funtion module for forwarding . But its giving me dump in my web dynpro application. If there any alternative FM for workflow forwarding from WD application please advice.
    The error i am getting like below.
    The following error text was processed in the system R3D : Screen output without connection to user.
    The error occurred on the application server AUSR3DEVDC02_R3D_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: RH_TASK_AGENTS_SEARCH of program SAPLRHW0
    Function: SWL_WI_DIALOG_FORWARD of program SAPLSWL3
    Function: SWL_WI_DISPATCH of program SAPLSWLD
    Method: FORWARD of program /1BCWDY/88CYALX665AYO7GJA2M1==CP
    Method: IF_DETAILS~FORWARD of program /1BCWDY/88CYALX665AYO7GJA2M1==CP
    Method: ONACTIONACTION of program /1BCWDY/88CYALX665AYO7GJA2M1==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/88CYALX665AYO7GJA2M1==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Thanks,
    Satya
    Edited by: satya pujahari on Jun 15, 2010 1:01 PM

    Thanks..but all the parameter i have to pass except WI_ID, bcuz i am getting some dump " Incorrect parameter with CALL FUNCTION ".
    Thanks,
    Satya

  • Workflow forwarding restriction

    Hi All,
    We are having a requirement where we need to restrict the users to whom a workflow has to be forwarded.The restriction and validation would be based on the spendlimit which has to be checked from  a Z table.
    We have tried the following,
    1) Implement the Program exit in the workflow corresponding to the forwarding functionality which is not getting called! with method Before_execution of Interface IF_WAPI_WORKITEM_CONTEXT.
    2)enabling general forwarding not allowed in the workflow along with rule and role logic. But we could not use it as we have BADI which gives us the next agent assignment. The rule over-writes the BADI logic. So we couldnt use this.
    Workflow :14000134.
    Can anyone suggest what else we could try in the option 1 or any other suggestions.
    Thanks in advance!
    Regards,
    Gowthami.

    Hi,
    What is the reason why so many workitems are constantly forwarded in your system??
    One of the reasons to use SAP business Workflow is to ensure that the correct people get their work.
    If any forwarding is needed you could always just give a limited number of people,like teamleaders access to SWIA.
    Or just create a new procedure if forwarding is needed that this is handled by the workflow administrator.
    Kind regards, Rob Dielemans

  • Moving the Shopping Cart workflow forward in a approver Rejects a line item

    Hi Friends,
       We a facing an issue while Shopping Cart Approval process.
    We have designed our SC Workflow , with Schema and 4 Process levels. Currently the Approvals are happening fine.
    Issue is happening when a Line Item is Rejected by a Single Approver. The Approval process does not move forward.
    We need need to move the SC process forward.
    Ex: SC: 1000000032
    Approval Flow:
    ITEM1:  APP01 -> APP02
    ITEM2:  APP05 -> APP07
    Scenario:01 :
    Once APP01 & APP05 approves in first level.  Then APP02 & APP07 approves . Then the process completes.
    Scenario:02:
    Once APP01 Rejects & APP05 Approves in first level. Then the SC WF does not move forward.
    How can I move the WF process forward once a approver rejects.
    Need your inputs.
    Regards,
    Jagan

    Hello Markus,
    what you describe does not correspond to condition standard determination to know if decision has to be checked or not.
    Indeed, this evaluation is done by /SAPSRM/IF_WF_PROCESS_SBWF~IS_DECISION_ACCEPT_REQUIRED method from /SAPSRM/CL_WF_PROCESS_SBWF class.
    Inside this method, the default behavior is based on decision of current process level:
    - If it is not "rejected" or not "approved" (this means, if it is "inquired"), there is an interaction
    - else, there is no interaction.
    Then, for "rejected" or "approved" decision, a Business Rule evaluation is done in order to check if the document responsible need to accept the current decision.
    If evaluation ID is true, acceptance by Contact Person is required.
    I am currently not able to check workflow behaviour for partial rejection when no acceptance by contact person is customized.
    I will see this next week.
    Regards.
    Laurent.

  • Approval Workflow Forwarding issue

    Hi Gurus,
    I am facing a unique problem. We are using SRM5.0 with ECC6.0 as backend. We have a n-step BADI workflow implemented for approval of shopping carts. Let us say, I created a shopping cart which is to be approved by X and then by Y. Now, if the approver X forwards this approval mail (either from SAP inbox or from his external mail id) to another user Z, then on complete approval, the approval preview in the shopping cart shows only user Y as the approver of the SC. Neither user X nor Z are shown as approver nor does it show that Z has approved the shopping cart.
    Why is this happening? Is this a SAP-standard procedure?  How do I correct this such that the shopping cart shows that user Z has approved it?
    Could anyone please throw some light on this issue? Will be really grateful...
    Thanks & Regards,
    Ancy

    Hi,
      Once the SC is approved by Z and Y, the approval preview must be display both approvers.. if this is not happen.. then check the OSS note.. what is your SP Level?

  • Invoice Approval workflow - forward functionality with AME

    Dear,
    We are on R12.0.6, setting up AME for invoice approval.
    Looking at the Invoice Approval process Approval lookup type I don't see 'forward' or 'approve and forward' lookup codes.
    Does it indicate that 'Forward' and 'Approve and Forward' functionality is not implemented for the Invoice Apporval workflow?
    The AME documentation on the other hand discusses forwardingBehaviors.
    If anybody went through this and can through any comments on the subject of the forward functionality in the invoice approval would be great!
    Thank you
    Anatoliy

    Pl post details of OS, database and EBS versions.
    In 11i, using AME is a requirement. I believe the same applies to R12 also.
    AP Invoice Approval Workflow White Paper (Doc ID 293152.1)
    A Guide to Invoice Approval Workflow - setup and demo (Doc ID 299618.1)
    HTH
    Srini

  • Workflow forward User selection

    Hi,
    When a user goes to forward a workflow to someone, you get the "Universal Worklist: Forward items -...".  When doing the search for a person, a list is returned.  Where is this list created from?  We want to limit the list to be only managers, but right now, we are retrieving the whole corporation, and this is unacceptable.  How can someone control the people/employees that show up in the search list?  Is there a certain authorization that goes with it, or an RFC that is called?
    Any kind of direction would be appreciated.
    Cheers,
    Kevin

    Hi Kevin!
    Ever got an solution concerning this issue? We are facing a very similar problem.
    Greetings,
    Joe

  • Workflow Forwarding to external mail help.

    Hi All,
    We use to use SO12 in our previous projects to forward workflow items to SAP outlook inbox. It was integrated with outlook, as users were able to approve or reject the same through the outlook inbox. So that means that they had some integration tool like Duet and stuff.....?
    Because by using simple forwarding using report RSWUWFML2 and SWADMIN ..... few more t-codes i guess its just the notification that is getting forwarded to the outlook mail and not that its integrated? So its like one way communication? Please correct my understanding!
    Please correct my undestanding.
    Thanks in advance.
    Anupma.

    I guess the link below has solved all my questions.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0022959c-1e4f-2a10-88a1-a2ecac80ab6a?quicklink=index&overridelayout=true
    And still everybody's view and explanation is welcome.
    Thanks,
    Anupma Chandra.
    Edited by: anupma chandra on Apr 1, 2010 6:46 PM

  • Support for JSP's located in WEB-INF directory

    Several application servers support the use of placing JSP pages underneath the WEB-INF directory, to insure that only server side workflow forwards requests to those pages and not direct URL access. IN addition the JSTL specification supports the use of
    <c:import url="/WEBINF/published/campaign_Arts.jsp" />
    Does OC4J 9.0.3 support this syntax? I cannot get it to work. Is there an application configuration file I need to update to support this?
    Thanks

              thank you for your reply...
              but...
              My problem is that i want to serve jsp pages that include various other jsp pages.
              But i don't want those other pages to be served directly. The approach of putting
              the jsp files in the WEB-INF, or in a sub directory of it, worked fine on Tomcat.
              The way i look at it is that the server has direct access to them when putting
              togetter the main jsp, but they can't be accessed from the outside. But this seems
              not to be the case.
              Any ideas?
              "ilya Devers" <[email protected]> wrote:
              >The WEB-INF is not perceived as a directory to the engine. Resources
              >in it
              >are not exposed and should not. It can hold sensitive resources such
              >as
              >application deployment descriptors that can contain database log in
              >information to name something. The engine should never serve resources
              >located here.
              >
              >This directory should only contain the normal directories: lib and classes,
              >and the web.xml files (and weblogic.xml).
              >
              >Hope this helps.
              >
              >ilya
              >
              

  • How to open InDesign CC files in CS6?

    I am trying to take files from a flash drive for Indesign CS6, his version is CC9.0 mine is cc 8.0.2 is there anything I can do to make it open in my version?
    Thanks,

    If you are a cloud subscrber, why are you not upgrading to CC 2014?
    If you can't upgrade, you have to export it from the newer version as IDML file and open this in the older version and save it as INDD. Best practice from CC214 would be to make a package and include IDML and PDF. But expect changes in the IDML workflow, it is not intended to use in workflow forward and backward between different versions.

  • How to find the list of Forwarded mails in Workflow

    Hi Guys ,
    How do I find in SAP which inquiries I have forwarded to a particular group? I have forwarded a few cases over the last months but now I want to do a follow-up, but since I haven’t written down which inquiries it involves I want to find them somehow. How do I do that?
    please suggest me some solution , points will be awarded surely for any guess from your side.
    BR
    Abhijeet

    HI
    Yes i have checked the Outbox in SWBP, but i want to find is there any method or transaction by which i can find which and how many mails i have forwarded to a particular workflow group.
    BR
    Abhijeet Chitale

  • Reg: Workitem forwarding issue in SC workflow

    Hi,
         I have a problem in Shopping cart workflow.
    When I try to forward the work item, the system is allowing me to forward it to only one person.
         I have two options. Please help me to achieve any of the two options.
    Option1 : To forward it to list of users
    Option2 : To forward it to an org.unit.
         For the first option, I dont have to facility to add two or more users.
         For the second option, I need to enable the search facility to search for org.units.
         Please help me to achieve any of this two options.
    With Thanks and Regards
    Ravishankar Vembu.

    Hi,
    Option1 : To forward it to list of users
    To forward it to list of users. say for example 5 users.
    in SU01d, the email should be common e mail
    test at the rate of usa.com for all the 5 users
    .So when you are forwarding the email to test at the rate of usa.com it will go to all the 5 users.
    Please try it will work
    G.Ganesh Kumar

  • Reg: Workitem forwarding issue in SC workflow to a org unit

    Hi,
         I have a problem in Shopping cart workflow.
    When I try to forward the work item, the system is allowing me to forward it to only one person.
         I have two options. Please help me to achieve any of the two options.
    Option1 : To forward it to list of users
    Option2 : To forward it to an org.unit.
         For the first option, I dont have to facility to add two or more users.
         For the second option, I need to enable the search facility to search for org.units or convert this search into a collectiv search.
         Please help me to achieve any of this two options.
    With Thanks and Regards
    Ravishankar Vembu.
    Edited by: ravishankar vembu on Oct 30, 2008 1:58 PM

    Hi,
    Option1 : To forward it to list of users
    To forward it to list of users. say for example 5 users.
    in SU01d, the email should be common e mail
    test at the rate of usa.com for all the 5 users
    .So when you are forwarding the email to test at the rate of usa.com it will go to all the 5 users.
    Please try it will work
    G.Ganesh Kumar

  • Is it possible in Workflow to auto-forward messagefrom SAPinbox to Outlook

    Hi Experts,
    In my workflow, previously I included a send mail step that sends notification message to holders of a position id in their SAP business workplace inbox. Then an activity step was there to determine the Outlook email addresses of those users. After that I included one send mail step that sends same notification message to the Outlook email addresses.
    Now, my client raises a requirement that I have to Setup a forward function, which sends message from u201CSAP business workplace -> Inbox -> Documentu201D to u201COutlooku201D automatically when a message received by u201Cu201CSAP business workplace -> Inbox -> Documentu201D.
    Is it possible?If yes,then please help me how to achieve it.
    Thanks,
    Sonali.

    Use SO36 Transaction code.
    Additionally if the user is maintained with email address in SU01d and SO16 is maintained as the Send to home addresses of users in the MailSysgrp
    Thanks
    Arghadip

  • Forward button not appearing in the workflow inbox

    Hi All,
    We have an issue where a user says that the forward button is not appearing in the workflow inbox . This is happening only for one user. Is there an way through which we can add the forward button?
    Regards
    Archana

    Hi Archana,
    If Basis have confirmed that the user has the authorization, then the user should be able to forward tasks.
    Right click on a task in the inbox, it should allow the user to forward the task.
    If the user does not have the authorization, then a message will appear that user does not have authorization to forward tasks.
    Immediately after that take a screen shot of SU53, which will show you why task forwarding is not possible.
    Regards
    Srinivas

Maybe you are looking for