Search help doubt

Hi all,
I HAVE A SEARCH HELP, FOR AN INPUT OUT FIELD SAY NAME ,from table zxxx.
I can search name from from table zxxx using fields LIKE MATNR , ID ETC.
WHEN I HIT THE F4 VALUE FOR THAT , ITS GIVES ME APOP UP WINDOW ASKING FOR SOME INPUT FOR SEARCH.
AGAIN WHEN I GO TO MATNR FIELD I CAN SEARCH AGAIN I.E WITH IN SEARCH HELP FOR NAME  I HAVE ANOTHER SEARCH HELP FOR MATNR.
Is there a way i can do similar thing for id field also.
I have a ztable where all id are stored.
Thanks
Deepthi

Hi,
I guess you haven't understood my question.
I know how to create a search help.
I need to know how do you search help with in a search help.
for ex when you go to mm03
you have search for material number right and again when you use search help for material
and you have search help for plant field with in the pop up window right.
That is what i am talking about.
I want to get a second search for field in the pop up window.
Hope iam clear this time
Thanks
DEEPTHI

Similar Messages

  • Doubt on creating Search help.

    Hi Friends,
    I have created a table . I am using the SAPGUI version 4.6. In that i am not having a tab called Search Help as we used to have in Higher version.I have created a Search help using the Search help radio button in SE11 start screen.
    I am not able to assign the search help created to the respective field in the table.
    is there any ways how to assign the search help we have created to the respective field.
    please help me in solving this issue.
    Thanks,
    Gokul

    HI Gokul,
    If you have created search help then it's very easy to assign that Search help to database table field.
    Go To sell.
    Enter your table name,
    Click on Change,
    Select the field for which you want to assign search help,
    Then Click on Search Help Button.
    Enter you search help name and its done....
    If you feel this information was useful.
    Award me reward Ponts...
    Regards,
    Shree Wadekar
    <b>WIPRO</b>

  • Doubt in Search Help

    Hi All.
    I have Customize Database table like Zdbt .i have attached one search help for a field (emp no) (its not key field) like zsearch1.i got all value from database table ,but i want avoid duplicate entries.
    example :
    value for "emp no" field
    101
    102
    102
    103
    102
    but i need output from search help like
    101
    102
    103
    please help me
    regards.
    Jay.

    Serch help exit need to be created for this thing.
    You need to write the following code there.
    In se11 you need to create search help and write a code in the FM z_46638_unique_skil1.
    FUNCTION z_46638_unique_skil1.
    ""Local interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCR_TAB_T
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     VALUE(SHLP) TYPE  SHLP_DESCR_T
    *"     VALUE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
      TYPES : BEGIN OF t_z46638skil,
              empid LIKE z46638skil-empid,
              posnr LIKE z46638skil-posnr,
              skill LIKE z46638skil-skill,
              knowldge LIKE z46638skil-knowledge,
              END OF t_z46638skil.
      DATA : i_z46638skil TYPE STANDARD TABLE OF t_z46638skil,
             wa_z46638skil TYPE t_z46638skil,
             l_skill TYPE z46638skil-skill.
    Basically CALLCONTROL-STEP contains the values of the different stages
    of the database operations in the particular flow as follows
    1) SELONE
    2) PRESEL1
    3) SELECT
    4) DISP
    5) RETURN
    The search help exit will be called in all the five steps
    so we need to restrict this values of steps based on the user requirements
    Else the search help exit can be time consuming
      IF callcontrol-step = 'DISP'.
        SELECT empid
               posnr
               skill
               knowledge
               FROM z46638skil
               INTO TABLE i_z46638skil.
        SORT i_z46638skil BY skill.
        DELETE ADJACENT DUPLICATES FROM i_z46638skil COMPARING skill.
        CLEAR record_tab.
        REFRESH record_tab.
    passing the values of the internal table to the record_tab
    that containes the possible values of the field when
    search help exit is not being specified
        LOOP AT i_z46638skil INTO wa_z46638skil.
          record_tab-string+11(20) = wa_z46638skil-skill.
          APPEND record_tab.
          CLEAR wa_z46638skil.
        ENDLOOP.
    Passing this FM values, it will return with the optimized
    set of values being overwritten to the search help
        CALL FUNCTION 'F4UT_OPTIMIZE_COLWIDTH'
          TABLES
            shlp_tab    = shlp_tab
            record_tab  = record_tab
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
      ENDIF.
    ENDFUNCTION.
    Please REWARD points for this answer.
    Regards,
    Brijesh Patel

  • Doubt on Search help exit F.M

    Hi all,
    I have created one Search help with 4 fields.
    In search help F.M, can i code the validations say,
    1) Field 1 should not be blank
    2) Either  Field 1 should be entered or one of the remaining fields should be entered by user.

    hi,
    u have to do those validations on the program, not in the search help.
    Regards

  • Doubt on Search Help

    Hi Friends,
    I have created a search help for a customized field in my table . I have assigned the Data element having the Search help to a particular field.
    I am not able to get the Search help icon When i execute the Table.
    Can any body please help me in this issue.
    Reward is for sure..

    Hi
    after creation of the search help have you checked for the field whether the f4 help is coming or not
    and have you assigned it in the table correctly
    see the steps once again,.
    it should come
    1) 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).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
    https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
    Regards
    Anji

  • How to populate data in MPP through F4 search help(the field should get filtered as per key)

    Dear Experts.
    I am new to ABAP and hence trying jmy hands on various ways of peforming a task.
    I have a requirement. I want to maintain a database tables through MPP :  ZLT_Auftrag (Refer Screen Shot 1: Doubt MPP1) and ZLT_Kunde (Refer Screen Shot2: Doubt MPP2)
    The fields of ZLT_Kunde are: K1, K2, K3
    The fields of ZLT_Auftrag are: A1, A2, A3, A4, P1 P2 and P3 are related as per the key field "A3"   (Here A3 = K2)
    I want the User to be able to Maintain this table through the Screen that I had created using MPP. (Plz refer the attached Screen Shot3:Doubt MPP3  of the SCREEN in MPP)
    When I populate the Kunde name(K1) in the SCREEN (Can be done by F4 Search help), then on hitting the pushbutton "Get Kunde" the  kunde Code (K2) appears . Now from here it can be deleted or even a new Kunde name and code can be saved dirctly to the database table : ZLT_Kunde. (Refer Screen Shoot4: Doubt MPP4)
    For Example for Kunde (K1)= BASF, Kunde Code (K2) = BSF, the Auftrag should be all those values from ZLT_Auftrag (where A3 = BSF)
    When I try to populate the Auftrag value on the SCREEN then on hitting F4 (already created for table ZLT_Auftrag in se11) then I get all the values of Auftrag (A1) from the table ZLT_Auftrag. (Ply refer Screen Shot 5: Doubt MPP5)
    MY REQUIREMENT: Here I want that either through F4 help or through drop down ONLY those values of Auftrag-A1 should appear on the SCREEN which satisfies the condition: A3 = K2
    I am unbale to get how to do that.
    I need your valuable suggstions.
    Regards
    Chandan

    And the  code of the MPP is:
    *& Module Pool       SAPMZDEMO_MPOOL_03
    PROGRAM  SAPMZDEMO_MPOOL_03.
    TABLES:  ZLT_MITA, ZLT_Kunde, ZLT_Auftrag, Zlt_Stdsatz.
    DATA: flg_lock  TYPE c,
    *      indx  TYPE i,
    *      indxk TYPE i,
    *      indxa TYPE i,
    *      TCNT TYPE sy-tabix,
          lv_msgv1  TYPE  sy-msgv1.
    *DATA: it_mita    TYPE TABLE OF ZLT_mita,
    *      it_kunde   TYPE TABLE OF ZLT_KUNDE,
    *      it_auftrag TYPE TABLE OF ZLT_AUFTRAG.
    *&      Module  STATUS_9000  OUTPUT
    *       text
    module STATUS_9000 output.
      SET PF-STATUS 'ZSTATUS01'.
    *  SET TITLEBAR 'xxx'.
      If flg_lock is Not initial.
        LOOP at Screen.
      If screen-group1 = 'G1'.
      Screen-input = 0.
      MODIFY SCREEN.
           Endif.
        ENDLOOP.
          MESSAGE s000(8i) WITH 'Mitarbeiter already locked by user' lv_msgv1.
      ENDIF.
    endmodule.                 " STATUS_9000  OUTPUT
    *&      Module  USER_COMMAND_9000  INPUT
    *       text
    module USER_COMMAND_9000 input.
    *To Populate Data into Mitarbeiter through Pushbuttons
      CASE sy-ucomm.
        When 'OK_GET'.
          Clear : flg_lock.
            IF ZLT_MITA-M1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
    *To create a Lock Object so that when two or more employees are accessing the same data
    * at the same time then for the new user the data gets locked and only can been seen in
    *display mode
            IF sy-subrc = 0.
            CALL FUNCTION 'ENQUEUE_EZLT_MITALOCK'
             EXPORTING
               MODE_ZLT_MITA        = 'E'
               MANDT                = SY-MANDT
               M1                   = ZLT_MITA-M1
    *           X_M1                 = ' '
    *           _SCOPE               = '2'
    *           _WAIT                = ' '
    *           _COLLECT             = ' '
             EXCEPTIONS
               FOREIGN_LOCK         = 1
               SYSTEM_FAILURE       = 2
               OTHERS               = 3
            IF sy-subrc <> 0.
              flg_lock = 'X'.
              lv_msgv1 = sy-msgv1.
            ENDIF.
            ENDIF.
            ELSE.
                MESSAGE S000(8i) With 'Enter Mitarbeiter Name'.
            ENDIF.
        When 'OK_SAVE'.
           Modify ZLT_MITA.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETE'.
            IF ZLT_MITA-M1 is NOT INITIAL.
                DELETE
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *     When 'OK_FIRST'.
    *           indx = 1.
    *     When 'OK_NEXT'.
    *           indx = indx + 1.
    *     When 'OK_PREV'.
    *           indx = indx - 1.
    *     When 'OK_LAST'.
    *           Describe Table it_mita lines indx.
    *To Populate Data into Kunde through Pushbuttons
        When 'OK_GETK'.
            IF ZLT_Kunde-K1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Kunde
                Where K1 = ZLT_KUNDE-K1.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEK'.
           Modify ZLT_Kunde.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEK'.
            IF ZLT_KUNDE-K1 is NOT INITIAL.
                DELETE
                FROM  ZLT_KUNDE
                Where K1 = ZLT_KUNDE-K1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Auftrag Through Pushbuttons
        When 'OK_GETA'.
            IF ZLT_KUnde-K2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEA'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEA'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Position Thorugh Pushbuttons
        When 'OK_GETP'.
            IF ZLT_Auftrag-A2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEP'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEP'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
        When 'OK_EXIT'.
           Leave Program.
        When 'OK_CLEAR'.
          Clear : ZLT_MITA, ZLT_KUNDE, ZLT_AUFTRAG.
    *              it_mita, it_kunde, it_auftrag,
          CALL FUNCTION 'DEQUEUE_EZLT_MITALOCK'
           EXPORTING
             MODE_ZLT_MITA       = 'E'
             MANDT               = SY-MANDT
             M1                  =  ZLT_MITA-M1
    *         X_M1                = ' '
    *         _SCOPE              = '3'
    *         _SYNCHRON           = ' '
    *         _COLLECT            = ' '
    ENDCASE.
    endmodule.                 " USER_COMMAND_9000  INPUT
    *&      Module  user_cmd_9000  INPUT
    *       text
    module user_cmd_9000 input.
      If sy-ucomm = 'OK_CANCEL'.
      LEAVE PROGRAM.
      ENDIF.
      IF sy-ucomm = 'OK_EXIT'.
          LEAVE PROGRAM.
      ENDIF.
    endmodule.                 " user_cmd_9000  INPUT

  • Problem in assigning value from search help

    Hi experts,
              I have created an elementary search help for the custom field (Say for example YFIELD1) via SE11. Selection method's field name is YFIELD2 with same type as YFIELD1.  
    But when I press F4 on YFIELD1, I could see the values list but when i selected any value, it is not getting assigned to my field.
    What my doubt is whether YFIELD1 and YFIELD2 should have same name?
    Please help me to solve this issue.
    Thanks,
    Peri

    Dear Peri,
    Greetings.
    there should not be any problem if your field names are different.
    While creating elementry search help.... make sure that U check both import (IMP) and export (EXP) parameters and activate the search help once again.
    If Ur EXP parameter is unchecked then U will be able to see the list of entries but  it won't get into the field while creating entries in the main table.
    Hope this helps.
    Sathya

  • What is the significance of data collection nad search help exit field ?

    Dear Gurus
    I  know i am asking very basic quetion of abap but sdn is  the only source to learn sap for me.I want to thanks you all for your kind support.
    i read  most of the post related to search help and trying to create one.
    for elementary search help.
    SE11 -> SEACH HELP -> ELEMENTARY SEARCH HELP
    I have doubts regarding to fields "DATA COLLECTION" and "SEARCH HELP EXIT".
    reference to a  tutorial it is a maintenance view  shall i  have to reate  a maintenace view first.
    and other field is  SEARCH HELP EXIT what is this.
    please help me .
    Thanks in advance.
    Chitta Ranjan mahato.
    Edited by: chitto123 on Oct 8, 2010 5:59 AM

    Howdy,
    DATA COLLECTION - refers to a database table or view.  This is the data that the search help will search through and display based on the parameters provided, so you can create your own view for the search help if you want the search to cover multiple tables.
    SEARCH HELP EXIT - You can create a function module to be able to alter the Search Help's selection and results at various events throughout the search help.  An example of this function module is provided with some documentation in function module F4IF_SHLP_EXIT_EXAMPLE.
    Cheers
    Alex

  • Search Help with Structure Display

    Hi,
    I want to create a search help which should display my output in the structure format base on the different levels.
    I have already written a test program which display all the values in proper structure format. But I wanna do the same in the search help. It has to display the output in the structure format.
    Please guide me how to achieve this.
    Thanks,
    Karthik

    hello,
    you could write additional report based on ALV tree. So you would have the stucture which you want to have and on value request call your custom program. i doubt  that there is FM or class which could generate search help tree. So basically you have to write your own logic. Or you could use GuiXt tool. Example and tutorial.
    http://www.synactive.com/tutor_e/lessonco00.html
    br,
    dez_

  • F4 search-help in infoset query selection-screen fields

    Hi all,
    I created an infoset, and it's corresponding query, and now I need to associate F4 search-help in two of the selection-screen fields. Since they don't have any reference field associated (they are SAP standard table fields), there are no possible values available to select.
    How can I do this?
    I have already tried to use the "AT SELECTION-SCREEN OUTPUT" in the infoset, but I'm not able to do that. When I try to use the select-options generated by the query (SP$00013 and SP$00014) I have a syntax error with "Field not known".
    Can you help me? I never done this before, so I really don't have a guess.
    Thanks in advance.
    Beste regards,
    Sónia Gonçalves

    Hi all,
    I have found thread  that helped me a lot in this issue.
    I just have one more doubt: I created the selection criterion and I can already see it in the query selection-screen, but it's appearing in the top of the selection-screen, in a different area called "General data selections".
    Isn't it possible to include it in the "Report-specific selctions"?
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

  • Search help in selection screens for interactive report

    A search help can only be assigned to DB table.
    So my doubt is can it also be used for seletion screens created for an interactive report?
    If yes what is the procedure.. Please give me one example at least...
    waiting for your valuable suggestions.....
    Thanks,
    regards,
    Chinmay

    Hi Chinmay,
    I suppose your requirement is to give search help to selection screen elements.
    Here is the code.
    REPORT  ZSHAIL_F4HELP                           .
    parameters: name(10) type c .
    TYPES: BEGIN OF VALUES,
             CARRID TYPE SPFLI-CARRID,
             CONNID TYPE SPFLI-CONNID,
           END OF VALUES.
    dATA: PROGNAME LIKE SY-REPID,
          DYNNUM   LIKE SY-DYNNR,
          DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
          FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
          VALUES_TAB TYPE TABLE OF VALUES.
    at selection-screen on value-request for name.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        tabname                   = 'DEMOF4HELP'
        fieldname                 = 'CARRIER1'
      SEARCHHELP                = ' '
      SHLPPARAM                 = ' '
       DYNPPROG                  = PROGNAME
       DYNPNR                    = DYNNUM
       DYNPROFIELD               = 'CARRIER'
      STEPL                     = 0
      VALUE                     = ' '
      MULTIPLE_CHOICE           = ' '
      DISPLAY                   = ' '
      SUPPRESS_RECORDLIST       = ' '
      CALLBACK_PROGRAM          = ' '
      CALLBACK_FORM             = ' '
      SELECTION_SCREEN          = ' '
    IMPORTING
      USER_RESET                =
    TABLES
      RETURN_TAB                =
    EXCEPTIONS
       FIELD_NOT_FOUND           = 1
       NO_HELP_FOR_FIELD         = 2
       INCONSISTENT_HELP         = 3
       NO_VALUES_FOUND           = 4
       OTHERS                    = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    AT SELECTION-SCREEN OUTPUT.
    PROGNAME = SY-REPID.
      DYNNUM   = SY-DYNNR.
      CLEAR: FIELD_VALUE, DYNPRO_VALUES.
      FIELD_VALUE-FIELDNAME = 'CARRIER'.
      APPEND FIELD_VALUE TO DYNPRO_VALUES.
    I hope your query is solved.
    If so,please award points.
    Regards,
    Sylendra.

  • Adding a Search Help to a Field Exit

    Hi!!!.
    I have a little doubt with field exits.
    I have just created a field exit for field BEDNR. The next thing I'd have to do is to assign the same help search used for LFA1-BRSCH field ( H_T016 Search Help ) in field exit's function module.
    The question is: How can I do that?. Does anyone have a clue of a function to retreive the values of that search help?. Could anybody tell me how should I do that?
    Thaaaaanks in advance!
    Raú

    Try function module F4IF_FIELD_VALUE_REQUEST and fill in tabname with 'LFA1', fieldname with fieldname, search help with name of search help('H_T016') and the field you are searching on in shlpparam which must be one of the parameters in the search help you heve entered.
    Hope this helps
    Regards
    Larissa Maryniuk

  • Call search help as seperately

    Hello,
    May I know if there is possible to call the popup window for search help directly, but not through the input field which uses the search help.Thank you very much!
    Best regards,
    Shumin

    Hi Shumin,
    *& Report  ZTEST_SEARCHHELP_ITAB
    *& This report is to populate F4 help for custom fields
    REPORT  ztest_searchhelp_itab.
           TYPES DECLARATION                                        *
    TYPES: BEGIN OF ty_mara,
           matnr TYPE mara-matnr,
           mtart TYPE mara-mtart,
           END OF ty_mara.
           INTERNAL TABLE AND WORKAREA  DECLARATION    *
    DATA : it_mara TYPE TABLE OF ty_mara,
           wa_mara TYPE ty_mara.
         PARAMETERS DECLARATION                              *
    PARAMETERS p_matnr TYPE ty_mara-matnr.
       SELECTION SCREEN FOR VALUE REQUEST         *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
       SELECT QUIRES FOR CUSTOM FIELDS                *
    SELECT matnr mtart FROM mara INTO TABLE it_mara UP TO 10 ROWS.
         FUNCTION MODULE TO POPULATE F4 HELP         *
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'MATNR'
          dynpprog    = sy-repid
          dynpnr      = sy-dynnr
          dynprofield = 'P_MATNR'
          value_org   = 'S'
        TABLES
          value_tab   = it_mara.
    Here you will first fill the table  ***it_mara**  as per your requirements by the \
    Select Query and then you will take the values for Search Help from the same table( it_mara).
    Let me know if you have any doubts.
    Edited by: AMIT BISHT on Sep 12, 2008 11:11 AM

  • Standard F4 (search help) in the web dynpro JAVA

    Hi,
             I have a small doubt in web dynpro Java. Basically I am an ABAP developer. We created some custom Remote function modules (RFM). Now are able to call RFM through web dynpro JAVA in the portal. We are able to run the RFMs in the portal.
             But we have problem with search help. How can I built the search help for the input fields in the portal using web Dynpro  Java.
             Can we bring standard search help (which is exist in R/3) in the portal?

    Hi,
    I think there is no standered functionality available in WDJava to achieve this functionality like ABAP or WDAbap. but, you can still achieve this using OVS option. to do this also, first you should have an interface which can talk to the R3 system and search the dB as per the query parameters i.e, an RFC which can the desired form of input and give you the desired output.
    for more info on OVS, please look into this below links.
    OVS:
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]#51 [original link is broken]
    WDJ tutorials:
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]

  • A student having problem with search help.

    Dear All,
    I'm studying from a book about search help.
    I have a field of a dictionary structure. From now on, I will call this field 'Field A'.
    In the book that I read, it is said that if Field A refers to a check table, then the contents of the check table are automatically offered as the Field A's input help. Furthermore, if the check table has a search help, then the search help is used as Field A's input help instead of the key fields of the check table. The search help is also used as input help for any field that refers to the check table I mentioned previously.
    Are the last 2 sentences true?
    Curiously, I created a dictionary structure of several fields. One of the fields refers to a check table. I also created a simple screen with fields that refer to the dictionary structure I mentioned earlier to test each field's input help. When I tried the field that refers to the check table, it is true that the contents of the check table are offered as the possible values. Later, I created a search help for the check table in a way that makes me easily notice that the search help is actually used as the input help, not the standard input help of check table contents. When I tested my screen again and tested the input help of the field that refers to the check table, the shown possible values were not changed. It still used the standard input help that shows the contents of the check table instead of my search help.
    Could I do something wrong or is the statements in my book incorrect?
    Regards,
    Haris

    Dear Suman,
    Thank you for the help. However, there are still some doubts in me. To improve tha clarity of my question, I'll rewrite it:
    Let 'CT' is the name of my check table.
    Currently there are many dictionary objects that refers to CT as their check table. Therefore, the contents of CT are offered as possible values / input help of those dictionary objects.
    Later, I created a search help.
    Let 'SH' is the name of my search help. SH is attached to the check table CT.
    Now, does this means SH is automatically used as the input help of all the dictionary objects that refer to CT as their check table,
    Or
    I still have to attach SH to all the dictionary objects that refer to CT in order to use SH as their input help?
    Regards,
    Haris
    Edited by: harissahlan on May 3, 2011 12:42 AM

Maybe you are looking for