Search help coming in automatic sort

Hello gurus,
I have created a Search help and used in table which is again made to transaction with TMG. When i click on f4 on the field , the search help coming in sorted order, now how to remove sort . Thanks

Hi ABAP Consult,
          Do you mean you want to sort based on others fields? If so, you need to modify the sorting in your search help exit.
Thanks
Hock Lin

Similar Messages

  • Search Help Exit : Table appears sorted in Search Help!

    Hi All,
    I have implemented a search help exit to show a custom list of objects. Unfortunately, the list gets sorted somewhere in between the search help exit and the actual F4 display.
    Any ideas what I can do tp prevent the sorting?  It's very important that the output list displays in exact order that I have in the exit function module.
    Thanks!
    Roman D.

    while passing the changing parameter CALLCONTROL
    chk while populating the table make sure that
    callcontroltable-sortoff(DDSHF4CTRL-SORTOFF)
    is not 'X'.
    Refer to this link below
    search help exit
    Regds
    Manohar

  • Automatically populate other fields on screen while applying search help on

    Hi,
    There is some urgent requirement
    I have one screen in which 3 fields are there
    Functionality is like this when I apply search help for one field it will call a FM which populate a internal table in which value for all 3 fields will be there and it should be populated in all 3 fields.
    I am assigning proper value to all 3 fields in POV event but only one feild is getting populated on which I am applying search help.
    Anybody can sort this out.
    will be thankful to U.

    Hi..,
    just copy, paste and execute this code..
    Check this code..will be helpful for u..
    tables:mara,makt,mseg.
    parameters: p_bukrs type t001-bukrs,
    p_butxt type t001-butxt,
    p_ort01 type t001-ort01,
    p_land1 type t001-land1.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    at selection-screen on value-request for p_bukrs.
    call function 'F4IF_FIELD_VALUE_REQUEST'
    exporting
    tabname = 'T001'
    fieldname = 'BUKRS'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    dynprofield = 'P_BUKRS'
    tables
    return_tab = return
    exceptions
    field_not_found = 1
    no_help_for_field = 2
    inconsistent_help = 3
    no_values_found = 4
    others = 5.
    refresh dynfields.
    read table return with key fieldname = 'P_BUKRS'.
    Add it back to the dynpro.
    dynfields-fieldname = return-retfield.
    dynfields-fieldvalue = return-fieldval.
    append dynfields.
    Get the company code from db and add to dynpro
    data: xt001 type t001.
    clear xt001.
    select single * into xt001
    from t001
    where bukrs = return-fieldval.
    dynfields-fieldname = 'P_BUTXT'.
    dynfields-fieldvalue = xt001-butxt.
    append dynfields.
    dynfields-fieldname = 'P_ORT01'.
    dynfields-fieldvalue = xt001-ort01.
    append dynfields.
    dynfields-fieldname = 'P_LAND1'.
    dynfields-fieldvalue = xt001-land1.
    append dynfields.
    Update the dynpro values.
    call function 'DYNP_VALUES_UPDATE'
    exporting
    dyname = sy-cprog
    dynumb = sy-dynnr
    tables
    dynpfields = dynfields
    exceptions
    others = 8.
    <b>
    plz do remember to close your thread, when ur problem is solvedd !! reward all helpful answers !!
    regards,
    sai ramesh</b>

  • How to include Search Help which has been created using SE11

    Hi all,
    I have created the custom search help in SE11. What is the way to include it in my code? Thanks in advance.

    Hi Mil,
    There are different ways of using the search help created by SE11 depending on the kind of application you are using.
    1. Search help can be attached to a <i><b>DATA ELEMENT</b></i> under the tab <i><b>FURTHER CHARACTERISTICS</b></i>.
    Now wherever this data element will be used, automatically the search help will be available on the output screen. e.g. in selection screen using parameters statement etc.
    <i>PARAMETERS: P_VAL1 TYPE Z_DATAELE.</i>
    2. Search help can be also attached to <i> database table fields</i> directly in the tab <i>Entry help/check</i>. Now wherever this database table field is used e.g. in SELECT-OPTIONS statment, the search help will be automatically available on output selection screen.
    3. Also, search helps can be directly used in the programs using function modules and event.
    <i><b>PROCESS ON VALUE-REQUEST.
      FIELD <f> MODULE <mod>.</b></i>
    Here in the module, you can use following function module for fetching the search help on the screen.
    <i><b>F4IF_FIELD_VALUE_REQUEST</b></i>
    4. Search help can be direclty attached to the selection screen statements like SELECT-OPTIONS using MATCHCODE object extension
    <i><b>SELECT-OPTIONS: LP_STATS  FOR TJ30-ESTAT MATCHCODE OBJECT ZH_TJ30 NO-EXTENSION NO INTERVALS.</b></i>
    Hope this sort out your issue.
    PS If the answer solves your query, plz close the thread by rewarding each reply.
    Regards
    Message was edited by:
            Sapna Modi

  • Removing standard search helps

    I have created a field in my custom table, with data element VKORG (its domain is also VKORG).
    Now, the search help C_VKORG is automatically getting attached to this field.
    How can I remove this seach help from my field?

    Hi Prabhat,
    I believe the issue is coming because you have the standard Data Element to refer to the field, I would recommend you to create a new data element and also the domain of 4 characters and also then after you can link a custom search help then after in SE11 transaction.
    BR/Thanks
    Pranav Agrawal

  • Search help doesn't exist in SE11

    Hi,
    I am enhancing the standard t-code QM01. According to requirement I have to put Shipment (tknum) and corresponding Item (tpnum) in the screen in SE80.
    For shipment the search help has come automatically but for TPNUM its not coming and I can't see any search help name exist for TPNUM Iin se11. Kindly help.
    Pls let me know if furtehr information is needed

    hi
    try this
    [http://help.sap.com/saphelp_47x200/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm]

  • How to use search help in layout of se51

    how to use search help in layout of se51.

    Hi,
      One of the important features of screens is that they can provide users with lists of possible entries for a field. There are three techniques that you can use to create and display input help:
    Definition in the ABAP Dictionary
    In the ABAP Dictionary, you can link search helps to fields. When you create screen fields with reference to ABAP Dictionary fields, the corresponding search helps are then automatically available. If a field has no search help, the ABAP Dictionary still offers the contents of a check table, the fixed values of the underlying domain, or static calendar or clock help.
    Definition on a screen
    You can use the input checks of the screen flow logic, or link search helps from the ABAP Dictionary to individual screen fields.
    Definition in dialog modules
    You can call ABAP dialog modules in the POV event of the screen flow logic and program your own input help.
    These three techniques are listed in order of ascending priority. If you use more than one technique at the same time, the POV module calls override any definition on the screen, which, in turn, overrides the link from the ABAP Dictionary.
    However, the order of preference for these techniques should be the order listed above. You should, wherever possible, use a search help from the ABAP Dictionary, and only use dialog modules when there is really no alternative. In particular, you should consider using a search help exit to enhance a search help before writing your own dialog modules.
    Input help from ABAP dictoinary
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    Field Help on the Screen
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa6135c111d1829f0000e829fbfe/content.htm
    Field Help in Dialog Modules.
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
    Regards,
    Vara

  • How to create an elementary and collective search help in webdynpro

    Hi all,
    my requirement is i have to create an collective search help. and that should be same as other tcode search help functionality.
    and now the ztcode is in r3 system and my webynpro development is going on bw system how to copy that tcode from r3 to bw system. and then for my input field is cost center and for this input field i should create the search help functionalty.kindly help me how to achieve this functionality i am new to this webdynpro so kindly send me the detail steps.
    Thanks & Regards,
    Naveen

    Hi Naveen,
    There's no difference to using a collective search help or a regular search help.
    in the attribute of the context that you want the search helps to appear for - specify that the input help is of type dictionary search help, then specify that the input help is your collective search help.
    Search helps in WDA, if search help is available at dictionary level, no need to create any search help, you get automatically.
    If you want to create search help for any input field, another option is using OVS. we have WDR_OVS component for search helps, you need to reuse this component in your custom component, just change some coding according to your requirements you get search help.
    Go through these documentation and helps...
    http://help.sap.com/saphelp_nw73/helpdata/en/cf/21ee45446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw73/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
    OVS search help..
    http://wiki.sdn.sap.com/wiki/display/Snippets/OVSSearchHelpinWebDynproAbap
    freely programmed inputhelp
    http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help
    http://wiki.sdn.sap.com/wiki/display/WDABAP/UsingSearchhelpattachmentsforWebDynproABAP
    Thanks,
    Kris.

  • Search help in WDA

    Hi All,
    I tried implementing the F4 help for a parameter in the iview.
    The search help was standard one -> H_T508A.
    I bindded the context element having this search help option and automatic as the Input Help Mode.
    On testing the application, for htis F4 its throwing dump saying the attribute does not exist which is one of the parameter i nthe search help. But when I execute the search help separately, its wrkng fine.
    Please put inur suggestions.
    Thanks
    Krithika

    Hi,
    I myself found the error. It is because when a search help is having import and export parameters in it, we need to create a separate attribute in context and bind it to the layout. We should not create a node say PA0007 and add the attribute from dictionary structure.
    Thanks .
    Krithika

  • Carry matnr from line item to search help parameter??

    Hi All,
            Is it possible to have a line item material number carried forward into a search help parameter field automatically? So say a user has entered material 123456 in sales order line item and now wants to use the F4 help in the batch field for that line item, is there a way of having the 123456 matnr in the material number parameter on the search help when the dialog opens?
    If so how is this achieved?
    Many thanks.

    Hello Friend,
    I think it is possible..if user is agree to press 'Enter' after entering material number...
    so that it goes back to any event and you catch the material number in runtime...
    and with that Material number change the value of global parameter of material number ( you can check in data element )
    { SPA )
    after that if user press F4 in the batch field...materiial number
    Hope it will solve the problem.
    Regards
    Krishnendu

  • Search help (PREM) for personal no. is not coming in ALV grid table control

    hi experts,
    Search help (PREM) for personal no. is not coming in ALV grid table control.
    i have assigned the srch help (prem) to my 'ZFIEXP_PROJALLOC' table for the emp_id.
    but in output it is now showing the help.
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'ZFIEXP_PROJALLOC'.
      ls_fcat-ref_field = 'EMP_ID'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    Then i tried to solve it using the PA0002 . ie.,
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'PA0002'.
      ls_fcat-ref_field = 'PERNR'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    with this it is showing the help in employee code, but, when i click on an empl number, it is not added to my table control and allowing me to add the number by typing them.
    plz help me.
    thanks.

    Hi 
    In the layout give layout-sel_mode  = 'A'.  and
    pass  'A'    to  i_save  exporting parameter to method  set_table_for_first_display.
    The same thing if you are working with function module
    reuse_alv_grid_display.
    Reward points for useful answer.
    Venkat

  • (Urgent) Sorting search help values in Web Report

    Hello Friends,
    We have a web report which uses a variable made on 0CALMONTH. The order of display of values for this variable search help is 02/2004, 03/2004, 01/2005, 07/2006, 08/2006, 05/2007. In this order we have the latest date (05/2007) displayed at the end of the list. What we want is that the values in the search help of 0CALMONTH should be displayed in the reverse order i.e. latest date first (05/2007, 08/2006, 07/2006... etc).
    Thanks in advance for your assistance.
    Regards,
    Prem.

    Hi Premanand,
    If u display the report in Internet Explorer there you can see differnet buttons like
    Save View, Book mark, Variable Screen etc...There click Save View give tech name and descryption. After Sorting use this in WAD instead selecting query , select this view and execute.
    Assign Points Pls...
    Best Regards,
    SG

  • Sorting problem in standard vendor search help

    Hi all,
    I'm enhancing the vendor search help.
    I found that there is a sorting problem in the original standard search help.
    The 1st time to search vendor in the search help returns a correct list, then I just sort the vendor in ascending order. This time the column name of the hit list changes and mismatch the actual values.
    Any one faced this problem before?
    What's wrong are there ?
    Thanks.

    Thanks Peluka.
    But even I don't enhance the vendor search help, I still found that the original standard version has this problem after sorting.
    Is that the program bug?
    Have anyone encountered this problem before?

  • Search help is not coming while using select-options?

    Hi All,
    I am using select options in my selection screen, i used wdr_select_options, also i coded some parameter values also
    ( non select-options ). For that field i am not getting search help. If i create as normal i am getting? Suggestions pelase?
    Thanks,
    Venkat.

    HI
    what kind of search help is associated with the field.
    ADD_SELECTION_FIELD method has some specific parametrs for value_help
    give the input there and try again.
    these parameters are
    I_VALUE_HELP_TYPE
    I_VALUE_HELP_ID
    I_VALUE_HELP_MODE
    I_VALUE_HELP_STRUCTURE
    thanks
    sarbjeet dingh

  • Trigger Automatic Search Help in WebDynpro for ABAP

    I have a WDA application for creating a Purchase Order. The first screen has 2 options - one for creating a PO from scratch; and one for copying an original PO.
    The second view ('Copy PO') for copying a PO has a single field (PO document) with a Search Help attached (freely programmed). The Search Help works well.
    Now for the question:
    When firing the second screen ('Copy PO'), I would like to trigger the Search Help without actually entering the view. Is there some way of firing an event that triggers the Search Help without entering the 'Copy PO' view?
    Any help would be gratefully accepted.

    hi gareth.......
                a solution for you.....
                   instead of triggering  a search help....
                  in you wddoinit method... call a popup which ahs a table with all the required values...
                 so when the user selects one... it has to be bound to an attribute....
                 which is then passed to the po field.
    ---regards,
       alex b justin

Maybe you are looking for

  • Not able to get correct BIP report output in case of more than 6000 records

    Hi, When we are trying to generate the BIP report in siebel 8.1.1, for the list of records whose count exceeds 6000 records, we are gettin a error as "Error <?> invoking method "<?>" for Business Service "<?>"(SBL-OMS-00203) W have done all the optim

  • How can I get information of the switched channel in an example program from NI?

    When I use the example program "niSwitch DMM Switch Synchronous Scanning.vi", I'am not able to get any information, wich channel is active. Wich block has to be used and how must I connect it to see this. The other one is, that te sytax for the scan

  • Cant open the bin- file ??

    I dont know why but recently my premiere project wont open whilst others will. i have a hunch it may be because my project bin in the project has over 1000 clips in it. i have 4gbs of memory on my imac. has anyone else ever had this message whilst it

  • TopLink 10.1.2.0/9.0.4.5 now available

    In coordination with the 10.1.2.0 release of the application server TopLink has shipped 9.0.4.5. This is available for download now. The download link is on the right hand side of the TopLink landing page on OTN: http://www.oracle.com/technology/prod

  • Up for something new in Java - tabs and executables.

    Hey again, Ive grown quite confident in my basics for JAVA and now want to try some new things. I want to make a piece of java that i could actually open like somekind of program, preferably (like) a .exe file, Are you aware of any way to acomplish t