How to triger a event when select search help

code like this
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pa_werks LIKE t001w-werks.
SELECTION-SCREEN COMMENT 20(10) g_werks.
SELECTION-SCREEN END OF LINE.
AT SELECTION-SCREEN ON pa_werks.
  g_werks = pa_werks.
I want when select search help ,g_werk changed,but now  only press enter g_werks will be change
how can I do ? when select a value from search help  g_werks change

Hi,
Use something like this:-
PARAMETERS : p_werks TYPE t001w-werks.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.
  PERFORM get_f4_help.
*&      Form  GET_F4_HELP
*      -->P_WERKS  text
  "populate an internal table with all possible values to be displyed
  "Use FM F4IF_INT_TABLE_VALUE_REQUEST
Hope this helps you.
Regards,
Tarun

Similar Messages

  • How do i split events when Split Events Before Selected Clips is not even highlighted

    iMovie question - how do i split events when Split Events Before Selected Clips is not even highlighted?  I just puchased this new iMac yesterday and i am still trying to figure things out!

    You should start by having a read of the online manuals and correct forums.
    This forum is for iOS (iPads and iPhones).
    There are plenty of great resources on the Apple website,
    but try to search for iMovie Mac.

  • How to Process event when select ALV mark ?

    Hi.
    The Screen have ALV data.
    How to Process event when select ALV mark ?
    Regards.
    LY.

    EVENT
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = it_events[]
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
    IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      READ TABLE it_events WITH KEY name = slis_ev_top_of_page
                                    INTO it_events.
      IF sy-subrc = 0.
        MOVE t_formname_top_of_page TO it_events-form.
        APPEND it_events.
      ENDIF.
    ALV
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          it_fieldcat        = it_fieldcat
          it_events          = it_events[]
          i_callback_program = sy-repid
          is_layout          = gs_layout
          i_save             = g_save
          is_variant         = gx_variant
        TABLES
          t_outtab           = i_data[].

  • How to add one column in existing search help.

    Hi Folks,
    My quesion is
    How to add one column in existing search help and also Now search help on that field is not an explicit search help. It should be implement using check table.
    Shivam

    Hi,
    If you want to add a field in Elementary search help, get the search help name for the and go to change mode and add the field in it.
    If you want to add a field in collective search help, go to included search helps tab and a new search help name and add the fields to it.
    I think this should help you to certain extent.
    Regards,
    Kranthi
    Edited by: Kranthi on Jan 14, 2010 11:15 AM

  • How to invoke an event when i select one of the items in my JComboBox

    Can any one help me for doing this,i have a combobox in a panel,when i select one item in the combobox some text fields below the combobox need to be disabled,that disabled components vary with the item selected,i try to do this by using event listener but some how i could not get invoke the event,pl some one help me for this,any help would be appreciated.
    Regards.

    The block:
    ivjJComboBox1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    ivjJComboBox1_mouseClicked(e);
    usually should be included in your constructor or init method.
    The method:
    void ivjJComboBox1_mouseClicked(MouseEvent e){
    String s = (String)ivjJComboBox1.getSelectedItem();
    System.out.println(s);
    should be outside your constructor or init method.
    So it should be:
    public class yourClassName extends xxxxx implements xxxxx
    public yourClassName (...) {
    ivjJComboBox1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    ivjJComboBox1_mouseClicked(e);
    void ivjJComboBox1_mouseClicked(MouseEvent e){
    String s = (String)ivjJComboBox1.getSelectedItem();
    System.out.println(s);

  • How to pass the default value to search help selection screen

    Hi
    I need to push a certain value as a default value based on a condition to the slection screen of search help in web UI.
    Could you please let me know how can we do this?
    When we try to open the 'F4' help in web ui then it should populate a certain value as a default value to the selection screen of this 'F4' help. We will get this  default value based on condition.
    Regards
    Anil

    Hi Arun
    I'm using SE11 search help.I'm giving you my code for your reference here.
    DATA:
        ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
        lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lr_qs           TYPE REF TO cl_crm_bol_dquery_service,
        lr_current     TYPE REF TO if_bol_bo_property_access,
        lv_category    TYPE STRING.
      ls_map-context_attr = 'struct.zzattr_i_1'.
      ls_map-f4_attr      = 'ATTRIBUTE'.
      APPEND ls_map TO: lt_inmap,lt_outmap.
      CLEAR ls_map.
      ls_map-context_attr = 'struct.zzattr_i_1'.
      ls_map-f4_attr      = 'SERVICE_LINE'.
      APPEND ls_map TO: lt_inmap.
      CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = 'ZATTR1'
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_trigger_submit           = abap_true
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap.
    Here 'ZATTR1' is my search help name in SE11 and the field which is having 'F4' help is 'ATTRIBUTE'.
    Now when I press 'F4' on 'ATTRIBUTE' then it will give a popup and this popup is having 3 fields..
    1.'ATTRIBUTE'
    2.'SERVICE_LINE'
    3.Description of 'SERVICE_LINE'  and hence by pressing 'F4' i should get a value in the field 'SERVICE_LINE' based on
       a condition.
    However, if there is a value for ATTRIBUTE on the screen and when we press 'F4' on this then in the popup the value of
    ATTRIBUTE which is there on the screen is appearing in the 'ATTRIBUTE' field  and the same value is being copied to
    'SERVICE_LINE' field in the popup.
    Please guide me how do we populate the value to 'SERVICE_LINE' field inside the search help popup of 'ATTRIBUTE'.
    Best Regards
    Anil

  • Event handler on search help PREM how to?

    Hello!
    I'm new to webdynpro and did already some basic tutorials.
    One thing which isn't covered there i want to know...
    I have for example to attributes.
    PERSNO and ENAME.
    On Perso i have the basic search help PREM
    In my webdynpro i have these 2 Input fields. Now i need an event which fills the ENAME, after i selected a PERNR via the search help.
    How can i handle these events?
    greets thomas

    Hi
    see standard component WDR_TEST_OVS
    this link will be helpful
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/abap%2bwd%2bobject%2bvalue%2bselector(OVS)
    Abhi

  • How to handle Valuechange events, when page bean is in request scope

    Hello balusc and forum mates,
    I want to know is there any good way to handle ValueChangeEvents events, when the page's bean in request scope.
    My problem is, I have a page having more than 1 value change event so How can I maintain page values at backing bean. My bean is request scope, I can't change to session scope.
    Please I really need it.

    Hi Frank...
    In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
    You can refer that example to see what problem I'm facing...
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    The Bean Scope in this Example is Session scope...Save button is working fine...
    But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
    I want that save button should work also for Edit action in Request Scope..
    Please Make me understand that why it is happened like that..
    and help me to find the solution..
    and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
    It would be a great help for me to understand the concept of session...
    Thanks Frank
    Fizzz...

  • How to trigger a event when WBS gets changed in Cj02

    Hello,
    I have a requirement where I need to send create an idoc and send the idoc to external system when WBS is created or changed.  Currently, I have the following setup:
       - I have created a YBUS2054 as a subtype of BUS2054 using SWO1
       - YBUS2054 has been delegated to BUS2054
       - created an CHANGED event in the YBUS2054. This event is implemented and then released
       - created a type linkage (object type=YBUS2054, event=CHANGED, receiver type null, and receiver function module = zz_create_wbs_idoc) using SWETYPV. This function is supposed to create an idoc when CHANGED event occurs. I just don't know how to trigger the event to occur.
       - all the port, define idoc type, logical system, and etc are setup
       - when I try to create an entry in "Event for Chagne Document" using SWEC with change doc object=PROJ, business object type = YBUS2054, with on change, I get "Key for change doc object PROJ and business object type YBUS2054 are incompatible".
    I tried various configurations, and I was not successfully in creating an event on CHANGED
    can you please advise what I am missing in getting the changed event to trigger?
    Thank you in advance,
    Shawn

    Hi,
    If the change doc doesnt exist, check if you can create an event using BSVW.
    Also use the event log to see if there are other sap standard events happening.
    I checked the package belonging to CJ02 to see if there is something useable, but didn't find anything: CN_PSP_OPR
    If there are no sap standard ways to get an event, you'll have to find a badi/enhancement spot and include some coding to start the event using fm SAP_WAPI_CREATE_EVENT.
    Kind regards, Rob Dielemans

  • How to trigger an event when a job is cancelled

    Hi,
    Can anyone help me out wid a transaction that will trigger an event when a job is
    cancelled....??
    My scenario is :
    When a job is cancelled (SM37) or in cancelled status  i want notify to certain ppl thru emails.
    How do i go abt doing the same??
    Its Urgent...
    Answers will be rewarded.
    regards,
    Rohan

    Hi,
    please check out the link below it might help you
    http://help.sap.com/saphelp_nw2004s/helpdata/en/71/a8a77955bc11d194aa0000e8353423/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/97d2e8b3-0b01-0010-b787-b8ce558a51c2
    for table name and list of function please check out the links below it will help you
    http://www.erpgenie.com/sap/abap/tables_system.htm
    http://www.sap-img.com/abap/function-list.htm
    **************please reward points if the information is helpful to you**********

  • How to catch an event when the user change values in the project information dialog

    hi,
    i would like to know how to catch an event in my C# code when the user change values in the project information dialog?
    taskChange doesn't catch these changes.
    thanks.
    Thanks, Sharon.

    You need to write save button event handler for project information dialog. Link is having same functionality described. 
    http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx
    http://www.projectserver2010blog.com/2010/01/sharepoint-2010-webpart-client-server.html
    kirtesh

  • How to set Max Rows when I search extended attribute in Admin Setting?

    When I search extended attributes in Admin Setting, the default max row is 500.
    Can I change the Max rows' Setting?
    Thanks

    We don't have a feature config for this in the core application, however you can adjust the 500 limit using a ready report.  Ready Reports is a solution pack that allows you to create saved searches in the form of reports.  You can get the ready reports solution pack in the latest extensibility pack.

  • Eventing on dictionary search help on date field

    Hi Experts,
    In my WDABAP application I have a Date input field. I have used dictionary search help into this field to display calender searc help.
    Now on select of the date from the calender I want to trigger one event which will enable some other fields in the application.
    Can you please tell me how to implement this on select event of the date.
    Thanks
    Sonia.

    Hi,
      Since you are using an Input Field , only event possible is "On Enter" event.This event is triggered when  "enter" key is pressed by the user after selecting a value in the input field.So may be you can use this and proceed further.
    Although it may not serve you the actual requirement that you have to achieve , because input field does not have any event for "On select".
    [On Enter|http://help.sap.com/erp2005_ehp_04/helpdata/EN/14/0ce74114a1da6fe10000000a1550b0/frameset.htm] this link might help
    Cheers,
    Aditya.

  • How to use Import parameters of a search help

    Hi,
    Could you please tell me how to use import & export parameters of a search help in the report.

    Hi,
    Import parameters are imported from the selection screen of the report into the search help and then these are used to query in the search help.
    For example
    case 1.
    parameters : p_carrid like sflight-carrid.
    parameters : p_connid like sflight-connid.
    the search help that is used in the above condition is
    SFLIGHT.
    And the selection method is SFLIGHT in this search help.
    ( to check which search help is used go to se11 display the table and put your cursor on the field and in the menu for goto--> search help.)
    so when you do an F4 on connid it looks for a field which is declared like SFLIGHT-CARRID ( and the value entered in it) since the SFLIGHT-CARRRID is an import parameter in the search help,  and queries the database where the value is equal to the p_carrid which is declared like SFLIGHT-CARRID and gets only data which is equal to carrid
    case 2.
    parameters : p_carrid like SCARR-carrid.
    parameters : p_connid like sflight-connid.
    In this case the system will fetch all the data.
    since there is no parameter for SFLIGHT-CARRID on the selection screen it would get all the data from SFLIGHT.

  • How to display check box in the search help restriction pop-up window

    Hi Experts,
    I have created one searc help with dialog value restrictions. Search help contains 4 fields.
    Out of which one field has length one character.
    As oon as user press on F4 on particular field, it will display pop-up window with restrictions and displayed 4 fields.
    I would like to show that field ( one character length field) as check box in search help restrictions pop-up window.
    Pls help me ,... How can we acheive this..
    Thanks
    Raghu

    Ur Exact Requirement,
    Types : begin of itab,
         fields type c,
         Check type c,(For Check Box)
         end of itab.
    data it_tab type standard table of itab.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_input-low.(If it is in select-options)
      CLEAR  v_input.
      GET CURSOR FIELD s_input VALUE  v_input.
      CALL FUNCTION 'AIPC_CONVERT_TO_UPPERCASE'
        EXPORTING
          i_input  = v_input
          i_langu  = sy-langu
        IMPORTING
          e_output = v_input.
      CLEAR s_input-low.
      IF v_input NE '' .
        IF v_input NE '?'..
          v_input1-sign = 'I'.
          v_input1-option = 'CP'.
          v_input1-low = v_input.
          APPEND v_input1.
        ENDIF.
      ENDIF.
    SELECT DISTINCT   Field
                      FROM Table
                      INTO TABLE it_tab
                      WHERE field IN v_input.
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
              EXPORTING
                i_title                 = 'Select Colors'
               i_selection             = 'X'
                i_zebra                 = 'X'
                i_screen_start_column   = 5
                i_screen_start_line     = 5
                i_screen_end_column     = 30
                i_screen_end_line       = 12
                i_checkbox_fieldname    = 'CHECK'
                i_tabname               = 'IT_TAB'
                i_scroll_to_sel_line    = 'X'
                it_fieldcat             = it_fieldcat1
                i_callback_program      = sy-repid
                i_callback_user_command = 'USER_COMMAND1'
              IMPORTING
                es_selfield             = selfield
              TABLES
                t_outtab                = it_tab
              EXCEPTIONS
                program_error           = 1.
    Cheers,
    Naveen

Maybe you are looking for

  • Validation in Tabular form column

    Dear All, i am using tabular form (Apex 4.1) to create new project users. i want to apply validation on column of tabular form. i have multiple entry in tabular form .i want to iterate throuh all records to check validation but my code is not iterati

  • How can I use the DBAdapter with SequencingPollingStrategy in OSB Cluster?

    Hi! I have a OSB cluster. I need to read a view with the DBAdapter. I use SequencingPollingStrategy to implement the adapter. Then I import it into OSB and make it work and the service works normally in the single node. But if I import it into OSB cl

  • Down payment process without FAZ type

    Hi, How to work on advance payment , when i create a sale order it should check and show me with a pop message that the downpayment is  due , This should happen in normal sale order process. I.e., OR-LF-F2 Please advice

  • Generating the output in Ascending order of Date (Month-YY)

    Hi I have a query as below... I want the result to be in Ascending order of date in the form of (Month-YY) but i couled get the desired order the result is next to the query... SELECT TO_CHAR (TRUNC (TO_DATE (poh_date_d), 'MON'), 'MONTH') || ' - ' ||

  • Restartign the Oracle JVM

    Hi, Is anybody aware of how to stop, restart the Oracle JVM, without shutting down or restarting the entire Database instance. I noticed two PROCEDUREs 1 server_startup 2 server_shutdown in DBMS_JAVA Package, but they don't do anything, (i execute th