Overview
For many entry fields, but not all, SAP provides
a search function called a Matchcode. Matchcodes allow you
to select a value from a list or search for a value by categories
of data if there are many possibilities.
To display the Matchcode button, click in an entry field. The Matchcode appears on the right of the field. See below to identify Macintosh and PC buttons.
| Macintosh: | |
PC: |
Matchcodes fall into three basic categories:
1) Short list or hit list
The values are listed on one screen. For longer lists, you may need to scroll down to see all the values.
2) Restrict Value Range
Many entries are available for the field. A number of tabbed screens with different categories display so that you can enter your search criteria.
3) Calendar search
A calendar-type dialog box is displayed so that you can select day, month, and year. This is used in date fields such as invoice posting date.
This type of Matchcode is displayed for a list of values. An example is the Matchcode for the Material group field on the "Create: Purchase Requisition: Initial Screen."
1. Click on the Matchcode button in the Material group field.

2. Scroll down to see all values if necessary.
3. Double-click on a value such as 1060 to select it.
Result: The value will be copied into the Material group field.
Find a Value:
If you don't see your desired value, you can search the Hit List.
1. Click the Find button
.
2. When the Find box appears, type in the search term (catering, for example ).

3. Clear the check boxes for Starting at current line and Only on current page unless you wish to limit your search accordingly.
4. Type in a number to limit or expand your search results next to the Cancel search after hits field.
5. Click the Find button
at the bottom of the screen.
Result: SAP returns a list of values that contain your search terms.
6. Double-click on the desired value to select it from the list that appears.
7. Double-click again to copy it into the entry field.
Restrict Values:
You can search the hit list for more than one value at a time; for example all material groups beginning with 10.
1. Click the Restrict Values button
at the bottom of the list.
Result: The Restrict Value Range dialogue box appears.

2. Type in the first few letters or numbers of the values you want to find followed by an asterisk (*).
3. Type in a number to limit your search results next to the Restrict number to field or click the No restriction field.
4. Click the Enter button
.
Result: A list of the values you specified is displayed. Double-click to select one.
Restrict Value Range Matchcode
This type of Matchcode displays a series of tabbed screens to help you search for a value.
1. Click on the Matchcode button in the Vendor number field.
Result: The "Restrict Value Range" screen is displayed (There are slight differences on a Mac and PC).
2. Select a category.
On a PC:
or

On a Mac:

3. Type in your search criteria. You can enter more than one field.
|
4. Type in a number to limit your search results in the Restrict number to field or click No restriction.
For more options on defining your search you can use the
Selection Options button
and the Multiple Selection button
on this screen. They are described in detail in Reporting
Fundamentals: Selection Options for Setting Report Parameters.
5. When you are finished, click the Enter button
.
6. When the list is displayed, double-click on the entry to select it.
On a Macintosh:
This type of Matchcode is used to select month, day, and year in a date field such as the Invoice Posting Date.
1. Click on the Matchcode button.

2. Click on the month and year on the top of the screen and select them from the dropdown list.
3. To select a day, double-click on the number.
Result: The entire date is copied into the entry field.
On a PC:
1. Click on the Matchcode button. The calendar dialog box displays the date on top, and from left to right, the month/year, week number, and dates of the month.

2. To change the month and year:
![]()
3. Double-click on the number of the day in the middle corresponding to the month.
Result: The entire date is copied into the entry field.
Creating a Personal Matchcode List
You can create your own list of Matchcodes for a specific field instead of searching through the entire list of Matchcode values every time you enter the field. To find out more, see Advanced Topics & Tips: Creating a Personal Matchcode List.