A problem creating a Search Help against domain table dd07v...

At present I use FM DDIF_DOMA_GET to retrieve the Domain Values for a given field/domain. I then populate a drop-down list box with these values and use in a conventional dynpro.
However, what I would like to do is create a search help against the field characteristics which access table dd07v and retrieve the values for the domain. I'm stuck on the search help part because I don't know how to define the domain name within the search help so that the correct dd07v values are retrieved..
Do you think this is possible, or should I give up now.?.
Jas

Problem resolved. You can hard code values, like the domain name within the search help.
Although I have found that if you don't use a search help and you have domain values then your drop-down list values will be automatically populated from the domain values for the field. At least in my dynpro it does.
Jas

Similar Messages

  • Problem with ALV search help Dictionary Search Help

    Hello experts
    I have a problem with ALV search help.
    I use DDIC table ZXXX with text table ZXXX_T. I created DDIC search help form table ZXXX. In my WD application, in context on COMPONENTCONTROLLER i set on attribute: 'Input help mode' as 'Dictionary Search Help' and in 'Dictionary Search Help' I pass name of new created DDIC search help.
    I create a input field from that atrribute and search help works fine (there was a value and description for value from text table). So I created ALV witch contains that attribute too.
    Next I set column for this attribute in ALV as editable but on Serch help for this collumn I have only value. I DON'T HAVE TEXT DESCRIPTION FOR VALUE.
    Please help me and tell me what I do wrong?
    Miko

    Hello,
    Thank's for your help. I create DDic Search help for all fields from my ALV. Next I changed 'TYPE' for all ALV fields in COMPONENTCONTROLLER from ZXXX-Zfield to Zfield, and I changed 'Input help mode' from 'Automatic' to 'Dictionary Search Help'. Now I see Value and Description for value in Search Help in my ALV.
    Regards
    Miko

  • Problem in F4 search help

    Dear all,
    I've created a search help to get all manufacturers based on Vendor (LIFNR) , plant ( WERKS) and material (MATNR) and appended it the search help KRED. I am using the search help exit to populate the hit list and the logic is working well. So far so good. But in the hit list when ever i try to sort the entries i am having problems. For example when i give vendor # 10000 and plant 1300, i have 12 entries in the hit list with vendor , plant and purchase organization in heading ( as they are same for all entries) and material and manufacturer in the list. Now if i try to sort the list on material, the list is displayed accordingly. However the column headings are messed up like for e.g. the heading for material # column changed from "Material number" to "Vendor #' , "Manufacturer" changed to "Purchase organization".
    Any ideas on why this is happening and what could be the solution. Thanks for your help in advance.
    Below is the code i am using in "SELECT" step.
      IF callcontrol-step = 'SELECT'.
        CLEAR record_tab .
        REFRESH record_tab.
        CONSTANTS :
       c_manufact(13) TYPE c VALUE 'ZMANUFACTURER'. "Manufaturers by vendor
        CASE shlp-shlpname .
          WHEN c_manufact.
            DATA rc LIKE sy-subrc .
            PERFORM step_select TABLES     record_tab
                                    using SHLP
                                 CHANGING
                                    rc.
        ENDCASE.

    Hi Manikandan,
    hope this sample code will help you.
    *&                AT SELECTION SCREEN ON VALUE REQUEST
    *-- F4 help for IDOC numbers
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_docnum-low.
      PERFORM value_request_status USING 'S_DOCNUM-LOW'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_docnum-high.
      PERFORM value_request_status USING 'S_DOCNUM-HIGH'.
    *&      Form  value_request_status
          text
         -->fp_field  dynpro field that gets the return value
    FORM value_request_status  USING fp_field TYPE dynfnam.
      STATICS tl_values TYPE STANDARD TABLE OF tp_value.
      IF tl_values IS INITIAL.
         SELECT docnum FROM edidc UP TO 500 ROWS INTO TABLE tl_values
              WHERE credat   IN  s_credat
              AND   cretim   IN  s_cretim.
         IF sy-subrc eq 0.
            CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
              retfield        = 'DOCNUM'
              dynpprog        = syst-repid
              dynpnr          = syst-dynnr
              dynprofield     = fp_field
              value_org       = 'S'
             TABLES
              value_tab       = tl_values
             EXCEPTIONS
              parameter_error = 1
              no_values_found = 2
             OTHERS          = 3.
             IF sy-subrc IS NOT INITIAL.
               MESSAGE i999(zz) WITH 'No values found'(004).
             ENDIF.
          ENDIF.
        ENDIF.
    ENDFORM.                    " value_request_status
    Regards,
    Amit.

  • Creating customized search helps in Dialog Programming

    Hello people I have a little predicament here. I need to create search help restricting the results.
    Like lets say I want to create a search help that select material numbers and name for a specific material group. Then use that as a seach help.
    Right now Im playing around with function module <b>HELP_VALUES_GET_WITH_TABLE</b> but it seems to open right when you access call screen.
    Also Since this is dialog programming I am using screen painter. And I need to assign the search help in an I/O Field.
    Well that's all for now take care guys. Take care to you all.

    Hi Chad,
    Is your problem been resolved .
    If not , just try this code
    Copy paste as it is and it will work .
    TYPES: BEGIN OF values,
             carrid TYPE spfli-carrid,
             connid TYPE spfli-connid,
           END OF values.
    DATA: carrier(3) TYPE c,
          connection(4) TYPE c.
    DATA: progname TYPE sy-repid,
          dynnum   TYPE sy-dynnr,
          dynpro_values TYPE TABLE OF dynpread,
          field_value LIKE LINE OF dynpro_values,
          values_tab TYPE TABLE OF values.
    CALL SCREEN 100.
    MODULE init OUTPUT.
      progname = sy-repid.
      dynnum   = sy-dynnr.
      CLEAR: field_value, dynpro_values.
      field_value-fieldname = 'CARRIER'.
      APPEND field_value TO dynpro_values.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE value_carrier INPUT.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                tabname     = 'DEMOF4HELP'
                fieldname   = 'CARRIER1'
                dynpprog    = progname
                dynpnr      = dynnum
                dynprofield = 'CARRIER'.
    ENDMODULE.
    MODULE value_connection INPUT.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname             = progname
                dynumb             = dynnum
                translate_to_upper = 'X'
           TABLES
                dynpfields         = dynpro_values.
      READ TABLE dynpro_values INDEX 1 INTO field_value.
      SELECT  carrid connid
        FROM  spfli
        INTO  CORRESPONDING FIELDS OF TABLE values_tab
        WHERE carrid = field_value-fieldvalue.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield    = 'CONNID'
                dynpprog    = progname
                dynpnr      = dynnum
                dynprofield = 'CONNECTION'
                value_org   = 'S'
           TABLES
                value_tab   = values_tab.
    ENDMODULE.
    <b>For Screen 100 logic:
    Copy:</b>
    PROCESS BEFORE OUTPUT.
      MODULE INIT.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
    PROCESS ON VALUE-REQUEST.
      FIELD CARRIER MODULE VALUE_CARRIER.
      FIELD CONNECTION MODULE VALUE_CONNECTION.
    <b>Do design the layout also.</b>
    I hope this will help you.
    If this satisfy  you then please close the thread by rewarding appropriate points to the helpful answers.
    Cheers
    Sunny
    Message was edited by: Sunny

  • Problem in attching search help

    Hi all,
    I am attaching search help for one field in VA02 transaction.
    This field is already having std search help.(elementary)
    i have to copy this ti Zsearch help and do modifications for Zsearch help and i have to attch this to that field,
    I created the new one,i did functionality , but i am not getting how to attach my Z one to  the standard field, I am having access key for SAPMV45 A, i tried in that program for this screen field , but i didnt found, i think i have to attach this search help in VBAK table. is that true ,or any other way,
    please help me.
    thanks,
    gopal

    Hi Gopal,
    Check out the link.. This might help you to solve your problem.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237
    Thanks,
    Chidanand

  • Creating a search help for a field in selection screen

    Hi All,
    There are 3 fields in the selection screen. They are
        WERKS
        DATE
        MATNR
    Enter a value WERKS = 2465.
    When I press the drop down menu for MATNR, it should only give the material number available for 2465.
    I think, I should create a search help for it.
    Kindly help me to create a search help for the material number based on the above condition.
    Thanks in advance.

    Hi
    i am sending you a sample code where i had implemented a search help
    for my req you can understand very easyly and write for ur req
    <b>reward if usefull for ur req</b>
    TYPES : BEGIN OF ST_OBJID_SH,
             OTYPE TYPE HRP1000-OTYPE,
             OBJID TYPE HRP1000-OBJID,
            END OF ST_OBJID_SH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.
        SELECT OTYPE OBJID FROM HRP1000
                     INTO TABLE IT_OBJID_SH
                     WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
                 DDIC_STRUCTURE         = ' '
            RETFIELD               =  'OBJID'
                 PVALKEY                = ' '
           DYNPPROG               = SY-REPID
           DYNPNR                 = SY-DYNNR
           DYNPROFIELD            = 'S_OBJID'
                 STEPL                  = 0
                 WINDOW_TITLE           =
                 VALUE                  = ' '
           VALUE_ORG              = 'S'
                 MULTIPLE_CHOICE        = ' '
                 DISPLAY                = ' '
                 CALLBACK_PROGRAM       = ' '
                 CALLBACK_FORM          = ' '
                 MARK_TAB               =
               IMPORTING
                 USER_RESET             =
          TABLES
            VALUE_TAB              =  IT_OBJID_SH
                 FIELD_TAB              =
                 RETURN_TAB             = RETURN_TAB
                 DYNPFLD_MAPPING        =
               EXCEPTIONS
                 PARAMETER_ERROR        = 1
                 NO_VALUES_FOUND        = 2
                 OTHERS                 = 3
        IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                      WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.

  • What is the best way to create a search help in wen dynpro java?

    Hi experts,
    In web dynpro java I want to create a search help which could guide user to search a job (also a position and a organizational unit) just like in transaction ppome. So which technique could be the best way to reach that quickly and simply?
    Thanks!

    HI,
    Refer the following links.
    EVS Valuehelp
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/391ee590-0201-0010-1c89-f1193a886421
    Web Dynpro Valuehelp
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564
    sample application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8

  • How to create generic search help in wd abap

    Hi experts,
          How to create generic search help in wd abap.
    Regards...
    Arun.

    Hi Arun,
    Following links have step by step procedures for creating search helps and other related topics.
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm">ABAP Dictionary Search Help for WD</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c51c42735b5133e10000000a155106/content.htm">Input Help in WD ABAP</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm">Search Helps</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm">Creating Elementary Search Help</a>
    Regards,
    Neha
    <i><b>PS:Reward if helpful</b></i>

  • Creating a search help with SAP UI5 and js?

    Hello com,
    I am trying to create a search help, collecting data from a table.
    Is there something similar to the typical ABAP search help in SAP UI 5?
    ABAP:
    PARAMETERS: lv_alias TYPE dsh_alias MATCHCODE OBJECT dashboard_alias_f4,
    I found this in the Demo Kit:
    // create a simple SearchField
    var oSearch = new sap.ui.commons.SearchField("providerSearch", {
            searchProvider: new sap.ui.core.search.OpenSearchProvider({
                    suggestType: "json",
                    suggestUrl: "/demokit/suggest?q={searchTerms}",
                    icon: jQuery.sap.getModulePath("sap.ui.core", '/') + "mimes/logo/txtonly_16x16.ico"
            search: function(oEvent){
                    alert("Search triggered: " + oEvent.getParameter("query"));
    //attach it to some element in the page
    oSearch.placeAt("sample4");
    But how can i connect it with the specifiy data table?
    Thanks,
    Domenik

    Hi,
    you need to create OData service which will retrieve (search) the required information and then need to create UI5 application to consume it.
    you can refer this blog How to Implement Value Help (F4) with SAP UI5 which covers both parts.
    if you are having SP08 version of SAP Gateway then creating search help is very simple. refer my blog Creating OData service based on Search Help
    Regards,
    Chandra

  • Creating a search help

    hi,
    i am creating a search help based on a column's table.
    This column contain 71000 rows with 3 values, when i check the search help i get 71000 rows with hthe 3 values. What can I do in order to create a search heko based on this column that will contain only these 3 values??
    thanks
    Ami

    Hi
    Move those values to an internal table and select distinct values from that internal table. Pass the itab to the function module  F4IF_INT_TABLE_VALUE_REQUEST
    Try this one...
    select distinct field from ztab into table itab.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'FIELD'
          dynpprog        = 'ztest'
          dynpnr          = '1000'
          dynprofield     = 'P_PAR'
          value_org       = 'S'
          window_title    = 'XYZ'
        TABLES
          field_tab       = t_fldtab
          value_tab       = itab
          return_tab      = return
          dynpfld_mapping = t_dynmap.
      READ TABLE return INDEX 1.
    p_par = return-fieldval.
    Regards

  • How to create an  search help for standard Screen

    Hi,
    Can any one help me out ... How to create a search help for standard screen field.......
    thanks & regards,
    Naveen...

    Hi Naveen.
    I would like to suggest a couple of references,
    [SDN - Standard Reference for create a search help for own fields in selection screen |How to create a search help for my own fields in selection screen;
    [SDN - Standard Reference for Attaching search help to standard screen|Attach search help to standard screen;
    [SDN - Reference for want to add a field in standard search help screen|want to add a field in standard search help screen;
    [SDN - Reference for Attaching a search help to a standard screen - Case 2 |attaching a search help to a standard screen;
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • Attach search help to standard table field

    Hi,
    I need to attach search help to standard table field VBKD-EMPST.
    I have create a z search help and taken acess key from SAP.
    But unable to attach this to standard table field.
    Kindly help.
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Oct 27, 2010 6:11 PM

    Hi,
    just go throw this link
    Re: Attaching Search Help to a field
    I hope this will help u
    Thanks
    Regards
    Akhilesh Singh

  • How to attach a search help in a table control coloumn based on the search

    Hi,
    Can anyone help me for attaching a search help in a table control coloumn based on the search help value of another coloumn
    in the same table control.
    Regards,
    Ratheesh BS

    check
    Re: Switch Search Help during runtime

  • Problem with custom search help for std SD_DEBI

    Hi,
    I have created a custom zcustom search help and included in std search help SD_DEBI.
    In the custom serach help i have added the fields ktokd and sales area fields(sales org, Disb channel, division).
    now when i goto va01 transaction and hit F4 for sold to party i was able view the KTOKD and sales area fields in the custom tab
    when i select the values from f4 help and hit enter they are not getting displayed in sold to party field.
    when i select only sales area fields from f4 and press enter they are getting displayed in sold to party field.
    problem is with the ktokd field that i have included.
    Any suggestions please let me know

    Hi deepti,
    I think you have missed parameter assignment from your Z append search help to standard search help.
    Select the search help and click on Param Assignment button and assign the refernece parameter(KUNNR) of your
    append search help to std collective search help (KUNNR).
    Thanks,
    Pawan

  • Problem in Customizing Search Help for Business Partners in CRMD_ORDER

    Hi All,
    I am absolutely newbie in CRM. I have a problem here.
    We are using SOLMAN for incident management in our project. We use transaction CRMD_ORDER for creating a support message. Now this creen has 4 kinds of partners namely SLA Partner,Reported By,Support Team,Ticket Owner. Now for all these partners there is a common Search Help being used i.e. COM_PARTNER. We have a requirement that for all these fields we want to take user directly to hit list which should have only 2 fields. These hit lists are different for all these 4 fields. I have right now no idea how am I going to achieve this? I have a hint about Search Help exit being used but not sure which one and how? Please guide on this.
    Thanks in advance,
    Saket.

    Hi,
    you are using icident - i guess you are on CRM 7.0?
    Why won´t you use the webclient UI but CRMD_ORDER?
    In Webclient UI component BT_PARTNER you will find the relevant searchhelps and can influence them with methods GET_V*
    Best regards
    Manfred

Maybe you are looking for