Help in Match-code for field SEARK (Search Term)

Friends, in my aplication was necessary insert the match-code for SEARK field.
I use the function module RH_OBJID_REQUEST in the form OPEN_BOX2 at the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_requi-low.
When I use this match-code and select the 4 itens and clique the OK button, only the last item appears in the field.
Anyone else had this problem?
Can someone help me?
Thanks for listening. 
Below is the code:
select-options:
  so_requi    for pm0d1-seark no intervals  .
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_requi-low.
  PERFORM open_box2 CHANGING so_requi-low.
form OPEN_BOX2  changing p_so_requi_high.
Variáveis
  DATA: h_plvar LIKE p1000-plvar,
        h_otype LIKE p1000-otype,
        h_objid LIKE objec-realo,
        h_begda TYPE begda,
        h_endda TYPE endda,
        p_subty TYPE plog-subty.
tables
  DATA: p_change_profq LIKE hrpe_profq OCCURS 0 WITH HEADER LINE.
preenche as variantes para os parâmetros da função
  h_plvar = PCHPLVAR.
  h_otype = 'Q'.
  h_begda = sy-datum.
  h_endda = '99991231'.
  DATA: sel_objects LIKE objec OCCURS 0 WITH HEADER LINE.
popup with qualifications catalogue
  CALL FUNCTION 'RH_OBJID_REQUEST'
       EXPORTING
            plvar                 = h_plvar
            otype                 = 'Q'
            seark                 = '*'
            seark_begda           = h_begda
            seark_endda           = h_endda
            set_mode              = 'X' "multiple choice
       TABLES
            sel_objects           = sel_objects
       EXCEPTIONS
            cancelled             = 1
            wrong_condition       = 2
            nothing_found         = 3
            illegal_mode          = 4
            internal_error        = 5
            OTHERS                = 6.
Captura os dados selecionados e passa para o select-options
   free: so_requi.
   if sy-subrc = 0 .
     loop at sel_objects.
       clear so_requi.
       so_requi-sign    = 'I'.
       so_requi-option  = 'EQ'.
       so_requi-low     = sel_objects-objid.
       append so_requi.
     endloop.
   endif.
endform.                    " OPEN_BOX2

Hi
I am sorry I thought that it is TPLNR field
for EQFNR there is no matchcode or search help
if you want you can create a matchcode/search help and add
It is a CHAR 30 field for which most of the times no values are entered
Reward points for useful Answers
Regards
Anji
Message was edited by:
        Anji Reddy Vangala

Similar Messages

  • ME51N - Match-Code for field AFANAM

    Hi experts,
    Can anyone tell me if it´s possible to create a match code for the field: Name of requisitioner/requester (AFNAM), on the transaction ME51N - Item overview?
    Regards,
    Leonel Fernandes

    Hello,
    if you want a list of defined entries to that field AFNAM, i think it's not possible. This field is defined as a simple char 12 field with no check table behind it. So you would have to modify  the data element AFNAM or the Domain AFNAM.
    A search help to find purchase orders by field AFNAM would be easy, just an append to search help MBAN - if  that's your  problem.
    Regards Wolfgang

  • Match Code for Field ILOA-EQFNR

    Hi,
    I have to put a matchcode or search help in the field ILOA-EQFNR in a standard transaction.
    I already read the old posts that says that in similar cases, for a standard field in a standard transaction, there are no ways to put it (i dont want to brake the standard code).
    But when i look at the help of the field EQFNR, it says that you can put a matchcode!!!! (but obviously dont say how!

    Hi
    I am sorry I thought that it is TPLNR field
    for EQFNR there is no matchcode or search help
    if you want you can create a matchcode/search help and add
    It is a CHAR 30 field for which most of the times no values are entered
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Standard Match Code for Selection Options with Example

    Hi Guys,
                 Can anybody tell me Standard Match Code or Search help for Selection Options.
             ex: MBEW-MATNR , MBEW-BWKEY and MBEW-BWTAR. can anybody tell how to keep Search Help or Match Code for the Above Fields in ECC 6.0 with Example
              Very Urgent.
    Thanks,
    Gopi.

    Well Gopi.. as per your requirement no need to use collective search help.
    I guess you have three fields in selection-screen,out 3 fields you have two fields contains search help.
    Create your user defined search help BWTAR ..
    Check the below links for creation search help :
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee2b446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Hope you got it.
    Thanks
    Seshu

  • Search help and Match code oject

    How to create the search help in version 5.0 and 6.0 ? what is elementary search help,collective search help? what is the use of these search helps? where we use elementary and collective searsc helps? what is the difference between searc help and match code object? how to use in reports?where we use search help and F4IF_INT_TABLE_VALUE_REQUEST function module? what is the diffference between them?

    Hi Rk,
    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
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Thanks,
    Reward If Helpful.

  • Diff b/n search help and match code

    hi all,
    can i know the differece between search help and match code object in terms of functionality?
    is there possibility to provide matchcode object for select-options?if yes how can we provide?

    <b>same thread again.</b>
    hi,
    Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
    Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
    A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:
    You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
    You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
    Search Help
    Use
    With this function you can search for objects, thereby defining and linking different selection conditions for the search help.
    Prerequisites
    You can call this function by:
    · Selecting Object ® Search... () in the main menu bar of the Integration Builder
    · Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)
    In this case the software component version is defined as the search criteria.
    Features
    Defining the Object Type
    You can select the object type in a dropdown list in field Object Type.
    In the design (Integration Repository) you can
    · Select an object type (for example Message Interface)
    · Select a cross-object category (for example Interface Objects)
    In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.
    CHECK THIS LINK TO CREATE A SEARCH HELP.
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
    CHECK THIS LINK TO CREATE A MATCHCODE OBJECT
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html
    more details...
    Here is the code to attach a search help to a select-options
    SELECT-OPTIONS S_MATNR FOR MARA-MATNR MATCHCODE OBJECT MAT1_A.
    Rgds
    Anver

  • Difference between Search Helps and Match Codes?

    Difference between Search Helps and Match Codes?

    Serch help
    Search Helps
    The input help (F4 help) is a standard function of the R/3 System. The user can display the list of all possible input values for a screen field with the input help. The possible input values can be enhanced with further information. This is meaningful especially when the field requires the input of a formal key.
    Standard Input Help Process
    A user calls an input help with the following steps (some steps can be omitted, depending on the definition of the input help):
    The user starts the input help to display the possible input values for a field (search field) in a screen template.
    The system offers the user a number of possible search paths. The user selects one of these search paths. Each search path offers a number of restrictions to limit the number of possible input values. These values are offered in a Dialog box for value restriction when the search path is selected.
    The user enters restrictions if required and then starts the search.
    The system determines the values that satisfy the entered restrictions (hits) and displays them as a list (hit list).
    The user selects the most suitable line from the hit list by double-clicking.
    The value of the search field is returned to the screen template (possibly together with other values).
    Steps 2 and 3 are omitted if there is only a single search path available. In this case the dialog box for the value selection is offered immediately. You can also output the hit list directly after starting the input help. Steps 2 to 4 are omitted in this case.
    Function of a Search Help
    This standard process can be completely defined by creating a search help in the ABAP Dictionary. This search help only has to be assigned to the screen fields in which they should be available (see Attaching Search Helps to Screen Fields).
    There are two types of search help:
    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).
    Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    See also:
    Example for Search Helps
    Creating Elementary Search Helps
    Creating Collective Search Helps
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/cf/21ee2b446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Match code
    Match code is nothing but the Search help in Higher versions
    It is same way from SE11 you have to create.
    so from SE11 create it and use it.
    Matchcode objects are being replaced by search helps. This is good as search helps are easy to create. However, it has caused some confusion on how best to add search helps to a selection field.
    The trick that I found is to keep your newly created search helps to a 4-character name. The Matchcode object name has this old 4-character limit. This trick is not documented anywhere in the system but it has been a great time saver for me. You can expand this concept by finding existing SAP search helps that are more than 4-characters, copy them to a 4-character name and presto, you have a new matchcode object available for use
    Check this thread to get detailed info
    Match Code Objects
    Match code
    match code
    match code
    Match code
    http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef46446011d189700000e8322d00/content.htm
    Rewards if useful.................
    Minal
    http://web.mit.edu/sapr3/docs/webdocs/dontindex/pdf/mcqc.pdf

  • Match Code for LFA1-KONZS

    Hi all,
    I need a match code for the field LFA1-KONZS... it should appears on XK03 transaction for example.
    The idea is to create a new Z table and after fill this table, the values of them should appears as a search help into the LFA1-KONZS.
    This Z table should have the fields:
    KONZS type KONZS (data element)
    DESCR type Char 50
    I tried to modify the domain (KONZS) and insert the Z table on the option VALUE TABLE on the tab VALUE RANGE.
    But it doesn't works.
    The other thing is  that these two fields should accept blank values... but I think for this will need one of these fields as a key, is that correct?
    Manys thanks for all!
    Ricardo

    Hi,
    Create a search help for the Z table, and then you need change the SI_LFA1 structure (ask the BASIS team for an access key) field KONZS.
    In the tab ENTRY HELP/CHECK, you specify the CHECK TABLE and the SEARCH HELP for the field KONZS.
    And then test it into the SE16 transaction.

  • Possibility of giving match code  for Manufacturer in Equipment Master

    Hi -
    We can have a field exit on fieler HERST of Equipment Master.
    Is there any possibility of giving a match code on this filed? so that we can maintain a table for manufacturer and user can select any one entry from this table.
    We do have activated filed exit for manufacturer check, but need to further restrict the entry so that there is uniformity of entry maintained in this field.
    Kindly advice.

    hi narendar,
    some information :
    In addition to the above mentioned exit we have also created a custom match code for this field in one of our project ... the exit gets triggerred whenver user hits enter and the value entered here is used in selection criteria that displays the custom popup window ... the data is picked from vendor master table the selection createria we used was vendor name and description and vendor acount group MNFR - for manufacturers would be defaulted and displayed.So you can go with creating a custom match code which is invoked whenever user selects F4...
    regards
    pushpa

  • Plant a match code for opening a project

    Hi All,
    I am trying to develope a match code of Plant for opening a project. Such that a list of projects to come out after entering a plant then select a project and then open a project like PO by supplying plant. I have gone through SPRO that is OPT2 match codes for Project definitions. But not found ready made match code to be included.
    Is ther any easy way other ABAP use? or give logic how to deveope it.
    Thanks and regards

    Hi
    If you mean opening a project in standard reports like CN41, it would be easier to use "dynamic selection option" and hard code the plant, and then save the selection version.
    Everytime, you want to open projects in the respective plant, you can call the selection version in the initial screen of the report.
    Hope it helps.
    Regards
    Srikrishna

  • T-code for creating new payment term

    Dear All,
    What is the T-code for creating new payment term in PO.
    Pleaze reply it soon.
    Thanks
    Prasant Sekhar

    use /NOME2.here u can create or copy as u wish.
    regards,
    indranil

  • Match code for an editable ALV field

    Hi everyone,
    I have an ALV with an editable field. I want to add matchcode with predefined 2 values to it.
    I used EDIT option for field catalog to make this field editable.
    I defined this field as a custom field in one of the DB table.
    The possible values of the field are in the declaration of the DOMAIN. But I still can't see the matchcode with those values when I want to enter a value into this field in ALV.
    What should I do?
    Thank you in advance,
    Diana

    Hi Diana,
    Welcome to SDN
    When you set the field catalog you have to set option F4AVAILABL to 'X'.
    If w_fcat is the field catalog structure then set as
    w_fact-F4AVAILABL = 'X'
    w_fact-CHECKTABLE = 'SCARR'
    w_fact-REF_TABLE = 'SPFLI'
    w_fact-REF_FIELD = 'CARRID'.
    Refer the standard program BCALV_TEST_GRID_F4_HELP and BCALV_GRID_EDIT_DELTA
    Please go through this thread for sample code
    Re: F4 for fields in ALV Grid
    Hope this would help you.
    Good luck
    Narin

  • Match code for   in ME21N

    Hi,
    How can I do for activating a match code with data from "Z" table in field EKKN-WEMPF?
    Thanks in advance.

    Hi,
    It is possible. We can extend an existing standard collective search help using append search help option.
    Please goto se11 & input the standard search help name (in your case, it is MBAN_C) in the serach help option & display it. Press the menu GOTO->Append search help. You will get a pop-up and there you can create the new seach help as per your requirement.
    Hope, you know well how to create the search help. Please check with the below link if you don;t know:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Regards,
    Selva K.

  • Match-code to field custom (to portal)

    Hi all!
    I must put a match-code to a field custom.
    I see the match-code to SAP R-3, but not to portal.
    I must customizing the match-code to "customizing"?
    Thanks to all.
    Vanessa

    Hi
    I am sorry I thought that it is TPLNR field
    for EQFNR there is no matchcode or search help
    if you want you can create a matchcode/search help and add
    It is a CHAR 30 field for which most of the times no values are entered
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Needs sample ABAP code for field routine

    Dear Expert,
    There is a field "Pay Scale Group" in my DSO which stores the data in the format
    AA1/B1/CCC2/DD2/EEE1, A1/BB2/CC2/DDD3/EE2 etc. These data has to be transferred to
    InfoCube where "pay Scale Group" in the InfoCube will store the data like EEE1,EE2 etc.
    I need to write a field routine on the transformation between DSO and Cube.
    Can any one please help me with the sample ABAP code for this scenario.
    Some more examples for better understanding of the requirement:-
    Data in DSO(Source)            Data in Cube(Target)
    ===================            ===================
    AA1/B1/CCC2/DD2/EEE1            EEE1
    AAA1/BB2/CC1/DDD3/EE2           EE2
    A2/BBB2/CC2/DDD3/EEE5           EEE5
    AA2/BB1/C1/DDD3/EE3             EE3
    A3/B1/CC2/DDD1/EE4              EE4
    Many thanks in advance.
    Regards,
    Prakash
    Please do not dump your code requirements in SDN
    Edited by: Pravender on May 18, 2011 11:37 AM

    Hi,
    You can use the following code :
    Suppose the technical name of the field coming from DSO is ZPAY_SGRP.
    And also for example let me take one record, that is ZPAY_SGRP = AA1/B1/CCC2/DD2/EEE1 .
    My assumption is that there will always be 4 '/'.
    In the field routine write the below code
    data: V1(5) type c,
              V2(5) type c,
             V3(5) type c,
              V4(5) type c,
             V5(5) type c.
    data : VAR1 TYPE /BIC/OIZPAY_SGRP.
    split VAR 1  at '/' into V1 V2 V3 V4 V5.
    result = V5.
    V5 will be having the characters after the last '/' .That is V5 = EEE1.
    Hope the above reply was helpful.
    Kind Regards,
    Ashutosh Singh
    Edited by: Ashutosh Singh on May 17, 2011 3:53 PM
    Edited by: Ashutosh Singh on May 17, 2011 4:17 PM

Maybe you are looking for

  • Download failure - how do I report a fault?

    I bought a couple of albums this morning. The first downloaded without any problems. The second (Pure by Hayley Westenra) kept crashing iTUNES. It would download three tracks then would crash at the processing stage. I reloaded and repeated the downl

  • Search on Product Attributes in Web UI

    Hi All, Need your help on a requirement that we have: We need to capture the customer Legacy (Old) material number in CRM product master. We also need to search on this Legacy Number in the Product Search View in the IC_AGENT profile. We thought of s

  • Portal Integration with IBM TDS

    Hello, We are running on EP 6 on NW04 SP15, AIX, ORacle 9.2.0.6. And trying to integrate the UME with the IBM tivoli directory server. We have done the configuration in the Portal in ume configuration using our custom configuration file for directory

  • RH9: Unwanted bold formatting showing up in WebHelp

    I have a WebHelp build with a topic that, when published, shows bold formatting where there should be none. Only a word within each bulleted sentence should be bold, not the entire sentence. The .xpj file does not assign bold formatting to this text.

  • Cant connect ipod to itunes! Required file missing!

    Whenever I try to connect my ipod(nano 3rd gen.)to itunes, it says required file missing. What do i do?