‎2007 Apr 19 12:47 PM
plzzzzz can anyone explain me the use of match code and how do u created that
‎2007 Apr 19 12:50 PM
Hi,
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.
reward if useful
regards,
Anji
‎2007 Apr 19 12:50 PM
Hi,
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.
reward if useful
regards,
Anji
‎2007 Apr 19 12:52 PM
Matchcode is nothing but search help, from 4.6c onwards matchcode replaced by search help.
‎2007 Apr 19 12:52 PM
Hi Ronie,
<b>Match Code</b> is nothing but a search help.
you can create one in se11 if its a report the declare like this in selection screen
p_id like zxxx-id obligatory matchcode object zmatch.
<b>create a match code in se11</b> for vendor master say!!
if its dialog program
then in the attributes of the field under search help give zmatch
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.
<<<<reward points if useful>>>>>>
All the best
‎2007 Apr 19 12:52 PM
Hi Ronei,
F4 Help is used to give the Possible values for the Particular Field.
To create a F4 help,
Step1 : Go to Se11 and Select Search Help and Enter One Name and Click Create.
Step2 : Enter your Table name in 'Selection Method' Field.
Step3 : Enter the field Name and tick the Flags Imp and Exp and Type 1 and 2 in Lpos,
Spos fields.
Step4 : Save it and In se38 Write the Code Like This,
data Empname like Zemp-empname matchcode object [enter name that u Created].
Thanks.
Note : Reward If helpful.
‎2007 Apr 19 12:53 PM
‎2007 Apr 19 12:56 PM
HI,
When you dont have any search help for you filed in selection screen and there is a need to put a search you can go for match code objects.
Go to se11 --> search help , create a Zhelp and give the table names from where you need to put the data.
and in selection screen parameter,
parameter: P_help type char8 matchcode object <Zhelp>
reward if useful
regards,
nazeer
It is same way from SE11 you have to create.
so from SE11 create it and use it.
‎2007 Apr 19 1:00 PM
Hi,
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
Regards
Sudheer