Match code in query

hi Gurus,
I would like to know if is posible that i can assign a different match-code in a field of a query.
I have a problem in my new query, the problem is that i have a field of personal number that it have a match-code with only a number, but not have a name of this person.
Many thanks.
Best Regards.

Hi,
Instead of going with match code you can make new searc help from SE11 with two fields (Number and Name) and then call that search help into your program using.
Alternative way is create one internal table into your program, fill it with those 2 columns. Then you can apply this internal table on search help of any field using FM 'F4IF_INT_TABLE_VALUE_REQUEST'.
Kindly reward with points if it is helpful to you.
Thanks and Regards
Virendra Kedia

Similar Messages

  • In a query, for the selection field 'KNB1-ZWELS' a match-code isn't availab

    Hi All,
    Creating a query, for the selection field 'KNB1-ZWELS' a match-code isn't available.
    Could anyone tell me the reason?
    Thanks
    Gandalf

    Hi,
    Match Code Object is not available for the field ZWELS. If required, You need to contact a Developer for creating one .

  • Match code : value #

    Hello all,
    I wish to delete value '#', when I execute match code of master data on query.
    This value is display, even if this value never exist in my infoprovider.
    Someone have a solution ?
    Regards,
    Sebastien

    Hi Sebastien,
    If i have understood your question right, then you want to remove the "#" from your query/report output?
    What you can do is edit your master data text with blank spaces, where ever you do not have any entries. Or you will have to write a VBA Macro code.
    Check this thread, its something similar.
    replacing '#'-sign for 'not assigned' in queries
    If i have understood it wrongly, please let me know what you are looking for.

  • Match Code restriction

    Hi
    I'm trying to restrict the values that appears in the match code (F4 proccess) for Currency type Infoobject in a query 3.x
    For example:
    Right now, when I press the F4 process I'm seeing this values:
    20 (Global Currency)
    10 (Local Currency)
    B0
    GB
    00 (Transactional Currency)
    What I want, is to restrict some of those values in order to see when I press F4 the following
    20 (Global Currency)
    10 (Local Currency)
    00 (Transactional Currency)
    There is any way to exclude the values that I don't want to see?
    Thanks in advance

    Thanks for the quick response
    The thing is that we only want to remove values from the currency type match code BUT ONLY FOR TWO QUERYS
    So with this requirement, I can't change the business explorer tab of the infoobject, because that will affect all the places were my infoobject is used
    The only values presented in the cube are: 10 and 20 but in the F4 process I see more than two, I see: 10, 20, BG, 00, G0
    Through an abap program maybe?

  • FBL5N : problem with Match-code

    Hi,
    In Tcode FBL5N i click on match-code of Customer Account's field to choose a Customer, in the first table (Customers by company code) when Ii click on one customer the list of customers is closed but i get nothing in Customer Account's field (it is empty)
    Please how to resolve this problem ?
    Regards.
    Edited by: jehade el aoumari on Jan 20, 2010 9:28 AM

    Hi ,
    I had the same issue with FBL1N and I managed to solve it.
    1. Open SE11
    2. Select radio button search Help
    3. Enter DEBI
    4. Click on change
    5. Choose Maint. in logon lang.
    6. Go to tab Included search help
    7. Select line DEBID
    8. Click on Param. assignment
    9. On the 1st line enter      KUNNR     C      KUNNR
    10. On the 2nd line enter   BUKRS     C      BUKRS
    11. Save
    This should solve your issue.
    Regards,
    Ben

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi,
    How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
    Please  do the needful to me.
    Regards
    Rajesh

    don't you think that posting your question to a microsoft developer site would be more efficient?
    regards,
    anton

  • Match code in report selection screen does not show any values for 0FISCPER

    Hi Experts,
    I have problem with selection screen in several reports. When I use match code for fiscal period selection I get only # as a possible value. I have checked the master data they seem to be correct. I work with 7.0 BW system. Can you please give me any hint what I should check?
    Thank you,
    Michal

    Hi,
    maybe I ask different way - how do you add characteristic values for a characteristic in the BEx? Is it automated somehow in SAP (e.g. from master data)? For the fiscal period I use custommer exit to fill in the default value, which is the current fiscal period. But this is something different, right?
    <removed by moderator>
    Michal
    Edited by: Arun Varadarajan on Nov 14, 2008 3:55 PM

  • How to delete duplicate entries in match code

    I want to delete duplicate entries in match code.

    If you go down the search exit route, using function module F4_IF_SHLP_EXAMPLE or function module F4_IF_SHLP_EXIT as a template you want it where callcontrol-step = 'DISP'.  You would sort the table: SORT RECORD_TAB BY STRING and then delete adjacent duplicates. If this does not wok because of the fields you have in your search help, you will need to select the data into another internal table and match the relevant entries from your internal table  with the relevant position in field STRING of RECORD_TAB.  The positions in STRING will be as per the order of the parameters  you have defined in the search help.
    Hope this helps.
    Regards
    Larissa

  • Match code for Vendor Master Data on PAN

    Hi
    Vendor match code will work only if the name are identical. But for the same vendor, user create multiple vendors.
    For Ex: If the vendor name is ABC Private Limited, User puts different names like ABC Pvt Ltd, ABC P Ltd, etc.
    Hence the match code check is over ridden.
    For that reason, i want check on the basis of PAN number.
    There is no field for PAN number in match codes field.
    Please suggest how it can be maintained

    Hi ,
    Use the exit SAPMF02K , which is specially ment for vendor master data .
    Cheers ,
    Dewang

  • Corporate group match code

    Hi,
    Can anyone guide me on how to create a Match code for Corporate group field in the Vendor Master? and create a list of possible values?.
    Thanks,
    Cecilia

    I know it has to be done by ABAP group but I got confused with the help on this field.. ABAP group says it is going to be a core code change since there is no user exit available for that field.

  • How to identify a change on parameters value using match code

    Hi everybody,
    I would like to know if it's possible to identify automatically a change on a parameters using match code.
    For example : In my wiew i set XXX in  my parameters, so i execute XXX treatment. Now if i change this value to YYY, i would like to treat the YYY treatment without press enter key.
    My requirement is the following : According to the values filled in this parameters, i need to display different views in my WD application. So when this value changes, it's neccesary to modify the displayed views.
    Does anybody can help me on this problem ?
    Thanks in advance.

    Hi,
    i think ,when you start a application with application parameters your first requirement is realized. However , the second requirement need more clarity.
    When you start a application with parameter XXX, the application is displaying a view-X. How and who will change the value of XXX. Without triggering a roundtrip to server you cannot check the value if it is changed and on top of it, you can not bring new view assembly  So keep this in mind and design your application..

  • F4 in WDA table : The Match Code Button appears 4 lines down

    Hi,
    I have a problem with the Match code Buttons.
    In the FAQ of the WebDynproABAP Wiki ( https://wiki.sdn.sap.com/wiki/display/WDABAP/GeneralTechnicalAspects#GeneralTechnicalAspects-2.110),
    I read something about displaced artefacts in Tables. So I tried with a simple table and I still have the problem.
    Can someone help me ?
    Thanks.
    MAline

    Hi!
    Which Support Package has your system? SP11? I think the problem will be fixed with SP11.
    kindly regards
    Fößleitner Johann

  • How to Code this Query

    Hello, I'm using Access and need to code this query on SQL and I have this problem:
    I have 3 tables: Movie, Actor, Acts_In
    Movie table has fields: Movie_ID, movie_name, actor_1, actor_2, director
    Actor table has fields: Actor_ID, first_name, last_name
    Acts_IN table has fields: Movie_ID, Actor_ID
    * actor_id and movie_id are primary keys
    I have to create a query that allows me to search for a director, giving me a list of actors that have worked with that director, and all the movies they have acted in.
    so far I have come up with this code, however:
    select actor.first_name, actor.last_name, movie_name
    from (actor inner join acts_in ON acts_in.actor_ID=actor.actor_id) inner JOIN movie
    ON acts_in.movie_ID=movie.movie_id
    group by actor.first_name, actor.last_name, movie_name;
    This code gives me a list of all actors and all movies they acted in, but it does not give me specific actors in respect to a specific director, adding
    where director="XYZ"
    does not work as it gives me all actors that have worked with director XYZ but not all movies they have acted in. 
    Thanks!

    Grump. You should have provided us example data and DML, like this:
    DECLARE @movies TABLE (movie_ID INT, movie_Name VARCHAR(50), director VARCHAR(75))
    DECLARE @actors TABLE (actor_ID INT, first_name VARCHAR(50), last_name VARCHAR(50))
    DECLARE @acts_in TABLE (movie_ID INT, actor_ID INT)
    INSERT INTO @movies (movie_ID, movie_Name, director) VALUES
    (1, 'Batman Returns', 'Tim Burton'),
    (2, 'Charlie and the Chocolate Factory', 'Tim Burton'),
    (3, 'Sweeney Todd', 'Tim Burton'),
    (4, 'Alice in Wonderland', 'Tim Burton'),
    (5, 'Edward Scissor Hands', 'Tim Burton'),
    (6, 'From Hell', 'Albert Huges')
    INSERT INTO @actors (actor_ID, first_name, last_name) VALUES
    (1, 'Danny', 'DeVito'),
    (2, 'Freddie', 'Highmore'),
    (3, 'Helena', 'Bonham-Carter'),
    (4, 'Johnny', 'Depp'),
    (5, 'Mia', 'Wasikowska'),
    (6, 'Micheal', 'Keaton'),
    (7, 'Winona', 'Ryder')
    INSERT INTO @acts_in (movie_id, actor_ID) VALUES
    (1, 1),(1, 6),
    (2, 2),(2, 4),
    (3, 3),(3, 4),
    (4, 4),(4, 5),
    (5, 4),(5, 7),
    (6, 4)
    Which would have allowed us to come up with this:
    SELECT m2.director, a.first_name, a.last_name, m2.movie_Name
    FROM ((((@movies m
    INNER JOIN @acts_in ai
    ON m.movie_ID = ai.movie_ID)
    INNER JOIN @actors a
    ON ai.actor_ID = a.actor_ID)
    INNER JOIN @acts_in ai2
    ON a.actor_ID = ai2.actor_ID)
    INNER JOIN @movies m2
    ON ai2.movie_ID = m2.movie_ID)
    WHERE m.director = 'Tim Burton'
    GROUP BY m2.director, a.first_name, a.last_name, m2.movie_Name
    IIRC the primary difference between TSQL and the "Access SQL" is the freakin parens. So that *should* run in access, which you appear to be using.
    Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.

  • Creating Match Codes

    Dear All,
    Please suggest me the steps and necessary settings to Created a Match Code.
    I have to create a Match Code for the field Tax Number 1 in the Vendor Master.
    Thanks in Advance,
    Archana.

    Hi ARCHANA,
    IF YOU WANT  SEARCH HELP BASED ON MULTIPLE THING THEN YOU HAVE TO GO FOR COLLECTIVE SEARCH HELP WHERE YOU LIST ALL YOUR ELEMENTARY SEARCH HELPS
    LIKE IN HERE
    VENDOR BY COMANY,VENDOR BYCUSTOMER ETC ARE ELEMENTARY SEARCH HELPS
    Vendor if you see the Search Help, it gives you the option for Vendor by Customer, Vendors by COmpany Code etc etc.
    THEN YOU CREATE A COLLECTIVE SEARCH HELP WHERE YOU GIVE ALL YOUR ELEMTARY SEARCH HELP.
    SI IF YOU WANT TO ADD TO THIS LIKE
    Vendor by Customer, Vendors by COmpany Code ,VENDOR BY TAX NUMBER1
    GO TO SELL CREATA ASEARCH HELP ZTEST
    GIVE SOME SHORT DESC
    THEN IN SELECTION METHOD GIVE THE TABLE I.E LFA1
    THEN UNDER SEARCH HELP PARAMETER
    GIVE
    LIFNR   SELECT IMPORT EXPORT  LPOS 1 SPOS 1 AND PRESS ENTER
    BELOW THAT
    STCD1  LPOS2 SPOS 2 AND THEN PRESS ENTER
    SAVE IT.
    tHEN FIND THE COLLECTIVE  SEARCH FOR VENDOR FIELD AND JUST THIS TO IT.
    THANKS
    VENKI

  • Storage bin match code in LT06

    Hi Expert's,
    did anyone know why in the LT06 transaction (instead of the LT01) is not possible to use
    - Source storage section (LTAPA-VLBER)
    - Source Storage Bin (LTAPA-VLPLA)
    match code.
    Thanks.
    BR.
    Edited by: Marco Cariello on Apr 22, 2009 8:48 PM

    Thanks Csaba,
    but the note n.379070 it's OK only for SAP releases earlier than Release 4.0. We got ECC 6.0.
    Have you other suggestions?
    Thanks.

Maybe you are looking for

  • Program or FM to convert number of days into a CalDay format (ddmmyyy)

    Hi ABAP friends, I input calendar day values via a popup calendar from a spreadsheet to BW. So, the values that are populated in BW are the numbers, and not the date. For ex. when user selects a calendar day for ex. 11-April-2010, the value in excel

  • Java Code Help-Palindromes

    Sorry to trouble anyone, but I need help with coding a program dealing with Palindromes. I have some of the code already down, but I'm having trouble having the program recognize certain words as Palindromes (e.g. Racecar, madam, etc.). Note that thi

  • Urgent error - unable to find certs file

    Hi , I am new to SSL programming I have the following code and getting the error ====================================================== IO Exception java.io.FileNotFoundException: certs (The system cannot find the file specified) Unable to listen on

  • Updated reporting Ipod Service Error

    My itunes stopped recognising my ipod. Even though it said Do not disconect on the ipod itself. So i went through the support pages and found that i needed updated. I downloaded this but this will not run. It simply says Ipod service error and an OK

  • Does apple still sell iPhone 3GS?

    Does apple still sell iPhone 3GS in Singapore?