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

Similar Messages

  • 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.

  • Search Help for Hierarchy Node in SAP BW 7.3

    Hi Experts,
    We were previously using SAP BW 7.1 system and we had a table which used to be maintained through SM30 which has a customed search help on one of the fields for a hierarchy object. And it was working perfectly.
    However, one of our systems have just been migrated into 7.3 version and the above functionality is no longer working.
    This is what is happening now:
    - User selects a hierarchy and after selection nothing is being displayed on field on the table.
    We have tried to debug this customed search help in both environments to distinguish what is wrong. We have noted that a standard function module (RRSV_IOBJ_VALUE_OUTPUT) is not behaving similarly. In 7.1 system, the C_T_DATA table is being filled whereby in the 7.3 system, it is empty.
    Do you think this is the issue?
    Please do advise and propose what can be done to make it work. Or any idea on how to create a new search help for a hierarchy node in 7.3?
    Thanks in advance.

    hi,
    one more thing i will like to add here is in BW 7.3 you get a new security admin feature that allows you to make mass changes to authorizations instead of one-by-one. This can be done by cut-and-paste in a worklist, hierarchy nodes, and you can also add users to multiple analysis authorizations.
    The u2018newu2019 authorizations has both the data value and hierarchy restrictions. You can still build using the u201CRSECADMINu201D transaction
    Also make sure that all objects are in the TLIBG library and they will be 'shielded' during the upgrade.
    regards
    laksh

  • 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

  • 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

  • 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 input field2 based on value entered in input field 1

    Hi All,
    I have a requirement where in my view, i have two fields.
    1. PO
    2. PO Item
    For PO i could get the standard search help from DDIC, but i need to provide search help for PO Item based on PO selected.
    How can i do that. Any help is highly appreciated.
    Thanks,
    Ajay

    Hi Ajay ,
    following steps cn help u :
    1 Declare the WDR_OVS Component in the used component list in your WD component .
    2  Now go to the View, in the Properties Tab click the Create Controller Usage Button.
    3 It will open a screen with Component Use Entries. There select the Component Use OVS with Interface Controller . Press Enter.
    4 Go to the Context Tab, Right Click the Context and select Create à Attribute , for PO item in ur case .
    5 In the Input Help Mode Field, Select u2018Object Value Selectoru2019 from the dropdown. Then press F4 in the Field OVS Component Usage.
    6 Declare one event handler method with Name ON_OVS in the Method tab of the view. Then Press F4 in the Column Event. 
    Select the Event OVS as shown below and Press Enter. 
    for more info and illustration , also refer :
    http://help.sap.com/saphelp_erp2005/helpdata/EN/30/d7fa41c915da6fe10000000a1550b0/content.htm
    https://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    http://wiki.sdn.sap.com/wiki/display/Snippets/OVSSearchHelpinWebDynproAbap
    regrds,
    amit

  • Search help for a Input Field........

    Hi,
      I'm fairly new to BSP and I would like to know how to attach Search Help to the Input Field in BSP application.
    Thanks
    NP.

    Hi nagendra
                        Search Help for input field Provide using attribute of input field is showHelp and onvaluehelp
                      This is providing the search help .

  • 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

  • How to create Search Help For Ztable fields

    Hi all,
    Please let me know How to create Search Help in SE11(what are the parameter i should pass)
    and How to maintain search help for Ztable fields at DIctionary level (in SE11) and programming level.

    hello .
    there are two types of search helps .
    1. elementary search help .
    2. collective serch help
    Below are the steps to create elementary search helps :
    1 In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose  Create.
    2.then youget a option elementary or collective search as per you r need .
    3.select Elementary search help and choose
    4.write explanatory text in the field Short text.
    5. in the selection method give the name of the table or  a view .
    6 . Select the fields that should be used for value selection  or in a hit list .
    7. then define the attributes of the search help .
    8 Select the IMP flag if it is an import parameter. Select the EXP flag if it is an export parameter.
    9 .define the  dialog type of the search help.
    The dialog type tells  how the hit list will be displayed in the input help.
    10 . save and activate .
    plz reward if usefull
    Thanks ,
    Abhishek .

  • 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 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

Maybe you are looking for