Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Difference between Search Helps and Match Codes?

Former Member
0 Likes
1,242

Difference between Search Helps and Match Codes?

4 REPLIES 4
Read only

Former Member
0 Likes
552

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

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

Read only

paruchuri_nagesh
Active Contributor
0 Likes
552

hi

u can create search help using transaction SE11 and u can add it to field or dataelemnt of a table

if u want to add search help for parameters and select-options through SE38

it is possible by match code

parameters : p_lifnr like lfa1-lifnr matchcode object zobj .

double click on zobj its open search help window to create asearch help

reward for use ful points

regards

Nagesh.Paruchuri

Read only

varma_narayana
Active Contributor
0 Likes
552

Hi Venu..

Search helps are the Advanced concept of Match codes introduced in R/3 4.0.

SAP Converted match codes to Search helps.

Elementary Search help = Match Code ID

Collective Seach help = Match Code Object

reward if helpful.

Read only

former_member196299
Active Contributor
0 Likes
552

hi Venu ,

There is no difference between search helps and match code except the way they are used .

1) Search helps can be directly assigned to any field in modulepools or screen programming where as if we want to assign a search help to any variable in an executable program we need to take help of the keyword 'MATCH CODE ' , thats all .

There is no other difference according to my knowledge .

Regards,

Ranjita