DisplayExecution event not triggered after sequencefile execution

I have a problem now with my customized Test UI developed in C#.
In my own PC, my codes works well:
this.axSequenceFileViewMgr1.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(true);
// Run sequence---> This goes to DisplayExecution event
private void axApplicationMgr1_DisplayExecution(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_DisplayExecutionEvent e)
            this.axExecutionViewMgr1.Execution = e.exec; 
However, when I run this UI in another PC, which installed same softwares as mine, the DisplayExecution can not be triggered.
And I found that the count of Executions in axApplicationMgr1 is always 0 after the command execute.
I'm using TestStand 2014, 64bits version.
C# in Visual studio 2010.
Please advise where may go wrong in my code or the PC environment for my problem.
Thanks alot!

I figured out the reason of this issue by myself.
The failure of not doing the GetCommand.Execute() is due to the user login issue.
During my development I feel the login window is annoying so I disabled it by setting axApplicationMgr1.LoginOnStart to false.
I'm not sure why it works in my PC but not in others. -> Maybe someone can advise on this point?
So my current solution is to catch the UserChanged event after the login then to open the sequence file and execute it.
Hope this is helpful to those meet similar issues.

Similar Messages

  • Need BOR & event which triggers after vendor master change.

    Hi all.
        Can you pls let me know the BOR & event which triggers after vendor master change. (Xk02). I used tcodes SWELS (evetn trace) , and SWEL and changed vendor adress using XK02. but I could not find any event or BOR in the trace. Pls help me out.
    Cheers,
    sam.

    Hi
    when we change the vendor details we dont have the event which is automatically triggered by the system so we create an zbusinessobject as subtype  for the vendor(LFA1)  as supertype.
    and create a new event in that z business object .
    change document for the vendor is KRED you can check it in the CDHDR table by giving tcode name.
    after finding changedocument object go to SWEC and create a newentry specifying your changedocumentobject name and BO name and event name and click on radiobutton onchange.
    and now you can check whether an entry is getting in swels or not when changing the vendoor details.
    Thanks.

  • 925685 - Approval process is not triggered after documents are added

    Hi there,
    I was wondering if anyone found already a solution for the following problem.
    According to SAP Note: 925685 - Approval process is not triggered after documents are added.
    Within our SAP application, we want to approve purchase orders for departments based upon the document total.
    I was very astonished that employees are able to add a PO which will not trigger an approval stage and after the document is added, they have the possibility to change the document and at the update moment no approval will be started even if the document meets the approval requirements.
    Therefore I really want the flexibility to give users the possibility to change their PO.
    Meanwhile, documents which are added under approval, are also locked for changes, although this is another question it is also pretty annoying!
    I hope anyone has already found a method or work around for the stated problems above.
    (We are using SAP 8.8 PL 20)
    Thanks in advance.
    Kind regards,
    Marcel

    Hi Kambadasan,
    Thank you for your reply
    I'm sorry but I know how the approval templates work and they are configured correctly, however as SAP also mentioned in their own Note, this is due to the lack of SBO that SAP has such behaviour.
    Hi Gordon,
    Thanks for your reply.
    Unfortunately I have not found the post you mentioned...
    I will post my issue alson on the topic you mentioned.
    Hopefully they found a solution or maybe version 8.81 will solve the problem.
    Thanks a lot!!
    Kind regards,
    Marcel

  • How to tackle the dataflow problem when Value Change event always triggers after another GUI event

    We know that Value change event always triggers after another GUI event. Eg, the user modifies string control, the user clicks on a boolean control. Then event boolean clicked is triggered before event string control value change.
    Now suppose somehow the GUI event that must happen to subsequently trigger the Value change event can potentially affect the data that Value change event is supposed to work on. How can we tackle this problem ?
    For example, in a mockup application that the grand purpose is to have user entered values in a textbox logged to a file (no missing information is accepted, and there is a boolean to determine how the information is logged).
    There are 2 controls, boolean A when clicked (mouse down) will load random number in text box B. Text box B is designed with event structure VALUE change which saves whatever values user enters into text box B to a log file.
    There are 3 problems when instead of clicking anywhere on the front panel after modifying text box B, the user ends up clicking on boolean control A.
    1. Event mouse down on Boolean control A will execute first, modifying text box B content before the user entered values in B get saved.
    2. The value of boolean A can potentially affect how textbox B is loggged.
    3. The value of boolean A affects how the file is logged and this is indeterminate. Somehow when running this VI with no Highlighting, the textbox B Value change event executes -before- boolean A value is updated (F to T). When running this VI with Highlighting, the boolean A value is updated (F to T) (because we click on it) -before- textbox B value change event occurs. Why is it like this ?
    Now the situation I made up seems non-sense, but I believe it resembles one way or another a problem that you might run into. How would you solve this problem elegantly ?
     

    You can set the string control to "update while typing".
    Are you sure appending the log to itself is reasonable? Wouldn't it grow without bounds if the users keeps entering strings or pressing the ingore button?
    Why isn't the "constant" a diagram constant instead of a control. Is the user allowed to change it?
    To reset just write empty strings or a false to local variables of the controls (renit to defaults" seems a bit heavy handed).
    All you probably need is a single event case for "ignore:value change" and "String" value changed", no need for the local variable..
    Also add a stop button and an event for it.
    You don't need the timeout event.
     

  • DATA_CHANGED event handler is not triggered after input.(OO ALV)

    Dear Experts,
    What I did:
    I register Enter as the trigger event for data_changed event, and I put my checking logic in data_changed_handler which is a method of a local class. When the checking fails, I put messages using er_data_changed->add_protocal_entry to show messages.
    My checking is simple, if the cell is empty, error messages pops up tells that this cell can not be blank for this row.
    My problem:
    When there is no entry in the alv list(Only this situation), I insert a new entry, the cell which is required is empty, I press Enter, data_changed event is triggered, the message pops up saying that the cell is required. Then close the pop up message window, I input something in the cell, and press enter. The data_changed event is not triggered.
    Is there any1 has any ideas on this problem?
    Vicnent
    Edited by: Changjiu Tan on Sep 7, 2009 1:33 PM

      METHOD HANDLE_DATA_CHANGED.                               "#EC NEEDED
    *<<<  BEGIN MODIFY EXAMPLE CODE
    *   u4FDDu5B58u30C7u30FCu30BFu3092u7DE8u96C6u3059u308Bu3000START
        DATA: LW_INS      TYPE LVC_S_MOCE,
              LV_FNAME    TYPE LVC_FNAME,
              LW_MOD      TYPE LVC_S_MODI,
              LV_MAX      TYPE I,
              LV_RES(12)  TYPE C,
              LW_LIST     TYPE ZTSRE012,
              LV_ROWID    TYPE LVC_S_ROID,
              LT_MOD      TYPE LVC_T_MODI,
              LV_COLID    TYPE LVC_S_COL,
              LV_ROW_ID    TYPE LVC_S_ROW,
              LV_COL_ID    TYPE LVC_S_COL.
    *   u73FEu5728u306Eu30D5u30A9u30FCu30ABu30B9u4F4Du7F6Eu3092u53D6u5F97
        CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
          IMPORTING
            ES_ROW_ID = LV_ROW_ID
            ES_COL_ID = LV_COL_ID.
        LOOP AT GT_LIST INTO LW_LIST.
          IF LW_LIST-ID > LV_MAX.
            LV_MAX = LW_LIST-ID.
          ENDIF.
        ENDLOOP.
    *   u30B0u30EBu30FCu30D7ID
        LV_FNAME = CNS_ID.
        LOOP AT ER_DATA_CHANGED->MT_INSERTED_ROWS INTO LW_INS.
          LV_MAX = LV_MAX + 1.
          CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
            EXPORTING
              I_ROW_ID    = LW_INS-ROW_ID
              I_FIELDNAME = LV_FNAME
              I_VALUE     = LV_MAX.
        ENDLOOP.
        CLEAR: LV_FNAME.
        LT_MOD[] = ER_DATA_CHANGED->MT_GOOD_CELLS[].
    *   u30C7u30FCu30BFu30C1u30A7u30C3u30AF
        LOOP AT LT_MOD INTO LW_MOD.
          IF LW_MOD-FIELDNAME = CNS_ZZTTSN.
            LV_COLID-FIELDNAME = LW_MOD-FIELDNAME.
            LV_ROWID-ROW_ID    = LW_MOD-ROW_ID.
            CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
              EXPORTING
                IS_COLUMN_ID = LV_COLID
                IS_ROW_NO    = LV_ROWID.
            CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
              IMPORTING
                E_VALUE = LV_RES.
            IF LV_RES IS INITIAL.
              CALL METHOD ER_DATA_CHANGED->ADD_PROTOCOL_ENTRY
                EXPORTING
                  I_MSGID     = CNS_MSGID
                  I_MSGTY     = CNS_MSGTY
                  I_MSGNO     = CNS_MSGNO
                  I_FIELDNAME = LW_MOD-FIELDNAME
                  I_ROW_ID    = LW_MOD-ROW_ID.
            ENDIF.
            CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
              EXPORTING
                I_ROW_ID    = LW_MOD-ROW_ID
                I_FIELDNAME = LW_MOD-FIELDNAME
                I_VALUE     = LV_RES.
           ENDIF.
          CLEAR:  LV_RES,
                  LV_COLID,
                  LV_ROWID.
        ENDLOOP.
        CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
          EXPORTING
            IS_ROW_ID    = LV_ROW_ID
            IS_COLUMN_ID = LV_COL_ID.
      ENDMETHOD.                    "handle_data_changed
    Edited by: Changjiu Tan on Sep 7, 2009 1:31 PM
    Edited by: Changjiu Tan on Sep 7, 2009 1:32 PM

  • BSP Terminating event not triggering

    Hello Friends,
    We have a scenario, where a BSP application is triggered from a Workflow, for a certain approval, and after the user clicks on Approve button on the BSP Page, the BSP would write to the workflow container using SAP_WAPI_WRITE_CONTAINER and then we call SWF_WSC_CALLBACK_LAUNCH.
    This used to work, but after an almost Fatal incident with our system, we are not able to get this to work.
    We can see in the workflow log that the container is written, but the terminating event is not triggered, and the workflow doesn't move forward
    Is there a setting that we're missing..??
    Thanks,
    Tat.

    Have you tried:
    call function 'SAP_WAPI_DECISION_COMPLETE'

  • Subtype event not triggering and supertype event triggers twice!!!!!!

    Hi,
    We have created a subtype for object bus2030 and also an event created for that. My workflow should trigger whenever an inquiry is created.
    I've maintained this as triggering event in SWDD and done type linkage is SWE2 and everything looks fine.
    When i simulate or create event the WF is triggered but when create inquiry in VA11 WF does not triggers.
    I've checked SWEL for event trace but no event is triggered at all... Am i missing something... I've done almost everything that i used to do...
    Even synchronized buffer!!! nothing paid me a solution...
    Infact the same was working with 3.1i system but after migration to ECC6 we had to create new WF template for the same Process.
    Now I also see that the supertype bus2030-created event is triggered twice but, obviously no receiver type exists. But the zbus2030 event is not being triggered at all!!!!
    Kindly help me understanding my mistake...
    Regards,
    PB

    Hope you have already set the deletegation in SWO6.
    Now, event dont get triggered automatically, jus because they are defined in object. They have to be explicitly published in thesystem.
    Check for a suitable user exit in your transaction, which makes use of function module to create the event, from that you know how to proceed.
    If you dont find user exit, try other triggering techniques such as change documents, logistics, BTEs... etc.
    regards,
    Sandeep Josyula

  • Workflow Event not triggering

    Dear SDN,
                     I have created a Workflow and i am triggering through an event . For this have created  ZEvent in ZBOR(Modified from Std. APPR_DOC)and attached the zevent in my screen (HR related template PHAP_CATLOG_PA) through oohap_basic.When I run in Background everything is working fine.But when I run through the Tcode(PHAP_CATLOG_PA). event itself not triggering.Problem is my event is not firing.When I check in SWEL my zevent is showing std BOR.My zevent is not catching my ZBOR.Can anyone help me out with this issue.
    Regards,
    Gopi.

    Hi,
    gopi BOR will always show the standard BOR and you can put a start condition based on that condition.
    after that in first activity you can use your custom BOR and it's methods.
    Hope magic Works!
    Regards,
    Purvesh Patel.

  • OnEnter event not triggering in standard WD

    HI Experts,
    I am creating a view enhancement in standard WD component. I have craeted an action for Onenter event for an input field.
    When i press enter after selecting that field, the action is not triggered and hence my event handler method is not executing.
    Please let me know the reason why it is not happening and how can i fix it.
    Thanks & Regards,
    Sushant Singh

    I dont think if you change the properties of UI elements which are standard will work.
    If already OnEnter is created for input field then you can create Post-Exit , Pre-Exit methods.
    Alternative would be to make the Standard Input field as invisible and create you own input field with same properties as of standard one.

  • PAI is not triggered after I choose value in F4

    Hello experts,
    I fight with the following problem:
    On my screen I use input field (ucf_s_coi_afd03_ct-xrproc_param) and I coded the F4 help for it manually
    PROCESS ON VALUE-REQUEST.
      FIELD ucf_s_coi_afd03_ct-xrproc_param
          MODULE req_xrproc_param_2006.
    After I press f4 on this field, the values are correctly listed but after I choose one value (double click), I would expect that the PAI is triggered but it is not. I have to press ENTER, only then.
    Is there a way how to trigger the PAI after the value is chosen?
    I found one way, but I don't want to use it:
    If I change the input field into "List box" or "List box with key", then I can assign function code to it and if I do that, then it works - PAI is triggered after value is chosen. However, I don't want to use list box, I need standard input field.
    Any ideas?
    Regards,
    Tomas

    >
    Jonathan Coleman wrote:
    > Rather than triggering the PBO in order to fill in other fields on the screen from your POV event, the usual approach I've seen is to call the function DYNP_VALUES_UPDATE (which is quite well documented) e.g. you could get a customer number from your F4 dropdown, then retrieve their name and address and populate that data back into the screen all from within the "process on value-request" module logic.
    >
    > Jonathan
    The original problem (or at least my orignal problem) which was solved by the SUPPRESS DIALOG was how to trigger my PAI validation - not the PBO though that of course follows on afterwards - immediately on selecting a value from a search help in order to carry out a further check on the value selected.  I've used DYNP_VALUES_UPDATE in other situations, but it was not a suitable solution for me here.

  • Which event is triggered after a column in a gridstyle treeview datawindow has been moved or resized

    Hi all,
    I'm using a gridstyle treeview datawindow with 2 levels.
    What I want to do now is when I move the most right column on the screen e.g. 2 columns to the left the information in the level 1 should stay at the same place but the information in the detail and the header level should move to the left.
    I wrote a function that is doing what I want and it works fine if I call that function in a clicked event of a button: e.g. I move the most right column to the left and then click the button to simulate that a event has been triggerered after moving or after I resize a column and then hit the button.
    So my question is what can I do to trigger my function after a column has been moved or after a column was resized?

    Hi Thomas, Try these steps:
    1. Create a ue_lbuttonup user event mapped to pbm_dwnlbuttonup in DW control.
    2. Create another user event named ue_checkmodified. This is not mapped.
    In ue_lbuttonup, enter the below code:
    This.event post ue_checkmodified()
    In ue_checkmodified event, enter:
    If this.Object.DataWindow.Syntax.Modified = "yes" Then
    ... Your logic goes here...
    End If
    That's it.
    HTH,
    Neil

  • Events not triggered

    Hi,
    We have created a custom workflow for notifcation purpose when shopping cart is fully approved. We are working on SRM 5.0 and classic scenario is implemented.
    To start this workflow we used event "FinishedApproval" of BO BUS2121. But this event is not triggered in system when shopping cart is fully approved.
    No events are registered in event trace too.
    when event is triggered using SWUE, workflow is started as desired.
    We are using N-step SC approval workflow and it is working perfectly fine. Notification workflow is desired to start after completion of approval workflow.
    Kindly provide some solution for this issue.
    Regards,
    Brajvir

    Hi Maksim,
    I meant none of the click events in the DOM are triggered while loading sap.m library as dependency via Component.js but works fine while the sap.m library is loaded via bootstrap.
    I supposedly think the events are bounded before the DOM is loaded but I m bit surprised with the behavior since there nothing changed in the structure apart from sap.m library loading from different location.
    Thanks,
    Ajain

  • URGENT:PR event not triggering

    Hi Experts,
                  I am creating a PR through me51n.It should create an event of BUS2009(Releasestepcreated).But not event is triggering.Is it related to some setting in SPRO.Please help me

    Hi Vivek,
    Hope you have gone thru' SAP help for the  customizing requiredfor this scenaro.
    Pls re-check all your customizing steps from MM side and also if you have mentioned the workflow indicators in the MM config, which indicate that workflow has to be used for release starategy.
    Regds,
    Akshay

  • BUS2032 - ALECHANGED event not triggering

    Hi Gurus,
    I have a issue in our dev system. In our system automatic PO creation is configured through Sales order.
    This is working fine in Regression and production systems, but not working in Dev system.
    I have compared the Regression and Dev system and I found that the ALECHANGED event is not triggering in our Dev system.
    I have checked the Item Category of the Sales Order and it is same in both the systems.
    And also I have checked all possible Workflow transaction(SWUE, SWEL, SWU3, SWU0, SWETYPV), everything looks same in both the systems.
    Now I am not sure what to check and where to check.
    Please let me whereelse/whatelse I have to check. Is there any ALE configuration to be checked.
    Thanks for your help in advance.
    Thanks,
    Murali.

    Hi Susan,
    Thanks for the reply.
    I know there could be some config missing but don't know what config it is.
    There are more than 100 users in our Dev Systems, so I can't check the transports. It would be helpful for me if I get specific TCodes or areas so that I can compare my dev system with other systems where it is working fine.
    Thanks,
    Murali.

  • MouseListener event not triggering sometimes

                  lineTable = atmBean1.getReturnTable();
                  //remove the other columns
                  lineTable.removeColumn(lineTable.getColumnModel().getColumn(21));
                  lineTable.removeColumn(lineTable.getColumnModel().getColumn(20));
                  lineTable.addMouseListener(new MouseAdapter() {
                      public void mouseClicked(MouseEvent e) {
                          setChargesPanel();
        public void setChargesPanel()
                lblConsdData.setText(mainPanel.formatDollar(Double.parseDouble(String.valueOf(atmBean1.tm.getValueAt(lineTable.getSelectedRow(),11)))));
                lblAllowedData.setText(mainPanel.formatDollar(Double.parseDouble(String.valueOf(atmBean1.tm.getValueAt(lineTable.getSelectedRow(),13)))));
                lineChargesPanel.validate();
                lineChargesPanel.repaint();
        }when the JTable is set with some data, i have another GUI which has some labels , when the row is selected the corresponding values are taken from the original table model and is displayes in the JLabels.
    Sometimes, when the mouse is clicked it is not triggering this

    is it just because its Swing GUI.. the JTable rows sometimes get selected but the event is not triggered when the mouse is clicked, maybe the API is not good ???????.

Maybe you are looking for

  • IPad 3 with iOS 7: Any way to close/exit all apps with one action?

    While there are some things that I like about iOS 7, there is one long term gripe that I have that's been made worse by iOS 7.  I have an iPad 3, and usually close (exit) all the apps that I've used that day at the end of the day, then put the iPad o

  • Why is iPhoto asking for keychain access to confidential Facebook "something"??

    I've recently upgraded to Lion and the newest iPhoto '11 and I keep getting a pop-up from iPhoto "iPhoto wants access confidential keychain (something) with api.Facebook" or something like that. What is this? Does anyone else have information about w

  • I'm getting a stuck MIDI note with Garageband 10.0.2?

    Using IMAC 3.2Ghz Intel Core i5 running Garageband 10.0.2 with a Yamaha PSR-3500 with MIDI to USB interface. Everything seems fine at first but then one note will be 'stuck' and continuously sound. Some following actions may stop it, including switch

  • HT5182 Raw and Iphoto

    I have just purchased a Fuji X10 and shooting in Raw they come up in iPhoto with the dreaded ! mark, what is the problem. they also will not go into Aperture. I have never had a problem shooting Raw with Nikon, they transfer in ok, I have had to dele

  • Add leading zero's function

    Hey, can anyone tell me what is the java function for add leading zero's in xi mapping. TX