Further action after leaving search help without event "onEnter"

Hi,
I created an iView with an input field to select an employee with search help PREM. Everything works well, so I can search by several match codes.
And here's my problem: I need the name of the employee in an output field of my iView whenever I select a result of the search help without pressing the enter key (just to make the user sure to use the right employee).
Is there the possibility to call a customer function and afterwards to bind the element? Ok, I think I need an interaction – but how can I do this without the event onEnter? I just want to select an employee with the search help and -when returning back- displaying his name.
We substituted an html-application with this iView. The html-appl used a piece of java script in which we used the "on blur"-function, so when we left the input field we called a function to select the employee's name. This way was fine...
Ok folks, who has an idea/solution?!
Steffen

hi steff........
           what you can do is... instead of a standard search help, you can use ovs... so in the coding part you can fill other details too with respect to the selected value... or
        try filling the output field  in the wddomodify method.
---regards,
   alex b justin

Similar Messages

  • Generic problem for search help without values

    Hi,
    Always I open a search help without values I get the warning popup "No values found" but after this no link let me come back to the previous screen.
    Does anybody know how I can solve this (in a standard way)
    thanks
    regards

    Hi
    It seems to be a bug in the system.
    <b>Please have a look at the following SAP OSS Notes -></b>
    <u>Note 574604 - Various correction reports for EBP business partner
    Note 1028643 - Input help for contact persons in purchase order
    Note 843008 - EBP4.0 and higher: Terms of Payment, Texts and codes
    526416 Structural enhancements LFA1
    698246 EBP 4.0 address maintenance: Default address for address use
    701321 EBP 3.5 address maintenance: Default address for address use
    701323 EBP 3.0 address maintenance: Default address for address use
    701384 BBP 2.0C address maintenance:Default address for address use
    690619 Plants are not transferred during location replication
    641960 New processing of terms of payment in EBP 3.5
    628386 Incorrect link for EBP for 'External business partners'
    Note 544392 Error in search helps EBP 2.0
    Note 544816 Error in search helps EBP 3.5
    Note 544713 Error in search helps EBP 3.0</u>
    Please raise a customer OSS message with SAP as well.
    Regards
    - Atul

  • CIC - action in the search help Folder

    Hello,
    i have a problem with my serch help folder in the CIC.
    I want to start the customer serch help with my own criteria.
    In order to do this, i create a new Button.
    Can anibody tell me, witch FB and includes are concerned, when i click on the serch button, that is customized in the standard ( the Button 'Search' in the HTML- template.
    I Know that i can create a new Button in the template CRM_CIC_SEARCH_DISPLAY ( copy my own ) .
    The text of the my own Button i create in the FB CCMCS_GET_TEXTS_FOR_HTML.
    But where can i create my own action ?
    kind regards
    Torsten

    SAPEVENT:UNDO               -     Reset() + Delete           SAPEVENT:FIND               -     Search           SAPEVENT:FIND2               -     Search           SAPEVENT:OKAY               -     Confirm           SAPEVENT:LEAN_SAVE          -     
    and later
         function FIND()
                     { document.FORM1.action = "SAPEVENT:FIND"; document.FORM1.submit(); function FIND2()      {      document.FORM1.action = "SAPEVENT:FIND";                                                                                document.FORM1.submit();                                                                                }                                                                               
    I hope you or anybody else can explain me, how the Information, witch Button was clicked, was transported to the SAP- framework, that start the Customer Search Help.
    Kind regards
    Torsten
    (Sry for this three posts, the editor has serious problems with preserved words
    like "onClick")

  • Search Help without join condtion

    Hi
    My requirement is I have to add two same fields from different table.
    Eg.
    LFA1-SPERM (Purch. block)
    LFM1-SPERM (Pur. block POrg)
    But they dont want join condtion. How can i add these two fields to view fields and also in search help parameter without using join condition?
    Thanks,
    Ezhilarasi.

    HI,
    you can do one thing
    Create a ztable
    Add these two fields in this table
    Create a serach help for one of the fields
    and include both the fields as the search help parameters

  • Action code for search help

    Hi,
    what is the action code for F4 help in ABAP ?
    For example for clicking on send button it is "send " , in the same manner what is for F4 help ?

    There is no action code for standard f4. It's handle by system internal it self.

  • Search help without search option

    Hi
    I would like to know how can i implement a search help in which i
    dont need a search option in the search help window.
    It should just display the list of available entries .
    I already have a search help with a search option,i need to modify the same.
    Please let me know..
    Regards
    Leon

    Hi,
              You will have to write a Search Help Exit and attach the search help to the search profile of the ordered product
    Refer the link
    https://forums.sdn.sap.com/click.jspa?searchID=3614449&messageID=1933569
    Regards

  • Data is not being populated in screen field PSPNR after F4 search help.

    Hi expert,
    I have added one field GW_SELECT-PSPNR in existing screen 100, and there are many fields already existing.
    and there are POV for 4 fielda and i added POV for field GW_SELECT-PSPNR.
    PROCESS ON VALUE-REQUEST.
      FIELD gw_select-kostl MODULE determine_kostl.
      FIELD gw_select-aufnr MODULE determine_aufnr.
      FIELD gw_select-matnr MODULE determine_matnr.
      FIELD gw_select-bwart MODULE determine_bwart.
    ***Added by me
      FIELD gw_select-pspnr MODULE determine_pspnr.
    ****end add
    now problem is that the value is not being populated in screen.
    values are coming in field GW_SELECT-PSPNR but in screen its not being populated.
    i tried function module 'DYNP_VALUES_UPDATE' then also its not being populated
    now this module MODULE determine_pspnr has code inside
    MODULE DETERMINE_PSPNR INPUT.
       DATA:w_dynpfields TYPE dynpread,
         i_dynpfields LIKE STANDARD TABLE OF dynpread.
      PERFORM fill_pspnr.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'PSPNR'
          value_org       = 'S'
        TABLES
          value_tab       = gt_pspnr
         field_tab       = lt_field_tab
          return_tab      = lt_return_tab
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      LOOP AT lt_return_tab INTO ls_return_tab.
        gw_select-pspnr = ls_return_tab-fieldval(12).
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = gw_select-pspnr
          IMPORTING
            output = gw_select-pspnr.
        EXIT.
      ENDLOOP.
      refresh i_dynpfields.
       w_dynpfields-FIELDNAME = 'gw_select-pspnr'.
       w_dynpfields-FIELDVALUE = gw_select-pspnr.
       APPEND w_dynpfields to i_dynpfields.
       APPEND gw_select to gt_select.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          DYNAME                     = sy-repid
          DYNUMB                     = sy-dynnr
        TABLES
          DYNPFIELDS                 = i_dynpfields
       EXCEPTIONS
         INVALID_ABAPWORKAREA       = 1
         INVALID_DYNPROFIELD        = 2
         INVALID_DYNPRONAME         = 3
         INVALID_DYNPRONUMMER       = 4
         INVALID_REQUEST            = 5
         NO_FIELDDESCRIPTION        = 6
         UNDEFIND_ERROR             = 7
         OTHERS                     = 8
    ENDMODULE.                 " DETERMINE_PSPNR  INPUT

    Hi
    Use this code instead of your function call:
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield        = 'FEE_NUMBER'
            dynpprog        = sy-cprog
            dynpnr          = sy-dynnr
            dynprofield     = 'FEE'  ================>your field
            value_org       = 'S'
          TABLES
            value_tab       = it_fee
          EXCEPTIONS
            parameter_error = 1
            no_values_found = 2
            OTHERS          = 3.
    Best Regards
    Yossi

  • Enhancing F4 Search Help Issue - Standard Component

    Hello All,
    We have a requirement in SRM to customize couple of standard Search helps attached to the Webdynpro components. As such I know the concept of how we can handle this requirement but hitting an issue.
    Standard Working scenario -
    1) Standard Structure available with multiple fields. Two fields that are of our interest are SH_VALUE and SH_VALUE_LABEL.
    2) Standard Search help for this being used has fields VALUE and VALUE_LABEL.
    3) In the Structure the both the fields SH_VALUE and SH_VALUE_LABEL are mapped to the Search help VALUE and VALUE_LABEL.
    4) In the WD component the node is mapped to the standard structure.
    Running the application and the picking up the values from F4 on the SH_VALUE field will return its corresponding value and also map the SH_VALUE_LABEL field with the Label from the F4 since the structure and Search help mapping are there.
    So far good when its standard.
    Issue I am facing -
    We need to modify this standard search help to customize our needs.
    1) Did a Copy of the standard Search help and then modified to suit our needs. The output structure of the search is still the same as the standard one.
    2) Did a Post Exit in the WD component to call our custom search help through the below code -
    data lo_nd_attrib type ref to if_wd_context_node.
    data lo_nd_attrib_info type ref to if_wd_context_node_info.
    lo_nd_attrib = wd_context->path_get_node( path = `ATTRIBUTES_DATA.ATTR_DTLS_MULT` ).
    lo_nd_attrib_info = lo_nd_attrib->get_node_info( ).
    lo_nd_attrib_info->set_attribute_value_help( name = 'SH_VALUE' value_help_mode = '121' value_help = 'Z_ORG_ATTR' ).
    lo_nd_attrib_info->set_attribute_value_help( name = 'SH_VALUE_LABEL' value_help_mode = '121' value_help = 'Z_ORG_ATTR' ).
    Running the application just returns the SH_VALUE field but does not get the data for the SH_VALUE_LABEL.
    Is there something wrong in the way I am calling the Custom Search help or should I need to approach this differently?
    Thanks,
    Nagarajan.

    Hi Nagarajan,
    Well, you are trying to set the search help to both attributes ( sh_value, sh_value_label) individually and it is having no link between these two attributes
    i.e. once you select a value from search help of SH_VALUE, its no where linked that the other details to be passed to SH_VALUE_LABEL.
    We generally, do the linking of attributes to search help parameters at structure level as below
    So, if you need the same behaviour, then you need to assign the Zsearch help at strucuture field SH_VALUE and link the parameters to both fields SH_VALUE & SH_VALUE_LABEL
    In case, if find it not possible to to this way,
    You need to populate the value of field SH_VALUE_LABEL upon selection of value from search help of SH_VALUE.
    i.e. by registering the search help selection event to an OnEnter action and write the logic to populate the value to SH_VALUE_LABEL
    Please refer the below link
    Automatically Trigger onEnter event after selecting value from the Value Help(F4 Help)
    Hope this helps you.
    Regards,
    Rama

  • Error while creating search help

    Hi,
    I am getting an error "Elementary search help without hit list is meaningless" while creating a search help,.what could be the problem?
    Thanks,
    Rakesh.

    Elementary search help without hit list is meaningless
    Diagnosis
    The flag that they should appear in the hit list is not set for any of the parameters in the elementary search help in question. An elementary search help without a hit list is meaningless because it is not possible to select a value from the set of possible values in the input help process which it describes.
    System Response
    The action is terminated abnormally.
    Procedure
    In the maintenance screen for the search help, assign at least one parameter a position in the hit list.

  • Trigger Automatic Search Help in WebDynpro for ABAP

    I have a WDA application for creating a Purchase Order. The first screen has 2 options - one for creating a PO from scratch; and one for copying an original PO.
    The second view ('Copy PO') for copying a PO has a single field (PO document) with a Search Help attached (freely programmed). The Search Help works well.
    Now for the question:
    When firing the second screen ('Copy PO'), I would like to trigger the Search Help without actually entering the view. Is there some way of firing an event that triggers the Search Help without entering the 'Copy PO' view?
    Any help would be gratefully accepted.

    hi gareth.......
                a solution for you.....
                   instead of triggering  a search help....
                  in you wddoinit method... call a popup which ahs a table with all the required values...
                 so when the user selects one... it has to be bound to an attribute....
                 which is then passed to the po field.
    ---regards,
       alex b justin

  • Collective search help in PA30

    Hi Experts,
    I have followed the below steps to add new field in the Collective search help in PA30.
    1. Collective srch hlp for Employee is - PREM and the Elementary srch hlp for 'Last name - First name' is PREMN.
    2. You can change standard search help without access key. So you have to change PREMN.
    3. Selection Method used for PREMN is M_PREMN. Copy M_PREMN to ZM_PREMN.
    4. In Database view ZM_PREMN, add field RUFNM(Nick Name) in View Flds Tab.
    5. Assign Selection Method ZM_PREMN to PREMN.
    6. In secarh help parameter assign SPos filed 3 for newly added RUFNM(Nick Name).
    I have copied Selection method   M_PREMJ into ZM_PREMJ. From SE11 selected radio button u2018Viewu2019 and entered ZM_PREMJ then selected Change button.
    A new window pope up with options u2018Maint in orig. langu2019 and u2018Change orig. languageu2019.
    If I select u2018Change orig. languageu2019 then I am getting the following error
    View ZM_PREMJ contains inactive components
    If I select u2018Maint in orig. langu2019 then it will allowing for modifications. But when I activate I am getting following errors:
      Check view ZM_PREMJ (SAPUSER/01.08.11/13:02)
      View field ZM_PREMJ-PERNR (domains of the data elements not equal)
      Key field PA0002-OBJPS missing
      Key field PA0002-SEQNR missing
      Key field PA0002-SPRPS missing
      Key field PA0002-SUBTY missing
      All fields are evaluated as key field
      View ZM_PREMJ is not consistent
    Please guide me in adding a new field in PA30 Collective Search Help.
    Regards,
    Deepthi

    Hi Suman,
    Yes, it is activated now with some warning messages.
    After this in SE11, I have selected radio button u2018Search Helpu2019 and entered u2018PREMNu2019.
    And clicked on u2018Changeu2019 button, then I have two options u2018Maint in orig. lang,u2019 and u2018Main. in logon langu2019.
    I have selected u2018Main. in logon lang; (which option to be selected??)
    And replaced Selection method u2018M_PREMNu2018with ZM_PREMN, then activated.
    It was activated with warning and following are adjusted.
    SHLP EHS00SHLP_PREM was adjusted
    SHLP HREHS00PERSINTEXT was adjusted
    SHLP LO_OIF_PARTNER was adjusted
    SHLP PREM was adjusted
    SHLP PTRM_PREM_WEB was adjusted
    Up to here is fine, but when I tested in PA30 Collective search help, I can able to see new field u2018Nick Name but it is not working.
    Regards,
    Deepthi

  • Types of search help

    types of search help

    Hi,
    Elementary Search Help
    An elementary search help defines the standard flow of an input help. You can define the following components of this flow in the search help:
      where does the data displayed in the hit list come from (selection method)
      what information should be displayed in the dialog box for value selection and in the hit list (search help parameters)
      what field contents can be taken into account for hit list selections and which values in the hit list can be returned to the screen fields (search help parameters)
      what dialog steps should be executed in the input help (dialog behavior)
    Collective Search Help
    A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    When you define a collective search help, you only have to specify the search helps that are to be combined in the collective search help. In the input help, the values are transported between the elementary search help selected by the user and the input template using the collective search help. This is why a collective search help also has an interface for transporting the values.
    Append Search Helps
    An append search help is used to enhance a collective search help (that is not the original in the current system) by further search paths (elementary search helps) without modifications. This technique can be used for example by special developments, country versions, SAP partners and SAP customers to add further search paths to a collective search help in the SAP standard version.
    An append search help has a fixed assignment to a collective search help. This appending object is enhanced with an append search help. The structure of an append search help corresponds to the structure of a collective search help.
    The append search help takes on the parameters of your appending object. An append search help is automatically included in your appending object. The parameters of both search helps having the same name are assigned to one another.
    Regards,
    Bhaskar

  • Problem in search help

    Hi Abapaers,
    i have created a serach help  realted to status and descriptiopn .
    i have used it in 2 tables . for one table f4 is working for other not working .
    Please suggest  how can i solve this .
    Regards
    Arun .

    hi,
    please use any of these methods for applying search help, it will definately help u
    you can use function module  F4IF_INT_TABLE_VALUE_REQUEST
    or
    can follow these simple steps for search help:
    go to se11==>
    put some name after ticking search help radiobutton==>
    create==>
    then tick " elementery search help " and press enter ===>
    then put description and table name in selection method ===>
    then put the field on which u want search help in search help parameter==>
    tick IMP EXP ==>
    write 1 in lpos and spos===>
    save and activate===>
    double click on table name ===> 
    select that field and press *search help tab* above===>
    then copy
    i hope it will help u a lot
    thaks and regards
    rahul sharma
    Edited by: RAHUL SHARMA on Sep 30, 2008 12:52 PM
    Edited by: RAHUL SHARMA on Sep 30, 2008 12:53 PM
    Edited by: RAHUL SHARMA on Sep 30, 2008 12:54 PM

  • Using SEARCH HELP exit in dependency of other parameters from my dynpro.

    Hello experts,
    how can I access the values of input fields (parameters or select-options) from my dynpro?
    I need to build a F4-help in dependencie of another field on the screen with help of the F4 - exit. I think this should be possible.
    If I do test the search help with SE11 it works fine. All parameters from screen are given in SHLP_TAB[1]-INTERFACE (the parameter of my f4-help-exit)
    The short example explains the problem more detailed.
    REPORT  test_dynpro_events_ck.
    PARAMETERS ea1 TYPE my_char_10_ck DEFAULT 'here I push F4' MATCHCODE OBJECT MY_F4_HELP_CK.
    PARAMETERS ea2 TYPE my_char_10_ck DEFAULT 'this is the value I need to generate the F4 help of field ea1'.
    MY_F4_HELP_CK:
    import: EA1 and EA2
    export EA1
    Many Thanks
    Christian

    Thank you so far.
    But how are these parameters passed to the search help without using global set/get parameters or DYNPRO_READ_VALUE? Why can I put these parameters to my search help as input parameters ... seems to be useless if I use search help on Selection-Dynpros?
    Is there not a better way to deal with search-helps which are dependent from other input fields? Btw. I need the value without passing PAI and PBO.
    In my Example:
    doing some text inputs in field EA2 -> hit search help on EA1 -> need a selection dialog in dependency of the input in EA2. This can not be that complicated?
    Many thanks
    Christian

  • SAP GUI for JAVA - Search Help ALV display

    I need to be able to display search helps in the ALV grid format or the ' Dialog Modal ' option as seen on the <b>Settings for all F4 helps</b> tab under the personalize option for search helps.
    Currently when I am using a Macintosh machine the system ignores the system setting and my personal settings and displays all search results in an ABAP List format. Unfortunately the ABAP list format does not work correctly when used to input a field on another ABAP list report.
    This behaviour can be found on the Mozilla Firefox browser when SAP GUI for HTML and the SAP GUI for JAVA.
    Your help will be greatly appreciated.

    Hi Rolf-Martin,
    Thank you for your detailed explanation on how the ALV grid control is implemented for the SAP GUI for Java.  This has been pretty insightful.  The good news is that I finally figured out a solution to my problem.  You see I inherited an old custom program where an ABAP list is used as an interactive data capture screen with input fields.  Well a couple of fields had search helps. The program has worked fine with the regular SAP GUI until a MAC OS user tried to use it with the SAP GUI for Java.  Whenever they selected a line from the search help it would bring back the entire onto their input screen.
    A sample of the code:
    form search_help.
        CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                TABNAME     = 'EKPO'
                FIELDNAME   = 'MATNR'
                SEARCHHELP                = 'ZMAT1_A'
                SHLPPARAM                 = 'MATNR'
           TABLES
                RETURN_TAB       = RET_TABLE.
    IF NOT RET_TABLE-FIELDVAL IS INITIAL.
       LINXX-XMATNR = RET_TABLE-FIELDVAL.
       MODIFY CURRENT LINE FIELD VALUE XMATNR FROM LINXX-XMATNR. " ****
    ENDIF.
    SET CURSOR 9 SY-CUROW.   " ********
    endform.
    The problem was being caused by the fact that the search help ABAP list was overriding the sy-XXXX values for the current line contents, index, pageno, cursor row for the calling ABAP list. So when a user selected a row from the search help this would now become the current context and be transferred back to the calling program. 
    The fix was pretty simple; all I had to do was save the current line context and the context prior to calling the search help.  After the search help was run I would then replace the current line with the saved one in my local variable.  I hope this makes sense. We now have a couple of happy MAC OS users.
    Once again I thank you for your patience and support in  this matter.
    Have a great day,
    Edwin.

Maybe you are looking for