Regarding search help for a attribute

Hi All,
I have an ALV, there is a hyperlink for one field, which opens up another Popup for ALV as component usage.
I have one Search help for a field in this popup.
When I open this popup for first time in that session, F4 for the SH, the value is not getting populated  in that field.
When I close the popup and open it again, next time the value which I select is getting populated in that field.
Don't know why this happens.
Like OVS, can we have F4 help event custom one for SH so that I can triiger it for first time.
What is the event that gets triggered upon F4 selection of SH.
Appreciate your replies.
My server details are as below -
EHP 4 for SAP ERP 6.0 /7.0
WEBCUIF 700 0001 SAPK-70001INWEBCUIF SAP WEBCUIF 700
SAP_ABA 701 0002 SAPKA70102 Cross-Application Component
Does Service pack has raised these issues.
Regards,
Lekha.
Edited by: Lekha on Aug 11, 2009 6:06 PM

Resolved by myself.

Similar Messages

  • Search Help for node attribute.

    Hi experts
    I create a field for user enter some date.
    If a create an attribute DATE (type date) in COMPONENTCONTROLLER , it appears already with values assigned for search help: 
    Determined Input Help = CALENDAR
    Type of Input Help  =     Calendar help
    So when i bind this attribute with the Layout field , the field has format of date and appers with match code for select the date.
    But if i create the attribute DATE (type date) inside a node , it appears without these values 'Determined Input Help' and 'Type of Input Help' both empty (and these are protected)  so when i bind the attribute with the Layout field, the field appears without date format and without match code for select a date from calendar.  
    Does somebody can help me please about How can i attach or assign the input help to an attribute inside a node ?
    Regards
    Frank

    Hi
    Please let me try to explain:
    I have two fields DATE in COMPCONTROLLER,  one created directly like attribute in context   and other created inside a node GLOBAL_DATA:
    COMPONENTCONTROLLER.CONTEXT:   Attribute   DATE  (type d)
    COMPONENTCONTROLLER.CONTEXT:   Node  GLOBAL_DATA  inside with attribute   DATE  (type d)
    And i have a view with a field for user enter the date,  type INPUT_FIELD:     V_DATE
    a)  when i bind  V_DATE    with   DATE  ,  it appears with date format and match code for calendar.
    b)  when i bind  V_DATE    with   GLOBAL_DATA-DATE,  it appears without format date and without match code for calendar.
    I see since propertys in context  DATE has assigned input help and  GLOBAL_DATA-DATE has not assigned input help ;
    but i already found that even i assigned  type  'D' to both fields ; for some reason attribute DATE appears like type 'D'  , and   GLOBAL_DATE-DATE  appears like  type 'DATE' (no 'D')  and that is the reasonwhy it appears without input help.
    I created again GLOBAL_DATE-DATE with  type  'D'  (no type 'DATE') and it works.   I hope i explained.
    Thanks a lot
    Frank

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

  • Search help for input fields in a screen

    Hi,
    Pls help me
    how to set search help property for the I/O fields in screen in se80?
    1. do we want to add any property for search help in the property window?
    2.do we want to create a MODULE PROCESS ON VALUE REQUEST ?
    PLS tell me how to set search for the I/O field in se80?pls tell me the process?
    i want to set the search help for more I/O fields in se80 but all the fields belongs to the same table?
    can i create a single search for all these fields and use that for all the I/O fields ?
    elementary search help or collective search help?
    thanks & regards in advance,
    vsnl.

    Hi,
    Input Help on the Screen
    Within the Screen Painter, you can define two types of input help:
    1. The FIELD statement with one of the additions VALUES or SELECT.
    2. Linking a search help directly to a screen field.
    If you link a search help directly to a screen field, it overrides the additions of the FIELD
    statement. However, the input check [Page 581] functions of the FIELD statement remain
    unaffected.
    Input Help in Flow Logic
    The following input help methods are obsolete and should not be used. They are still supported
    for compatibility reasons.
    In the screen flow logic, you can specify a value list for a screen field <f> as follows:
    FIELD <f> VALUES (<val1>, <val2>,...).
    The value list contains a series of single values <vali>. The NOT and BETWEEN additions for the
    input check [Page 581] are not appropriate for input help.
    You can also create a value list by accessing a database table as follows:
    FIELD <f> SELECT *
    FROM <dbtab>
    WHERE <k1> = <f1> AND <k2> = <f2> AND...
    In the WHERE condition, the fields of the primary key <ki> of the database table <dbtab> are
    checked against the screen fields <fi>. The WHENEVER addition, used with input checks [Page
    581], is not necessary for input help.
    If you have used a ABAP Dictionary reference for field <f>, the selection and the hit list formatting
    may be affected by any check table attached to the field.
    Attaching a Search Help
    Search helps from the ABAP Dictionary can be attached to a screen field [Ext.]. To do this, enter
    the name of the search help in the corresponding field in the attributes of the screen field in the
    Screen Painter. This assigns the first parameter of the search help to the screen field. It is only
    possible to place a value from the hit list onto the screen.
    Input help on a screen.
    REPORT DEMO_DYNPRO_F4_HELP_DYNPRO MESSAGE-ID AT.
    DATA: CARRIER(3) TYPE C,
    CONNECTION(4) TYPE C.
    CALL SCREEN 100.
    MODULE CANCEL INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    The next screen (statically defined) for screen 100 is itself. It has the following layout:
    602 April 2001
    Cancel
    Airline
    Flight number
    Screen field with search help
    Input help in the flow logic
    The input fields have been adopted from the program fields CARRIER and
    CONNECTION. The function code of the pushbutton is CANCEL, with function type
    E. The search help DEMO_F4_DE with the search help parameter CARRID is
    assigned to the screen field CARRIER. The search help uses the database table
    SCARR.
    The screen flow logic is as follows:
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    FIELD CARRIER VALUES ('AA', 'LH').
    FIELD CONNECTION SELECT *
    FROM SPFLI
    WHERE CARRID = CARRIER
    AND CONNID = CONNECTION.
    When the user chooses the input help for the individual fields, the following input
    help is displayed:
      For the Airline field, the search help displays the names of the airlines and places the airline
    code in the input field for the chosen line. If the airline code is not one of those listed in the
    VALUES list of the screen flow logic, the input check triggers an error message in the PAI
    event. So the search help overrides the VALUES addition for the input help, but not for the
    input checks. This is therefore not an appropriate place to use the VALUE addition.
      For the Flight number field, the flow logic displays the selected entries from the database
    table SPFLI and places the selected line in the input field.
    Regards,
    Bhaskar

  • Search Help for a Field of a Table Control

    I have designed a screen using 'Table Control' with fields like Date, BoxNo,Quantity etc. Kindly tell me how to go about providing a search help for the field 'BoxNo' of this table control so that the user is not required to scroll down the entire table/list for selecting a particular box no.
    Thanx in advance,
    Alok.

    When you go to screen painer, in screen painter attributes window, there is an atribute called search help, fill it.
    Another way is, after PAI put:
    PROCESS ON VALUE-REQUEST.
      FIELD box_no MODULE f1_help_box_no.
    And gives logic in that module using FM F4IF_INT_TABLE_VALUE_REQUEST.
    Regards.

  • Search help for a field in a web dynpro app

    Hi All,
    I have a web dybpro application where I need to add a field on the selection screen, the field that I need to add is USR02-BNAME. I have added the required field on the screen but now I need to have a F4 help for the same but when I looked US02 the search help is not defined, can you please tell me how can get this.
    Thanks

    Raja,
    If your attribute( selection field)  is of type any dataelement and if corresponding domain has values then those values will appear in F4 help.
    Or in se11 create one search help for that field.automatically it will reflect in apps.
    Or Use OVS( Object value selector) , its a kind of advance search help...
    Regards
    Srinivas

  • SEARCH HELP FOR DATE

    Hi Gurus,
    I have a screen containing fields from an internal table. As I cannot use the 'from dictionary' option in the screen painter attributes, (since internal table field is not in ABAP dictionary), I'm not able to display the search help for a field of type DATS. How can i access the stabdard date search help for my type DATS internal table screen fields?
    assistance will be rewarded.
    thanx in advance.

    Hi,
    Try this:
    On your customizing screen flow,
    PROCESS ON VALUE-REQUEST.
    Field T_ZT-SDATE " your date field
    module create_dateselect.
    In your main program:
    module create_dateselect.
    data:p_date like sy-datum.
    CALL FUNCTION 'F4_DATE'
    EXPORTING
    holiday_calendar_id = 'CN'
    display = ' '
    IMPORTING
    select_date = p_date
    EXCEPTIONS
    OTHERS = 4.
    t_zt-sdate = p_date.
    endmodule.
    Regards,
    Pole

  • CLM How to add search-help for extension field(New Company Field) in MA.

    Hi all,
         Based on demand,I need to extend a new field(Company) in Master Agreement.
    But I do not know how to add search-help for this field,just like User Accont page.
    Anyone can help me ?thank you very muck.
    Regards,
    JackyCheng

    Hello Jacky,
    To combine all the answers above and have a topic-based reply please go through the below steps:
    #1. Inactivate the current extension field Company (I see it is actually a String value and this is not what you want to have)
    #2. Go to Setup -> System Setup -> Extension Reference Types
    Check if you already have a Company reference type
    If not, create a new Extension Reference Type for Class Company. Fill in all required information.
    #3. Create a new Extension Attribute
    Select Data Type: Object Reference
    Now you can add the Company type as reference
    Regards,
    Bogdan Toma

  • Search help for time

    HI,
    I need a Search help for time field in case of input field ie the one similar to the date field.In webdynpro we have mapped the Tims data type to our input field.here Tims data type is the data type for time in  the backend(R/3 system).Pls help me out its urgent.Pts will be awarded to any of the helpful  solutions.

    Hi Nikhil,
    Create an attribute of type 'time' in context. And inputfield to this attribute.
    Later, while calling BAPI, you can pass this value to Tms type field.
    Regards,
    Deepti

  • Change search help for each line of a web dynpro table

    Hi all i have got the following code to dynamically change the search help of a single field on a web dynpro app and was just wondering if anyone could show me the code for implementing it onto a table so that the same field on each row has a different search help assigned to it!
    CALL METHOD node_info->set_attribute_value_help
    EXPORTING
    name = 'DEPT'
    value_help_mode = '121'
    value_help = 'PREMN'.
    Regards
    Mart

    Hi,
    it is possible to have different search help for same table column for different context elements i.e. table lines. the way to acheive this is by using cell variants in table column.
    Steps to follow:
    1. In your table column insert cell variant. Depending upon number of variations for search help, insert that number of cell variants in table column
    2. Enter the value of variant key property of each cell variant for ex. 01 for first cell variant and 02 for second cell variant
    3. Insert cell editor for each of cell variant. for ex. if you have 2 different search helps for single column then insert two cell variant in table column and for each cell variant insert cell editor, let say input field in this case
    4. Bind the value property of each input field to different context attribute of the node. for ex: you have table with two columns i.e. Dynamic and fldate
    .  First column is Dynamic. It will have two cell variants and each cell variant have cell editor of type input field  i.e. depending upon the value of second column i.e. fldate, the search help of first column will be decided.
    5.  Create context node from structure "SFLIGHT" and select 3 components from structure i.e. Carrid, connid, fldate. Add another context attribute to same context node i.e. selected_cell_variant of type string
    6. Bind each of context attribute carrid and coonid to value property of cell editor i.e. input field of cell vairaints from column Dynamic
    7. Bind value property of cell editor i.e. input field of fldate column to context attribute fldate
    8.. Bind selectedCellVariant property of table column Dynamic to context attribute selected_cell_variant
    9. Now, Write method at the wddoinit of view to fill up the context node from table sflight table
    10.  Write event handler for event OnEnter of cell editor from table column FLDATE. in this event handler depnding upon the date set the value of context attribute "selected_cell_variant" to 01 or 02
    DATA lv_date TYPE S_DATE.
      ASSERT CONDITION context_element IS NOT INITIAL. " context_element is default paramter for event handler
      context_element->get_attribute(
        EXPORTING
          name  = 'FLDATE'    " NAME
        IMPORTING
          value = lv_date    " DATA
      IF lv_date > '20101016'.
        context_element->set_attribute(
          EXPORTING
            value =  '01'   " Attribute Value
            name  = 'SELECTED_CELL_VARIANT'     " Web Dynpro: Name of Context Element
      ELSE.
        context_element->set_attribute(
          EXPORTING
            value =  '02'   " Attribute Value
            name  = 'SELECTED_CELL_VARIANT'     " Web Dynpro: Name of Context Element
      ENDIF.
    11. Depending upon the value of selectedCellVariant the corresponding search help will show up in table column. So change the value of column fldate for each table row and see how search help gets changed.
    Thanks,
    Rahul
    Edited by: Rahul Yadav on Oct 17, 2010 12:09 AM

  • Change Search help for Location in Schedule creation screen(NWBC)

    Hi all,
    My requirement is to change the standard search help for Location field in Standard stop sequence of Schedule creation in NWBC.
    Presently, the search help for the location field is a webdynpro component WDR_F4_ELEMENTARY .Is there any possibility to replace with the custom search help.
    Can anybody please let me know how to replace the search help.
    Thanks&Regards,
    Sharmista.

    Hi
    I suppose you may create a component customizing for /SCMTMS/WDCC_SCH_C_LOC_ATS, and maintain your DDIC search help for location ID, this will replace the one assigned in structure:
    You may only maintain DDIC search help here, but if you have a custom developed search help, then you may need to go with another approach, in viewexit class (/SCMTMS/CL_UI_VIEWEXIT_SCH) adapt_fields (ADAPT_FIELDS), modify the attribute 'WD_VALUE_HELP' = custom search help.
    Hope it helps

  • Creating search help for a field in AdHoc Query

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

  • Search Help for Vendor Feild not getting populated in the Screen Element

    Hi Everyone,
    In transaction Miro, I get a POP-UP for Invoicing Party i.e. Vendor and Users required a custom search help.
    The Search help for Vendor(LIFNR) is KRED_C and i appended a Z search help under this.
    Now that the search help exists and I can drill down the values too but when i select/choose any value,  that value is not getting populated in Screen feild.
    is there any validation I need to do for this.
    Please suggest me... I checked SDN there are many things but i couldn't figure out wat i need to do and where I need to modify.
    Regards,
    Raj

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • Search help for SKAT-SAKNR OR SKAT-SAKNR is not working

    Hi All,
    I have created a Search Help for F4 in a dialog program for SKAT-SAKNR OR SKAT-SAKNR. While i click F4 on that field, it displays blank values.
    Here is the module:
    module HELP_FOR_SAPGL_ACC input.
      CLEAR t_SAPGL.
      SELECT  SAKNR TXT20
        FROM  SKAT
        INTO  CORRESPONDING FIELDS OF TABLE t_SAPGL UP TO 1000 ROWS
        WHERE SPRAS = SY-LANGU.
       WHERE L_GL_ACC = v_FIELD_VALUE-FIELDVALUE.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          RETFIELD               = 'SAKNR'
        PVALKEY                = ' '
         DYNPPROG               = PROGNAME
         DYNPNR                 = DYNNUM
         DYNPROFIELD            = 'SKA1-SKANR'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         VALUE_ORG              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          VALUE_TAB              = t_SAPGL
        FIELD_TAB              =
        RETURN_TAB             =
        DYNPFLD_MAPPING        =
      EXCEPTIONS
        PARAMETER_ERROR        = 1
        NO_VALUES_FOUND        = 2
        OTHERS                 = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endmodule.   
    In the above code I am selecting 1000 rows from SKAT table and in the Search Help Popup it is also displaying 1000 rows but all are blank.
    Please help me.
    Regards,
    Avaneet

    Hi check my weblog on search help exit codeing..
    https://wiki.sdn.sap.com/wiki/x/du0
    \* Prepare for output
    CALL FUNCTION 'F4UT_RESULTS_MAP'
    TABLES
    shlp_tab = shlp_tab
    record_tab = record_tab
    source_tab = lt_result
    CHANGING
    shlp = shlp
    callcontrol = callcontrol
    EXCEPTIONS
    illegal_structure = 1
    OTHERS = 2.
    IF rc = 0.
    callcontrol-step = 'DISP'.
    ELSE.

  • Regarding Search help on selection-screen field

    Hi there,
    I am working on custom tables.
    I have a requirement to maintain search pattern on a selection-screen field.
    selection-screen parameter: p_name which is company name filed from Z table.
    By giving a string like Holl* and by  pressing F4 on the field p_name it has to popup a dialogbox having list of company names starting with Holl.
    Thanks in advance.
    -Tulasi

    Hi
    Go through the link given below :
    How to create a search help for my own fields in selection screen
    F4 search help on report selection screen
    also try :
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'VKORG'
    PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_VKORG'
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'C'
    TABLES
    VALUE_TAB = T_TABLE1
    FIELD_TAB = field_tab
    RETURN_TAB = RET_TAB
    DYNPFLD_MAPPING = DYN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    With Regards
    Nikunj shah

Maybe you are looking for