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

machcode objects

Former Member
0 Likes
908

wt is the perpos of machcode objects, where we have to use

3 REPLIES 3
Read only

Former Member
0 Likes
714

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.

Code

PARAMETERS: p_org LIKE t527x-orgeh MATCHCODE OBJECT zorg.

Read only

Former Member
0 Likes
714

Hi,

Below links will help you know Matchcode Object.

[http://sapabap.iespana.es/sap/info/matchcodes.htm]

[http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm]

[http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef1f446011d189700000e8322d00/content.htm]

Regards ,

Brijesh.

Read only

Former Member
0 Likes
714

hi,

match code is nothing but search help and it works like F4 help...

suppose take for example,

u having BKPF-BELNR as ur parameter in report...

Now no F4 hep provided for this..

so user every time need to remember the doc number and need to enter, he/she cant get list to see all numbers...

Here u can create search help for belnr and assign it to parameter as matchcode object

like,

PARAMETERS: no LIKE bkpf-belnr MATCHCODE OBJECT zcr_nt,

so now user can select from list.....

here ZCR_NT is my search help name which can be created in SE11.

so here its usefull...

Hope its helpfull to u...

reward if usefull...