Event trigger for PO release and cancel

Dear Experts,
In tcode ME29N i have created a PO and i have defined 3 approver levels for it. I have turned event trace on and checked what events are triggered when i click release button. In SWEL i can see 4 entries - 1) RELEASE STEP CREATED 2) RELEASED
3) CHANGED EVENTS (first  three events from BUS2012 ) and 4) CHANGED EVENT from FREBUS2012. Now i tried with cancelling PO release at a level. Now in case of cancelling release which i do by clicking the same release button i see 4 entries in SWEL
1) RELEASE STEP CREATED 2) SIGNIFICANTLY CHANGED 3) CHANGED (first three events from BUS2012) 4) CHANGED EVENT from FREBUS2012.
I want to trigger my workflow in case of PO release as well as PO cancellation. What should be my workflow's start event. Please help me in this regard.
Kind Regards,
S Bharath

hi
Are u using std WS20000075? you can refer that .
there in TS20000166 : terminating event
you can see  event RELEASED : Purchase Order Release
SIGNIFICANTLYCHANGED :  when cancled.
if you want to do seperate steps , in some zWF ,then I think you may create 2 diff wf , with the diff start event .
let me know if it is helpfuly or any query
thanks
kakoli

Similar Messages

  • Infotype needed  for firm booking and canceling at PV12 transaction.

    Dear All,
              I am workflow consultant.I am not well aware of infotype details for the following scenario.
              I am now involved in workflow development for SAP HCM training and event management.
              When firm booking or cancel booking is done at PV12 transaction, workflow should trigger.
              Should workflow trigger on booking or canceling it, I have to maintain infotype details in HR master tables.
              So, please state about what is the infotype for firm booking and cancel booking for which I'll be grateful.
    Thanks and regards,
    S.Suresh

    Dear all,
                  Any one one know where to check for the infotype which is getting affected when firm booking or cancel is made in PV12 transaction?
                  Please suggest for which I'll be grateful.
    Thanks and regards,
    S.Suresh

  • Hi,I have uploaded an app build for pre release  and its still under processing So i uploaded a new build but still the issues is not resolved.Please help...Thanks

    Hi,
    I have uploaded an app build for pre release  and its still under processing So i uploaded a new build but still the issues is not resolved.
    Please help...
    Thanks

    Hi smithin, 
    Thanks for visiting Apple Support Communities. 
    It sounds like you've submitted an iOS application to the App Store, which is being processed, but there's an unresolved issue.
    For additional help with this situation, Apple Developers can use the contact methods on this page:
    https://developer.apple.com/contact/
    All the best,
    Jeremy 

  • Essbase Trigger for SS Lock and Send

    Hi,
    I need to create a Trigger using EAS for any Lock and Send activity through Spreadsheet Add-In. Please guide me in developing the script, I can't figure out what to put in the Where and When condition in the Trigger window. Can't find any example on net.
    Thanks,
    Ash

    ok, I stand corrected. You can use a on-update trigger to capture changes. Thinking about it, you would have to create a where and when clause that would always return true. Like
    Where [scenario].currentmember
    when [scenario].currentmember <> [scenario].currentmember + 1
    I would suspect you would wnat to use the logging for this not send an email. This will spool the before and after values. I have not tried it, but I don't think it captures the information on who did it. that is why I would go the ssaudit route. In 11.1.1 you have transaction logging.

  • RH_TYPE_STRUC_HELP the same sy-subrc for no selection and cancel

    Hi,
    I use FM "RH_TYPE_STRUC_HELP" and it puts me the same result to sy-subrc  for [no items selected] and [cancel] - sy-subrc = 2.
    When I have a few item selected in org.tree I can not deselect them. (I can do it in range options only).
    Maybe someone knows how to split the function result on [no items selected] and [cancel].
    Evgeny

    Hi,
    Try with following modifications:
    ZYEAR1(4) = LOC_VAR_RANGE-LOW(4).
    ZYEAR1(4) = ZYEAR1(4)- 1.
    ZMONTH1(2) = LOC_VAR_RANGE-LOW+4(2).
    CONCATENATE ZYEAR1(4) ZMONTH1(2) INTO LOC_VAR_RANGE-LOW(6).
    With rgds,
    Anil Kumar Sharma .P

  • Event Linkage for custom Workflow and Custom BO

    Hi Friends,
    I have created one Custom Module Pool, Business Object and Workflow Definition. In Business Object I have created one Business Event and the event is triggered from Custom Module Pool using function module SWE_EVENT_CREATE. I have created event linkage in transaction SWETYPV and receiver type given Workflow Template No: (WS*) and receiver function Module SWW_WI_CREATE_VIA_EVENT_IBF and checked Event Linkage Active checkbox. Finally I have activated the Triggering Event in the Workflow basic data section. But the Workflow is not getting triggered. Can anyone of you give me a solution for this or tell whether i missed any of the setting for the workflow?
    Regards
    Sujith

    Hi Sujith,
    Did you include a commit work statement after the call to SWE_EVENT_CREATE?
    Regards
    Gareth

  • Need API Name for PIck Release and Ship Confirm for WMS Module

    Hi All,
    One if my requirement is that Initially I will create Internal Sales Order and send to the other system (legacy) there they do the shipping then they provide the flat file which contains shipping information. Based on the incoming file I will close the order. Here they are using the WMS to process the pick release and ship confirm.
    Can any one please help me how to do pick release and ship confirm by using an API or Interface in WMS. If knows please provide the name of the API's and flow.
    Thanks,
    Prasanna

    For external orders we have a solution on WMS_DEVICE_CONFIRMATION_PUB api.
    may be you have done pick release using this api in WMS enabled organizations. After pick release
    you can use WSH api to do Ship Confirm.
    Anatoly.

  • Differentiate between print and print preview event trigger for sapscript

    Hi guys,
    For sapscript, is there a way to know if the user presses the print or the print preview button? I need a way to determine if it is a print or print preview event triggering.
    I've checked the OPEN_FORM fm but found nothing useful.
    Please help. Thanks in advance.

    This is not supported by SAP, but well this is a possibility:
    FIELD-SYMBOLS <ls_itcpp> TYPE itcpp.
    ASSIGN ('(SAPLSTXC)ITCPP') TO <ls_itcpp>.
    IF sy-subrc = 0.
    * here you may use <ls_itcpp>-tdpreview
    ENDIF.
    Another way maybe is to declare the interface work area ITCPP (shared data in the same internal session):
    TABLES ITCPP.
    * here you may use itcpp-tdpreview

  • Event Trigger for Plan data

    Hi ,
    I have a scenario where my user wants to see the plan numbers instantly in the report after he saves it
    in the Layout. The report is not directly on the planning cube there are 2 levels of staging on top of which is the actual report. He is the only user doing the planning
    Right now we do this as a nightly load and he can see the updates of his plan data the next day.
    Is there any way that we could trigger an event for the process chain once he clicks on the Save button
    on the layout.
    Thanks
    Jay.

    You can try this - Behind the save button, other than save command, also execute a fox function which will call a function module which will trigger an event. Create an event triggered process chain which will load the data from the planning cube upwards.

  • Download links for beta releases and release notes

    All
    Where is the download links for all the beta-release packages and their release notes?

    Thanks. So loading B19 the CSS on TableHeaders is showing White Bold for me. Using the following CSS before
    .table-view .column-header .label {
         -fx-text-fill: #f1f3f2;
         -fx-font: 11pt "Century Gothic";
    /** this is for the the last cell in the column-header so should essentially be the same styling as column-header* */
    .table-view .column-header-background {
         -fx-background-color: linear (0px,0px) to (0px,8px) stops (100%, rgb(127,127,127)) (10%, rgb(89,89,89));
         -fx-font: 10pt "Century Gothic";
         -fx-text-fill: #f1f3f2;
         -fx-font-weight: bold;
         -fx-border-color: #F1F1F1;
         -fx-border-weight: 1px;
    Is there a CSS change List?

  • How to handle event structures for two buttons and two counters.

         *I have two buttons A and B, and have to compare the difference in hits between them.  So do I place an event structure within a while loop for each button (2 buttons, 2 event structures, 2 while loops), or does it need to be one event structure with cases for both buttons whithin one while loop? 
         *How do I pass the values of buttons A and B's hit counters out of the while loop in order to calculate the differences between them after each increment, not just the final count after the stop button is hit? 
         *How would I make one stop button work to handle both buttons A and B?   I tried to place the actual stop button in one button A's structure and its global in B's structure, but It wont seem to let me use a local variable for a latchable control
    Checker

    You should probably have not started a new thread and waited until your question in the original thread was answered. You can modify altenbach's example for a second button. You have a single event structure with a new event for the second button. You have a second shift register to track the number of times the second button is pressed. Inside the while loop but outside the event structure, you just have a subtract function in or to report the difference. do not modify the posted example for the stop button. It works perfectly as is.

  • Table event listener for both columns and rows

    My table listener only gives me the printed values when I click on different rows and not when I click on different columns. Do I need 2 listeners (one inside the other one) to get a change recorded each time I click on a cell in the table? Here is the listener code:
          ListSelectionModel rowSM1 = jTable1.getSelectionModel();
          rowSM1.addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
              System.out.println("I am here");
              ListSelectionModel lsm = (ListSelectionModel)e.getSource();
              if (e.getValueIsAdjusting()) {
                return;
              if (lsm.isSelectionEmpty()) {
                //no rows are selected
              else {
                selectedSiteRow = new Integer(lsm.getMinSelectionIndex() + 1).toString();
                System.out.println("selectedSiteRow = " + selectedSiteRow);
                SetupNum = selectedSiteRow; // row that the user selected
                ObjectNum = "1";
                objnum = "1";
                dataModels.remove("O"); // remove the object tables from the dataModels hashtable
                dataModels.remove("P"); // remove the object tables from the dataModels hashtable
                for (int i = 0; i < wholefile.size(); i++) {
                  setupnum = selectedSiteRow;
                  if (wholefile.elementAt(i).toString().charAt(0) == 'O') {
                    processLine(wholefile.elementAt(i).toString(), columnNamesO);
                    String keyO = "O";
                    DefaultTableModel modelO = (DefaultTableModel)dataModels.get(keyO);
                    jTable2.setModel(modelO); // change the table to the new table model
                  if (wholefile.elementAt(i).toString().charAt(0) == 'P') {
                    processLine(wholefile.elementAt(i).toString(), columnNamesP);
                    String keyP = "P";
                    DefaultTableModel modelP = (DefaultTableModel)dataModels.get(keyP);
                    jTable3.setModel(modelP); // change the table to the new table model
        );The words "I am here" only appear when I click on rows and not when I click on columns of that same row. Anyone know why?
    Also, each time I click on a row, "I am here" appears 2 times. I know I read that someone else had that problem. I will try to find the solution to that one in the forum.
    Thanks.
    Allyson

    I found out how to get the column, but I can't seem to get them together. Here is the listener for the column:
          ListSelectionModel colSM1 = jTable1.getColumnModel().getSelectionModel();
          colSM1.addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
              if (e.getValueIsAdjusting()) {
                return;
              ListSelectionModel lsm = (ListSelectionModel)e.getSource();
              if (lsm.isSelectionEmpty()) {
                //no columns are selected
              else {
                SelectedC = lsm.getMinSelectionIndex();
          });These are 2 different listeners and I really want to find out what row,column has changed. Is there any way to combine these somehow? Thanks.
    Allyson

  • When will the WP 8.1 update be released? We've been waiting since April for the release and Verizon has still not given it to us. When will we get it?

    getting very frustrated with the wait. does Verizon have any idea when the 8.1 update will be distributed? will it be in September? 2014? before WP9.0? Give us some idea PLEASE!

    Do anyone search anymore?!?!?!?
    Re: does anyone know when windows 8.1 is being released on Nokia 928

  • Re: audit using ddl trigger for dcl (grant and revoke)

    Why are you trying to re-invent oracle's own auditing feature?

    No, there is no way to unbranch.
    I'll lock this branch and you can answer Ed on your original thread (I'll leave it to you to copy/paste Ed's question in your reply).

  • Unable to get automatic event handling for OK button.

    Hello,
    I have created a form using creatobject. This form contains an edit control and Search, Cancel buttons. I have set the Search buttons UID to "1" so it can handle the Enter key hit event. Instead its caption changes to Update when i start typing in the edit control and it does not respond to the Enter key hit. Cancel happens when Esc is hit.
    My code looks like this -
    Dim oCreationParams As SAPbouiCOM.FormCreationParams
            oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            oCreationParams.UniqueID = "MySearchForm"
            oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Sizable
                    Dim oForm As SAPbouiCOM.Form = SBO_Application.Forms.AddEx(oCreationParams)
    oForm.Visible = True
    '// set the form properties
            oForm.Title = "Search Form"
            oForm.Left = 300
            oForm.ClientWidth = 500
            oForm.Top = 100
            oForm.ClientHeight = 240
            '// Adding Items to the form
            '// and setting their properties
            '// Adding an Ok button
            '// We get automatic event handling for
            '// the Ok and Cancel Buttons by setting
            '// their UIDs to 1 and 2 respectively
            oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 5
            oItem.Width = 65
            oItem.Top = oForm.ClientHeight - 30
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Search"
            '// Adding a Cancel button
            oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 75
            oItem.Width = 65
            oItem.Top = oForm.ClientHeight - 30
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Cancel"
    oItem = oForm.Items.Add("NUM", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Left = 105
            oItem.Width = 140
            oItem.Top = 20
            oItem.Height = 16
            Dim oEditText As SAPbouiCOM.EditText = oItem.Specific
    What changes do i have to make to get the enter key to work?
    Thanks for your help.
    Regards,
    Sheetal

    Hello Felipe,
    Thanks for pointing me to the correct direction.
    So on refering to the documentation i tried out a few things. But I am still missing something here.
    I made the following changes to my code -
    oForm.AutoManaged = True
    oForm.SupportedModes = 1 ' afm_Ok
    oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 5
            oItem.Width = 65
            oItem.Top = oForm.ClientHeight - 30
            oItem.Height = 19
    oItem.SetAutoManagedAttribute(SAPbouiCOM.BoAutoManagedAttr.ama_Visible, 1, SAPbouiCOM.BoModeVisualBehavior.mvb_Default)
            oButton = oItem.Specific
            oButton.Caption = "OK"
    AND
    oForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE
    oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 5
            oItem.Width = 65
            oItem.Top = oForm.ClientHeight - 30
            oItem.Height = 19
    oItem.AffectsFormMode = False
    I get the same behaviour OK button changes to update and enter key does not work.
    Could you please tell me find what is it that i am doing wrong?
    Regards,
    Sheetal

Maybe you are looking for