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

Similar Messages

  • Problem in triggering MATMAS IDOC through BD10 transaction

    Hi,
         My scenario is to trigger an IDOC(MATMAS)in BD10 and store it as an XML file in the physical directory.
    I have created a logical system for this and also created partner profile for the logical system defined.
    Further i've have configured XML Port has my reciever port of the outbound message type(MATMAS). But when i trigger the IDOC, it says that "1 Master IDOC setup for the message type MATMAS" and "0 Communication IDOCs generated" and the outbound IDOC is not recieved at the concerned directory.  Please help me out in solving this issue.

    Hi,
    While doing configuration u must take care of creation of Distribution model. Here you need to give message type,sender & receiver.
    At the same time you need to generate partner profiles. Results should give 'SYNCH' along with all info.
    Check all the inbound/outbound parameters are correct or not.
    If you satisfy with this pls close this issue and allocate some points.
    Regards
    KER.

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

  • 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

  • Triggering workflow through MIGO in output type

    Hi Friends,
                  After the GR Documents are posted, I need to Trigger GR  Workflow......
    Please guide me any Function modules or BAIDs
    to keep our code once the MKPF and MSEG DB Tables are updated with recently Created new Documents....
    Can we Assign our Workflow Template in the OUTPUT Type in NACE.
    If so, Please Guide me with the OUTPUT Type configuration Steps
    Thanks in Advance,
    Ganesh

    I think you can use standard Buiness object BUS2017. While creating the document please check which events gets trggered in SWEL. I am sure the Created event of this Business object gets triggered.
    Thnaks
    Arghadip

  • Mail triggering through NACE transaction.

    Hi all,
    I  have a requirement of triggering mail when BOM(CS01) is created on SAVE save event.
    Can any body tell me if it is possible through NACE transaction.(I need to add some more conditions also) and if yes how to do it.
    Thank you.

    Hi,
       Check the below link which is of similar kind of requirement.
    RFQ mail sending
    Thanks,
    Asit Purbey.

  • 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

  • Is there any stadandars workflow template for campaign element approval

    is there any stadandars workflow template for campaign element approval

    I don't know, but why don't you search in the Business Workflow Explorer (transaction code SWDM)? By specifying the application component you will see what is available.

  • Triggering Workflow on Goods Receipt

    I am trying to trigger a workflow on goods receipt, and I'm not having much success.  I've tried triggering on the following two events:
    BUS2017 Assigned and
    MKPF Assigned
    When manually triggering the event through simulation the workflow starts as expected.  However using transaction MB01 doesn't seem to work.  Any ideas?
    Thanks,
    Heather

    Hi,
    Please check these enhancement (SMOD) which contain all user exits available for MB01
    MB_CF001    
    MBCF0011    
    MBCF0010    
    MBCF0009    
    MBCF0007    
    MBCF0006    
    MBCF0005    
    MBCF0002    
    Regards,
    Ferry Lianto

  • 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

  • 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

  • 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

  • Details for triggering workflow on changing material

    Hi Experts ,
    I am triggering workflow BUS1001006 for creating/changing material .
    Is it possible to get the details that has been changed in the material using this ?
    Is there any other way to get the fields changed in MM02 for a material through
    workflow ?

    Hi
    Check the business object all the attributes in the log. If you get its fine if not create an attribute write your logic in that for changed material.
    Regards
    vijay

  • RE: standard workflow template for Rejecting of purchase order

    Hi,
    Workflow template for 'Rejecting of purchase order' , 65400030 is missing in SAP version 4.6c. Is there any patch to get this feature in 4.6c?
    Thanks and Regards,
    Sowmya

    Hi,
    Yes, it was posted previously. But we are getting some more problem regarding the workflow template.
    We have changed the standard template and it is getting reflected in all the clients. So i think these templates are client independent. Is there any way to retrieve back older version of these templates?
    Please go through this matter and reply at the earliest
    Thanks and Regards,
    sowmya

  • Need HR-qualification related standard Tasks or standard Workflow templates

    Hi,
    i need HR-qualification related standard Tasks or standard Workflow templates available if any????
    My exact requirement is Whenever i am adding a qualification for an employee i need to start the workflow to send the approval
    request to the manager ..
    Immediate responses will be highly appreciated!.

    Hi venkatramana
       Look at this link
    [ALE EDI Error Handling via Workflow |https://wiki.sdn.sap.com/wiki/display/Snippets/ALEEDIErrorHandlingvia+Workflow]
    [Complete Guide to Learn ALE Error Handling Through Workflow and Implementation|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/609e6465-15de-2a10-859d-da7bcbca54a3&overridelayout=true]
    [https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e6769d90-0201-0010-848d-ae3c7bb18f8a]
    Please search the forum before posting.
    Regards
    vijay

Maybe you are looking for