F4 search help as tree structure in a module for one field

hi experts,
i have created a z module by copying standard module SAPMV23N of vbg1/2/3 transaction and i have added one tab in vbg1/2/3. the 5th tab is working. i am calling a subscreen using 5 tabstrip. there are one field MAKTL i want to use a F4 search as tree structure for that MAKTL field.
in code for displaying tree structure i am using function module RS_TREE***
please help me

Hi,
Please study this search help, there is a search help exit in which the hierarchy part it written,
Search Help: PRCTH
Search help exit:   K_F4IF_SHLP_STANDARD_HIERARCHY
Hope this helps you,
Regards,
Abhijit G. Borkar

Similar Messages

  • Search help like tree structure.

    Hi All,
    I have a requirement to display the F4 search help like a tree structure  , with  different
    Node(category fields ), under each node(category fields ) different work centers  will exist.
    Please suggest how I can achieve the tree format categories in search help.
    Thanks for your cooperation.
    Thanks,
    Sri.

    Hi Sri,
    U can have a look at the search help PRCTH in se11, which has an search help exit K_F4IF_SHLP_STANDARD_HIERARCHY
    just execute this and try to debugg it...
    Hope this solves your problem...
    please ack if helpful .
    Best of luck !
    Thanks,
    Ravi Aswani
    Edited by: Ravi Aswani on Mar 15, 2010 8:45 AM

  • SAP TM - Change in Search help in UI structure does not reflect in FPM screen

    Hi Experts,
    We have a FBI view in which we have added a search help to a UOM field by adding the standard search help /SCMTMS/SH_QUANTITY in the UI structure. The standard search help is showing in the UI. Now we want to add a filter in the search help by adding a constant value 'MASS' on the parameter DIMID (dimension) so that only the UOM's for weight are displayed. But this change is not reflecting on the FBI screen. Even if we remove the search help from the structure the change is not reflecting.
    Can you please suggest if there is any way by which the FBI view can be refreshed so that it displays the recent UI search help addition.

    Hi Sayak,
    Except the report above, you can also attach the search help to the UI fields in the view exit class configured in your FBI view dynamically.
    BR, Dawson

  • Change in Search help in UI structure does not reflect in FPM screen

    Hi Experts,
    We have a FBI view in which we have added a search help to a UOM field by adding the standard search help /SCMTMS/SH_QUANTITY in the UI structure. The standard search help is showing in the UI. Now we want to add a filter in the search help by adding a constant value 'MASS' on the parameter DIMID (dimension) so that only the UOM's for weight are displayed. But this change is not reflecting on the FBI screen. Even if we remove the search help from the structure the change is not reflecting.
    Can you please suggest if there is any way by which the FBI view can be refreshed so that it displays the recent UI search help addition.

    Hi Sayak,
    Except the report above, you can also attach the search help to the UI fields in the view exit class configured in your FBI view dynamically.
    BR, Dawson

  • Search help at a structure field does not appear

    Hi there,
    i have created a customer own search help and for a first try i have assigned it to a screen field. This worked propperly but i receive values for three fields (document number, company code and fiscal year) from that search help - what has been succesfully testet in SE11 and worked ok.
    To assign all exporting fields to my screen I deleted the search help at the screen field and I created a copy of RF05L structure and assigned my search help to the document number there. My screen fields belong now to a structure and the type of that structure is my version of RF05L, at first with type, later changed to like.
    So my screen field must have the search help from that structure, but it has no search help at all.
    After some trials I deleted my field from the screen and added it again based on my structure and changed the name to my internal structure name for the document field. This was the only trial where the search help appeared afterwards but as I did the same to the two other fields it disappeared again and I could not make it visible until now.
    What shall I do?
    Thank you in advance for any hints.

    Hi Axel,
    When you are adding the screen fields - are you sourcing them from the Program OR Data dictionary.
    You should source it from the Data Dictionary and ensure the screen fields attribute "From Dict." checkbox is marked in the "Dict" tab.
    Hope this helps.
    Regards,
    Aditya

  • Reveal the full structure of the organization for one-click

    Hi!
    structure of our organization consists of 5 levels of hierarchy. I know that in Nakisa has the opportunity to discover the structure of only one level in one press on u201CExpand this branchu201D
    We need to reveal the full structure of the organization for one-click.
    is it possible?

    Hi Aleksandr,
    This question was already asked and answered recently, including a useful tip to workaround this:
    [Ability to expand all;
    Best regards,
    Luke

  • How to do a Search help on SAP structure field listing custom table data?

    i have a SAP screen (Trans KE52) that they want to have a drop down (search help on).
    The drop down should list values from a custom table.
    How do you do this?
    The values to be displayed are NOT from a structure table but from a transparent table.  i believe I will need a search FM to do this but not sure how it is to be done.
    Any one have ideas?
    Thanks!
    Scott

    Hi Scott,
    You need to go to SE11 and look for a searh help that match your requirment or build one.
    In case you are going to develop one, in the definition tab of the search help look for the selection method and put in the input field the name of your transparent table.
    After that you must specify the fields that you need to appear at the list and the one that is going to be selected for your field. This step you have to do it on the search help parameter grid.
    Regards,
    Eric
    PD. Reward points if this was helpful

  • Search help as tree

    Dear all,
    I need to develop a search help that shows all entries for a table in a tree. The user should be able to choose the disired value out of the tree presented.
    Does anybody knew a FM that I can use as Search help EXIT in order to present the possible values in a tree?
    Thanks all.
    Regards,
    MPM

    Hi,
    Please study this search help, there is a search help exit in which the hierarchy part it written,
    Search Help: PRCTH
    Search help exit:   K_F4IF_SHLP_STANDARD_HIERARCHY
    Hope this helps you,
    Regards,
    Abhijit G. Borkar

  • How to get tree structure navigation in module pool program

    please send me a sample code for getting tree structure navigation in a screen  in module pool program.
    ex.
    masters
    items

    do a chain and endchain on the fields.Then insert the fields in to the required database.

  • WDA:  Tree structure in web dynpro for ABAP

    Hi,
    I am trying to build a tree structure with information something like the following:
    Country
    State
    City
    I used the UI Element "Tree" and I was successful in building it. The only problem is that it supports only one column in each row like name.
    I need multiple columns in each row like Name and population.
    1) Is there any solution for this using UI element "Tree" only?
    2)I checked that there is Table tree UI element, but I could not figure out how I could use it for hierarchial structure like that of my requirement? Can I use it? Is there any example application with hierarchial structure?
    3)For tree UI element, any node that is not directly below context node has to be non-singleton. It will lead to adverse performance. Is there any solution for this?
    Thanks in advance.
    Regards,
    Srini.

    Hi Srinivasa,
    In the context, please create a node DATA with the following fields:
    KEY type string
    PARENT type string
    LOCATION type string
    POPULATION type string (or "I" if you happen to have numbers only without a unit like "k" for "thousand").
    Then please create a table with a TreeByKeyTableColumn namde LOCATION and an additional TableColumn called POPULATION. Now please add a TextView cell editor to both and bind the text value of each of them to the attributes LOCATION and POPULATION of the context node DATA. Last step is to bind the attribtues rowKey and parentRowKey(?) to the KEY and the PARENT attributes. This concludes the design time part.
    Next step is to fill the node DATA with actual data. Just use a supply function and do it like this:
    First entry:
    KEY = 'WORLD'.
    PARENT = ''.
    LOCATION = 'World'.
    POPULATION = '4 billion'.
    Second entry:
    KEY = 'DE'.
    PARENT = 'WORLD'.
    LOCATION = 'Germany'.
    POPULATION = '80 million'.
    You should now see a table with a tree at the left column that looks like:
    <pre>
      World        4 billion
       ->Germany   80 million
    </pre>
    Kind regards,
    Thomas
    Message was edited by: Thomas Szuecs

  • Dynamic search help for one field of the SM30 generated maintenance view

    Hi experts,
    I have one Z* table with three fields. For that table I have generated maintenance dialog in SE55 so I can now run the maintenance in SM30. My requirement is: as soon as a user enters a value for the first field, the search help for the second field should be depended on the value in the first field. Let's say when user entered value 01 into the first field then the search help for the second field should be S_HLP01. For other values entered into the first screen the search help for the second field should be S_HLP02. Both search helps are standard (the names differ).
    Is there any change how to achieve this without making completely new dynpro transaction?

    Hi ,
    You can try it this way.
    pass your match-code( search help to function ) HELP_VALUES_GET_WITH_MATCHCODE and get the value and update it in  your screen field.
    But you have to modify the flow logic in POV event. it would be better if you create your own transaction because once the maintenance is regenerated your modified flow logic will vanish

  • Search help in  output(using alvgrid function module)

    HEllo Experts,
        I hav developed report using ALV grid function module, now my req is I need to provide the search help for particular field in the output.
    my output contains .MATNO, PLANT AND STORAGE LOCATION.
    Now based on mat and plant I need to provide the F4 help for storage location field in the out put.
    could u pls anbody help me on the req asap. with details code.
    will give u Full point if it suits my req....

    Hi Raja,
    This is what you can try to do....first select the sales org and distribution channel for the value entered in the material in an 2 separate internal tables.
    Then use the FM 'F4IF_INT_TABLE_VALUE_REQUEST' for each internal table to get a search help for the sales org and distribution channel for any particular material number.
    Please write the code at AT SELECTION-SCREEN ON VALUE-REQUEST event.
    or,
    try this code.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_salesorg.
    select salesorg from tablename into itab where matnr = p_matnr(selction screen value).
    if sy-subrc eq 0.
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
    EXPORTING
    ENDPOS_COL =
    ENDPOS_ROW =
    STARTPOS_COL =
    STARTPOS_ROW =
    TITLETEXT =
    TITLETEXT =
    IMPORTING
    CHOISE = W_LINEN0
    TABLES
    VALUETAB = itab
    EXCEPTIONS
    BREAK_OFF = 1
    OTHERS = 2.
    IF SY-SUBRC EQ 0.
    READ TABLE itab INDEX W_LINENO.
    IF SY-SUBRC EQ 0.
    P_salesorg = itab-salesorg.
    endif.
    endif.
    similarly for distribution channel pass sales org ....
    kindly reward if found helpful.
    cheers,
    Hema.

  • Need help with BBP_CUF_BADI - Adding your own screens for custom fields.

    We are on SRM 5.0 and we need your help to add the custom fields to a separate screen.
    All the item level custom fields are visible in Item Details screen under Basic Data and Header level custom fields are visible under Additional Specifications. Instead we like to add a new Tree as Custom fields just like Basic data or Cost Assignment in item details screen.
    The documentation for the BADI BBP_CUF_BADI does not say how to include a new tree structure. I did everything mentioned in the BADI like creating a screen and two funciton modules and generating the template. But it does not work. Any help is greatly appreciated.
    I went through other threads on this forum. So please do not waste your time pointing me to the old threads.
    Please provide sample code if possible.
    Thanks
    KM

    It seems that you are looking for exact solution but many a times you get pointers on this forum which lead you in correct direction.
    I have heard from one project site that they are able to fulfill the requirement via creating a webdynpro and linking the same to user role.
    if this doesn't help, just ignore.
    BR
    Dinesh

  • F4 help for one field in modulepool program..(Possible values)

    Hello Experts,
    I have 3 fields in my module pool screen.
    PLANT, MATERIALNO AND STORAGELOCATION.
    BASED ON PLANT AND MATERIAL I NEED TO PROVIDE F4 HELP FOR STORAGE LOCATION(LGORT).
    How can i write the code in PROCESS ON VALUE REQUEST ..
    AND WHICH FUNCTION MODULE SHOULD BE USED.
    Please can anybody send me the code asap.
    I will give u full points if ur code matches my requirement.

    Hi Raja,
               i will send a sample code for ur problem check in once..In that code i explicitly hardcoded the values for serchhelp.Instead of that we have to use select statement based on ur condition and place them in internal table ok.
    FUNCTION MODULE:
    F4IF_INT_TABLE_VALUE_REQUEST.
    CODE:
    *& Report  YSEARCHHELP                                                 *
    *& DEVELOPER   : KIRAN KUMAR.G.A                                       *
    *& PURPOSE     : DEMO ON SEARCH HELP                                   *
    *& CREATION DT : 27/12/2007                                            *
    *& REQUEST     : ERPK900035                                            *
    REPORT  YSEARCHHELP.
    INTERNAL TABLE FOR STORING NAMES IN SELECTION LIST
    data: begin of t_itab occurs 0,
            name(10) type c,
          end of t_itab.
    *FIELDNAME AND TAB NAME FOR THE SELECTION
    DATA :field_tab LIKE dfies  OCCURS 0 WITH HEADER LINE.
    *THE TABLE FOR RETURNING THE NAME OF THE SELECTED ITEM
    DATA : return_tab LIKE ddshretval OCCURS 0 WITH HEADER LINE.
    *START THE SELECTION SCREEN BLOCK
    selection-screen begin of block ss1 with frame.
    parameters: p_name1(10) type c.
    selection-screen end of block ss1.
    *& F4 Help for p_name1                                                 *
    at selection-screen on value-request for p_name1.
    *CLEAR ALL EXISTING DATA
    *TO BE DONE EVERYTIME F4 HELP IS REQUESTED
    REFRESH t_itab.
    REFRESH field_tab.
      field_tab-fieldname = 'ERNAM'.
      field_tab-tabname = 'VBAK'.
    APPEND field_tab.
    t_itab-name = 'Andrews'.
    append t_itab.
    t_itab-name = 'Jennie'.
    append t_itab.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
      DDIC_STRUCTURE         = ' '
        retfield               = field_tab-fieldname
      PVALKEY                = ' '
      DYNPPROG               = ' '
      DYNPNR                 = ' '
      DYNPROFIELD            = ' '
      STEPL                  = 0
        WINDOW_TITLE           = 'Select name'
      VALUE                  = ' '
      VALUE_ORG              = 'C'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
      tables
       value_tab              = t_itab
       FIELD_TAB              = 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.
    else.
    p_name1 = return_tab-fieldval.
    ENDIF.
    Award points if helpful.
    Kiran Kumar.G
                    Have a Nice Day..

  • For Tcodeme51n , there is no F4 help for one field, how can we provide F4 .

    Hi  ABAP Gurus,
    I am Ramu,
    For tcode me51n, there is one field, for that no F4 help. How can we provide F4 help for that particular field.
    Thanks in Advance.

    Hi Ram
    Pls try the below source code.
    Reward pts if help.
    regards
    Deepanker
    See the following ex:
    TYPES: BEGIN OF TY_MBLNR,
    MBLNR LIKE MKPF-MBLNR,
    END OF TY_MBLNR.
    DATA: IT_MBLNR TYPE STANDARD TABLE OF TY_MBLNR WITH HEADER LINE.
    data: it_ret like ddshretval occurs 0 with header line.
    At selection-screen on value-request for s_mat-low.
    Select MBLNR from mkpf into table it_mblnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'MBLNR'
    PVALKEY = ' '
    DYNPPROG = ' '
    DYNPNR = ' '
    DYNPROFIELD = ' '
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'S'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ' '
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    MARK_TAB =
    IMPORTING
    USER_RESET =
    TABLES
    VALUE_TAB = IT_MBLNR
    FIELD_TAB =
    RETURN_TAB = IT_RET
    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.
    IF SY-SUBRC = 0.
    read table it_ret index 1.
    move it_ret-fieldval to S_mat-low.
    ENDIF.
    Go through the test program.
    REPORT Ztest_HELP .
    TABLES : MARA.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_MATNR(10) TYPE C.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF ITAB OCCURS 0,
    MATNR TYPE MATNR,
    END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
    SELECT MATNR
    FROM MARA
    INTO TABLE ITAB
    UP TO 10 ROWS.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'MATERIAL NUMBER'
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_MATNR'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = ITAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3. 
    Reward pts if help.

Maybe you are looking for