Event for value change of an input field

Hello,
I'm a newbie in WD4A.
I've got a input field. Is there a event that's fired, if the value of an input field is changed?
Regards Christian

No.  There is only an event when the user presses enter.  You can check the online help for all events of all UI elements.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d7/ef8841e3af1609e10000000a155106/frameset.htm
In 7.02 there is an AJAX based change event on the inputField, but it is not available as a normal WD Event. It instead triggers the attached SearchHelp without the WD Phase Model.  This is the new SuggestValues feature in 7.02.

Similar Messages

  • Why do event structures trigger duplicate events for value changed, sometimes?

    In this simple VI, an event structure is used to trap a value change within a color array.
    However, when you run the VI and change a color, it triggers the event structure twice.  The second time the structure executes under the value change event, an impossible state exists where the structure is executing as if oldVal<>newVal, but they are in fact, equal.
    I have had to write around this many times.  Why?
    Attachments:
    doubleEventExample.vi ‏91 KB

    For completeness, I reported it also in the February bug thread, so it should get noticed:
    http://forums.ni.com/ni/board/message?board.id=Bre​akPoint&message.id=3385#M3385
    LabVIEW Champion . Do more with less code and in less time .

  • Automatic Event Fire on every entry in Input Field

    Dear All,
    Here i have a scenerio, I am using barcode reader application. After reading the barcode from barcode machine, , numeric value eg  '1234567890' is automatically displaying in my input field. After that I have to call my RFC according to every entry in that field.
    Mean to say as the value comes to the input field , automatically my next view should be called where i am displaying the detail of particular employee having I card of that barcode.
    So is there any possibility in Webdynpro Java to fire an event automatically on every entry?
    Kindly help me out.
    Thanks & Regards
    Nivedita

    Dear Monalisa,
    Thanks for your quick response (SDN was down so i could not reply back). But as i explained earlier, my application is not for mobile barcode reader. Its for normal Id card Barcodes. Mobile Barcode Reader requires 2 types of barcode reader equipments and link given by you is explaining that proccess only.
    Here I am able to read the data from barcode Reader. But after reading data i need to generate any automatic event. I dont want to use any submit button or Enter key action. I want that as the value comes to my input field ,automatically it should go to database. webynpro does not support Javascript as per my knowledge.
    Kindly suggest something.
    Thanks & Regards
    Nivedita

  • If change in PO value, need other rel stategy made for value change only

    I have customized PO Relase strategy based on value. working correctly.
    In that, if there is a change in PO value after the PO release, then Release strategy is being redetermined according to new value. But user wants that if there is a change in PO value, it should follow different rel startegy for which change value is >0 USD(not regular release startegy defined for each value range).
    For this to happen, for value change, what kind of characteristic(table field) I can use as criteria so that new release startegy can be determined for any change value after final relaese?
    Is ther any possible way to make this happen? Pl. suggest me different ways.
    Vijay

    Dear Vijay,
    In order for another release strategy to getting determined, the PO should have another set of value
    to meet the characteristic for the new release strategy or else it will use back the same release strategy
    with approval reset and management need to reapprove again the same release strategy.
    Based on your description, there is no need for another release strategy to get determined if the PO
    still contain the same set value that meet the previous release strategy . Let say you increase the
    total value of the PO, incase the release strategy still meet the current approve release, it should reset
    it again but not another release strategy that not meet with value in the PO.
    If you create another new release strategy that the criteria overlay the characteristic of this old release strategy,
    for new PO, no release strategy will be getting determine.
    Best Regards,
    Ian

  • New Page in ALV for Value Change on a Field

    Is it possible to trigger a new page while prinitng from ALV whenever a value changes in a column.
    Thank you,
    Shashi Reddy

    Hi,
    Yes it is possible to add page breaks on a particular column while previewing/printing from ALV.
    Declare a structure like
    DATA:  gs_print    type lvc_s_prnt.
    and before calling set_table_for_first_display, write
    gs_print-grpchgedit = 'X'.
    Now pass this structure to the method as follows:
        call method grid->set_table_for_first_display
             exporting
               is_print         = gs_print
               is_layout        = gs_layout
               is_variant       = gs_variant
               i_save           = 'A'
               i_default        = 'X'
             changing
               it_fieldcatalog = gt_fieldcat[]
               it_outtab        = g_t_outtab[]
               it_sort          = gt_sort[].
    Run the report. Now when you are in the print preview mode, press the sort ascending or descending button on toolbar (without selecting a column). A dialog box appears asking for sort order. Add the required field, from the available list on right hand side, on which you want a page-break. In the last column titled NG of this sort order dialog box, write * for page feed or UL for line feed. Press Copy button to see the effect.
    Hope this helps.
    Regards
    Shehryar

  • How to capture the user change in an input field on a selection screen?

    I am coding a selection screen in which there are two input fields. The first field takes a Unix directory from the user input. Based on the input value, the second field will be populated with a the name of a file under the corresponding directory.
    My question is how I can make the program capture the user input without having to make the user press ENTER after they enter the value in the first field?
    Any help will be greatly appreciated.

    Venkat,
    Actually you led me to the real solution! It's the function module DYNP_VALUES_READ that does the trick for me. This function enables the program to capture dynamic user changes without recourse to PAI. Please refer to the code below:
    REPORT   zreiabsintf MESSAGE-ID zreiabsintfmc.
    *<HGDC------------------------------------------------------------------
    *  Selection screen for the conversion program
    *HGDC>------------------------------------------------------------------
    SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-001.
    PARAMETERS: p_indir   LIKE epsf-epsdirnam OBLIGATORY,                   " Inbound file directory
                p_infile  LIKE epsf-epsfilnam DEFAULT gc_infile OBLIGATORY, " Inbound file name
    SELECTION-SCREEN END OF BLOCK input.
    *<HGDC------------------------------------------------------------------
    *   Displays a file-open dialog when the user clicks the search
    *   help button next to the inbound file text field. The user
    *   can select the inbound file visually.
    *HGDC>------------------------------------------------------------------
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_infile.
    * Capture any user change to the directory.
      PERFORM check_dir_change.
    * Display the file open dialog
      PERFORM file_open_dialog CHANGING p_infile.
    *<HGDC------------------------------------------------------------------
    * Global constants
    *HGDC>------------------------------------------------------------------
    CONSTANTS:
        gc_indir  LIKE epsf-epsdirnam
                  VALUE '/interfaces/<SID>/inbound/',      " Default inbound directory template
        gc_infile LIKE epsf-epsfilnam VALUE 'input'.       " Default inbound file name
    *<HGDC------------------------------------------------------------------
    * Global data
    *HGDC>------------------------------------------------------------------
    DATA:
        gs_dynpfields   TYPE dynpread,                        " Fields of the current screen
         gt_dynpfields   LIKE STANDARD TABLE OF gs_dynpfields. " Table of the screen fields
    *&      Form  file_open_dialog
    *       Opens a dialog window for the user to choose a file in
    *       the specified Unix directory.
    *      <--P_FILE is the file to be selected.
    FORM file_open_dialog  CHANGING p_file.
    * Validate the directory.
      OPEN DATASET p_indir FOR INPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        MESSAGE i001(zreiabsintfmc) WITH p_indir.    " Unable to open the given directory
        EXIT.
      ENDIF.
      CLOSE DATASET p_indir.
    * Call the dialog window to open a file in the directory.
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = p_indir
        IMPORTING
          serverfile       = p_file
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc NE 0.
        MESSAGE i002(zreiabsintfmc).                 " Failed to open the file.
        EXIT.
      ENDIF.
    ENDFORM.                    " file_open_dialog
    *&      Form  check_dir_change
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM check_dir_change .
      CLEAR gs_dynpfields.
      CLEAR gt_dynpfields.
      gs_dynpfields-fieldname = 'P_INDIR'.
      gs_dynpfields-fieldvalue = p_indir.
      APPEND gs_dynpfields TO gt_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = sy-repid
          dynumb               = sy-dynnr
        TABLES
          dynpfields           = gt_dynpfields
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          stepl_not_found      = 10
          OTHERS               = 11.
      IF sy-subrc  NE 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE gt_dynpfields INTO gs_dynpfields INDEX 1.
      p_indir = gs_dynpfields-fieldvalue.
    ENDFORM.                    " check_dir_change
    Thanks for all your answers! The problem is now solved.
    Edited by: Ning Hu on Apr 9, 2008 11:32 AM
    Edited by: Ning Hu on Apr 9, 2008 11:34 AM

  • Assign a value from dropdownlist to input field value on BSP page

    Hi,
    I'm new to SAP and ABAP. We have a CRM project in which I have to maintain BSP pages.
    Now, coming to my problem: I have a input field with
    value = "//BTAdminH/HeaderInfo"
    This field is normally maintainable. The required function is now to set this field as not maintainable/readonly. Then, the value should be set automatically to an value, which will be selected from a dropdownListBox. After saving, the value HeaderInfo should have the same value like the selected value from the dropdownListBox.
    How can I now set the field as readonly (this should be the easier part) and
    how can I set the value for the HeaderInfo to the value of the selected value from the dropdownListBox?
    If I set it directly like this
    value = "//BTActivity/Priority"
    it is shown on the BSP page correclty, but it is not saved as HeaderInfo.
    Please help me.
    Enja

    Hello Gokul,
    test was only for test purposes! I am using as a separator the plus sign!
    But this is not the problem!
    In debugging, the local variable has the concatenated value! So, this is working!
    oncatenate ls_ddlb1-value ls_ddlb2-value ls_ddlb3-value into lv_headerinfo SEPARATED BY ' + '.
    But when I assign the value of my set_headerinfo to the local variable, then it is returning only the separator sign!!!
    if BTAdminH->GET_HEADERINFO( 'HEADERINFO' ) is initial.
        BTAdminH->SET_HEADERINFO( attribute_path = 'HEADERINFO' value = lv_headerinfo ).
      endif.
    If I declare the local variable as one of the dropdown values, then it is getting populated also for set_headerinfo
    lv_headerinfo  =ls_ddlb1-value.
    So, the assigning is also working! But it is not working, when the local variable equals more than one value! I hope that I could explained it in the right way for you!!!!
    So. why is the value for set_headerinfo not the same as the one for the local variable! The local variable has the correct value after the concatination.
    Regards
    Enja

  • Integration Event for tracking changes to Activity Primary Contact

    I want to trigger an Integration Event when the Primary Contact of an Activity is changed.
    But, when I try to configure the Integration Event, on the "Field Tracking" page, I don't see any fields that relate to Contact.
    It appears that I can track changes to Service Request, Campaign, Dealer, Delegated By, Lead, Opportunity, Owner & Site - but not Contact?
    The only workaround that I can think of is to write workflow/default rules that will copy any field related to the Activity Primary Contact into a Custom Field on the Activity Record - and then tracking changes on that Custom field - but have so far failed to achieve that either.
    Anybody have a solution?
    Chris

    Helpful, but we're six weeks away from our R16 date - I'm on R15 and may just have to cope without this integration for a while.

  • Intensive slider control use may lead to LabVIEW hang and system instability when coupled to event loop "Value Change"

     Occasionally, over the past year or two, I have noticed on different machines and versions of LabVIEW (8.0 and 8.5) that intensive operation of the LabVIEW slider control (holding down the left mouse button and shaking the mouse quickly back and forth to move the slider for several seconds) may cause LabVIEW to hang with high CPU usage (50% on my current test machine, which has a Pentium IV "hyperthreaded" processor, so 50% is the max that a single thread can take up). In some instances, after the LabVIEW process is forced to quit, the system itself becomes unstable (more high CPU usage) or hangs, up to and including the need for a hard restart. I have seen this behavior both when handling slider change events the "old fashioned" way with a while loop and a case structure; and also when using a while loop with an event structure handling the "Value Change" event for the slider. 
    Attached is an .rtf file dump of the front panel and block diagram of a simple test VI that replicates this problem in my hands (using an event structure). The loop count runs to at least several hundred iterations before the crash occurs.
    At least for the "old fashioned" loop handling method, adding a forced wait of a few dozen msec per loop didn't seem to be a workaround. I haven't tried this idea with the event structure, but don't expect joy to follow. The possibility of a system hang discourages aggressive experimentation. 
    Is this a known issue? Can anyone else replicate it (carefully)? In any case, I'd welcome other suggestions for workarounds.
    Thanks,
    Darin Nelson
    Attachments:
    Hang Slider.rtf ‏683 KB

    Thanks for all your responses, and especially to those who are waggling their mice around trying to reproduce this. I'll respond to (most aspects of) the last several posts in one message.
    LabViewGuruWannabe:
      I'll see if I can get the original code to post in a separate message, I posted the .rtf originally because I thought there might be filtering on forum posts (I'm sort of new here). But I doubt you re-created it wrong.
      The "more modern" test hardware was an Intel Core2 , 2.4 GHz, 2Gb RAM, on an Intel 965 family motherboard. As I said, it took me two tries to trigger the error on this hardware; in the case where it triggered, I was at almost 12000 iterations before things went south. 10000 iterations, therefore, might not be enough--or you might never get it, for all I know. My Pentium 4 Hyperthreaded machine (3.2 GHz, 2 Gb RAM) triggers the hang much more easily (always within 2500 iterations, usually within 1000), so there seems to be some hardware dependence here. Maybe the workaround is just to use hardware recent enough that no one not under the influence of strange compulsions will accidentally trigger the hang.
    TonP:
      After reading your suggestion, I tried something even more radical  -- getting rid of the handling code altogether. I took the slider node out of the while loop, and removed all code inside the "Slide" case of the event structure.
     On my Pentium 4 machine, the hang triggered after 677 iterations.
    Brian Beal:
    <!--
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
    span.EmailStyle15
    {mso-style-typeersonal;
    mso-style-noshow:yes;
    mso-ansi-font-size:10.0pt;
    mso-bidi-font-size:10.0pt;
    font-family:"Courier New";
    mso-ascii-font-family:"Courier New";
    mso-hansi-font-family:"Courier New";
    mso-bidi-font-family:"Courier New";
    color:windowtext;
    mso-text-animation:none;
    font-weight:normal;
    font-style:normal;
    text-decoration:none;
    text-underline:none;
    text-decoration:none;
    text-line-through:none;}
    @page Section1
    {size:8.5in 11.0in;
    margin:1.0in 1.25in 1.0in 1.25in;
    mso-header-margin:.5in;
    mso-footer-margin:.5in;
    mso-paper-source:0;}
    div.Section1
    {pageection1;}
    -->
     Huh, I never even noticed that checkbox existed. Anyway, yes, I
    kept the default to lock out the front panel while the event process. If I
    disable it… I still get the hang.
    Message Edited by dman on 02-04-2008 06:36 AM

  • Event for a change in the cursor legend

    Hi!
    I need to recognize a change of the cursor properties by the user through the XY-Graph Cursor Legend! (i.e. changing cursor color)
    There seems to be no event for that in my event structure (although there is a event for changing the plot properties through the plot legend).
    I'm using LV2009SP1.
    Greets CtheR

    I need the recognize any change of the cursor props made by the user. Like that:
    Watching the cursor-Property for a change would be no help because there are automatic changes that I do not want to catch.
    Something similar to the plot attribute change event in an event structure would be most helpful:
    Greets CtheR

  • Event for Material Change and Delete

    Experts,
      Is any Standard events available to trigger the workflow when the material is changed or deleted from the material master.

    First check any event is getting Triggered or not. If yes job done use it if not then find user Exit from which you can trigger event by writing code.
    You can make use of FM
    SAP_WAPI_CREATE_EVENT
    SWE_EVENT_CREATE
    to trigger custom event.
    You can check this code
    FUNCTION zwf_process_honorarium .
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_EMP_NUMBER) TYPE  PERNR_D
    *"     VALUE(I_EMP_NAME) TYPE  ENAME
    *"     VALUE(I_BEGIN_DATE) TYPE  BEGDA
    *"     VALUE(I_CURRENT_SAL) TYPE  ANSAL
    *"     VALUE(I_HON_SAL_GRD) TYPE  TRFGR
    *"     VALUE(I_HONORARIUM_SAL) TYPE  ANSAL
    *"     VALUE(I_JUSTIFICATION) TYPE  CHAR100
    *"     VALUE(I_PERCENT_DUTY) TYPE  INT1
    *"     VALUE(I_END_DATE) TYPE  ENDDA
      INCLUDE <cntn01> .
      DATA:i_emp_details TYPE STANDARD TABLE OF p0001,  "Employee Details
           wa_request    TYPE p0001,                    "Workarea for Employee details
           v_country_grp TYPE molga,                    "Country SubGrouping
           v_object_key  TYPE sweinstcou-objkey,        "Key for the buisness object ZWOBUSHONO
           v_request_det TYPE zwf_ms_honorarium.        "PCR data
      CONSTANTS: c_bo_hono     TYPE swo_objtyp VALUE 'ZWOBUSHONO',
                 c_event_hono  TYPE swo_event  VALUE 'HonReq',
                 c_infy_type_1 TYPE infty      VALUE '0001'.
    Event Container declaration
      swc_container i_event_cont.
      swc_create_container i_event_cont.
    Reading the INFO TYPE 0001 to obtain the
    Employee details
      CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
          pernr           = i_emp_number
          infty           = c_infy_type_1
          begda           = sy-datum
          endda           = sy-datum
        TABLES
          infty_tab       = i_emp_details
        EXCEPTIONS
          infty_not_found = 1
          OTHERS          = 2.
    SY-SUBRC check is not required as the error
    handelling will be done by WorkFlow rule
    resolution.
    Filling up the PCR data in structure v_request_det
    which will be passed to event container.
      v_request_det-emp_number     = i_emp_number.
      v_request_det-name           = i_emp_name.
      v_request_det-begin_date     = i_begin_date.
      v_request_det-current_sal    = i_current_sal.
      v_request_det-hon_grade      = i_hon_sal_grd.
      v_request_det-hon_grd_sal    = i_honorarium_sal.
      v_request_det-justification  = i_justification.
      v_request_det-percent_duty   = i_percent_duty.
      v_request_det-end_date       = i_end_date.
      CLEAR wa_request.
      READ TABLE i_emp_details INTO wa_request INDEX 1.
      IF sy-subrc = 0.
      Retrieving the Country SubGrouping for the employee
        SELECT SINGLE molga
          FROM t001p
          INTO v_country_grp
         WHERE werks = wa_request-werks
           AND btrtl = wa_request-persk.
      ENDIF.
    Sending the relevant data to event container
      swc_set_element i_event_cont 'RequestData'     v_request_det.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'PersonalArea'    wa_request-werks.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'EmpSubGrp'       wa_request-persk.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
    Raising the event to trigger the workflow
      v_object_key = i_emp_number.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype           = c_bo_hono
          objkey            = v_object_key
          event             = c_event_hono
        TABLES
          event_container   = i_event_cont
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      COMMIT WORK.
    Thanks
    Arghadip

  • IS-H Events for Patient Change

    Hy all!
    My external application needs to be informed by IS-H in case of new patients or patient change.
    Are there such events available in IS-H?
    If yes: How can I configure such events? What interface has my application to provide?
    Thanks in advance!

    Hy Raimund,
    if you want to have a solution NOW, you may use the existing the IS-H communication capabilities. Especially, the HCM for (hospital-) internal communication is relevant here. This modules covers standard messages (the so-called HCM-messages) that are produced in an asynchronous event-driven manner.
    And there are/should be events and messages for broadcasting patient manipulation.
    For more information, check the "Commu ication Guide for External System Partners".
    You should reach it via the following url:
    https://websmp201.sap-ag.de/HEALTHCARE-GUIDES
    If you don't need the solution NOW, just be informed that driven by the current ESOA activities there also will be outbound service operations providing you with patient manipulation information. I don't have the actual schedule at hands, but it'll be provided by one of the coming enhancement packages (EhP) of ERP2005.
    Also an IHE conformant integration (IS-H as "patient demographics supplier"; partner system as "patient demographics consumer" according to the "Patient Administration Management" Integration Profile (see widly published IHE technical framework documentation) should be supported with this approach.
    This last integration approach will probably be the best "long term" approach for most of your integration issues.
    kind regards
    Ali G.

  • Event FOR contract  Changed in SRM

    Hi frnds
    I am using business object BUS2000113 FOR SRM .
    I want to know which event gets triggred when the contract is released .
    I have used ChangeVersionSaved & saved events but still i m not able to triger my workflow .
    Can you plz help .
    Thansk

    I think the Saved event gets triggered. Please check whether the linkage is activated and the start condition is configured in SWB_COND. Also make sure you are properly creating a contract. It would be good if you first check the contract and then create it.
    Thanks
    Arghadip

  • Function "Wait for value change"

    Hello, I want a sequence to wait until a boolean variable in another part of the block diagram becomes true. Is there a function that I can put in one of the frames of the sequence that does the job?
    Thanks a lot

    Would a semaphore work in your application?
    (Click on LabVIEW Help, and index the semaphore topic.) Grab the semaphore when you set the boolean to false, release it when you set it true.
    [email protected]

  • Event for cell change

    Hello,
    how is it possible to determine in a JTable if a user switch from the actual cell to an other cell?
    Tanks!

    JTable table = new JTable(...l)
         public void changeSelection(int row, int column, boolean toggle, boolean extend)
              super.changeSelection(row, column, toggle, extend);
              System.out.println(row + " : " + column);
    };

Maybe you are looking for

  • IPod Touch screen has gone white with grey lines

    I have had my iPod Touch for a year and a half, so unfortunately it is out of warranty. About two months ago it started behaving strangely. Every other time I turned it on there would be a white screen which after a few seconds would get slightly dar

  • Usa in the uk?

    I heading to the states, anyone know if i buy the iphone 4 over there and bring it back it will work in the uk?

  • N80 Calendar Problem

    All of a sudden I can't access my calendar on my N80. It just jumps back to the calendar main menu. Can't even update new anniversaries etc. Can anybody assist?

  • MSCRM 2015 Charts

    Hi All, I have a RetrieveMultiple plugin which will fire on the views of Opportunity, a Pre-Event plugin. For E.g.: 'All Opportunities' view returns total of '10' records after my RetrieveMultiple plugin fires. When I use 'All Opportunities' view in

  • Content Encryption and Signatures

    Hi there, I wonder if there exist any interface implementations or adapters realizing signing and encrypting/decrypting message content. Wouldn't XI be the ideal central place to handle a general security concept for data being exchanged over public