Triggering an Workflow Template

Hi Gurus,
In one of our projet requitements we need to implement an Workflow. Sap Already has a standard workflow - WS24500047 for Quality Notification which is triggered from QM02 Transaction .
But We need to trigger this same WF template from Another Transaction(QE02) .
What are the ways the WF template can be triggered from this new Transaction.
Thanks
Arun

Hi Arunava,
1.First of all you will need to find out at which event this workfow should be triggered.
2.Check whether this particular event is already being raised when this new transaction QE02 is executed.
3. If event is not being raised by the system, then you will have to find user exit for QE02 and then raise this required event from this user exit so that template WS24500047 can be started.
Hope this helps you start off with the things.
Regs,
Akshay
PS: Reward with points if answer helps you to resolve the problem

Similar Messages

  • Triggering the workflow after the Notification is created

    Hi Everyone,
    If the two workflow templates have the same triggering event BO: BUS7051, Event: CREATED). Both the workflows are triggered after the notification is created.
    Scenario:
    After terminating an employee notification number is created and triggers the workflow template 99900033 (Event: CREATED)
    After Promoting an employee notification number is created and triggers the workflow template 99900035 (Event: CREATED)
    My Requirement is: I want to trigger only one workflow template depending on my scenario (Termination or Promotion).
    How can I achieve this? Could you please let me know?

    please include a simple condition in SWB_COND where employment  EQ Termination for  termination event linkage (SWE2) and similary for promotion also create ne more condition and include in promotion event linkage.
    You might be having some doc type, so based on this you can achieve this.

  • Workflow template PE_Approve01 not being triggered when attendee is booked

    Hello
    Have copied and configured the workflow template for approval of bookings. When i test the workflow from tcode swdd it is executed, but when i try and book an attendde for an event using tcode pv00 the workflow is not triggered. Is this the correct tcode that triggers the workflow or it needs ESS for it to work?

    I hope you might be using the workflow template WS1200160 for approval booking for this workflow tempalte you have to activate the event linkage between the BOR event PDRELA_025  -> moveRequested if your requirement is to trigger the workflow for Pre booking  the you have to use the BOR event PDRELA_027  -> Created , all you have to do is ,
    1. Goto PFTC transaction, select the task type as workflow template.
    2. Mention the workflow template number open in chnage mode and clcik on the tab Triggering Events and select the BOR type  as BOR and BOR any one one of the above mentioned BOR's and any one of the events and activate the linkage by clicking on the buton present in the first column...

  • Triggering workflow template through any transaction

    Hi,
    what is he procedure to be followed so that I can trigger workflow template through any transaction code, the requirement is to create a module pool program and that program should trigger a workflow template, so my question is what all classes have to be called that will trigger the workflow template.
    Thanks and Regards,Neerup.

    Check the following links:
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://sapmaterial.com/workflow.html
    http://****************/Tutorials/Workflow/Workflow.htm

  • Triggering a workflow when the payment proposal F110 is confirmed/finished.

    Hi All,
    Please kindly give me your good advices that how can I start to create a workflow for payment proposal F100. The requirement is that after the payment proposal has been confirmed and completed. It needs to be triggered and automatically send out an email notice for the those vendors, the vendor email address is collected from vendor master record FK03.
    I guess it can use REGUH-XVORL, If "X" means that this is proposal record only. If " " means that it's not a proposal record, which should be a confirmed record yet.
    Please kindly instruct me how to get this task done, since I am a fresher SAP and workflow.
    Thank You Very Much.
    JC

    Hi,
    I have exactly the same requirement.  I need to trigger a workflow when the payment proposal is completed. 
    I've been searching for the answer on the internet.  Several people have asked the same question, but I haven't seen any real answer to the question yet. 
    There is no standard SAP business object for payment proposal, there is one for payment request which uses F111.  There is no standard workflow template, the one for payment release is only for releasing individual invoice.  There are answers about restricting the authorisation, it helps, but it doesn't meet all requirements.  We have people create payment proposals in UK for companies in Europe.  We really need a workflow resolution.  Seperating the authorisation will still require the person who created the proposal sending email to people in different countries to approve the payment.
    Two technical problems that we are facing. 
    1. There is no existing business object. I've been told that we should should ABAP Class.  And include the IF_WORKFLOW in the interface.
    2. There is no event created when the payment proposal is completed.  We are working on creating an event.  I've been told to use SWE_EVENT_CREATE function module. 
    If you have more information about how this can be done, or if there is any easier way, please let me know.  I will be very grateful.
    Thanks,
    Manlee

  • How to convert workflow template number into transation code?

    Hi Experts,
    We are using WS20000081 Leave request workflow in SAP 4.7.I created one customized workflow according to the client requirement.How can i convert WS99900009 into Transaction?
    I created one absence type with workflow template WS99900009.While applying a leave it is showing the erroe as "WS99900009 is unknown" .
    Please help me to resolve this problem.
    Thanks,
    Hemalatha

    Hi Arun
    WS20000081  and WS04200009 are triggering  when i applied a leave.But i need to add some amore task in that.For that i created the Customized workflow.Then we tried to create Rule groups with custom workflow id number in ESS settiongs.It was saying that ws99900009 is unknown.And we tried to replace the WS20000081 by ws99900009.It was alos saying that ws99900009 transaction is unknown.
    So pls guide me how to convert ws99900009 into transaction?
    Thanks in advance
    Regards,
    Hemalatha

  • Triggering SAP workflow from non-SAP system

    I am trying to use WF-XML to trigger a workflow in SAP from non-SAP system. 
    I have already created a workflow template in SAP and want to test the scenario if this will be really hit by the incoming xml message.
    Questions:
    1. How the data from incoming xml is tranferred to workflow container element? IF system does it, how is done? If not how to address it?
    2. Do we have some tool here, to simulate this situation - to create a test xml incoming message with SAP and really see if that triggers the desired workflow template. Pupose is testing the scenario first in SAP and then going to the other system to test the real interface.
    This is somewhat similar that we see in incoming IDoc. In Idoc we can simulate the incoming IDoc structure and test.
    Is any one here who can guide on this?
    Thanks in advance.
    Rgds.

    Hi,
    You don't need a triggering event. In the xml it says which workflow should be started. You don't need a class to fill the container. The service does this.
    I think there is a way to generate an example xml but I don't know exactly how. In the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/54/de9e3887d6174fe10000009b38f842/frameset.htm">SAPHelp</a> there are some examples of the documents. Check also the entry above it about the creation of a WF_XML document. In the first and third example it shows a container element and its value (QUESTION).
    Try to get a copy of the book "Practical workflow for SAP" by Alan Rickayzen. It has got a part about this.
    Also check this link from the SAPHelp:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e8/ea8d380be34e6ce10000009b38f842/frameset.htm">Call Tab Page</a>
    Regards,
    Martin

  • Is there any function module to trigger workflow template

    Hi,
    I have created a workflow template in tcode PFTC, which i am using to send email, this workflow needs to be triggered once the document is posted, there are no events being triggered at that stage, My query is 'Is there any function module to trigger this workflow template from the user exit'?.
    Thanks in Advance
    Santosh

    Use FM
    SAP_WAPI_START_WORKFLOW.
    or if you have triggering event for the wflow use
    SWE_EVENT_CREATE
    SAP_WAPI_CREATE_EVENT
    Thanks
    Arghadip

  • HCM/OM workflow template - approval for creating positions

    Hi Guys,
    My requirement is to create a custom workflow for the approval process of creating positions. I have the follwing questions:
    1. Is there any workflow template that can be used?
    2. What BO should be used?
    3. On what event should the WF be triggered?
    Many Thanks in advance,
    Cristian

    Please check with these Business objects
    PDOTYPE_S  Position
    PDOTYPE_SH HR Position
    Thanks
    Arghadip

  • Multiple Events & Triggering of Workflow

    Dear All,
    I have a requirement in which -
    1) A workflow should trigger on two events i.e. 2 different tcodes, it is possible for a single workflow triggering from 2 events ?? if yes, kindly explain.
    2) The workflow should trigger on a particular date given in the tcode, like order completion date i.e. i should program the workflow for advance. How ??
    3) There is a requirement of sending mails to the respective persons in the organisation, these email-ids are stored in a z-table, how to achieve this ?
    Any assistance provided to clarify the above issues will be really grateful.
    Thanks,
    Saurabh Chauhan.

    Hello,
    1.You can trigger a workflow from two different events. In the triggering events tab of the workflow template, just specify the other triggering event as a new entry in the second line. Take care of the binding. If the events are from two different business objects, then you need to create two different workflow containers and bind them accordingly in the Event - > Workflow binding.
    2.In workflow you have conept called the start condition. If the condition is satisfied, then only the workflow will advance. What you have to do is in the business object that you use in designing the workflow, create an attribute which retrieves the date. In the screen of workflow builder, go to the basic data(ctrl+F8)...instance independent and the tab ....start events....select the event for which the condition is to be designed...click on the box beside the binding. it will show you the condition creator...compare the attribute that you have created with the required value.
    3.You can get the values in two ways...one to create an attribute and get the values from the ZTABLE, then use the same in the SENDMAIL step of the workflow. The second one would be create a mehod in which the coding to get the users from the table is executed and the list of users are exported from the method to the workflow template. You have the facility to create an element fo multiline. Use it.
    Hope this will help.
    Regards,
    Sam

  • "Workflow Template Create" screen  appears while executing the work item.

    Hi,
       I am learning the workflow. I have created a test workflow in which there is a user decision step and 2 mail sending steps for the outcomes of the user decision.The workflow is activated properly . When I excute the workflow the screen for "Workflow Template Create" opens everytime. When I go to the Business workpkace a mail is there in my inbox with the title as given in the user decision step. Again when i am trying to execute the work item in the inbox again the same screen for "Workflow Template create " is opening. I am totaly confused with this problem . Pls suggest what might be the reason..?

    I think the Wflow Template Creation screen is not opening but your current session is getting closed so the previous session which is Wflow Create one which you have already opened is appearing. Please check your template design and act accordingly.
    Thanks
    Arghadip

  • Need to add two activities in Purchase order workflow template

    Hello,
    I got a requirement for purchase order at workflow template level need to add two activities like below
    a) p.o changed
    b) p.o cancelled.
    once p.o changed based on agent determination agent will receive the mail in his inbox same functionality for p.o cancelled. 
    also at work item level need to add attributes .
    but currently standard workflow for PO release it WS200000075  have only release activity   .
    how to add activity types to be available workflow template also please let me how to do binding for above activities once created?

    Hi vinoth,
    yes this p.o workflow based on release strategy. i was copied the standard workflow template added activities
    one is for changed and another is rejection.
    once functional guy rejected the purchase order rejection  activity  not working properly
    also same problem faced for changed step also while change the p.o value at item level.
    i am using business object BUS2012 adding attributes for work item.
    please guide me how to achieve above functionality also how to do binding for changing and rejection activities?

  • BTE 1030 - we use for AP documents, create an event that triggers a workflow

    Hello all,
    We use SAP's program RFBIBL00 to post AP documents.  We coded a function module that is called when BTE 1030 is reached.  Our FM creates an event that triggers a workflow.
    We are now doing some testing with an external vendor who is creating AP documents by doing an RFC  using function module BAPI_ACC_DOCUMENT_POST.
    It seems that this BTE, 1030, is not being triggered when the IDOC created by this function module posts the AP document.
    Has anybody else seen this issue and found a way to deal with it?
    Thanks
    Bruce

    AFAIK BAPI_ACC_DOCUMENT_POST and FI posting should trigger BTE 00001030 but BAPI_INCOMINGINVOICE_CREATE and AC interfacewould trigger BTE 00001050. (or is BAPI_ACC_DOCUMENT_POST also using AC interface, I will let you check it)
    Nevertheless call your FM triggered thru BTE 1030 also in a FM triggered thru BTE 1050. Also in the call check for update task
    function z_fi_00001050.
    call function 'TH_IN_UPDATE_TASK'
         importing
           in_update_task = in_update_task.
       if in_update_task eq 0 and i_xvbup eq 'X'.
         call function 'Z_FI_00001030' in update task
           exporting
             i_xvbup = ' '
           tables
             t_bkpf  = t_bkpf
             t_bseg  = t_bseg..
       else.
         call function 'Z_FI_00001030'
           exporting
             i_xvbup = ' '
           tables
             t_bkpf = t_bkpf
             t_bseg = t_bseg...
       endif.
    Regards,
    Raymond

  • Workflow template not shown in list workflow setting

    I created a new list, a new site content type, and new reusable workflow. The site content type is added to the list.
    Worked fine at the Dev environment.
    Deployed the workflow to UAT environment as WSP file and list as a list template.
    In UAT, a new site content type is created and added to the list.
    The WSP was activated and feature enabled. But the workflow is not associated with the site content type, instead associating with all site content type.
    Then use copy and modify to associate the workflow with the right content type. It works. Save and publish the workflow.
    Go to List, Workflow settings, click on Add a Workflow, the workflow template is not shown in the workflow template drop-down. Even when the associated content type is all, the workflow should display in the workflow template drop-down in list workflow settings.
    Save and publish the workflow a couple of times, ususally the issue will be resolved. But not this time..
    Please help!! Thanks a lot!!
    Feng Wan

    Hi Prabhakar ,
    just give a try for following program .
    Use program RHMOVE30 - enter object type WS, and your WF number. Use eval path TASKHIER.
    Use the dropdown on the request parameter to create a transport request.
    When you get the result list, make sure your task is selected for transport then use the option to include it in the Transport.
    You should then be able to go to txn SE09 and see your task has been assigned to the transport.
    You can then transport your task.
    Regards,
    Shounak M.
    Message was edited by: Shounak  M

  • Not Able to see Workflow Template in 4.6c

    Hello Experts,
    I am working on 4.6C version. I have a strange problem, when i use the transaction SWDD, i am not able to insert the workflow template say WFXXXXX but in the pop up if i press WF Definition then i am able to see the template.If i directly press enter(Insert) in the pop up screen then it is saying Workflow Template doesn't exist.
    Can any one of you please help me in this. One more doubt, is it possible to Retrieve WF Template if it is deleted by mistake in 4.6C??.
    Thanks a lot in advance....
    Rgds,
    Mohan

    Hi Jagan,
    The workflow template is by naming convension WSxxxxxxxx. Please try using this and check if you find the template.
    Also you can trace the workflow template in t-code PFTC. Select WS Workflow Template and give your workflow template ID. It would give you the details of your workflow.
    Hope this helps!
    Regards,
    Saumya

Maybe you are looking for

  • Remove event listener from loaded external swf

    I have a main movie timeline that loads an external swf. When I unload the swf from the main timeline I get an error from this:  my_FLVPlybk.addEventListener(VideoEvent.COMPLETE, vidEnd); is there any way to remove the event listener from the loaded

  • Calling a Function in new thread

    Hi, I am New to java, i wrote a class it has some functions ,now i want to call one of its function in from another of its methods in new thread, how can i do it. Scenario is : Classs A extends thread function One() Thread new = new Thread(functionTw

  • How does Address Book syncing work?

    I have an Iphone 4 o/s5 and a MacBook Air.  Under iCal preferences you can choose how often it syncs to iCloud and pushes (I guess) to my Mac and Iphone.  But the Address book is kind of a mystery to me.  I thought it was working but then I made some

  • How to secure webserver login popup

    Hi, I have a iPlanet webserver 4.1 running. I have some ACL's there and users log in through the "normal" webserver login popup window when they try to access a file that has a ACL. Audit now complained that the password goes over the intranet in pla

  • POP3 mail server problem

    I am using Thunderbird 6 for email. Works OK after computer has been booted up. After that, trying get email doesn't work. Computer says " error with POP3 mailserver" but no details