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

Match Codes

Former Member
0 Likes
626

Hi All,

Wat is Match Codes and wat is the use of it in SE11.

I want to know the procedure of <b>Creating Match Codes</b> in SE11 step-by-step.

Thanks & Regards,

<b>Anil Kumar</b>

1 ACCEPTED SOLUTION
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
371

Hi,

Match Code Object is nothing but F4 Help.

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].

Search help is a ABAP Dictionary object used to define possible values (F4) help. You can link a search help to a parameter as follows:

PARAMETERS .. MATCHCODE OBJECT <SEARCH_HELP>.

The search help <search_help> must be defined in the ABAP Dictionary. The system now automatically displays the input help button for the field on the screen and activates the F4 key for it. When the user requests input help, the hit list of the search help appears, and when he or she selects an entry, the corresponding export parameter is placed in the input field. The predecessors of search helps in the ABAP Dictionary were called matchcode objects, hence the name of the addition in the PARAMETERS statement. Existing matchcode objects are still supported.

<b>Previously in older versions there were no search help and we use matchcodes.

But in newer releases we are aquainted with search help and matchcodes have become obsolete..</b>

Cheers,

Simha.

1 REPLY 1
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
372

Hi,

Match Code Object is nothing but F4 Help.

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].

Search help is a ABAP Dictionary object used to define possible values (F4) help. You can link a search help to a parameter as follows:

PARAMETERS .. MATCHCODE OBJECT <SEARCH_HELP>.

The search help <search_help> must be defined in the ABAP Dictionary. The system now automatically displays the input help button for the field on the screen and activates the F4 key for it. When the user requests input help, the hit list of the search help appears, and when he or she selects an entry, the corresponding export parameter is placed in the input field. The predecessors of search helps in the ABAP Dictionary were called matchcode objects, hence the name of the addition in the PARAMETERS statement. Existing matchcode objects are still supported.

<b>Previously in older versions there were no search help and we use matchcodes.

But in newer releases we are aquainted with search help and matchcodes have become obsolete..</b>

Cheers,

Simha.