Modify behavior of Search Help

Hello all,
I need to modify the behavior of the search help for ORDERED_PROD field
We want this ORDERED_PROD to be based on the service type, for instance, when SERVICE_TYPE = '01', the ORDERED_PROD must begin with '01.'
So, what I want is when the user press F4 for the ORDERED_PROD field, and the SERVICE_TYPE has a value of '01', then the search help for ORDERED_PROD should only show the values that matches '01.*'
Can anybody help me?
Thanks in advance

Sorry, but I think that I shouldn't
The Search Help is standard, and also de search help exit.
Changing the standard is always possible, but I would like to avoid it.
What I would like is to do what you can do in step CALLCONTROL-STEP = 'PRESEL' of a search help, but I can not modify the search help exit...
Hope it clarifies our problem a little bit better...
Best Regards.

Similar Messages

  • Needs to modify entries in search help

    Hello friends,
    I need to modify some entries in the search help for materials (MATNR). I have found that search help MAT1 is used for materials, and when I go inside then I am not able to get the records in the internal table(RECORD_TAB) that displays in the output.
    Also the search help exit is standard, so creating a 'Z' exit and replacing in the search may effect other functionality of standard SAP also. So i need to take care of that as well.
    Can anyone help me for finding the entries and where i need to modify them.
    Regards,
    Grover

    But I face a problem because RECORD_TAB doesn't fill and data gets in from some other standard program.
    I don't understand 'other standard program' - the elementary search help you are referring to does not have an exit, just a view selection.  If you add the exit, then you can stop at the 'DISP' callpoint and analyze the data.
    Also in that program internal table that contains entries are in a form of string and not with different fields.
    Of course, RECORD_TAB is converted at runtime based on the search help definition.  This is why you need to used the F4UT_* helper functions to access the data.  Better yet, if you overtake the data selection, you'll have your own internal table that you can analyze before mapping it back to RECORD_TAB.

  • Modifying Search Help.

    Hi,
    We have modified a standard Search help by including our own custom search help by taking a object key. Now it is appearing in SPAU when we apply Suuport pack. But we dont want this to appear in the next Upgrade.
    What is the ideal way to do the changes?
    Should i Reset to original and append the Z structure to it or Should i modify it directly?
    Regards,
    Lijo Joseph
    Message was edited by: Lijo Joseph Vazhappilly

    Hi again,
    1. well, im not much aware about search help,
    but regarding tables,
      a) modifying structure of a table
      b) using append structure in table.
    2. The difference lies
       in re-constructing the table
       at the database level,
       whenever there is any change
       in future in the database table
    3. when append strucute is there,
       the table fields are
       first constructred from the
       normal fields (ie. without any append strcture,
        containing .include etc)
    4. Only then the fields of append strucutre
       are added.
    5. then old data fields are copied to the new data fields.
    regards,
    amit m.

  • Modify SAP Search Help

    Hi All,
            I have a requirement to modify the exisitng search Help 'PREM' ,which is a collective search help.
    In this I have added my Serach help 'Z1PNAlT'.This z- search HELP HAS 'PNALT' as export parameter.
    How ever when I include this Z search help in 'PREM' it gives me a warning at the time of activaion as :'No parameter assignment has been done for Z1PNAlT'.
    Can anybody please help me with this?
    Thanks

    Hi,
    You have done the parameter assignment at 'collective search help' level as well (check the 'Param Assignment' Button at collective search help change screen on the tab 'Included search help')?
    cheers,

  • Enhancing standard (single select)search help for Multiple value selection

    Hi,
    Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
    Is there a way to do it.
    I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
    It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
    Appreciate your help,
    Thanks,
    Sri
    Edited by: Sri on Sep 9, 2010 8:50 PM
    Edited by: Sri on Sep 9, 2010 8:52 PM

    As far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
    Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
    I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me.

  • Adding a new field to the search help exit

    Hi friends,
    adding a new field to the search help exit. How does it work ?
    Thanks in advace
    Ilhan

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • Enhancing F4 Search Help Issue - Standard Component

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

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

  • Field values are repeating for search help.

    Hello Friends.
    I have a problem. When I create a search help for a field the identical field values are repeating. What should I do to trigger only the first time.
    for example:
    <u>Field-name</u>-                        <u>field-value</u>
    Supplier Nr ---                                 Commodity
    5001 -
                                               casting
    5002 -
                                               casting
    5003 -
                                               casting
    So when I create the search help for commodity it is showing 'casting' 3 times in a pop-up window. It should not repeat. Can you please give me the solution what should I do?

    Hi
    Search helps
    Standard search help
    Types of search helps
    Concept of search help
    Search Help Interface
    Dialog behavior of search helps
    Selection method for search helps
    Performance of search helps
    Attaching search helps
    Hierarchy of search helps
    Standard Search Help
    The input help (F4 help) is a standard function of the R/3 System. It permits the user to display a list of possible values for a screen field. A value can be directly copied to an input field by list selection.
    The fields having an input help are shown in the R/3 System by the input help key to the right of the field. This key appears as soon as the cursor is positioned on the corresponding screen field. The help can be started either by clicking on this screen element or with function key F4.
    If the number of possible entries for a field is very large, you can limit the set of displayed values by entering further restrictions.
    Further meaningful information about the displayed values is included in the display of possible entries, especially if the field requires that a formal key be entered.
    TYPES OF SEARCH HELPS
    Elementary search helps
    Describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    Collective search help
    Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    Search Help Interface
    Search help interface determines how the exchange of values between the screen template and the selection method is implemented.
    The search help interface defines the context data that can be used in the input help and the data that can be returned to the input mask. Analogously to the interface of a function module, the search help interface comprises interface parameters.
    When you define an interface parameter of a search help, you must also define whether it should be used to copy data to the input help (IMPORT parameter) or whether it should be used to return data from the input help (EXPORT parameter). A parameter of a search help can also have both attributes at the same time.
    The location from which the IMPORT parameters of a search help get their values and the screen fields in which the contents of the EXPORT parameters of the search help are returned are defined in the search help attachment. The search help itself should always be attached to an EXPORT parameter of the search help. If this parameter is also the IMPORT parameter, its contents are only used in the input help if it is a search string (that is, if it contains a ´*´ or a ´+´).
    You must define the parameter types of a search help. You can do this by assigning them data elements.
    Value Transport for Input Helps
    NOTE:In the above example, screen fields A, B and C are linked with parameters of the search help. As a result, values can only be transported between the screen and the search help for these three fields. Existing contents of screen fields A and B can be used for selecting the hit list since they are linked with an import parameter of the search help. The values of parameters A and C can be returned to the screen from the hit list since these parameters are declared as export parameters of the search help.
    Description of dialog behavior
    A hit list might contain plentiful number of entries. A
    dialog provides the user with an option to restrict the
    entries displayed on the hit list.
    In an input help process, the set of possible entries is presented in the dialog box as a list for displaying the hit list. The user selects the required value from this list by double clicking. Since the possible entries are often formal keys, you must be able to display further explanatory information about the possible entries in the list.
    If the set of possible entries is very large, the user should be able to define additional conditions for the attributes of the selected entry. Restricting the set of data in this way both increases the clarity of the list and reduces the system load. Additional conditions can be entered in a further dialog window, the dialog box for restricting values.
    Specifying the dialog type of a search help defines whether the dialog box for restricting values should be offered and if so under what conditions.
    The attributes in the dialog box for displaying the hit list or in the dialog box for restricting values must be defined as internal parameters of the search help. An internal parameter can also be used in only one of the two dialog boxes. It can also belong to the search help interface.
    The internal parameter types are also defined with data elements. These data elements define how the parameters are displayed in the two dialog boxes.
    Reward if usefull

  • How to add a search help on a screen field from screen painter

    Hi,
    I would like to add an existing Search Help on a screen field in Screen painter.
    Of course it's possible to just click on th screen field and in the property box, I just have to set the name of teh search help.
    The problem is that I need the screen field to be grey and user musn't be able to change the field value if he doens't use the search help.
    I'm not allowed to modify the existing search help or to built it on my own from source code, I must use the existing one.
    Do you have an idea on how to do so?
    Regards,
    Morgan

    Dropdown Box:
    In the screen painter for that field goto properties -> Dropdown ->select listbox.
    Option 1:
    Instead let that field be in change mode and if user enters any wrong entry which is not there in the table give a error messgae.
      CHAIN.
        FIELD addr1_data-country.
        MODULE modify_screenfields1.
      ENDCHAIN.
    MODULE modify_screenfields1 INPUT.
      CASE sy-ucomm.
        WHEN 'ENTER' OR 'EXECUTE'.
          IF NOT addr1_data-country IS INITIAL.
            SELECT SINGLE landx FROM t005t INTO lws_landx WHERE
                                          land1 = addr1_data-country
                                      AND spras = 'EN'.
            IF sy-subrc <> 0.
              MESSAGE e000(zo_spa) WITH text-022.  " Invalid Country code
            ELSE.
              t005t-landx = lws_landx.
            ENDIF.
          ELSE.
            CLEAR: t005t-landx.
          ENDIF.
       ENDCASE.
    ENDMODULE.                 " modify_screenfields1  INPUT
    Option 2: Other than if u want the way u like, let that field be greyed out. don't attach the search help.
    In the PROCESS ON VALUE-REQUEST.
      FIELD addr1_data-region MODULE region_pov.
    MODULE region_pov INPUT.
    Using the F4IF_INT_TABLE_VALUE_REQUEST table value request show the search help.
    also make that field input enabled.
    ENDMODULE.                 " region_pov  INPUT
    I think this will solve ur problem.
    Regards,
    Prakash.
    Message was edited by: Prakash Ramu

  • Search Help to populate field

    Hie guys,
    As a work around to my clients request i have modified an elementary search help in transaction CV02N. Instead of showing customers under the Obect Links i am showing the business partners. however when the desired business partner is selected i want to populate the adjacent description field with the full name of the business partner as would have appeared in the search help.
    how can i populate that field??
    regards
    Isaac Prince

    see the below code...
    i have the material number in the selection screen ..when i select the material number it
    will display the material description in same line ...
    Ans:
    report zrich_0002 .
    selection-screen begin of line.
    selection-screen comment (20) matnr.
    parameters: p_matnr type mara-matnr.
    selection-screen comment (40) maktx.
    selection-screen end of line.
    at selection-screen output.
    clear maktx.
    matnr = 'Material Number'.
    if maktx is initial.
      select single maktx into maktx
             from makt
            where matnr = p_matnr
              and spras = sy-langu.
    endif.
    at selection-screen on value-request for p_matnr.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
      call function 'F4IF_FIELD_VALUE_REQUEST'
           exporting
                tabname           = 'MARA'
                fieldname         = 'MATNR'
                dynpprog          = sy-cprog
                dynpnr            = sy-dynnr
                dynprofield       = 'P_MATNR'
           tables
                return_tab        = return
           exceptions
                field_not_found   = 1
                no_help_for_field = 2
                inconsistent_help = 3
                no_values_found   = 4
                others            = 5.
      read table return with key fieldname = 'P_MATNR'.
    Add it back to the dynpro.
      dynfields-fieldname = return-retfield.
      dynfields-fieldvalue =  return-fieldval.
      append dynfields.
      clear dynfields.
      dynfields-fieldname = 'MAKTX'.
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
        exporting
          input         = return-fieldval
        IMPORTING
          OUTPUT        = p_matnr.
      select single maktx into dynfields-fieldvalue
             from makt
            where matnr = p_matnr
              and spras = sy-langu.
      append dynfields.
    Update the dynpro values.
      call function 'DYNP_VALUES_UPDATE'
           exporting
                dyname     = sy-cprog
                dynumb     = sy-dynnr
           tables
                dynpfields = dynfields
           exceptions
                others     = 8.
    start-of-selection.

  • Search help in selecrion screen

    hi expertds,
    how to remove search help from DD02L-TABNAME filed
    select-options :  s_tabn for DD02L-TABNAME .
    i dont want any help in this field, but defalt i am getting because of DD02l
    Amit

    Hi,
    You should try to not modify standard SAP search helps - they are generally easy to replace with customer search help versions without modifying the original. (Although there are a couple like the HR searchelp PREM where this does not work - it has exits / customising for setting how it behaves).
    In SE11 display the original BUPA collective search help, and select the menu option "Goto-->Append Search Help". This will display a pop-up listing existing appends. Select the create button in the pop-up and give the new append a Z name - say Z_BUPA and save it. In the new Z_BUPA append go to the Included Search Helps tab and type in BUPAA and select the "Hide" checkbox. Save and activate. This has now hidden the BUPAA help in the original BUPA collective search help - go back and test it to see.
    To add a replacement, copy BUPAA to a ZBUPAA search help and add it as an included search help in your Z_BUPA append. for this one you will need to select the Param Assignment button to link parameters between the collective and elementary search helps.
    Doing the change this way means future support packs will not overwrite the changes you have made.
    If the view or function needs changing, these should be copied to Z versions and changes made. The original code in the function module could instead be repaired using Modification assistant if there are not too many complicated changes.
    With the BUP_SHLP_EXIT_SEVERALS function, there are a number of references to the search help name in the function that would need to change to the new Z name. Other changes depend on your requirements - The function is called a number of times during the search help display, with a different step executed each time (PRESEL1, PRESEL, SELECT in this case) - mods may be needed to only some steps. The steps are partly documented by comments in the code.
    The function BUP_SHLP_EXIT_SEVERALS appears to have a BADI exit included in the PRESEL step (exit interface IF_EX_BUPA_AUGRP) - this may be of some use.
    2.In this you don't need to create zsearch help.Just hide it.
    Regards,
    Shiva Kumar

  • Search help in dynpro

    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 SFLIGHT_T-CARRID but this field can be modified with search help and directly, or this field can't be modified.
    How can i solve this problem?
    Thanks a lot.

    Hi,
    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
    But this don't fix my problem, I can see the diferent values with match code but I can't choose a value.
    Can somebody help me again?
    Thanks a lot.

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

  • Customer search help

    Hello,
    i want to add a telephonic search help to the customer search help(whenver we do F4 on the customer field, eg: xd01). what is the name of the customer's search help
    Thanks,

    Search helps are defined in the data dictionary (txn SE11).  I think you have two options....
    You can MODIFY the DEBI search help.  Modifications to standard SAP objects are not recommended.
    SAP also provides a flexible process to change the search help for customers.  This is usually done with help from the SD functional person.
    First- check the documentation.  In the IMG (txn SPRO), got to LOGISTICS GENERAL -> BUSINESS PARTNER -> CUSTOMERS -> CONTROL.
    Select the "document" icon at the far left of the DEFINE CUSTOMER MATCHCODES icon.  This is the documentation about the search help DEBI (formally called matchcode).
    Second- Execute the icon above this entry labeled CHECK SEARCH FIELDS FOR DEBTORS.  Here you can select the telephone number (TELF1) from the drop down list. 
    This needs to be coordinated with your functional team.  Normally NAME2 or ORT01 (city) is replaced.  This means that the replaced field will no longer be available in the search help.

Maybe you are looking for

  • Removing Totals for Break Columns

    Hi All, If we add break on two or three columns in report, it gives totals for each group plus a report level total. Is there any way to remove any group or break's total. For example, if we have a report on emp table and having groups on deptno and

  • Iphone4 Suddenly wont send messages

    My phone was working fine up to about a couple of hours ago. Since that time I have done nothing different to my plan or to the phone itself. However, now it wont send messages. I can still access the internet and my email and such, but all my messag

  • Adding new rows at run time in alv oops

    HI ALL, I have a created an editable alv report in oops. Now i have to add a new row having similar values as the previous row at run time when a custom button is clicked in the output and after entering some values in the new row and pressing the da

  • Edge Animate does not support Windows Vista operating system.

    Vista is not that obsolete, what the heck.

  • Camear Raw

    I have udated lightroom 4 to 4.4.1 - Trying to up load RAW files from Nikon D750 but no images can be down loaded as images format not recognised . Using Adobe Bridge is no problemimages appear as thumbnbails. Any ideas. Should I update to Lightroom