Search Help Value Not reflecting in WebUI

Hello All, We have a requirement to create a standard F4 value help for PRODUCT_ID field and the selected value should be reflected in the WebUI field. This field is in a table view context node and the component is a stand alone WebUI component. Everything works fine till the Search help is called and the values is selected. But the selected value is not reflected in the Product_ID field. We have checked many forums and links and tried almost all the alternatives suggested. Here's is the code attached for reference.
DATA:l_wa_map       TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
       l_i_inmap     TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
       l_i_outmap    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
  DATA:  lv_str_index TYPE string.
*  l_wa_map-context_attr = 'product_id'.
*  l_wa_map-f4_attr      = 'PRODUCT_ID'.
*  APPEND l_wa_map TO:l_i_inmap,l_i_outmap.
  lv_str_index = iv_index.
  CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
  l_wa_map-f4_attr = 'KEY'. "'PRODUCT_ID'. "'
  APPEND l_wa_map TO: l_i_outmap.
  lv_str_index = iv_index.
  CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
  l_wa_map-f4_attr = 'VALUE'. "'PRODUCT_ID'.   "
  APPEND l_wa_map TO: l_i_outmap.
  CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
     EXPORTING
      iv_help_id        = 'COM_PR_SHTEXT'      "#EC NOTEXT
      iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name  "if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
      iv_input_mapping  = l_i_inmap
      iv_output_mapping = l_i_outmap
      iv_object_ref     = me
      iv_trigger_submit = abap_true.
Is there any further code or event call required to reflect the value in the WebUI? or what exactly is required to be done here?
Thanks in Advance.
Prasad

Hi Kamlesh,
Check that you have checked for import and export in your search help for parameter ATBEZ
Refer my reply in here  [F4 Help|HELP NEEDED....F4 VALUE HELP IN WEB UI;
Regards
Jignesh

Similar Messages

  • Search Help Selected Values not reflected in WebUI

    Hello All, We have a requirement to create a standard F4 value help for PRODUCT_ID field and the selected value should be reflected in the WebUI field. This field is in a table view context node and the component is a stand alone WebUI component. Everything works fine till the Search help is called and the values is selected. But the selected value is not reflected in the Product_ID field. We have checked many forums and links and tried almost all the alternatives suggested. Here's is the code attached for reference.
    DATA:l_wa_map       TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
           l_i_inmap     TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
           l_i_outmap    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      DATA:  lv_str_index TYPE string.
    *  l_wa_map-context_attr = 'product_id'.
    *  l_wa_map-f4_attr      = 'PRODUCT_ID'.
    *  APPEND l_wa_map TO:l_i_inmap,l_i_outmap.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'KEY'. "'PRODUCT_ID'. "'
      APPEND l_wa_map TO: l_i_outmap.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'VALUE'. "'PRODUCT_ID'.   "
      APPEND l_wa_map TO: l_i_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
         EXPORTING
          iv_help_id        = 'COM_PR_SHTEXT'      "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name  "if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping  = l_i_inmap
          iv_output_mapping = l_i_outmap
          iv_object_ref     = me
          iv_trigger_submit = abap_true.
    Is there any further code or event call required to reflect the value in the WebUI? or what exactly is required to be done here?
    Thanks in Advance.
    Prasad

    Thanks Dharmakasi, your point to use Condense was the issue which was preventing the values from reflecting in the field.
    However, below code is not required.
    * lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'PRODUCT_ID'.
      APPEND l_wa_map TO: l_i_inmap.
    I had another requirement which worked in below way. Note this is for Custom data elements with value help in domain. Hope this is helpful for other folks.
    DATA:l_wa_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
    l_i_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
    l_i_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      DATA:  lv_str_index TYPE string.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].GC_CARD_TYPE' INTO l_wa_map-context_attr.
      CONDENSE l_wa_map-context_attr NO-GAPS.
      l_wa_map-f4_attr = 'KEY'.
      APPEND l_wa_map TO: l_i_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id        = '/GLB/CNPCR_GC_CARDTYPE'     "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_dtel
          iv_input_mapping  = l_i_inmap
          iv_output_mapping = l_i_outmap.

  • Search help is not triggering second time in interactive form

    Hi,
    I have online interactive form in WDABAP. And I have few search helps in the form, If i click on any search help it is opening and I can select the value and the same is populated to the field. But if i click it again search help is not opening.
    Only one time it is triggering and also after I clicked one serach help, other search helps also dont work.
    Can some one guide me? Is it something to do with scripting or any other configuration?
    Now Im using ALD7.1 and Reader version is 8.1.0.
    did any one faced this problem? Really appreciate if some one can help me on this.
    Regards,
    Ravi

    hi,
    The following code is generated in the preopen event of the valuehelp.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 710.20061129084151.349066.349066 - ValueHelpDropDown.xfo
                       var processingValueHelp = ContainerFoundation_JS.getGlobalValue(event.target, "processingValueHelp");
                       if(processingValueHelp == false) {
                           ContainerFoundation_JS.setGlobalValue(event.target, "processingValueHelp", true);
                           this.rawValue = "";
                           this.clearItems();
                           ContainerFoundation_JS.SendMessageToContainer(event.target,
                                                                         "valueHelp",
                                                                         this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),
                                                                         this.rawValue,
                                                                         event.target.mouseX,
                                                                      event.target.mouseY);
                       // END OF DO NOT MODIFY
    I have tried placing this code in click event instead of preopen.But still no use. Can we make changes to this code? Can some one give me some idea what changes need to be done..
    Regards,
    Ravi

  • With input disabled field search help is not working.

    Hi Web dynpro abap Gurus
    Please help me on below requirement.
    If i make a input field disable then the attach search help is not working. Is there is any way by which
    I can make input field disabled and search help will also work for this field.
    I really need help on this, Please help me.
    Many thanks in advance.
    Sandeep Sharma
    09971995045

    Hi
    I dont think that a field can be disabled and allows to choose data using f4 simultaneously. you can enable the field and allow the user to select whatever he/she wants.
    Then in any action like on press of save or submit button which the user will trigger after entering the values, get the value entered by the user in that perticular field and fire a query on the table/view, which you have used as selection method of your search help, it help is coming from data element then look for check table in domain. if sy-subrc comes 0 than go ahead else give error that value selected is modified.
    Thanks
    Vishal

  • Transferring Search Help values from ECC 6.0 to SRM 7.0

    Hi SAP experts,
    I have a requirement to display the search help values for a data element in ECC 6.0 into the custom data element that I created on SRM 7.0.
    Is there a BAPI that I can use to retrieve the values for a search help element (for example SH_ANLKA) from the the ECC into SRM?
    Your advise would be greatly appreciated!
    Regards,
    Andrew

    Hi Andrew,
    I have got a similar requirement to fetch the PO details from ECC search help to a new SRM search help. Please help me with the procedure you used for the above scenario.
    Thanks,
    Santosh.

  • Search Help values to Internal table

    Dear Friends,
    Is it possible to export Search Help values to Internal table?
    On screen, when user click on Search button, the SAP standard search help will call (Customer Search). After entering values, some result get displayed and this result need to export to the internal table.
    Thanks in stack
    Nilesh

    Hi:
    try this:
    DATA : wa_shlp TYPE shlp_descr,
               it_records LIKE ddshretval OCCURS 0 WITH HEADER LINE.
    wa_shlp-SHLPNAME = 'MAT0M'.   "one of elementary search help name from mara-matnr.
    wa_shlp-SHLPTYPE = 'SH'.
    CALL FUNCTION 'F4IF_SELECT_VALUES'
         EXPORTING
           shlp                   = wa_shlp
      MAXROWS                = 0
      SORT                   = ' '
      CALL_SHLP_EXIT         = ' '
    IMPORTING
      MAXROWS_EXCEEDED       =
        TABLES
      RECORD_TAB             =
      RECDESCR_TAB           =
          return_tab            = it_records
    LOOP AT it_records.
      WRITE:/ it_records.
    ENDLOOP.
    Follows is how to get the search help name:
    CALL FUNCTION 'DD_SHLP_GET_HELPMETHOD'
      EXPORTING
        tabname                 = 'MARA'
        fieldname               = 'MATNR'
        langu                   = sy-langu
      NO_CHKTAB_MAPPING       =
      GET_ENTITYTAB           = ' '
       CHANGING
         shlp                    = wa_shlp
      callcontrol             = callcontrol
      EXCEPTIONS
        field_not_found         = 1
        no_help_for_field       = 2
        OTHERS                  = 3
    CALL FUNCTION 'F4IF_EXPAND_SEARCHHELP'
       EXPORTING
         shlp_top = wa_shlp
       IMPORTING
         shlp_tab = shlps.
    好运,
    启明星

  • Search help does not work when view context is mapped to comp context

    Hello,
    I am trying to display search help for an input field of a view. The context to which the input field is bound is a node with an attribute. I have specified Dictionary Search help for the attribute. Now when I execute the application, I am able to get the search help in the screen.
    But, I  need to map this  view context node to its comp controller context. When I do the mapping, the search help does not appear when executed.
    It would be a great help if someone can point out an answer to this.
    Thanks,
    Maya

    Hi Maya
    Follow these steps:
    1.Delete the context node/attribute which is bound to search help from the View.
    2.Now Save metadata.
    3.Perform Context mapping again .In the Edit Context Mapping window drag the node/attribute FROM RIGHT PANE TO LEFT PANE and select the entry.
    4.Delete the Input Field from the view.
    5.Save again
    6.Close NWDS and reopen it.
    7.Create input field again and bind it to the context element.
    Hope this solves the problem.
    Regards
    Ananda

  • Ship to party search help address not display

    Hi,
    Using 'Edit internal address' We added one plant address, and the address no also generated. plant having several address.
    But when we creating shopping cart, trying to select the ship to address from the search help, address not displaying in the list.
    even we tried adding this address in the attributes as delivary address also .but the address not displaying in ship to party search help.
    If any one faced this problem let us know how to proceed.
    Thanks in advance,
    prasad.s

    it is strange .
    whatever you have defaulted ship to adress has to come.
    did you maintain at position level and make ensure that you have really inherited.
    FM bbp_read_attributes
    for your user execute and make ensure that you have inheited ship to address
    when you create ship to address . did you check this box Ship-to Address  in Use Address as:
    muthu

  • Search help is not working at  variable

    Hi
    when i am aexecuting the report. at variable screen when i am selectiong like compy code , heer lot of company code are there, there in search tab i need to search perticual comp code, please let me know any note i need to apply?

    Hi,
    check this:
    FAQ: Input helps in Netweaver BI
    SAP Note Number: 1080863
    This note gives answers to frequently asked questions (FAQ) with regard to using the input help for characteristics in SAP NetWeaver BI. This includes the input helps in the BI BEx Java Web as well as the input helps in the BI BEx Tools.
    To make sure that this is not caused by a program error check this notes on relevance:
    F4 returns incorrect values
    SAP Note Number: [1161224|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
    Input help does not display any values in variable screen
    SAP Note Number: [1074803|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
    Regards
    Andreas

  • Search help is  not working

    Hi All,
    when am trying to search some ids using search help it is showing all ids.
    For Ex: i want to search which ids starts with 'A', am give 'A*' but it is showing all ids.
    Thanks in Advance

    {FUNCTION /VIRSA/ZVIRFFOWNER.
    ""Local interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCR_TAB_T
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     REFERENCE(SHLP) TYPE  SHLP_DESCR_T
    *"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
    EXIT immediately, if you do not want to handle this step
      IF CALLCONTROL-STEP <> 'SELONE' AND
         CALLCONTROL-STEP <> 'SELECT' AND
         " AND SO ON
         CALLCONTROL-STEP <> 'DISP'.
        EXIT.
      ENDIF.
    STEP SELONE  (Select one of the elementary searchhelps)
    This step is only called for collective searchhelps. It may be used
    to reduce the amount of elementary searchhelps given in SHLP_TAB.
    The compound searchhelp is given in SHLP.
    If you do not change CALLCONTROL-STEP, the next step is the
    dialog, to select one of the elementary searchhelps.
    If you want to skip this dialog, you have to return the selected
    elementary searchhelp in SHLP and to change CALLCONTROL-STEP to
    either to 'PRESEL' or to 'SELECT'.
      IF CALLCONTROL-STEP = 'SELONE'.
      PERFORM SELONE .........
        EXIT.
      ENDIF.
    STEP PRESEL  (Enter selection conditions)
    This step allows you, to influence the selection conditions either
    before they are displayed or in order to skip the dialog completely.
    If you want to skip the dialog, you should change CALLCONTROL-STEP
    to 'SELECT'.
    Normaly only SHLP-SELOPT should be changed in this step.
      IF CALLCONTROL-STEP = 'PRESEL'.
      PERFORM PRESEL ..........
        EXIT.
      ENDIF.
    STEP SELECT    (Select values)
    This step may be used to overtake the data selection completely.
    To skip the standard seletion, you should return 'DISP' as following
    step in CALLCONTROL-STEP.
    Normally RECORD_TAB should be filled after this step.
    Standard function module F4UT_RESULTS_MAP may be very helpfull in this
    step.
      IF CALLCONTROL-STEP = 'SELECT'.
        EXIT. "Don't process STEP DISP additionally in this call.
      ENDIF.
    STEP DISP     (Display values)
    This step is called, before the selected data is displayed.
    You can e.g. modify or reduce the data in RECORD_TAB
    according to the users authority.
    If you want to get the standard display dialog afterwards, you
    should not change CALLCONTROL-STEP.
    If you want to overtake the dialog on you own, you must return
    the following values in CALLCONTROL-STEP:
    - "RETURN" if one line was selected. The selected line must be
      the only record left in RECORD_TAB. The corresponding fields of
      this line are entered into the screen.
    - "EXIT" if the values request should be aborted
    - "PRESEL" if you want to return to the selection dialog
    Standard function modules F4UT_PARAMETER_VALUE_GET and
    F4UT_PARAMETER_RESULTS_PUT may be very helpfull in this step.
      IF CALLCONTROL-STEP = 'DISP'.
      PERFORM AUTHORITY_CHECK TABLES RECORD_TAB SHLP_TAB
                              CHANGING SHLP CALLCONTROL.
        data: begin of i_idowner,
                zvirffid like /virsa/zvirffids-zvirffid,
                zvirffowner like /VIRSA/zvirffids-zvirffowner,
              end of i_idowner.
        data: wa_shlp  TYPE SHLP_DESCR_T,
              iface like DDSHIFACE occurs 0 with header line.
       authority-check object 'GRCFF_0002' id 'YACTVT' field 'OWNR'.
       if sy-subrc = 0.
        select distinct zvirffowner into i_idowner from
           /VIRSA/ZVIRFFIDS.
          record_tab = i_idowner.
          append record_tab.
          clear: record_tab, i_idowner.
        endselect.
       else.
         select distinct zvirffrole into i_rolemonapvr from
            /VIRSA/ZFFROLES.
            where zvirffowner = sy-uname.
           record_tab = i_rolemonapvr.
           append record_tab.
           clear: record_tab, i_rolemonapvr.
         endselect.
    endif.
        EXIT.
      ENDIF.
    ENDFUNCTION.}

  • Search help is not coming while using select-options?

    Hi All,
    I am using select options in my selection screen, i used wdr_select_options, also i coded some parameter values also
    ( non select-options ). For that field i am not getting search help. If i create as normal i am getting? Suggestions pelase?
    Thanks,
    Venkat.

    HI
    what kind of search help is associated with the field.
    ADD_SELECTION_FIELD method has some specific parametrs for value_help
    give the input there and try again.
    these parameters are
    I_VALUE_HELP_TYPE
    I_VALUE_HELP_ID
    I_VALUE_HELP_MODE
    I_VALUE_HELP_STRUCTURE
    thanks
    sarbjeet dingh

  • Search Help parameter not passing in FM

    A  Search Help ZAMCH1 is included in collective search help MCH1.Within it an elementary search help  ZMME_CHARG2 is included.In  this Elementary Search Help, a parameter 'CHRUE' ( Inventary Indicator) is there with data element 'ZMM_CHARG_IND' and default value 'X'.
         But this parameter is not passed into the search help exit i.e. the function module.All other parameters are passed correctly in structure 'shlp-selopt' except CHRUE.So the indicator is always blank in FM.what might may be the reason and remedy ?

    Since your search help starts with the letter Z, it is a custom search help.  So we can't look at the code to see what might be going on.  You can try posting more specific information from the search helps here, and then someone might be able to help you.
    - April King

  • How-to map multiple explicit search help values to context attributes?

    Hi,
    I have a custom explicit Search Help with multiple attributes set as export and uses search help exit for data retrieval. I have set this Search Help for one of the context attribute that is binded to one of the input fields on view.
    Now, is it possible to dynamically map other export attributes from this Search Help to other Context attributes?
    I know this works for Input helps that are directly derived from check tables but not sure how to do it for explicit Search Helps.
    Can anyone please confirm and let me if this is possible? If yes, then can you please share an example or describe how to do it?
    Thanks and Regards,

    Hi Srinivas,
    Check this ..Search help can be dynamically assigned to a field.
    data lo_nd_info type if_wd_context_node_info.
    lo_nd_info = lo_nd->get_node_info( ).
    CALL METHOD lo_nd_info->set_attribute_value_help
    EXPORTING
    name = 'ATTR1'                  " Your attribute Name
    value_help_mode = '121'    " Valid value help mode
    value_help = 'Z187442'.      " Search help name
    The various possible values that you can pass to value_help_mode are as shown below.
    deactivated 101
    automatic 111
    ddic 121
    ovs 131
    Also refer this..
    Re: How to put dynamic search help in web dynpro ABAP.
    Cheers,
    Kris.

  • Search help value restriction fields

    Hi experts,
    I have modified the existing search help by  using "SEARCH HELP EXIT".
    Here is the situation:
    As soon as I press F4 button on particular field, it will display search help restrictions window with 4 fields.
    suppose if I enter material number on material number field, it should display only particular material not all materials.
    Normally it was working fine before I written search help exit.
    In search help exit I am selecting values directly from database table with out consider restrictions window parameters.
    How to findout the restrictions window parameter names ( I mean screen field name). So that I can add those fields in my select statement where condfition.
    Pls help me.
    Thanks in advance
    Raghu

    I got the solution. Any how Thanks.

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

Maybe you are looking for

  • Gif file in a xsl:include

    Hi, Can a .gif file be included in a xsl:include? I cannot use <img src="/images/delete.gif"/> since the "src" part is 1)going to be dynamic and 2)cannot be returned as a TAG in the XML as well. Thanks in advance...

  • Terms of Payment for Local and Import Purchase Order

    Hello Experts, I am SAP FICO Consultant, I am given a task of maintaining payment terms for local and import purchase order, I would highly appreciate your help in this regard. I know I can maintain payment terms via OBB8 but I am not sure that how t

  • Startup slow down after some restarts

    I have optimize boot using windows performance toolkit and time was 20 sek but after some restart it slow and goes 1 miN. My laptop is dell n5010. Earlier I have installed iolo system mechanic and thi slow startup. I uninstalled but nothing

  • Is it possible to have songs in the iTunes library that I do not want to be added to iTunes Match?

    I ask this because a few days ago my iTunes library crashed and iTunes does not recognize my purchases anymore so I have a lot more than 25,000 songs in my library and instead of deleting  600 songs from my library, I would like to select some of the

  • Payment refusal

    Why on earth is it so hard to make a simple payment to Skype.... Or contact with customer service directly?!!! I need to renew my skype number subscription. I have been trying to renew it for the past few days, but won't accept my payment. Tomorrow m