Dynamic Workflow Trigger

hi,
how can i trigger Dynamic Workflows ?
i have 3 WF's each attached to 3 different milestones.
now when each milestone reaches a particular UserStatus, it triggers respective WF's.
but now in my case, in SWE2 i have activated all 3 WF's eventlinkage,
but even if just milestone 1 reaches that particular Userstatus i want just WF1 to trigger, in my case its triggering all 3,
how do i handle this. ?
Aditya

goto se37 and create a function with the same interface of function reported in the F1 help of the field Check Function Module .
Create a custom function for each of your WFs. When the event is raised, each WF will starts but, before the execution, the system will check each of your function.
The functions tied to the 2 WF that don't have to start will raise an exception (you can call your exception as you wish, there's no rule about the name), the third one will end without problem and your WF will start... you can write your code as you prefer, you can include also the function you wrote about, I don't know how it works but I don't thinlk you can use it as check function so as it is.
Regards,
   Gianluca

Similar Messages

  • Which field is the workflow trigger for a Contract Agreement ?

    Greeting everyone,
    I am not sure if this has been answer before or if this is the correct forum. If not, apologies in advance and do direct me to the appropriate topic/forum.
    I have an inquiries with regards to Contract Outline agreement and workflow trigger.
    Based on my company configuration, the trigger is based on the changes in value and release strategy.
    What I am unsure is that which field the workflow-trigger checks?
    Does SAP checks the field "Target Value" in contract header, or  the sum of net value in each of the contract items?
    Thank you

    Hello Sek,
    In contracts, the target value is used for the release strategy determination and not the net contract value. If you maintain a target value in the contract header, this value is set in field CEKKO-GNETW to determine the strategy. If no target value exists on header level, a cumulation of the target values of the items is carried out and used for the release strategy determination.
    Regards,
    Mauro

  • BOR Attribute empty during workflow trigger

    Hi Gurus,
    I have a problem in workflow where the IMAGE attribute of my zBUS2081 is not being read (or might be empty) during workflow trigger. This is the scenario:
    1. I delegated zbus2081 to BUS2081 and added attribute of type BOR - IMAGE.
    2. My workflow is being triggered when a LIV INvoice is parked.
    3. In my workflow, at the beginning I am transferring ZBUS2081.IMAGE to a wf container IMAGE_CONT (type BOR - IMAGE)
    4. My workflow triggers, then I check the log. It shows that IMAGE_CONT was assigned with ' ' value even it passed through the container operation step.
    5. What's weird, is when I retrigger the workflow, it is now able to assign the value of ZBUS2081.IMAGE to IMAGE_CONT.
    What could be the problem? I don't think there is a problem in my workflow. Seems that ZBUS2081.IMAGE has no value during trigger, but there is a valid data for IMAGE before the wf triggers.
    Thanks,
    Eo

    Hi Eo,
      I guess it may be because of the program logic inside business object Zbus2081 on attritube IMAGE.
      Can you open the program of attribute image and check whether you put the condition that maybe skip command swc_set_element container?
      In background, workflow will re-calculate attribute of the object. If swc_set_element container is missing, value will be blank.
    Regards,
    Chaiphon

  • Creating dynamic workflow usin ALBPM

    Does ALBPM provides functionality such as creating dynamic workflow. That is workflow are created by users (similar to windows workflow foundation)

    You can do this using a "controller" process design pattern. Controller in this context is just an automatic activity to put in your process to cause work item instances to flow to different activities in the process. The benefit to having this activity is that it allows the adhoc or user designed behavior you're looking for. Once an instance reaches the Controller automatic activity, the logic inside this activity would determine where it needs to go next via a conditional transition coming out of the Controller. Once done, the instance returns to the contoller and goes where the original user designated it should go.
    The set up for this is typically an array that the first user defines. Each item in the array contains the role and the activity in the role that it should go to next. The sequence of items in the array defines where it goes next as each item in the array is popped off the stack. Consider using a parametric role so you do not clutter up the process with 100 different roles. You'd instead just define the parameter of the role you'd like it to flow to next.
    The controller automatic activtiy would just be in an Automatic Handler role.
    Dan

  • Dynamic Workflow - Solution Starter

    Hello all,
    I am currently working with the Workflow Solution Starter. It is really helpful and meets majority of our client's requirements, but there is another small request which I am finding difficult to modify in the current DM Workflow code...
    It is the 'Rejected' outcome. If a review stage has been rejected, the client wants to show that as a 'Not Approved' Stage...similar to the Branching Workflow out of the box. I was thinking if there is anyway we can just add a 'Not Approved Stage' in the
    Dynamic Workflow code. I tried doing that, but it doesn't seem to move to the 'Not Approved' Stage. This can be a single 'Not Approved' stage for all the checkpoints of the project workflow and can sit either right at the end or at the very beginning so
    Stage Order is not an issue, but it may be an issue for the code during workflow processing.
    Is there anyone out there that has been able to achieve this?
    Thank you very much in advance.
    Regards,
    SJ

    Do you have solution starter with you for projectserver 2010, if yes can you share the same at [email protected]
    Thanks, Parth

  • What is dynamic workflow?

    Dear All,
          Please let me on what is dynamic workflow.Also,let me on the URLs of relevance,if possible.
    With thanks and regards,
    S.Suresh

    Check this link also
    http://idsynch.com/technology/dynamic-workflow.html
    http://www.vl-e.nl/outreach/ICTdelta2007/Presentations/eScience_technology_compon.pdf
    Reward Me Points
    BY
    PARI

  • N-Step Dynamic Workflow in SAP E-Sourcing _CLM2.0 with Adhoc apprver Featre

    Hi All,
    We are in process of implemeting SAP CLM 2.0 Application to one of our key client. one of the key Requirements is to implement n-step workflow approval based on the HR Based org structure. What the specific client requirement are as below ...
    a)Dynamic N Level organizational hierarchy based approval for a contract document. Approval to be routed to a business requestoru2019s organization hierarchy depending on the value of contract
    b)Approver substitution u2013 Provide functionality of substitution. If a person has to substitute a person for a period of time, workflow item to be routed to substituted user
    c)Forward a workflow item u2013 If a particular workflow item is sitting in a personu2019s for a considerable time, an administrator to have the ability to push the workflow item to another alternate approver
    d)Exception management u2013 Trigger email notifications to an approveru2019s manager if the workflow item is pending for a predefined period without action. If no action even after reminder for additional period of time, trigger another email to manageru2019s manager
    e)Adding Adhoc Approval at any stage during the workflow approval stage ( For eg: - particularly in additional an additional approver in between)
    Our Understanding u2013 None of these functionality is available as standard functionality within SAP CLM application. Correction needed if this understanding itself is incorrect (Low probability).  Also, It would be great if anybody can suggest an alternative approach to handle this.
    Alternate Options u2013  (our thought )
    Any options that can be explored. For instance......
    a)Explore development in CLM itself to achieve the functionality. If so what are the limitations that would still remain. For example CLM supports only fixed levels in the approval, cannot handle dynamic N levels with adhoc approver addition
    b)Explore if SRM framework can be used to integrate the system for n-step  workflow requirement
    c)Can we utilize SAP UWL to integrate CLM system for this functionality
    d)Any Other alternate options if similar requirements were handled in other projects
    Your expert opinion & input required to meet this complex requirement.
    Thanks & Best Rgds/
    Pawan Swaroop
    Milpitas, CA, USA
    Ph: 925-949-9574
    Edited by: Pawan Swaroop on Jan 31, 2011 11:13 AM

    Hi Pawan,
    SAP has not delivered any standard workflows in CLM. We have to develop custom
    Now let me answer your queries:
    a)Dynamic N Level organizational hierarchy based approval for a contract document. Approval to be routed to a business requestoru2019s organization hierarchy depending on the value of contract
              There is no Org structure/hierarchy in CLM. I think you mean the structure/hierarchy will be in SRM/ECC.
              But there is no std interface available to get this into CLM. So you have to first develop an interface to get the hierarchy.
              Dynamic N Level workflows are very much possible in CLM
    b)Approver substitution u2013 Provide functionality of substitution. If a person has to substitute a person for a period of time, workflow item to be routed to substituted user
    c)Forward a workflow item u2013 If a particular workflow item is sitting in a personu2019s for a considerable time, an administrator to have the ability to push the workflow item to another alternate approver
    d)Exception management u2013 Trigger email notifications to an approveru2019s manager if the workflow item is pending for a predefined period without action. If no action even after reminder for additional period of time, trigger another email to manageru2019s manager
    e)Adding Adhoc Approval at any stage during the workflow approval stage ( For eg: - particularly in additional an additional approver in between)
                            All this is very much possible but will require lot of custom solutions and efforts

  • SRM 7 - How to make a custom field dynamically retrieved trigger a refresh?

    Hi all,
    we're working on a brand new installation of SRM 7.
    For contracts and purchase order, we created an enhancement on the webdynpro that manages header document data; in such view, custom fields are obtained dynamically and populate a Transparent container; by code, some tray group visually all the custom fields related to a specific section.
    Now, the task is quite general; some of these "dynamically retrieved" fields should refresh, when populated, the view.
    That is to say, in our context, that some custom field should automatically trigger the WDDOMODIFYVIEW method (which has been extended via overriding with an enhancement) when a value is inserted.
    This would be a simple task if the field is explictly visible in the layout screen, since I could easily associate an event to the field itself.
    But, since these custom field are automatically extracted in the WDDOMODIFYVIEW method, we don't know how to manage these field's behavior, e.g. after an input value has been inserted.
    Each dynamic custom field is a type ref to cl_wd_uielement; we wonder if we have a way to associate an event (e.g., onEnter) to such an element.
    Thanks in advance for any suggestion or help you will give us
    EDIT: I guess this could not be the best section for such a kind of question ... I'd gently ask moderators eventually to move the thread to the Webdynpro section, if necessary. Thanks in advance.
    Edited by: Matteo Montalto on Oct 7, 2010 6:01 PM

    Closed. I opened a thread on this topic in a more convenient section of SDN forums (Specifically, web dynpro abap). Thanks anyway:)

  • Workflow trigger at Sales order Item level

    Hello all,
    Please let me know if it is possible to trigger a approval workflow when a quantity of an item is greater than certain amount, while creation of sales order. If yes, then what are steps involved.
    Thanks in advance,
    Sandesh

    Hi you can code it in routine USEREXIT_SAVE_DOCUMENT of program MV45AFZZ
    You can access your values of item table here,check whether the quantity is greater than the amount and if true then
    Call the work flow using function module SAP_WAPI_START_WORKFLOW

  • Regarding the payment block workflow trigger

    Hi Gurus
    1. All the invoices should be posted with payment block u201CZu201D (customized) where it is not already populated by MIRO with standard u201CRu201D.
    2.Everyday the accountant of the concerned section will run the payment proposal (Automatic Payment Program).  All the invoices that are due will be selected in the proposal with payment block u201CZu201D or u201CRu201D.  Then the accountant manually replaces payment block u201CZu201D or u201CRu201D with u201CSu201D (customized) (signifying start of workflow) in the invoices picked up in the proposal.
    3.Once the payment block changes to u201CSu201D, workflow event should trigger to alert the Section head.
    4.The Section Head then scrutinizes the proposal and wherever he approves the payment block u201CSu201D should be removed in the proposal list. The payment block in all other invoices not approved by the Section Head should be changed from u201CSu201D to u201CZu201D or u201CRu201D again.
    5.The information of rejected invoices should pass to the accountant.
    Roles: 2
    1.Accountant (who has authorization to change the payment block from u201CZu201D or u201CRu201D to u201CSu201D only)
    2.Section Head (who has authorization to approve or to reject)
    Even I given the BOR as BSEG and event as created (Posting item with Payment Block ) .
    I configured as follows.
    1) defined the workflow variant,
    2) assigned the workflow variant to company code
    3) defined the payment block as blank
    But In Event simulation i got workflow get started but it not started. But there is nor event logs too.
    Please help me if you know anything regarding this..
    regards
    vel
    Edited by: Mike Pokraka on Jun 27, 2008 5:27 PM
    Edited by: Velmurugan on Jun 27, 2008 5:45 PM

    Hi Vel
    Did you fix your problem already? recently, I have got a same request from user. The requirement is that after the payment proproal has been confirmed, the workflow should be started by this change and triggers it to send out an email for those vendors by their email address. If you or anybody know about the solution for creating this workflow, please kindly instruct me how to do it, since I am a fresher.
    Thanks
    Jc

  • Dynamic Mail trigger for IT0019 Tasks Reminder.

    Hi PA Experts:
    I have a requirement to trigger a dynamic mail (for the Tasks in IT0019) to the Personnel Administrator to remind the Tasks.
    ex: A mail to be triggered by the system to remind the Administrator as and when the date arrives to followup with the various tasks (such as Probation Confirmation, Appraisal Due, Contract Expiry etc..). Here the mail to be sent to the SAP Inbox and Outlook as well.
    Pls suggest how to configure.
    Thanks and regards,
    Srikanth Reddy

    Hi Srikanth/Shiva/Hems,
    hope u r doing good.
    Configuring Mail Triggering in M0001 Feature is pretty straight forward.
    T001P-MOLGA='10'
    T0000-MASSN='10'
    M0001
    For this to work, Maintain
    Feature M0001
    SBWP - here u ll configure mail addressess , clik the distribution list button.
    RCNEW - here u ll give the value which u configured in SBWP Tcode(M- for mail, V- Distribution list).
    hope u try and it works, pls do update.
    Regards
    Rohit.S

  • Using column names dynamically in Trigger

    Hello Everyone,
    I want to use a trigger for my application in which column names will be provided dynamically rather than hard coded. i.e. for ex. I want to have foll. code
    Execute Immediate
    'Begin
    dbms_output.put_line'' ' | | :new.col_name | | ' ''); End; ';
    where in ":new.col_name" col_name will be replaced dynamically. so if any of you can tell me how to achive this I will be thankful to you. Hoping for the best.
    Regards
    -Heena

    My advise will be to think about using dynamic PL/SQL.

  • Workflow; Trigger to execute IDOC matmas update

    Hi
    I do not know workflow at all. Is is possible to trigger a execution of an program using workflow as soon as there is a create/change of an material on the Materials master?
    Message was edited by: Giovanni Baumann

    Hi James
    Thanks  for your reply.
    Your suggestion  is as   good as updating  the dimension manual in  Dimension excel  sheet & processing. This  processes will update the new data in mbr table . So in this approach following two steps involves
    Step-1 u2013 Customer  fills temp table  or customer update dimension manually & processes it. Both the action will trigger package
    Step-2 u2013 Data also need to be updated in   data source i.e flat file. This task is  performed by ETL team
    Only when both of these task  are performed that  data  source & BPC will in sync.
    But what I want  is only one step i.e. Step 2. This mean that when  the data changes,  the ETL team make necessary change in data source  & this change should trigger the package. To do this I need to write cmd command  to trigger the package.
    I hope my situation is more clear to you know. Kindly let me know if you have any solution.
    Regards,
    Rahul

  • Workflow trigger an idoc

    HI
    How trigger a idoc from a workflow?????
    Hi
    idoc trigger from a workflow.please suggest.
    example like po change..
    Edited by: Abhijit Paul on Jun 26, 2009 8:42 AM

    Hi,
    You can follow following steps.
    1) Create a Z business object inherited from BUS2012.
    2) Create a Z-method in will have to create a method in your newly created business object.
        This method will have logic to create and send the idocs for PO. Delegate the business object so that you can call the method from SUPERTYPE in workflow.
    3) Create a workflow with triggering Event as Change of PO.
        This workflow will have a single step task which will call the Z method of your business object.If you have done the delegation then you can call the method using BUS2012 object type itself.
    4)  You will have to go in Tcode SWEC as mentioned in the post above.
        There you will have to do an Event linkage for change documents.
        Make an entry for EINKBELEG Bor Object ZBUS2012 or BUS2012, Event CHANGED and select on Change option.
    5) Change the PO and check if the event is getting triggered or not. Also if the method used to create and send idoc is correctly been called.
    Hope it explains the steps you need to follow.
    In case of any issues please let me know.
    KR Jaideep,

  • Standard workflow trigger..

    I have a standard workflow (<b>WS20000080</b> for release of RFQ, u can check it…) in SWUI transaction.
    Now I want to know what are all the steps that I have to do ->
    <b>So that that workflow will trigger automatically whenever we release that RFQ.</b>
    Is anything I have to do in that workflow WS20000080, u can see that..??(like agent assignment or in event start??)

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9180cbaf-0801-0010-f882-f2af6dc975d0
    http://help.sap.com/saphelp_nw04s/helpdata/en/90/83ed38f5f41a28e10000000a114084/content.htm
    for creating events
    http://help.sap.com/saphelp_nw04s/helpdata/en/56/ad923ebab311d2b47c006094b9ea0d/content.htm
    Check the weblog too
    /people/jocelyn.dart/blog/2006/07/27/raising-abap-oo-events-for-workflow?page=last&x-maxdepth=0 [original link is broken]
    /people/jocelyn.dart/blog/2006/07/27/raising-abap-oo-events-for-workflow
    Also this tutorial from service.sap.com
    https://websmp103.sap-ag.de/~iron/fm/011000358700000755501999E/99/*//BIT601/X//
    Please reward for the same.

Maybe you are looking for

  • Report generation toolkit VI error when running EXE

    A VI inside the Report Generation Toolkit (version 1.1.2), Excel Find Application Directory.vi, will not function correctly when running an EXE.  The "Current VI's path" block will return the path of the currently running EXE rather than the path of

  • How to Invoke a report from java?

    Hi, I am a java / web developer with no reports experience. We wish do the following from a java based web application: On a web page we have two buttons 1) Print 2) Create file. We want these two buttons to perform the following tasks: 1) The print

  • Shared photo-stream, makes long file names with 42 random characters

    Windows icloud 3.1, in a shared photo-stream, makes file names with 42  random characters long. It didn't do this in iCloud  2. I have installed  iCloud 3.1 on a windows 8.0 and 8.1 machine and two Windows 7 machines.  They all do the same thing.  It

  • Principal Propagation / SAP Assertion Ticket

    Hi Experts, i m planning a synchronous scenario 3rd party (SOAP) -> PI -> SAP ECC (RFC) PI is on 7.1, ECC on 7.00 I would like to run Principal Propagation. At the moment i m struggling with Assertion Ticket to be issued by the SOAP sender. From [SAP

  • T-Code BP ( Type Contact Person ) with multiple correspondence languages?

    Is there way that we can create Contact person with multiple correspondence languages?  There is no way in the system to maintain multiple correspondence languages? How can we do it? Please advice. Thanks,