Work flow Template

Hi Experts,
          My scenario is I need to create an Process code based on Function module and when the process code triggers it will automatically fetch the work flow template.
So what are the import, export parameters are need to call the WF template using Process code[Function Module].
Thanks.

for exampe, u can use this function:
CALL FUNCTION 'SWW_WI_START'
              EXPORTING
      CREATOR                            = sy-uname
      PRIORITY                           = '5'
      TASK                               = 'WS74508518'
    IMPORTING
      WI_ID                              = wi_id
    TABLES
      AGENTS                             = agents
      WI_CONTAINER                       = wi_container
   EXCEPTIONS
      ID_NOT_CREATED                     = 1
      READ_FAILED                        = 2
      IMMEDIATE_START_NOT_POSSIBLE       = 3
      EXECUTION_FAILED                   = 4
      INVALID_STATUS                     = 5
      OTHERS                             = 6
where agents is internal table with agents like SWHACTOR (otype, objid)
and wi_container is workflow container with pairs (element, value).
U can fill it with macroses from include <CNTN01> (swc_set_element, SWC_SET_TABLE).
U can use function's SAP_WAPI_START_WORKFLOW , SWW_WI_START_SIMPLE too, or start the event wich start WF (function SWE_EVENT_CREATE)

Similar Messages

  • How to create a work flow template

    HI
    how to create work flow template using EP.
    I am new to this division of  EP .
    Could some please give me a head start to go with this
    some how to docs or weblogs
    thanks
    pk

    Universal Worklist Configuration
    http://help.sap.com/saphelp_nw04s/helpdata/en/0c/19dfc6febc4f888701697ef23b16cd/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to configure the universal worklist.pdf.
    Patricio.

  • Work flow template download error

    Hi Folks,
    I am trying to down load work flow template but its giving me this error please help me out
    " No Import Filter Was Found To Import the XML
    Document Chosen. Do You Want to Display the XML
    Document?  "
    what need to be done.
    Thanks in advance for the help
    Krishna Mukthineni

    HI folks ,
    Any help please ..
    Thanks
    Krishna Mukthineni

  • Work  Flow Template and Work flow tasks

    Hi,
    Work  Flow Template and Work flow tasks are the two objects which are found surprisingly in our client system(when we go to PP01/ HRP1000 IN SE16 ).My employer wants to know what these are:
    Can any one please tell me about "Work  Flow Template and Work flow tasks".
    are the SAP Generated?
    Can we delete them if we don't need?
                                                                                    Thanks in Advance
                                                                                    Gopi Palleti

    Hi Gopi,
    Workflow Template and workflow tasks are part of SAP Business workflow.
    A business workflow is an executable process embedded in SAP applications that you use to automate business processes. 
    You can find more info here.
    http://help.sap.com/saphelp_nw70/helpdata/en/c5/e4b62c453d11d189430000e829fbbd/content.htm
    Regards,
    Sharadha

  • How To Activate Work flow Templates for Campaign Automation

    Hi friends,
    i created all settings for campaign Automation.when i click start process the system showing message like campaign has not started.i am not sure about weather work flows should activate for starting campaign automation.
    can u please let me know how to activate work flows and what is the path to activate work flow templates for campaign automation
    Thanks&regards
    kishor kumar

    Pls forward to me as well, facing the same problem unable to start Campaign Automation.

  • Error Activation of all work flow templates

    Dear Folks,
    Accidentally there is a big hurdle before me, I have found that all my event linkage's are active in swe2 for almost all the work flow templates. please help me how could such a situation araise with out even activating any thing from SWDD.It happened in Quality & PRD only.
    Please help ASAP unwanted work flows are generating.
    Thanks and Regards,
    Krishna Mukthineni

    HI ALL,
    The cause of issue is not yet identified however, there is a solution for deactivation / activation from DEV .
    Go to SWE2 and in the menu option we find the Transport option, copy all the line items/Records into the Request and place for importing into the desired server. Since it is a maintenance view please be care ful of changing the entries of the table manually rather please follow the method mentioned above.
    Thanks and Regards,
    Krishna Mukthineni

  • Work flow template creation

    hi
       Whn i try to create a new worlflow template (pftc) and while saving i m getting error message saying: Prefix number: entry missing for system RRD client 100.
    pls giv me the solution.
    is it necessary to configure.
    thanks in advance

    Hi Prabhakar
    You need to do the config in SWU3 first. Prefix number is like a number range for customised workflows, this needs to be set up along with other essential things. Go to SWU3 and click Auto Customising....
    Good Luck
    Ravi

  • Old Version of Business Object & work flow templates

    Hi,
    I deleted few methods and commented some code in an existing business object for some issue.Now I want to call back the older version. How can I do this? 
    Similarly I did some changes to an workflow template and now want to re-call the older version .
    How can I do them both.
    Thanks
    Kiran

    Hi,
    First retrive the corresponding request of those objects from SE03 or SE09 transactions
    and reimport them from your PRD or QAS  system.

  • Regarding Production order changes work flows

    Hi to all,
    I activated WS20000387 work flow template. its regarding the production order changes .
    briefly: i created one production order, immediately assigned person will get a message in his SAP inbox.
    he has to double click/execute on that mail, then system will take u directly to the production order screen. there is no need to enter that Order no.
    but here, after double clicking, system is asking The Order no.
    we have clients 300,500 and 700.
    i executed same work flow in 300 successfully,
    700 is not modifiable. thats y i did all the settings in 500 and copied the request to 700.
    i am getting  the problem in 700,, i compared all the settings in 300 and 700, but no use,,,all are same,,,but not executing in 700.
    anybody can help me in this regard.

    You Can use below FM to confirm Production order and it is very simple BAPI.
    BAPI_PRODORDCONF_CREATE_HDR -> just check in where used list.
    Thanks
    Seshu

  • Std Work flow for Invoice Parking & posting

    I am working om std SAP workflow for invoice document parking :
    I have done the following activities :
    1. Activate Work flow Template for Document Completion
    Here i activated the event "Complete the Parked Log. IV Document"--> Incoming Invoice Document Parked. It is showing a green traffic light .
    In agent assignment
    Complete the Parked Log. IV Document>Complete the Parked Log. IV Document>Complete the Parked Invoice--> i have assigned the user MMCONFIG
    2. In Define Release Criteria i have the following settings :
    1000 H Credit 0.01 INR US MMCONFIG
    1000 S Debit 0.01 INR US MMCONFIG
    3. In Activate Workflow Template for Release for Posting
    Here i activated the event Incoming Invoice Complete: ReleaseRel & i m getting a green traffic light .
    In assign agents i did the following
    Release the Completed Log. IV Document>Release the Completed Log. IV Document>Release the Completed Log. IV Document i assigned the user MMCONFIG
    In Invoice Parking: Approve Release i assigned the user MMCONFIG .
    For Invoice Parking: Release Invoice
    Invoice Parking: Posting an Invoice " I AM NOT ABLE TO ASSIGN ANY USER AS THESE ARE BACKGROUND TASKS ".
    Now when do a MIR7 - Park invoice & save the invoice as complete i am getting a mail in the mail box of MMCONFIG saying :
    "Invoice Release 5105xxxxxxx 2009, Completed by MMCONFIG "
    I go & release the same invoice .
    Then i executed MIRO & tried posting the released invoice . The sysem doesnt allow me 2 post the invoice .
    It automatically goes to MIR4 transaction & forces me to save as complete
    if i try to post it the system says "Parked document is release-relevant and cannot be posted"
    Pls tell me how can I post the invoice & IF MY SETTINGS FOR THE WORKFLOW IS OK ???
    Regards
    Anis

    Firstly,  check with the Binding of the event and workflow, if they are fine
    then check if the workflow gets triggered when you are posting... to check this,
    First go to transaction SWU8 - turn on the workflow trace and then
    Proceed with posting the invoice
    go to transaction SWU8 again and then turn off the workflow trace
    go to SWU9 - to check which all workflows got triggered....
    If there is any workitem in your workflow, then go to SWI1 and select the workitem of that workflow and press shift+F8 to check the status of it and also check to which all agents it had sent...
    If possible just give a hardcoded value in the workitem for testing purpose and check if that goes properly, later on implement the rule.....
    If the workflow does not triggere - go to transaction SWETYPV and deactivate and activate the event linkage with that workflow....
    Regards,

  • Work flow for invoice verification

    I would like to know how to find out/display the workflow related to MIRO transaction code, miro is invoice verification, how to find the z table created for this workflow.
    given a work flow template number, how to view this template
    thanks

    Hello,
    For MIRO the associated :
    1) BOR : BUS2081
    2) Workflow : WS20001004
    Can you elaborate your requirement on z table?
    If i have correctly understood your requirement :
    To display the workflow template, run Tcode SWDD or
    PFTC, select WS Workflow Template and give the workflow number without the prefix 'WS'
    To make sure the Workflow is triggered, make sure the entry SWETYPV.
    Run SWELS, and switch on Trace.
    Run TCode : MIRO and check in SWEL, to make sure the Workflow has triggered without errors.
    To start with, i hope this helps...
    Cheers,
    Remi

  • Event linakge in qm work flow

    Dears
    I try to activated QM work flow for notification ..I activated all under event linkage area
    and try to create a notification but User inbox is not updated
    We need to do any setting in assign agent area
    pls verify in detail
    Any abaper input is required to fulfill this task
    thanks in advance
    Faisal

    Hi
    we are able send the mail by using action box..no issue for that
    Issur is if we assign a task to a user (in qm notification) he need to be i nformed autmatically by the system if we activate QM work flow
    to achive this i done following
    QCC0>QUALITY NOTIFICATION>NOTIFICATION PROCESSING>ACTIVATE WORK FLOW TEMPLATE
    and i activate event linkage in the screen
    i dont know what do further
    Hope i make clear on my question
    Faisal

  • SAP STANDARD RETRIGGER WORK FLOW FOR SC CHANGES -SRM 550

    Hello ALL
    assume that we use any standard sap WF templates
    SC created
    SC awaiting for manager approval
    now requester changes any piece of data . will work flow retrigger ( again workitem created) for any cosmetic changes upon standard work flow templates used?
    what are the actions on shopping cart will retrigger the workflow
    now sc is awaiting for approval but below actions done by REQUESTER in the shopping cart
    1. changing sc descrition name?
    2. notes for approval?
    3.change qty /price /uom/ pg /product changes/ cost center changes /add attachment
    4.changing vendor
    please share what are the above actions will retrigger the workflow in SAP STANDARD.
    etc
    Mutu

    Hi,
    There is BBP_WFL_SECURITY setting in SRM 5.0.
    http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm
    I'm not sure if the table BBPD_COMP_FIELDS is for checking the changes.
    We can get answer by testing.
    Regards,
    Masa

  • ACTIVATE WORK FLOW FOR QM NOTIFICATION

    Dears
    Please tell me the step for activating work flow template for Quality notification
    If we activate it effect any other module?
    A QM consultant can be activate it or it required technical person
    Any in put will be highly appricaited
    Thanks in advance
    Faisal
    Edited by: Muhamed Faisal on Jul 21, 2011 8:00 PM

    Hi,
    For all three tasks, it is very conveniant to assign ROLE or USER itself to the task.
    But for that Purchse activity would be your new and separate task it self, for which you should new task, where you can assign the RULE for the Agent. That may make it optional as per your requriement.
    Hope it'll work for you.
    Update us to help you more, reward points to help you better!
    Regards,
    Shyamal

  • Triggering a sub work flow for multiple users at same time.

    I have a scenario in which I have created sub workflow as an activity for approval process. This sub work flow should be triggered for multiple users at the same time and their decison is independent of each other.
    This is like creating multipe instance of the same sub work flow and then the sub work flow runs indepedently as a new work flow for each of the approver and the process is completeded for approver independently.
    How can this be achieved?

    Tyr to do like this,
    1. First include the subworkflow in the main workflow template.
    2. Now include standard Block Step in the main workflow template.
    3. In the block select the block type as ParForEach.
    4. Before doing the 3rd point make sure that all the agents for whom you want whom you want to initiate the workflow, populate them in a Multiline conatiner element.
    5. Once completing 3rd and 4th points open the block step under the tab ParallelProcessing  assign the multiline container element name in the   for e;g if the multi line container element name is COSTCENTER then do the binding like below. the conatiner element COSTCENTERLINE is created by default once you include the multi line conatiner element under parller processing tab.
    &COSTCENTER[&_WF_PARFOREACH_INDEX&]&   -------->     &_COSTCENTER_LINE&
    Now assign the agent of the subworkflow as COSTCENTERLINE , imean if suppose you have 3 entries in the internal table then three separate and for three different agents the workflow is instantiated.

Maybe you are looking for

  • In which Table we will see the Blocked sales order stock

    I tried in MARD Storage Location Data for Material here i can able to see the unrestriced stock but i am not able to see the blocked sales order stock. Field : SPEME Blocked here blocked stock is not updating  though we can see in MMBE Can any one he

  • CSS Load Balancing with Billing Server

    Hi Gilles Could I have a CSS load balancing two servers and also have it communicate with a billing server across the network. If yes then how can I do it? Regards, Sushil

  • Run SGEN in linux while Importing transports from AIX app serevrs

    Hi We have multiple AIX and Linux app servers for SAP NW 2004s/SCM 5.0 systems. We completed SGEN in AIX app servers. We need to import more than 300 transports. Can we run SGEN on Linux app servers (we will remove LINUX app servers from SMLG to prev

  • Invoice split due to different partner data

    Hi, Based on two sales orders, we would like to create one billing document. Here's the case: Sales order 1 (and delivery 1) has customer number A as sold-to party and customer number C as bill-to party and payer Sales order 2 (and delivery 2) has cu

  • Wierd Compilation error!!

    Hi all, I have a class EntUtils in a directory structure ..\APPS\fc\EntUtils.java and another class BaseServlet in this directory ..\APPS\Guardian\BaseServlet.java And now the following the piece of code in my class compiles fine * Override GenericSe