Two events for same workflow

Hi Friends,
I needs to develop a workflow. In my workflow i have to send email notification when it is relesed as well as if user will change the PO after finally released  i need to send email notification for change also. 
i.e : 1. email notification for PO aprroval
      2. after finally approve the PO if they change again i have   to send mail. In future also if they change   released PO i have to send mail again.
Is this possible in one workflow OR i have to create 2 workflows.
Thanks,
NK

Hi Naresh  ,
Yes you can do this within the same workflow . Just add an entry in the transaction SWEC for change event of your object .
Here are the steps :
Click New Entry.
Give Change doc object .
Object type as your  object .
Event as your event name which you created..
Select Change radio button .
Save.

Similar Messages

  • Two URLs for same WS

    Hi everyone! I've created a function and I've published it like web service... Now, i see the WS in SE80 (Service Definition --> WSDL tab) and i get URL and WSDL (by example: http://hostname:8000/sap/bc/srt/wsdl/sdef_ZFUNCTIO_001/wsdl11/ws_policy/document?sap-client=100 ).
    Then, i go to SOAMANAGER, and i get another URL (with a little distinct WSDL: http://hostname:8000/sap/bc/srt/wsdl/bndg_E0DE487057B0E7F1A58C005056900046/wsdl11/allinone/ws_policy/document?sap-client=100 ). If i put these in Explorer, both open correctly...
    Why there're two URLs for same WS? Wich is correct?
    Thanks!!

    Hi,
    say for example
    your one URL is
    x.hostname:portno/irj/1stURL
    and the second URL is
    x.hostname:portno/irj/2ndURL
    and maintain two umLogonPagedefault.jsp with names,
    umLogonPage1stURL.jsp and umLogonPage2ndURL.jsp and do the necessary coding you want inside the JSPs.
    Now, umLogonPage.JSP is the JSP file responsible for determinig your portal URL to open when user wants to enter into portal. So Open that JSP(umLogonPage.JSP) and do like this:::
    <%
    String strReqURL = request.getRequestURL().toString()==null?"" : request.getRequestURL().toString() ;
    %>
    <%
    if ( strReqURL != null && strReqURL.endsWith("/1stURL"))     
    %>
         <%@ include file="umLogonPage1stURL.jsp"%>
    <%
    else if ( strReqURL != null && strReqURL.endsWith("/2nuURL"))
    %>
    <%@ include file="umLogonPage2ndURL.jsp"%>
    <%
    %>
    Regards,
    Srinivas.

  • Vendor payment made two times for same DC no

    dear expert,
    This urgent tickets,
    my CLIENT PAID TWO TIMES (MIGO,MIRO done)against same vendor,for same DC no ,in one year ? i want that list ,how can i find out?
    thanks

    Dear As far as my knowledge is concerned it isn't possible.
    How can u Paid 2 times against a GR for which IV has been done.

  • Two different retrieval results on two spreadsheets for same account

    I am encountering some very bizarre retrieval behavior that I've never seen before. The version is 11.1.1.3. I have a dynamically calculated account, which produces a Contract-to-date value for Net Sales.
    The formula is:
    IF(@ISMBR("Jan"))
    @MDSHIFT("CTD Sales", 24, "Period", , -1, "Years", ) + "Net Sales";
    ELSE
    @PRIOR("CTD Sales") + "Net Sales";
    It's always worked correctly as far as I can determine. I took a copy of the outline and put it in my dev system and have been working on some other development. In testing, I noticed that my CTD Sales wasn't retrieving the correct number. This is on a spreadsheet with multiple other accounts on it. It works fine up through FY12, then in January of FY13 and thereafter, produces incorrect numbers, with no apparent pattern of error. So I put just the Net Sales and CTD Sales members onto another spreadsheet, without all of the other stuff, and retrieved that, and it produced the correct numbers. It's not a matter of having a spreadsheet formula in the retrieval spot that I've forgotten about (I've done that before). I also copied the spreadsheet with the wrong numbers, and retrieved in Smart View (was retrieving in Essbase add-in before), and got the same wrong numbers.
    In addition, I actually have three dynamically calculated CTD accounts on the sheet, and the bizarre behavior is happening for all three. With all of the other accounts on the sheet, wrong numbers. With only those accounts on the sheet, correct numbers.
    Also, for more information, one of my calculation scripts uses these CTD members, and it is producing the correct result, so this appears to be isolated purely to spreadsheet retrieval.
    So how can the same exact dimension intersection produce two different numbers on two different spreadsheets? Why would having other account members on a spreadsheet affect the results of one of the accounts? Has anyone ever encountered this before?
    Sabrina

    are you sure you have same combinations from rest of dimensions in both spreadsheets...like retrieving for same month ???Absolutely, 100% sure.
    Also does the difference exists for all months retrieval or only for Jan retrieval?It starts in January and the difference continues for the rest of the months/years after. The amount it's off by changes each year, but remains the same for each month in the year. So Jan through Dec of FY13 are all off by 50,321,000. Jan through Dec of FY14 are all off by 186,378,000. Jan through Dec of FY15 are all off by 351,757,000.
    Also note that if you have a retrieval as shown in the screenshot in the following link... for the last 5 months (AUG to DEC) under FY11 will actually retreive for FY12. this is a wierd behaviour.No, I have the year above each month.
    Sabrina
    Edited by: SabrinaD on Aug 3, 2010 12:31 PM

  • Help required: Two smartforms for same output type?

    Dear All,
    I have a requirement to display bill of lading for a shipment.
    The shipment usually contains two kinds of materials.
    The data to be displayed for the first set of materials data is different from what is
    displayed for the second set/kind of materials. The layout(columns and structure) is entirely
    different. But the user wants to see the two sets of data in two pages, (for the same output type).
    But, from what I know, we can only associate one smartform to an output type.
    Any inputs.
    Thanks.

    Hi
    V/30, just check your output type, if you click on form and routines there is option assigning multiple programs and forms (i,e, Upto 5).
    Have not tried it , you can try and let us know your feedback
    Regards
    Jitesh

  • Delevery Qty. not avalable in case having two customer for same item

    Hi Experts
    I am facing a problem , delivery qty. not available in VL01N in case where I have two sales order for the same item . There are two customer for the same item. Material is available in unrestricted use but it does not show against one sales order but show in second order. I have  01 availability check, SL-CP and Rq Ty -KSL. Please guide how to solve this problem.
    Regards
    Parkash chand

    hi,
    Steps 1: Use T-Code: MM03 and check in MRP 3 Material Availability check = 02 or not.
    Steps 2: if your sales order material planning CN= No MRP then
    First check: during sales creation Sales Order Autometically check ATP or not. here Sales Order, Order Qty wise Confirmed Confirm Qty reservation by ATP.
    ATP will shown you how many qty reservation against a sales order for delivery.
    Two sales order, same customer does not fact, fact is sales order wise confirm qty reservation for delivery. Also check material available date and schedule line. if every this is fine then sales order qty wise must be delivery qty should be open for delivery.
    else
    your sales order material planning CP= MRP then make prodcution against the specific sales order then sales order wise seperate stock should available for delivery.
    thanks
    Md. Enayet Hossain

  • Creating two layouts for same document

    I have a document to produce in CS5 that I am hoping to can have two different layouts. The first is 8.5 x 11 that is to be saved as a PDF for customers to access and print from our website. The second goes to a printer where it is to be produced as a double-folded, two sided, single sheet. The folded document has six pages total that is to be put into a binder. The foldable version has three pages to a side. How do I best accomplish this?
    Any suggestions?

    Eugene is 100% right when he tells you to design for print, first. However, I would use a slightly different tactic:
    1) Design for print on letterhalf-sized pages.
    2) Make sure that your entire document is one big story with threaded text frames.
    3) Make sure that your entire document is perfectly styled with character and paragraph styles. No overrides anywhere in the whole document.
    4) Export an RTF of your text.
    5) Place that RTF in your 8.5 x 11 layout.
    6) That layout has styles with the same names, but the font sizes etc. might be different. So, when you place it, the same text will automagically acquire the styles for your web-distro PDF.
    I'd do that because I would expect that placing the letterhalf pages in full letter-size pages for PDF export could be kind of annoying with wrong or different margins, lack of availabilty to manipulate hyperlinks, and etc. Much depends on what you need from your PDFs to be distributed on the web - links? Different graphics? Graphics in different places? In many (most) cases, Eugene's plan is a lot less work than mine.

  • JMS Events  for triggering workflows

    Hi,
    I am trying to send an xml message from a java client to a JMS Queue(the default
    queue com.bea.wlpi.EventQueue). I am trying to trigger a workflow that checks a root
    element. For some reason it is not working when I set the trigger to be an XMLEvent.
    If I set it to be a manual trigger and trigger the workflow from the worklist, it
    executes the workflow.
    Any help, documentation, code snippet for trigger an xml event trigger would be greatly
    appreciated.
    Thanks,
    Nitin

    Probably way too late with this response but here goes anyways.
    Have you defined the event key for your xml root element via the configuration/events
    menu option ?
    The expression defined there for the xml root element is used compare the incoming
    xml message with the (normally) literal value you specify in the start key value
    expression.
    cheers,
    mairt
    "Nitin" <[email protected]> wrote:
    >
    Hi,
    I am trying to send an xml message from a java client to a JMS Queue(the
    default
    queue com.bea.wlpi.EventQueue). I am trying to trigger a workflow that checks
    a root
    element. For some reason it is not working when I set the trigger to be
    an XMLEvent.
    If I set it to be a manual trigger and trigger the workflow from the worklist,
    it
    executes the workflow.
    Any help, documentation, code snippet for trigger an xml event trigger would
    be greatly
    appreciated.
    Thanks,
    Nitin

  • Batch is being Generate two Record for Same Vendor in Payable

    Gusy, (Oracle Payable)
    We have entered six validate invoice with same site,vendor,Payment mod and currency as well but when we see batch in payment window ,it is being show two record insted of one transaction ,howerver system should show one record.
    Please help me to rectify this problem or any solution.
    Thanks in advance.

    Please confirm if you are on version 12.0.4 and the vendor is an employee type supplier. We had faced similar issue in the provided condition.
    Vinit

  • Can we generate two invoice  for same product in two different currency

    dear all gurus,
    actually we are in export sales
    so we are generating export invoice.
    my client is asking for another invoice in INR too this is called comercila invoice
    with this i ve to generate the ARE form
    so how to do this three things
    1.export invoice in foreign currency
    2.commercial invoice in INR
    3.ARE form with referance to this export sales
    with regards
    subrat

    Hi Subrat,
    I really dont know how this scenario can be handled.
    2invoices for the same order is not allowed legally also. So if the user is asking for it, may be first they need to discuss this with their legal department.
    If they say ok, then you may think of only an output, where you can change the values with a standard exchange etc. But having 2invoices in the system of different currencies for a single sales order will lead to lot of problems in reporting.
    Can somebody throw some light on this, on how to enable this without any problems.

  • Run Dreamweaver cs3 on two computers for same website?

    Hi,
    I just purchased a 2nd computer and I want to move/add Dreamweaver to that. My goal is to really use the computer I have now as a "backup" and the new one as the one I work on my site with. But I'd like to be able to update the "backup" computer so that both have the same info. updated daily or at all times. Is this hard to do? Possible?
    Also, one way or the other, what is the best way for me to move Dreamweaver and my website folder to the new computer. Do I install Dreamweaver with the original disk then move the files later. Any tips on best way to transfer so many files?
    Sorry question so long.
    Thanks much.
    Ken

    I didn't really think that was info. you would need. But if it matters...
    old computer Windows Home premium, 32 bit
    New computer Windows 7, 64 bit
    Do you need any other info.?
    Thanks

  • Two logins for same site

    I have saved the password and login of a site into my keychain, however i have other logins and passwords for the same site. How can i make it access these?
    I've tried adding them to the keychain, with keychain access, but it still only seems to use the first one that i added via safari.

    You originally purchased a monthly Plan.
    It is just that - monthly.
    It is not possible to add more minutes to your Plan until the first month has expired.
    You can ask Customer Support if they will consider a refund.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Create two users for same schema

    Hi All,
    Is this method is correct? any other alternative method to have few users with one schema?
    CREATE USER [user1] FOR LOGIN [user1] WITH DEFAULT_SCHEMA=[schema1];
    CREATE USER [user2] FOR LOGIN [user2] WITH DEFAULT_SCHEMA=[schema1];
    CREATE USER [user3] FOR LOGIN [user3] WITH DEFAULT_SCHEMA=[schema1];
    Thanks
    Tharindu Dhaneenja http://databaseusergroup.com

    Hi Tharindu,
    According to your description, it seems that you want to transfers ownership of the schema ‘schema1’ to user user2. If that is the case, please refer to the following query:
    ALTER AUTHORIZATION ON SCHEMA::schema1 TO user2;
    GO
    Reference:
    ALTER AUTHORIZATION (Transact-SQL)
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Terminating Event for BUS2017 Custom Method

    Dear Experts,
    I have an issue with the Terminating Event of the Workflow for BO : BUS2017. The event is getting triggered but receiver is not being picked.
    I have created two events GR_103 and POST_105 in the Custom BO ZBUS2017 by delegating it to BUS2017. GR_103 is the triggering event for my workflow which I have triggered in the POST_DOCUMENT Method of the Implmentation for BADI : MB_MIGO_BADI.
    GR_103 is triggered while doing MIGO (Goods Receipt) for Movement Type 103. My Workflow is triggered perfectly and then I have used a Dialog Asynchronous Task in which I have called the MIGO Transaction for Releasing the GR Blokced Stock using the Movement Type 105. I have created a Custom Method POST in the BO ZBUS2017 and I have used the FM: MIGO_DIALOG to call the MIGO. I am trying to raise the POST_105 event in the Method MB_DOCUMENT_BEFORE_UPDATE of the Interface IF_EX_MB_DOCUMENT_BADI.  I have defined the Terminating Event for the asynchronous Task as POST_105.
    Now the event POST_105 is triggered, but SWEL says 'No receiver entered'. Even the SWEINST shows the object data as the current Work Item along with Object Key, but still receiver not picked. When I try to trigger the same event in a test report by using call transaction, then the event triggers and work item gets completed without any issues.
    Please advise.
    Below is my terminating event code.
      READ TABLE xmseg INTO wa_mseg INDEX 1.
      CONCATENATE wa_mseg-mblnr wa_mseg-mjahr INTO l_objkey.
      IF wa_mseg-bwart = '105' .
        CALL FUNCTION 'SWE_EVENT_CREATE'
          EXPORTING
            objtype           = 'BUS2017'
            objkey            = l_objkey
            event             = 'POST_105'
          EXCEPTIONS
            objtype_not_found = 1
            OTHERS            = 2.
      ENDIF.
    Regards,
    Raju.

    Have a COMMIT WORK after the function call. (At least test it - I am not sure if it will have some effects in your BADI - at least you will know whether the issue is about missing commit).
    And please use SAP_WAPI_CREATE_EVENT instead of the old function you are using.
    Also, make sure that the events will look exactly the same in event monitor SWEL when triggered from your code and when using test tool. Maybe there is some minor difference/mistake (object key, etc.) that you haven't noticed.
    Regards,
    Karri
    Edited by: Karri Kemppi on Feb 7, 2012 8:14 AM

  • Multipal Event  in One Workflow

    Hello Everybody ,
    Can we Used two Triggaring  Event in  one  Workflow  with two different transaction ? .
    My Req is that I used Bus2038  for  PM  Notification Using Create Event (  Tcode :  IW21  ) .
    When Notification is Created ( IW21)  user can get mail in his  INBOX he  excuted  the Work Item
    ( IW22  here  user are creating Maintance Order  )  .
    After Excute Work Item ( using Tcode  IW22  i.e  After Creating Maintance Order )  User should directly goes to another  transaction  i.e   ( IW32   i.e  Change Maintance Order )  .
    is it  Possible  such kind of Req  . 
    can we triggered  Two  Event  in One workflow ?
    Regards,
    Sandeep Jadhav

    Hi,
    Suggest you the following steps.
    1. Create delegation object type ZBUS2038 of standard BUS2038.
    2. Use the created event of BUS2038 as start event in the Basic data of your workflow.
    3. Then include a send mail step to notify the agent.(user)
    4. create a custom method Z_call_IW22  for ZBUS2038->within the method call transaction IW22.
    5. Then include an activity step in the workflow->create a Task for this activity step->within that Task
        attach BOR ZBUS2038, method Z_call_IW22.
    6. Set your user as Agent for this activity step, so that at runtime user will receive work item for this step and that WI will take him to transaction IW22.
    7. Then include another activity step in the workflow and follow the same process to call IW32.
    Thanks,
    Sonali.

Maybe you are looking for