Search help default value in SE11

Hello!
I would like to set a default value to a self-made search help.
I referred the following link in this theme:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/73/5414f0adbd11d194f200a0c929b3c3/frameset.htm
This docu tells me, how can I enter default value to a field. But life is not so easy, because I have to EXCLUDE a constant.
I mean default value can be a constant like this: 'A'.
But I would like to set one like this: <>'C' to exclude all documents with the status C.
If I test the help search in runtime it is accepting values to exclude but I would like to pre-set the value.
Thank you for any answers
Tamá

Hi,
There is no simple solution for this. If you have a view in your selection method instead of the table then you can define your requirement in the selection TAB to restrict based on your conditions.
Without using a view the other option is to use a search help exit.
Think view is a better and safe bet.
Cheers
VJ

Similar Messages

  • SAP CRM Search Help - defaulting values in search help screen

    Hi All,
    I am working on search help object in service order(Amount allocation )  BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
    Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
    Please find the attachment where I need to default the value. any help is appreciated.
    Thanks,
    Sapsar.

    At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
    Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
    1- Use a custom search help with a constant (static)
    2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
    3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback)

  • Search help: default value for 'Maximum no of hits'

    Hello,
    I have a request from a user to change the default value for maximum number of hits in the search help.
    Any quick hint?
    Regards,
    Michal

    Not sure if this is possible and don't have a SAP system available at the moment ...
    But check this out...
    Is there anything in user profile ..
    or check if the number of hits field has a PARAMETER ID associated with it...
    Then in that case you might default a value other than 500 in your user profile.
    Cheers,
    Ram

  • Search Help with value on SE11

    Hi Gurus,
    I have two parameters on my screen, PARTNER and PSOBKEY. I have created a Search Help on SE11 for the second parameter, and this search help has that 2 parameters too.
    First I enter PARTNER, then I open the search help for PSOBKEY, and I want the value on PARTNER to be on the search help.
    How I can do this from the SE11?
    Thanks for your help.
    J. Garibaldi

    Hi Garibaldi,
    In your search help the PARTNER should be one of the search help parameters. It should be marked as IMP (Import) parameter. The name of this parameter in the search help should be same as that on your screen. The parameter PSOBKEY would be the EXP (Export) parameter of your search help.
    If you maintain above things, when you enter the PARTNER field on the screen and open the search help of PSOBKEY, the value of the PARTNER screen field would be automatically copied and imported into your search help.
    Please refer to the SAP help http://help.sap.com/saphelp_47x200/helpdata/EN/4f/991f82446d11d189700000e8322d00/frameset.htm for more detailed understanding.
    Regards,
    Suresh

  • Search Help default value

    Hi experts,
    I want to create a search help for the Material. In the search help I should set some default value like the language and the company. I know how can I set the default language, but how can I say that the default language could not be 'EN'.
    I need to set this one: SPRAS NE 'EN', but I don't know how.

    Hi,
    Create a help view first and include the tables ,in the selection conditions tab page restrict the data entry by adding all the condition such as EQ,NE.GT,LT AND ,OR operator as per your requirement.
    Then add this help view to the selection method in the search help created.
    eg:SPRAS NE 'EN'
    Hope this will help you!!!
    Try this It works!!
    Regards,
    Nishi.M

  • Stanard search help -default values change

    I have assigned a search help to sales order like this
    SELECT-OPTIONS   :s_vbeln     FOR  gv_vbeln MATCHCODE OBJECT  VMVA.
    When i press F4 i get select options correctly.But in select options there is a field Called Transaction group which will be defaulted to '0' i.e Sales Order.
    I wanna change this default valur to '4'(Contract). Any Techniques.

    i think u can set value to the params VTV t0 '4' .
    select-options : trvog for vbak-trvog memory id vtv default '4' no-display,
                     vbeln for vbak-vbeln matchcode object vmva.
    regards
    Prabhu
    Edited by: Prabhu Peram on May 21, 2010 3:42 PM

  • Generic problem for search help without values

    Hi,
    Always I open a search help without values I get the warning popup "No values found" but after this no link let me come back to the previous screen.
    Does anybody know how I can solve this (in a standard way)
    thanks
    regards

    Hi
    It seems to be a bug in the system.
    <b>Please have a look at the following SAP OSS Notes -></b>
    <u>Note 574604 - Various correction reports for EBP business partner
    Note 1028643 - Input help for contact persons in purchase order
    Note 843008 - EBP4.0 and higher: Terms of Payment, Texts and codes
    526416 Structural enhancements LFA1
    698246 EBP 4.0 address maintenance: Default address for address use
    701321 EBP 3.5 address maintenance: Default address for address use
    701323 EBP 3.0 address maintenance: Default address for address use
    701384 BBP 2.0C address maintenance:Default address for address use
    690619 Plants are not transferred during location replication
    641960 New processing of terms of payment in EBP 3.5
    628386 Incorrect link for EBP for 'External business partners'
    Note 544392 Error in search helps EBP 2.0
    Note 544816 Error in search helps EBP 3.5
    Note 544713 Error in search helps EBP 3.0</u>
    Please raise a customer OSS message with SAP as well.
    Regards
    - Atul

  • Restrict dictionnary Search help displayed values.

    Hi,
    my problem is that I have to display a search help. The search help already exists in the dictionnary and is defined using a Dictionnary Table.
    I need to display the same serach help but I have to filter the results using a range of values for one of the fields and I would like to know how to proceed.
    I know that user-exit exists in some search help, it's not the case here.
    The kind of solutions I'm looking for is :
    -  directly restrict the existing search hellp values
    -  found a way to display a search help from abap using an internal table ( cause it's easy in this case to do fill a internal table doing the sql request myself)
    - if the solutions above can't apply, doing my own search help in the dictionnary but in this case, I don't know to make this search help for values restriction.
    I specify that the screen use the screen painter, it may be important ?
    Thanks for your help
    best Regards,
    Morgan

    Hi,
    Search Hels exits is only for exceptions, so in our case, we won't use the search help exits, it is better create/change the Custome one and attach the same to the fiels, there you can give the Default value for the fileds, so there you can restrict the values
    or else, we have an option like, APPEND SEARCH HELPS, so by using this, we can restrict some field values, this Append Search helps, can be append to Standard Search helps also, so do Append the Standard Search help and add your field and give the Default values to restrict the user
    hope you get the answer
    Regards
    Sudheer

  • Problem in Search Help[F4] - Values Not being Dsplayed

    Hi,
    Search help values are not being displayed.
    F4 help pop up is being displayed with the text on top: ' xxxx number of entries found".
    But no values are visible in that popup where it normaly displayes all values for selection. This is happening with all search helps.
    Example: I tried for Tcode: ME21, for field Vendor.
    =><i>No patch has been applied on Server recently.</i>
    Any clue on that..??
    Any help is appriciated.
    Regards,
    Vijay Raheja

    Hello Vijay,
    This is simple as well.
    Go to help then settings and then F4 help. Under system defaults tab strip you will find Display tab strip. Here go to change mode and choose dialog. The other choice will be for control only ( 2 radio buttons only this time around). However to do so make sure you have the authorization object S_ADMI_FCD with value TCTR.
    Ask yoru authorization adminstrator to make these changes. He would be having these authorizations. Normally all  users dont have this authorization as this is part of security audit considerations.
    Please award points if issue got solved.
    Regards.
    Ruchit.

  • Search help exclude values

    Hi
    I have created a search help with selection method --> MCHB. One of the fields i use is CLABS. Do you know how to exclude the zero values of this field. Is there any trick ( i suppose the search help exit) to write code in this. Any ideas?

    Hi Antonis,
    In SE11 you can create a Help View with filter, and then use it as your selection method
    regards,
    Paulo

  • Any Functions can I use Search Help on VALUE-REQUEST in PAI.

    Hi~!!  Experts.
    I want to know some functions or methods of Search Help.
    I have made a ZHxxxx Search Help in SE11.
    And I applied a screen field by using screen painter.
    But I want to fill up the other fields, using selected value.
    So I made a Module under th  PROCESS On VALUE-REQUEST.
    unfortunately, I can't use no more The Search  that I made.
    I want to using the Search Help(ZHxxxx), and I want to fill up the other fields by using that's values.
    I guess some F4 functions can use Search Help. Right?
    Anyone know how to deal it.  Please answer me,.     The program Type is Module Pool program.

    Hi Insik,
    Proceed as below :-
    First of all declare the module below in the flow logic of your screen then create it in your main program.
    You declare the module in the PROCESS ON VALUE-REQUEST.
    PROCESS ON VALUE-REQUEST.
    FIELD TXT_DOCNO MODULE VALUE_BELNR.
    You also need to create an internal table where you wil store results of the select query fired below in the module.
    Here you will get a F4 help on the filed Document Number(TXT_DOCNO) based on the field Company code (TXT_CODCO)
    MODULE VALUE_BELNR INPUT.
    progname = sy-repid.
    dynnum = sy-dynnr.
    CLEAR: field_value, dynpro_values.
    field_value-fieldname = 'TXT_CODCO'.
    APPEND field_value TO dynpro_values.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname = 'BKPF'
    fieldname = 'BUKRS'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'TXT_CODCO'.
    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 BUKRS BELNR
    FROM BKPF
    INTO CORRESPONDING FIELDS OF TABLE it_doc1
    WHERE BUKRS = field_value-fieldvalue.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'BELNR'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'TXT_BELNR'
    value_org = 'S'
    TABLES
    value_tab = it_doc1.
    ENDMODULE. " VALUE_BELNR INPUT
    Regards
    Abhii

  • Search Help Selected Values not reflected in WebUI

    Hello All, We have a requirement to create a standard F4 value help for PRODUCT_ID field and the selected value should be reflected in the WebUI field. This field is in a table view context node and the component is a stand alone WebUI component. Everything works fine till the Search help is called and the values is selected. But the selected value is not reflected in the Product_ID field. We have checked many forums and links and tried almost all the alternatives suggested. Here's is the code attached for reference.
    DATA:l_wa_map       TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
           l_i_inmap     TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
           l_i_outmap    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      DATA:  lv_str_index TYPE string.
    *  l_wa_map-context_attr = 'product_id'.
    *  l_wa_map-f4_attr      = 'PRODUCT_ID'.
    *  APPEND l_wa_map TO:l_i_inmap,l_i_outmap.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'KEY'. "'PRODUCT_ID'. "'
      APPEND l_wa_map TO: l_i_outmap.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'VALUE'. "'PRODUCT_ID'.   "
      APPEND l_wa_map TO: l_i_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
         EXPORTING
          iv_help_id        = 'COM_PR_SHTEXT'      "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name  "if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping  = l_i_inmap
          iv_output_mapping = l_i_outmap
          iv_object_ref     = me
          iv_trigger_submit = abap_true.
    Is there any further code or event call required to reflect the value in the WebUI? or what exactly is required to be done here?
    Thanks in Advance.
    Prasad

    Thanks Dharmakasi, your point to use Condense was the issue which was preventing the values from reflecting in the field.
    However, below code is not required.
    * lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'PRODUCT_ID'.
      APPEND l_wa_map TO: l_i_inmap.
    I had another requirement which worked in below way. Note this is for Custom data elements with value help in domain. Hope this is helpful for other folks.
    DATA:l_wa_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
    l_i_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
    l_i_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      DATA:  lv_str_index TYPE string.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].GC_CARD_TYPE' INTO l_wa_map-context_attr.
      CONDENSE l_wa_map-context_attr NO-GAPS.
      l_wa_map-f4_attr = 'KEY'.
      APPEND l_wa_map TO: l_i_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id        = '/GLB/CNPCR_GC_CARDTYPE'     "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_dtel
          iv_input_mapping  = l_i_inmap
          iv_output_mapping = l_i_outmap.

  • Search Help Criteria Values

    Hi,
    I have a custom search help and I am calling the same using the MATCHCODE OBJECT in selection screen.
    Now my requirement is to pass the search help selection criteria values from the program. How to do that?
    Many thanks in advance!
    Regards,
    Benu

    Hi,
      Am not clear..
    Do you want to display your own records from the program in the F4 help?
    Thanks and regards,
    Senthil Kumar Anantham.

  • Hi,   search help     --   restricted value

    hi
    there is already a search help for a field in one of the transaction codes in fico. i think this search help is attached in code by writing match code syntax.
    but my prob is that this search help for the particular field shows 10 char and out of this 10 char i need to show only 5 char from 3 to 7 when the user press f4.
    eg. 1234567890 i need to show 34567 only without changing the se38 code.
    when user press f4 he gets lots of records and all records should show 5 char only, now it is showing 10 char.
    is it possible, if yes, then how???
    pl can anybody help me.
    thanx
    rocky

    Hi rocky,
    You can do like this.
    Use the below logic with your table, you will get as desired,
    DATA: BEGIN OF gt_matnr OCCURS 0,
          matnr TYPE mara-matnr,
          END OF gt_matnr,
          BEGIN OF gt_list OCCURS 0,
          field1(5) TYPE c,
          END OF gt_list.
    PARAMETERS: p_matnr TYPE mara-matnr.
    INITIALIZATION.
      SELECT matnr
        FROM mara
        INTO TABLE gt_matnr.
      LOOP AT gt_matnr.
      gt_list-field1 = gt_matnr(5).
      APPEND gt_list.
      ENDLOOP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
      CALL FUNCTION 'POPUP_WITH_TABLE'
           EXPORTING
                endpos_col   = 30
                endpos_row   = 20
                startpos_col = 10
                startpos_row = 10
                titletext    = 'Select MATNR'
           IMPORTING
                choice       = p_matnr
           TABLES
                valuetab     = gt_list
           EXCEPTIONS
                break_off    = 1
                OTHERS       = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

  • Search help-spread values

    hi,
    In UI programming, on my screen I have two fields.
    eg: Material No
         Material Description
    And I have created a search help and added to Material No in attributes.  When i use this search help, i get material no on my Material No field.  However, at the same time, I also want Material Description for the selected No.  How does this happen?  What I need to do in the program.
    thanks
    K

    Hi,
    First create a HELP VIEW for the two fields which you need and give the help view name in the ELEMENTARY SEARCH HELP (instead of table name), so that while selecting the material no. you will get both the things.
    Reward points,if useful.
    Regards,
    Sathish.

Maybe you are looking for

  • Solved Dual Boot Win7 & Arch quick ?

    Quick setup here. I have win7 installed on 1/2 of my 500GB HD. SDA: my 160GB storage drive. I'm in cfdisk during Arch install sdb1 Prim NTFS sys reserved. 100MB sdb2 Prim NTFS                             250GB sdb3 Prim Linux  "my /boot"       100MB

  • Aparture won't start anymore?

    Since yesterday I've got following errors coming up by starting Aparture. Therefore I'm unable to get it started. What do I have to do now? Can I rescue my Libary? Or even fix the problem. Here is the Error Code showing up all time: Process: Aperture

  • IPhone on certain Web sites...

    Hello all, I purchased a ticket over Fandango Thursday and got the confirmation number email which came through the iphone. I went to the theater to watch the movie and figured since I have the confirmation number through the email (which had a link

  • Display page number in page footer

    i want to displaypage numbers i nthe report footer. anybody tell me how can i get the page number in the report foolter for every page?

  • How can we copy an enhancement set to a different Business Role?

    Experts, How can we copy an enhancement set to a different Business Role? Currently we have an enhancement to a Business Role "SALES PRO."  How can i make the same enhancement set active for a different Business Role? ie. MARKETINGPRO. Thanks,