Search help unavailable in Read-only input field since EHP4

Dear Experts!
I have a problem with a Portal page since the deploy of the EHP4. The page has standard input fields with Search Helps. I needed to have the input field non-modifiable so the user would have to use the search help to get the proper information.
Prior to the EHP4 installation, I set the input field to Read Only in the WebDynpro explorer, this disabled the editing while permitting the user to use the Search Help.
Since the installation, the search help is no longer visible or accessible on a Read Only standard inputfield.
Do you know if there is a way to allow the search help on a read only field?
Thanks so much for your answer,
Brian Foster.

>Since the installation, the search help is no longer visible or accessible on a Read Only standard inputfield.
This was a conscious design decision on SAP's part that disabled or read-only fields should no longer fire value help.  I am aware that this situation was used in the past as you describe.  It is even still used in SE80 for the Web Dynpro ABAP wizards. However usability studies showed that this often confused end users and therefore it is no longer allowed.  The field must be input enabled to fire the attached serach help.

Similar Messages

  • OVS on read-only input field

    OVS will not allow me to change the value of a read-only input field.  If the input field is set to read-only, the OVS selection table does not display an 'OK' button, only close.
    Value cannot be copied (field is not editable)
      I do not want the field to be editable on the screen, but only allow input via the selected row in the OVS.  Any suggestions?
    Edited by: Bob DeNuto on Jul 31, 2008 1:22 AM

    Using Dictionary Search Help and OVS in this case will disable the Copy button and you don't have any control.
    Use Freely Programmed Value Help, this will solve your problem
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help
    how to provide f4 help to the read only input field
    Abhi

  • Choose an entry in Search help and not in its input field

    Hi to all,
    In my application I have a field with a search help.
    I want that this field only can be modified using a search help and this field can't be modified directly writing in this field.
    Is similar to transaction se63 - Translation - Abap objects - Short texts - OTR - Source language
    I have created an example with the field SCARR-CARRID but this field can be modified with search help and directly, or this field can't be modified.
    In my application I have done the following:
    -> Screen painter (layout):
    Name: SCARR-CARRID
    Input Field: not marked
    Output Field: marked
    Possible entries: marked
    Possible entries keys: 2
    -> Flow logic:
    PROCESS BEFORE OUTPUT.
    MODULE IMPORT_DATA_0001.
    PROCESS AFTER INPUT.
    MODULE EXPORT_DATA_0001.
    PROCESS ON VALUE-REQUEST.
    FIELD SCARR-CARRID MODULE listbox.
    PROCESS ON HELP-REQUEST.
    MODULE listbox INPUT.
    TYPES:
    BEGIN OF VRM_VALUE,
    KEY(40) TYPE C,
    TEXT(80) TYPE C,
    END OF VRM_VALUE,
    VRM_VALUES TYPE VRM_VALUE OCCURS 0,
    VRM_ID TYPE VRM_VALUE-TEXT,
    VRM_IDS TYPE VRM_ID OCCURS 0.
    DATA: name TYPE vrm_id,
    list TYPE vrm_values,
    value LIKE LINE OF list.
    CHECK list[] IS INITIAL.
    name = 'SCARR-CARRID'.
    SELECT carrid CARRNAME FROM SCARR
    INTO (value-key,value-text).
    APPEND value TO list.
    ENDSELECT.
    SORT list BY text.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = name
    values = list.
    ENDMODULE. " LISTBOX INPUT
    How can i solve this problem?
    Thanks a lot.

    Hi Jey:
    I have tried this:
    MODULE listbox INPUT.
      TYPES: BEGIN OF vrm_value,
               key(40)  TYPE c,
               text(80) TYPE c,
             END OF vrm_value,
      vrm_values TYPE TABLE OF vrm_value,
      vrm_id     TYPE vrm_value-text,
      vrm_ids    TYPE TABLE OF vrm_id.
      DATA: name       TYPE vrm_id,
            list       TYPE TABLE OF vrm_value WITH HEADER LINE,
            poplist    TYPE TABLE OF spopli WITH HEADER LINE,
            popanswer  TYPE c,
            popindex   TYPE i,
            value      TYPE vrm_value,
            lt_dyntab  TYPE TABLE OF dynpread  WITH HEADER LINE,
            dynpprog   TYPE syrepid VALUE 'SAPMZxxxx',           "Enter your dynpro here
            dynpnr     TYPE sydynnr VALUE '0100',          "Enter your screen number here
            dynpfield  TYPE help_info-dynprofld VALUE 'SCARR-CARRID'.
      IF list[] IS INITIAL.
        name = 'SCARR-CARRID'.
        SELECT carrid carrname FROM scarr
        INTO (value-key,value-text).
          APPEND value TO list.
          poplist-varoption = value-text.
          APPEND poplist.
        ENDSELECT.
      ENDIF.
    Use some method to display a list for selection
    Here is a simplified way of doing it but there are
    much more sofisiticated methods.
      CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
           EXPORTING
                textline1          = 'Select an entry'
                titel              = 'Selection'
           IMPORTING
                answer             = popanswer
           TABLES
                t_spopli           = poplist
           EXCEPTIONS
                not_enough_answers = 1
                too_much_answers   = 2
                too_much_marks     = 3
                OTHERS             = 4.
      CHECK sy-subrc = 0.
      CHECK popanswer NE 'A'.
      popindex = popanswer.
      READ TABLE list INDEX popindex.
      IF sy-subrc = 0.
        lt_dyntab-fieldvalue = list-key.
      ENDIF.
    Update the screen field with the selected value
      lt_dyntab-fieldname  = dynpfield.
      APPEND lt_dyntab.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
           EXPORTING
                dyname               = dynpprog
                dynumb               = dynpnr
           TABLES
                dynpfields           = lt_dyntab
           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. " LISTBOX INPUT
    I think that there is a error that I have not seen because I put a breakpoint at the beginning of your code and the execution doesn`t stop.
    Now I execute the dynpro and appears my field 'SCARR-CARRID' and I can't choose a value and I can write in input field.
    Can you help me?
    Thanks a lot.

  • Search help overwrite a read-only field

    Hi, I have some problems with search help and hope someone can help me.
    My search helps (either standards or customs) work perfectly,  but a strange behaviour
    occur on Read-Only fields. If I open the Search Help popup and select a value, it overwrite the
    READ-ONLY value !!!!!
    Hope you can help.

    Depending on the support pack level you are on - search helps - freely programmed or otherwise don't seem to trigger off read only fields (I noticed this when we moved to NW7.01)
    I've got around this by making the field a link to action - providing the read only link I want as the text, and then calling the following code:
    call method cl_wdr_value_help_handler=>handle_application_def_vh
        exporting
          context_element      = context_element
          component_usage_name = 'JOB_SELECTION'
          context_attribute    = 'JOB'.
    Where component 'JOB_SELECTION' is my freely programmed value help - implementing WD interface IWD_VALUE_HELP.
    This was helpful as I wanted the search help to trigger and the user to be able to update the field but only by using the search help - I didn't want the user to be able to write anything in the field.
    it was a particular use case I had - it may or may not fit your needs.
    Cheers, Chris

  • How to populate read only input field or text view form value help only

    Hi experts,
    I have one requirement to populate a read-only field or text view from value help.
    User cant put any value there.value comes only from the value help.
    For example,
    when we read context using Code Wizard,we cant type any value there.value only comes from value help.
    How to implement that functionality?
    Please reply.
    Thanks in advance,
    Subhasis.

    Yes it is possible.
    1.Create a context Attribute and then bind this attribute to the Text view UI element.
    2. read context attribute and then set value to the context attribute like this way.
    DATA:
        elem_context1                        TYPE REF TO if_wd_context_element,
        stru_context1                        TYPE if_first=>element_context ,
        item_potxt                          LIKE stru_context-potxt.
    get element via lead selection
      elem_context1 = wd_context->get_element(  ).
    stru_context1-potxt = 'PO'.
    elem_context1->set_attribute(
        VALUE  = stru_context1
        name   = 'POTXT'
    thanks
    Suman
    Edited by: suman kumar chinnam on Sep 9, 2008 12:12 PM

  • Read-only input field error

    I have an input field marked read-only on a form.  When I run the application, select the read-only field, press enter, then Save (validating action), I get a WebDynpro exception saying that I attempted to modify a read-only context attribute.  This does not happen if I select the field and press other keys (such as characters)...  only when I press enter.  If I make the field disabled (instead of read-only), this error is avoided because I cannot even select the input field - but I would rather use read-only because it doesn't gray out the field at runtime.  Is this a bug, or am I missing something?
    -Dave

    When you select the inputField and press enter the OnEnter action of the inputField is being called.
    When you disable the inputField it prevents you from entering values as well as accessing it actions also.
    When you try to keep you context attribute as read only and keep the input field as enabled it is similar to trying to modify a read only attribute which is not permissible.
    Hence the error.
    Revert for further clarifications.
    Message was edited by: Noufal Kareem

  • Creating a new Search Help on a standard SAP table field?

    Good day, everyone!
    As part of a report I am writing, the customer would like to have Search Help added to the AUFEX field in table AUFK.  They would like this functionality so that when they are changing an order via t-code ko02, they can get a list of valid values to put in field AUFEX.  I would like to tie it to a zTable I've created; in my zTable, I have just 2 fields:  a key value (that will go into AUFEX) and a text description of the key value.  This zTable is used in my report.
    While I've created a Search Help on this table already for table maintenance, I've never added a custom Search Help to an existing standard SAP table field before.  I've done some Googling and other searching to see what I need to know, but I've only been able to find information on Collective Search Helps.  AUFEX doesn't yet have a Search Help field, so I don't think Collective Search Helps is my answer.
    Is this possible?  Can I add a custom Search Help to a standard SAP table field that doesn't have any Search Help linked to it yet?  Is there an existing thread or guide somewhere that can tell me how to do this?
    Thank you!

    Hi
    Yes u can: u can assign the search help to (A) data element livel or (B) field table livel.
    After creating your search help:
    A) Run SE11, insert your data element (AUFEX), press edit and insert the search help in "Search Help" area on DEFINATION tab;
    B) Run SE11, insert your table (AUFK), press edit, place the cursor on your field (AUFEX) and go to GoTo->Search help->for field
    But u should consider it'll mean to change a standard object for both cases: so u need to get the access key from your OSS.
    Max

  • Search help problem in ALV output for field TD24A-DISMM

    Hi Abap-Experts,
          I have one issue regarding simple ALV report.
          I need to display search-help for field DISMM.  I have used below code in ALV fieldcatalog.
          ts_fieldcat - tabname = 'TD24A'.
          ts_fieldcat - tabname = 'DISMM'.
          I have attached search-help for fields such as MATNR and WERKS too.
          The search-helps are getting displayed for MATNR as well as WERKS.
          But, the search-help is not gettting displayed for field DISMM(RP-TYPE) .
             The output displayed is done using Simple ALV.     
            Could anyone please help me and correct my code or logic i have used.

    Hi,
      I have changed code a bit...and used T438A table.
      CLEAR ts_fieldcat.
      ts_fieldcat-col_pos = '5'.
      ts_fieldcat-fieldname = 'DISMM'.
      ts_fieldcat-seltext_l = text-014.
      ts_fieldcat-outputlen =  2.
      ts_fieldcat-reptext_ddic  = ''.
      ts_fieldcat-ref_tabname   = 'T438A'.
      ts_fieldcat-ref_fieldname = 'DISMM'.
    ts_fieldcat-ddic_outputlen = '2'.
      ts_fieldcat-input         = 'X'.
      APPEND ts_fieldcat TO gt_fieldcat.
    still it is not showing me the F4 help in simplae ALV output..
    kindly help me

  • Read only af:inputText being rendered as "span" instead of read only input

    I am using JDeveloper 11.1.1.6.0
    I have noticed that when using components such as "af:inputText" and "af:inputDate" with the "readOnly" attribute set to true, the resulting render is a label as a "<span>" element as opposed to a read only <input> element which I would have expected. I see the expected behavior if I utilize the JSF "h:inputText" component with "readOnly" set to true, however I cannot utilize the JSF component as it does not appear as though I can get "autoSubmit" behavior to work with the JSF component so that will not work. To add on to the oddness of the behavior, if the af:inputText has its Rows attribute set to be greater than 1, it will render as a read only <input> element as opposed to a label.
    In addition, the af:inputText's default readOnly form looks glaring when using the simple skin or other skins based on simple. It adds a box that wraps around the exact length of the text in the inputText as opposed to the amount of area that the inputText would have consumed if it was not in "readOnly" mode.
    Is there any way to properly get the af:inputText to render as a read only input as opposed to the label that it is currently being displayed as?
    Thank you.

    Hi,
    its a decision made by the component renderer. If this is a problem for you and if you have a customer support contract then you could file a service request for a change.
    Frank

  • How to right align a read only numeric field in a panel form layout

    Hi, does anyone know how to right align a read only numeric field in a panel form layout? I am using: Style Class = AFFieldNumberMarker, but it only seems to work if the field is disabled. Disabling the field gives it a difference appearance that does not look right on our forms. These are calculated fields, which cannot be modified, so read only is necessary.
    I have looked online for some answers, and it seems that others are having similar issues.
    I have tried different combinations for the properties, but so far I cannot get it to work.
    Thanks
    Judy
    I am using JDEV 11.1.1.5

    Sorry for the delay in my response. Here is the code
    <af:inputText value="#{bindings.TotalAirlineCostEst.inputValue}"
    label="#{bindings.TotalAirlineCostEst.hints.label}"
    required="#{bindings.TotalAirlineCostEst.hints.mandatory}"
    columns="#{bindings.TotalAirlineCostEst.hints.displayWidth}"
    maximumLength="#{bindings.TotalAirlineCostEst.hints.precision}"
    shortDesc="#{bindings.TotalAirlineCostEst.hints.tooltip}"
    id="it20" readOnly="false"
    disabled="true"
    styleClass="AFFieldNumberMarker">
    <f:validator binding="#{bindings.TotalAirlineCostEst.validator}"/>
    <af:convertNumber groupingUsed="true"
    pattern="#{bindings.TotalAirlineCostEst.format}"
    type="number"
    maxFractionDigits="0"/>
    </af:inputText>
    thank you,
    Judy

  • F4 / Value Help on a Read-Only Field in a WD app

    Hi friends,
    I am struggling to put up a F4 help on an input field which has been set up as read-only. The idea is to have the field as read-only, and allow the user to select any value from the predefined values using F4/value help.
    Now, I get the F4 help working if the field is NOT in a read only mode, However, the moment I set it to READ ONLY , the F4 help vanishes.
    Is there a way to have the F4 help associated with the field even when the field is a read-only ?
    Thanks.

    Great Solution ! This works.
    However, there is a small problem with the usage of browsers. If you use Mozilaa/ Chrome, then even the 1 px width of dummy field show up. However with IE the 1 px does now not show up, so the F4 help comes up right next to the original field. But that is not something significant !

  • Help with read only text field

    trying to refine a KW form
    I don’t want user to enter value in a box so I made it read only.  $<input name="proptax" type="text" size="10" readonly="true">
    Validation says:
    "true" is not valid value for the "readonly" attribute in any of the currently active versions. See the above warnings for more details.[HTML 4.0]
    So now what?

    DW's validation gives me an error.  W3C  says it's ok.  I wonder why DW (v8) disagrees.
    Actually I 'disabled' the field instead which actually works better for me but they all behave the same,  errors in DW  and ok in W3C
    Thanks

  • F4 help icon and Drop Down icon turned to input field in EHP4

    Hi,
    I am facing one strange problem, I have a system in which ECC6 with EHP3 was installed. Everthing was fine so far.
    But as soon as we have upgraded to EHP4 package level 2 Web Dynpro Applicaiton UI rendering problem started.
    1. F4 search help icon changed to input field like ui which does not takes any input but responds when user clicks on that field with normal F4 Search Help screen.
    2. Drop Down icon also changed to input field like ui which does not takes any input but responds when user clicks on that field with normal Drop Down appears.
    Any resolution for this?
    -Haresh Khandal

    Hi,
    Yes, I also faced the same issues. I guess some patch levels you need to apply. Please approach your basis team for the same.
    One moe thing, As a temporary solution, try to increase the width of those UI elements so that you can be able to the dropdown icons and F4 help icons clearly.
    Try out this way.
    Regards,
    Lekha.

  • Read only List-Field

    HI Folks
    It seems to me that there should be an easy answer to the following
    problem, so much so that I feel foolish for submitting it. However, since
    this is my first posting, it is usually o.k. to be an dimwitted idiot.
    Is there any way to have a list field (i.e. scroll list or drop list) that
    doesn't display the icon at the right side of the box (the drop arrow or
    scroll icon).
    We wish to display an item from the list in a read-only fashion, thus is
    not any need to display the list, just the corresponding item from the
    list. (i.e 'sex' it comes from the database as a 1 (Male) or 2 (Female),
    and rather than display the 1 or 2, we would like to display the 'Male' or
    'Female'. )
    Since we are displaying the records in an array and the array field is
    mapped to an object that corresponds to the database table, extra fields
    for translation, including virtual attributes, in that object fowl up the
    writing to that database table. And, of course, the Drop list adds some
    vertical height to the array field, screwing up the esthetic beauty of the
    screen.
    Thanks for reading this.
    -later
    -labeaux
    [email protected]

    Try some thing like below,
    your data value that needs to be update should be in this format "ID of the lookup";#"Title of the Lookup" 
    For example,
    listItem["Product_x0020_Number"]
    = "1;#iPhone";
    listItem["Product_x0020_Number"]
    = "2;#Mobile";
    Hope this helped you....

  • Read-only/hidden fields in self request form

    I have a prepop plugin for one of the field which generates a number from an oracle sequence, i don't want requesters to modify it, so I would like to either hide it or make it read only.
    Also, can i put some label/help text to put in some instructions?

    Have a look at the following link for section- *19.1 Step 1: Creating a Request Dataset for the Resources* -> *19.1.1.3 The AttributeReference Element* ->Optional Properties -> approver-only
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/request.htm#CIHGBGBC

Maybe you are looking for