How to catch cursor changes without triggering an event

Hi all,
I have issue and I wasn't able to find my solution in Forums.
I have a screen 1000, and on this screen I have text fields.
One of them is matnr and when a user enters a entry in matnr field I have to catch the number so I can fill the other fields on screen. While doing that, I shouldn't trigger an event, for example pressing enter.
User just enters matnr and and changes the cursor.
I will be waiting for your response..

Hi,
I think this is not possible. Because the other fields related to a MATNR are not available in application layer ( front end). So you will fetch the details using a code running in presentation layer( back end ). So any way you have to trigger PAI.
Thanks,
Renjith.

Similar Messages

  • LV7: how to catch 'Value change' event for cursor position in XY graph?

    I try to catch an event when the cursor position of a graph's cursor
    changes. I created a reference for the cursor array and registered a dynamic
    event 'Value change' for it. The event does not fire when the cursor changes
    (either by dragging it with the mouse or by direct entry of a new value in
    the cursor's X or Y fields. In contrast, when I register e.g. the 'Mouse Up'
    event for the cursor array, the event IS detected.
    -Franz

    So this is the same behaviour as that of a regular control which also does
    not fire a 'Value changed' event when it gets updated by e.g. writing to a
    local.
    At least the cursor's behavior is consistent then...
    But unfortunately also the direct user interaction with the cursor's numeric
    field does not fire the event, which is NOT consistent.
    I was trying to catch cursor changes in my event loop and had used a 'Mouse
    Up' event of the graph indicator to look for cursor changes (whose last
    position I had kept in a local or shift reg). In order not to miss a direct
    user interaction in the numeric field I added the dynamic event 'Value
    change' to the same event case, but with no success, it missed the direct
    entry ...
    according to what you say this seems to b
    e a bug then...
    -Franz
    "Greg McKaskle" schrieb im Newsbeitrag
    news:[email protected]..
    > > I try to catch an event when the cursor position of a graph's cursor
    > > changes. I created a reference for the cursor array and registered a
    dynamic
    > > event 'Value change' for it. The event does not fire when the cursor
    changes
    > > (either by dragging it with the mouse or by direct entry of a new value
    in
    > > the cursor's X or Y fields. In contrast, when I register e.g. the 'Mouse
    Up'
    > > event for the cursor array, the event IS detected.
    > >
    >
    > The reason is that value change events fire when user action directly on
    > the control changes its value. They do not fire when other programmatic
    > value changes occur. If you are looking at a value change on the cursor
    > palette, user interaction with the numeric should fire it, but updates
    > due to cursor movement are more like programmatic updates.
    >
    > Additional events will likely be added in future
    releases, and these may
    > make it easier to catch cursor movement events on a graph.
    >
    > Greg McKaskle
    >

  • How create mail alert without triggering the event.

    1.     SR 3-4924626351: How create mail alert without triggering the event.
    We wanted to send alert mail every 10 days or 15 days or 1 month to a reporting manager of Opportunity Owner with details of that Opportunity. I don’t want to use any triggering of event like the Following. When new opportunity is created When modified Opportunity is saved etc.

    Raju,
    If you don't want to use the triggering event, you will have to do this manually.
    Manually:
    - Create a Web Link on the SR with and embed the mailto: function with the receivers email and subject and body embedded in the url (you can find this link on Google)
    - When this link is clicked, an email window will open with all the details you provide, and you can click the send button to send the email.
    - You will have to do this manually every 10-15 days or whatever is the duration
    Auto:
    - Create a time based workflow on a new Opportunity Created event
    - create a action to send an email notification to the concerned person (details in the workflow properties)
    - This workflow will auto send an email every 10-15 days to the opportunity Manager.
    The time based workflow is the best option I see. Do you see any issue/ concerns with auto generated emails?
    Hope this helps!
    Royston

  • How to populate dropdown without triggering PAI event ?

    Hi,
    I have a screen with two fields- One input field and one drop down list field which has to be populated based on the value given in the first field. 
    How can I populate the drop down list dynamically based on first input field without pressing enter ( i.e with out triggering PAI event ) .  I tried using DYNP_VALUES_READ in value request event.
    Please give me your suggestions .

    Hhhhmm, I thought initially it should work, but I must admit I couldn't get it to work with a listbox. I just tried a simple report with selection screen, see below. Just enter something for the first parameter and then choose the value help for the second field. You will see that it will pick up the value from the first field, if we don't use a listbox.
    Once you comment in the coding the LISTBOX and replace it with the normal field, you can see that the value help works as one would hope. It seems that the problem is that the values for the dropdown list get populated too early (i.e. start-up of the report). I don't have the time at the moment to check this out further, but I'm assuming others must have tried this before. Any comments?
    REPORT zvaluehelp.
    PARAMETERS:
      p_statva TYPE stacust-statva,
      p_status TYPE stacust-status AS LISTBOX VISIBLE LENGTH 3. " Doesn't work
    *  p_status TYPE char1. " Value-help works for this
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_status.
      PERFORM value_help.
    FORM value_help.
      DATA:
        dynpread TYPE dynpread,
        dynpread_tab TYPE STANDARD TABLE OF dynpread,
        stacust TYPE stacust,
        stacust_tab TYPE STANDARD TABLE OF stacust.
      dynpread-fieldname = 'P_STATVA'.
      APPEND dynpread TO dynpread_tab.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname                   = sy-repid
          dynumb                   = sy-dynnr
          perform_conversion_exits = 'X'
        TABLES
          dynpfields               = dynpread_tab
        EXCEPTIONS
          OTHERS                   = 1.
      CHECK sy-subrc = 0.
      READ TABLE dynpread_tab INTO dynpread INDEX 1.
      CHECK dynpread-fieldvalue IS NOT INITIAL.
      SELECT * FROM stacust INTO TABLE stacust_tab
               WHERE statva = dynpread-fieldvalue.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          ddic_structure = 'STACUST'
          retfield       = 'STATUS'
          dynpprog       = sy-repid
          dynpnr         = sy-dynnr
          dynprofield    = 'P_STATUS'
          value_org      = 'S'
        TABLES
          value_tab      = stacust_tab
        EXCEPTIONS
          OTHERS         = 0.
    ENDFORM.
    The coding above was just intended as a quick test - so I know it's not proper (i.e. check of return codes, etc.).
    Cheers, harald

  • How to catch any changes made in a particular field of a table.

    Dear Friends,
                           How can we display changes to a filed of a particular table.
    To make it simple:--
    The Program should take values for the name of the table and the field according it will handle all the update ,deletion of a record..i mean any change happening to the respective field will be displayed.
    Suppose there is table STUDENT and a field STUDENT_ID.
    So i want to display  the newly entered student id or the deleted student id .
    thx
    ram

    Hi,
    RSSCD100                 Display Change Documents
    RSSCD100_PFCG      Display Change Documents for Role Administration
    RSSCD110                 Display change documents (cross-client)
    RSSCD150                  Display change documents
    reward if useful
    ~Lakshmiraj~

  • How to find firefox version without triggering an update?

    I've disabled update in every way imaginable (no lectures please) but i an update starts regardless when i go to help / about firefox. Is there any other way i can check the version without triggering an update?
    thanks.

    Hello!
    You can find the version of your Firefox (along with other troubleshooting options, if you need it later) by entering ''about:support'' in the Awesome Bar.
    <hr>
    I hope that solved your problem!
    <i>If it did, would you please choose this answer as your solution? It would help other Firefox users to find help on the forums faster and more efficiently. Thanks!</i>
    And of course, feel free to post back if you need more help!
    Happy browsing!

  • How to save xmp changes without re-opening psd document?

    Hi All!
    I wanted to know whether we can see the changes made to the metadata of a psd file without re-opening it. I am developing a plugin for Photoshop CS5 on Windows and have included the necessary files of XMP Toolkit SDK for the XMP insertion part.
    The scenario is that, I insert some info in the metadata of the file on button click (handled by my plugin). The problem is that, if I want to view the inserted info in FileInfo, I have to reopen the psd file to see the changes. I just cannot make the changes and view them in one go. Why is that?
    I have referred to the ModifyingXMP sample of the SDK for doing this.
    What can I do?

    Hi,
    Photoshop reads the metadata when it loads a file and stored it when the file is saved.
    Changes to the file in the meantime are ignored.
    You have to access the metadata in memory, but I am unsure if that is possible through your plugin.
    I know that its possible using the JavaScript API (use app.activeDocument.xmpMetadata, see Scripting Guide)
    -- Stefan

  • How to get slide change without a noise like a camera shot?

    I have imported a PP2013 slideshow into CP 8.
    The animation is working correct.
    But when the slide changes to the next one,
    there is a noise lik a camera shot.
    Where can I eliminate that,
    Thanks

    Hi Manoj,
    Correct, when you query the CMS database it will return the info for the object and not the source.
    In code you can use this for Crystal Reports:
    reportClientDocument.SummaryInfo.(  multiple values )
    This is the info saved with the RPT file, you can also use Windows File API's to get the same info.
    For WEBI and DESKI doc's it does not keep that info in the file system. You may want to look at the file system properties in the FRS to see if any info is kept as it is in RPT files but we ahve no API to get the info.
    Thank you
    Don

  • How to find out which control triggered the event?

    In my program, there are six buttons that does similar things, like changing the value of an array depending on which button is clicked. I used an event structure to do this. However, instead of repeating my codes six times in six events (one for each button click), I'd like to program one event case that responds to any of the six buttons. The question is, how do I know which button is clicked inside the case (any of the button can be either false or true, so reading the button value won't help)?
    Solved!
    Go to Solution.

    Steve Chandler wrote:
    Jeff Bohrer wrote:
    Oh when will the snipet tool get fixed?
    Jeff, are you using Ton Plomp's Code Capture tool? It is awesome for a lot of reasons. The nicest part is that when you do a capture it saves the snippet to a temporary file and places the path to the temp file in the clipboard. You can create a VI, capture a selection, then in the browse for image control on the forum you just paste the file name from the clipboard. No need to go through the hassle of saving the snippet first then browsing for it.
    Unfortunatly I'm behind a curtain here that discourages third party tools. I know of the third party stuff but it might as well not exist unless it comes on the installation DVD.  Thanks for the response though some other member may find the link useful
    I can't even load Firefox on this machine and am stuck with IE
    Jeff

  • How to handle tab change event in UI shell main area

    Hi,
    I have two tabs(two taskflows) in UI shell main area. one is department tab and another is employee tab. My department tab shows employees department wise. On employee tab I have emplyee table which shows employees jobwise. This employee table has the functionality of adding new record to employee vo as well.
    Now i follow these steps.
    1. by defualt department tab is open.
    2. by clickinng on Tasks menu link i open Employee tab in to main area. Now i have both tabs in main area.
    3. at Employee tab I search all employees job = accountant. It shows the search result well.
    4. Now i add a new record to it and without saving/deleting this record i move to department tab.
    5. at Department tab i search employees where department =20, here no relation b/w job and department.
    6. Now i return to employee tab. my newly added record got disappeared. It is there but does not show in table.
    How to resolve it??
    I have one solution in my mind while changing the tab i can prompt to user "you can not leave the newly added record..either save it or delete it". But how to catch tab change event here? where i can write code to prompt msg to user?
    Pls help.
    Edited by: 900997 on May 6, 2012 4:10 AM

    With apologies for the slow reply, I'm currently travelling.
    Two things to note:
    1) The af:document uncommittedDataWarning flag was designed to stop users navigating away from half entered records. More about this flag can be found here:
    http://docs.oracle.com/cd/E23943_01/web.1111/b31973/af_orgpage.htm#CACDDDFH (see point 4)
    http://www.oracle.com/technetwork/developer-tools/adf/unsaveddatawarning-096556.html
    ....please note our documentation from time to time spells this flag wrong with only one "t" in the word committed, so if you're attempting a bulk search check for this (and I'll raise document bugs to get this fixed in the future).
    2) On addressing the ADF UI Shell, if you're switching between "pages" in the UI Shell, as separate to switching between dynamic tabs within a single page using the UI Shell, the UI Shell will actually restart the currently running task flow in the page you're returning too. You can verify this by implementing an initializer on your task flow with a log message, and watching when the initializer is called.
    In addressing your last question, at this stage I think you need to assess my first answer then come back if you think you sill need to execute the code on the tab click. I also need to know are you talking about the primary level of tabs that represent each page in the UI Shell, or are you referring to the dynamic tabs within a single UI Shell page that hold your task flows?
    CM.

  • How to catch errors in calling program when using SUBMIT ... AND RETURN ?

    Hi ,
    I am calling a report using submit and return statement from a function module. The report has select-options field for a date field. If user enters a date in low, which is greater than high, getting error message "Lower limit is greater than upper limit".
    How to catch this error without endup stoping on selection screen of the report?
    In the documentation, I read :
    Programs called with SUBMIT ... AND RETURN or CALL TRANSACTION cannot propagate exceptions to the caller, because exception objects are bound to the internal mode of a program.
    Is there any way to overcome this?
    Also my aim is to write a validation on the date selection-option to have the date range not more than 20 days.
    I am not sure of how to achieve this. 
    Is there a way to do validation of select-options data before submiting to the report ?
    Is there any standard FM to achieve this task?
    Thank you,
    Surya.
    Edited by: Surya on May 24, 2009 6:08 PM

    Hi Surya ,
    In your function module's code validate the date .
    If the low value of the date less than high and date period is not more than 20 then
    call transaction and in else condition raise exception.
    In your FM write like that - -
    IF   date-low LT date-high AND
                           date_difference LE '20' .
    CALL  TRANSACTION   'transaction'.
    ELSE.
    RAISE  ...........  " Raise the invalid date exception
    ENDIF.
    Regards
    Pinaki

  • How to catch clicking a radiobutton action?

    Hello!
    I want to disable some components within a screen after I click a radiobutton, but I don't know how to catch the clicking radiobutton action (or event?). Could anyboby give me some ideas? Thanks in advance!
    kt

    Have you tried adding ItemListener? this should work....
    <CODE>
    jpanel extends JPanel implements ItemListener
    private JRadioButton;
    public jpaenl()
    rad = new JRadioButton("myradiobtn");
    add( rad )
    rad.addItemListener( this );
    public void itemStateChanged( ItemEvent e )
    if( e.getItemSelectable() == rad )
    //todo code here

  • How can I create RT time-trigg​ered events?

    We have a RT VI running on a PXI.  One of the RT event loops handles turning on and off digital outputs at precise times.  Because we want high precision, the loop is running at a high rate (1 KHz) and every iteration, we check to see if it's time to do something.  But this seems inefficient to me because the vast majority of the time, we're sitting and spinning.  Is there a way to turn this from a polled system to an even-driven system?  I'd like to schedule events to occur at given times and use an event handler to process them.  But how do I schedule a time-triggered user event?
    Thanks,
    Keith.

    There are other RT timed loops running, but I'm not sure if it counts as "a lot of stuff."  As for what controller, I'm not sure (I inherited the system) but MAX says it's a PXI-8187 with a SCXI-1102 and a PXI-1052 (SCXI) SCI with a few cards in it.  Is that what you're asking?
    How do I find out how much CPU is being used?
    The time trigger is like this: The operator hits a "go" button on the host VI.  This signals a sequence of on/off timed events that are relative to the time when the button was pressed.  The relative timing sequence is fixed before the VI is run and does not change afterwards.  It's also a one-shot -- each digital output is turned on once and off once, just at different times.
    If the way we're doing it is fine, I'm cool with that.  I'm just trying to see if I can simplify things.  The previous developer had mentioned doing a lot to optimize, so looking for inefficiencies is fresh in my mind, but I don't know (yet) for sure if there are current problems.
    Thanks,
    Keith.

  • In Office for Mac 2011 After creating a Button how do I change its shape without triggering its assigned macro?

    In Office for Mac 2011, after creating a button how do I change its shape without triggering its assigned macro?

    For questions about Microsoft's tools, it would be best to ask in the Microsoft Support Forums. They would likely have more experience than people here.

  • How can I see changes in table with insertrow();postchanges()without commit

    Hi friends;
    I use jdeveloper 10.1.3.1 with jheadstart 10.1.3.1.
    I create two view object.In the first page I create table with one view object.
    In the second page I create table (with tableselectmany) with other view.
    I select many rows in second page and in the managed bean,
    I insert selectted rows atributes to first pages tables attributes.
    I use this code.
    public String commandbuttonaction(){
    CoreTable table = this.getTable1();
    Set rowSet = table.getSelectionState().getKeySet();
    Iterator rowSetIter = rowSet.iterator();
    BindingContainer bindings = getBindings();
    DCIteratorBinding pr_dcib = (DCIteratorBinding)
    bindings.get("DeptIterator");
    int i=206;
    while (rowSetIter.hasNext()){
    Key key = (Key) rowSetIter.next();
    pr_dcib.setCurrentRowWithKey(key.toStringFormat(true));
    RowImpl prRow = (RowImpl) pr_dcib.getCurrentRow();
    String AM="model.AppModule";
    String CF="AppModuleLocal";
    ApplicationModule empSvc = Configuration.createRootApplicationModule(AM, CF);
    ViewObject emps = empSvc.findViewObject("EmpsView1");
    Row newEmp = emps.createRow();
    newEmp.setAttribute("Manager",new Number(1));
    newEmp.setAttribute("Department",new Number(1));
    newEmp.setAttribute("Depno",new Number(3));
    emps.insertRow(newEmp);
    try {
    newEmp.validate();
    catch (Exception ex) {
    System.out.println("validate catch");
    try {
    empSvc.getTransaction().postChanges();
    catch (Exception ex) {
    System.out.println("post catch");
    Configuration.releaseRootApplicationModule(empSvc,true);
    i=i+1;
    In this code I only postchanges() in first view and dont want to commit.
    But I cant see changes row in the page .If I press save I see transaction completed succesfully message.
    But in database not insertted any rows.
    If I write commit() after postchanges() code I see rows in the table .But I dont want to commit.Only post
    my changes and if necessary I press save button in page.
    How can I see changes in the page without commit???Thanks for all....

    You should NEVER use statements like this in managed beans:
    ApplicationModule empSvc = Configuration.createRootApplicationModule(AM, CF);
    This will create a separate application module instance, not shared by the the web pages. That's why you do not see the changes.
    Instead, you can use the following code:
    ApplicationModule am = (ApplicationModule)JsfUtils.getExpressionValue("#{data.MyAppModuleDataControl.dataProvider}");
    where MyAppModuleDataControl shoud be replaced with the name of your am data control.
    Steven Davelaar,
    JHeadstart Team.

Maybe you are looking for