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

Similar Messages

  • 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

  • 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

  • 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

  • Output like Tree structure

    Hi
    I am having Data in one internal table
    BEGIN OF ty_box,
           vbeln LIKE vbak-vbeln, "Sales Order Document Number
           exidv LIKE vekp-exidv, "External Handling Unit Identification
           vegr4 LIKE vekp-vegr4, "Integration required if the value is INTR
           matnr LIKE lips-matnr, "Delivery Item-Material Number
           arktx LIKE lips-arktx, "Delivery Item-Short text for Material
    END OF ty_box.
    I want to Display output like tree structure
    integration required?
    () Sales order                                              
    () HU  -
    checkbox                                                                               
    Mat A       Description of A
    Mat B       Description of B
    Please give sample program for this type.  '-' indicate sapce
    Message was edited by:
            sudhakara reddy
    Message was edited by:
            sudhakara reddy

    hi,
    use ALV TREE
    check these links.
    http://www.erpgenie.com/sap/abap/SalesOrderFlow.htm
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_basic.htm
    Check these programs.
    BCALV_TREE_01 ALV tree control: build up the hierarchy tree
    BCALV_TREE_02 ALV tree control: event handling
    BCALV_TREE_03 ALV tree control: use an own context menu
    BCALV_TREE_04 ALV tree control: add a button to the toolbar
    BCALV_TREE_05 ALV tree control: add a menu to the toolbar
    BCALV_TREE_06 ALV tree control: Icon column and icon for nodes/items
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_DND ALV tree control: Drag & Drop within a hierarchy tree
    BCALV_TREE_DND_MULTIPLE ALV tree control: Drag & Drop within a hierarchy tree
    RSDEMO_DRAG_DROP_TREE_MULTI
    BCALV_TREE_EVENT_RECEIVER Include BCALV_TREE_EVENT_RECEIVER
    BCALV_TREE_EVENT_RECEIVER01
    BCALV_TREE_ITEMLAYOUT ALV Tree: Change Item Layouts at Runtime
    BCALV_TREE_MOVE_NODE_TEST Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO Program BCALV_TREE_SIMPLE_DEMO
    BCALV_TREE_VERIFY Verifier for ALV Tree and Simple ALV Tree
    Also please check the transaction DWDM This will give info also on trees.
    Check the links -
    drag drop required for alv column!
    drag and drop in a tree
    Drag&Drop within the Tree
    Drag&Drop within a tree
    Drag and drop in ALV tree

  • 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

  • Search Help like standard

    Hi
    I need to give search help for document number for a program exactly as it is there in the transaction CV04. Now in the transcation, doing F4 produces a subscreen where we may put additional fields like BOM too. After that the values are shown.
    It's a module pool program where I need to do the changes. Decalring the doc number (doknr) as draw-doknr, as it is in the stadndard transaction, doesn't help.
    Any ideas?
    Pushpraj

    Hi,
    You can use Matchcode object CV01
    fr ex:
    Select-optiions: SO_DOCNO for draw-doknr matchcode object CV01.
    Hope it helps.

  • F4 Help for Training Event -Tree structure like in PSV2

    Hi,
    There is any function module to give the F4 help in custome development for Training Event like Tree structure in PSV2.

    Check AL S's response here for how to do this. CVI 6.0 does not have a native Tree control. This was introduced with CVI 7.0.
    Bilal Durrani
    NI

  • How to replace a field's search help of DDIC in FPM feeder class?

    Hi All,
    I want to replace a field's search help in DDIC structure, for an example, in structure HCMT_BSP_PA_XX_R0009, the field BANKL(Bank Keys) has a search help named 'H_BANKL', I want to replace this search help with other one such as 'H_BANKEY' in the FPM feeder class CL_HRESS_PER_DETAIL, I redefined such method:
    method if_fpm_guibb_form~get_definition.
    field-symbols: <fs_field_description> like line of et_field_description.
    call method super->if_fpm_guibb_form~get_definition
    importing
    es_message = es_message
    eo_field_catalog = eo_field_catalog
    et_field_description = et_field_description
    et_action_definition = et_action_definition
    et_special_groups = et_special_groups
    ev_additional_error_info = ev_additional_error_info.
    read table et_field_description assigning <fs_field_description> with key name = 'BANKL'.
    set search help name of field 'bank key'
    if <fs_field_description> is assigned.
    <fs_field_description>-ddic_shlp_name = 'H_BANKEY'
    endif.
    endmethod.
    I test it and found the search help window was replaced indeed, but all the value of import/export parameters in the new search help was lost, it means, the value of import paramer BANKS(Bank country) and the export parameter BANKA(bank name) were lost. Only the value of BANKL itself can be returned by the new search help window. Can you give me some suggestions about how to maintain the link( value exchange) between structure HCMT_BSP_PA_XX_R0009 and dynamically defined search help 'H_BANKEY' in FPM feeder class?
    I tried to use sap memory ID but it doesn't works well.

    This question was answered at [Webdynpro Forum|how to replace a field's search help of DDIC in FPM feeder class?;:
    That is because for the import and export of DDIC Search help values to work in WDA, not in FPM layer.Feeder Class can do nothing about it.

  • Search Help on Table Control - Fill more than one field in the table?

    Hey everyone,
    I have built a screen with a Table Control on it... the fields of the table control are linked to an internal table...  The internal table has the line type of a structure I've defined in the data dictionary.  Within that structure in the data dictionary, I've linked some fields to search helps (For example, a MATNR and CUSTOMER search help)...  I've defined in the structure definition which fields from the search help are to be returned to which fields in the structure.
    The problem is, even though I have the search help set to export both the customer number and location when using the search help on the customer field, it still does not fill the location field within the table.  Is this a limitation of using search helps within table controls?
    I'm also finding that by defining the search help through the structure, instead of directly within the screen, the search help round button does not show up on the field, yet I can still press F4 to bring up the search help.  Is there a reason why it's not showing the search help clickable button even though it works fine using F4?
    For doing search helps in Table Controls, is it better to just build the search help, attach it directly to the field in the table, and then after the user picks the single field, use the PAI to run a select and fill the rest of the fields required?
    Thanks,
    Dallas

    Hi Dallas,
    (1)
    What  i understood is that you added a search help by defining it in the internal table type for a field customer number..in the search help you have 2 fields customer number and location...user press the search help ..then you need to fill 2 different fields or 1 field?
    if you need to fill the customer location or location (only one) then you need to set the "import" in the search help for whichever is required.....
    if you need to fill 2 or more different fields..then you can use the technique you have mentioned last , to do a select in PAI and fill the fields....but this you can use if the combination for the fields is unique...eg: u have customer number and location..if customer X can be mapped to location X and location Y..when a select statement is done there are 2 options..so in such cases it is better to leave the option to the user otherwise if there is a clear mapping like customer X can be mapped only to location X then you can use the select..
    (2)
    usually when you define it as a type in the internal table the icon doesn't show up..but you can do alternative like mentioned..go to the table,find the search help for the required field if present or create a new one if required and place the search help mentioned in the screen itself..so as to see the icon...sometimes users are adamant that they need the search help icon to be seen..so it depends on if your user
    (3)
    as in the example of customer number and location mentioned we can provide them different search helps and do the needful processing in PAI to fill the fields
    Table controls may be used for different purposes and requirements....even a checkbox,push button can be placed as a field in table control and used,but yes most of the time requirements are like what is mentioned in your case...
    Regards
    Byju

  • Connect search help to standard table

    hi!
    i want to connect search help to structure P0001-MSTBR, without a repair.
    is it possible? and if so how?
    regards
    yifat

    Hi,
    If you want to add a search help to a structure or a table, it would eb a modification. No other way.
    However, you could decide to program the F4 in your transaction. You could then make use of the FM F4IF_INT_TABLE_VALUE_REQUEST. Just pass to this FM, an internal table of values. Ofcourse you would have to populate some other fields like field name, etc.
    Remember to reward points.
    Rgds,
    Prashanth.
    SAP.

  • 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

  • F4_FILENAME in search help in screen painter

    Hello gurus,
    I want to design a screen in which the text input field is used to get file name. For that i need to enable file search in local folders and drives with f4 key press. I wish to use the functionality of function module 'F4_FILENAME" in screen painter. How can i do that?
    I tried creating search help for RLGRAP structure. It compiles fine but gives the message 'No inout for selection'.
    What should i do?

    Thank you all,
    The problem has been solved.
    I am posting the final code.
    1. In se38, i created program zprogram.
    2. In se51, i created a screen for the program zprogram.
    3. In layout, i took 2 buttons and one input/output field.
    1st button for import and 2nd button for exit.
    4.In flow logic-
    i wrote the follwing code.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_100.
    PROCESS AFTER INPUT.
    PROCESS ON VALUE-REQUEST.
    FIELD FILENAME1 MODULE F4_FILE_SEARCH.
    5. IN THE MAIN PROGRAM
    i wrote the following code-
    REPORT ZPROGRAM.
    DATA: FILENAME1 TYPE RLGRAP-FILENAME,
               OK_CODE TYPE SY-UCOMM.
    CALL SCREEN 100.
    MODULE F4_FILE_SEARCH INPUT.
    OK_CODE = SY-UCOMM.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
        FIELD_NAME         = 'FILENAME1'
    IMPORTING
        FILE_NAME           = FILENAME1
    ENDMODULE.
    MODULE STATUS_100 OUTPUT.
    CASE OK_CODE.
    WHEN 'IMPORT'.
    MESSAGE 'THE FILE IS RECIEVED' TYPE 'I'.
    WHEN 'CANCEL'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.
    I REFERRED TO THE DEMO PROGRAM MENTIONED
    IN OTHER POST
    NAME OF THE DEMO PROGRAM IS - DEMO_DYNPRO_F4_HELP_MODULE

Maybe you are looking for

  • How can I fix a (damaged) library file?

    I just upgraded to itunes 5 last week. I opened itunes yesterday and it said my library file had been damaged so it renamed it with (damaged)and gave me a new library file without any of my custom playlists, etc... I lost a playlist thats really spec

  • Button component and "continue" id

    It is very difficult to give the word "continue" as the id for a button component. Even if you give that id, the system shows unpredictable behaviour. Anyone having same problem? Thanks.

  • How best to 'reinstall"

    The "Unable to Submit" error has cropped up and CompressorRepair suggests a reinstallation. Am I correct that I have to reinstall EVERYTHING: I can't select Compressor/qmaster? I remember this taking a long long time. Do I have to remove anything fir

  • Creating Measure

    Hi All, I am new for OBIEE. I have one requirement please any one help me. I have a measure with the name of P_Amount. That have Jan 2009 to Jan 2010 data. My requirement is, i have to create a measure that should have April 2009 to Jan 2010 data onl

  • Hyper v machine not initialize

    in Server 2008 r2 i created a machine in hyper-v but when try to start it gives error machine could not start. i already enabled vt and dep.