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 code Object

Former Member
0 Likes
2,062

Hi,

Please guide me, what is the effect of addition match code object.

How the match code object works.

Thanks.

Regards,

Anuja

4 REPLIES 4
Read only

Former Member
0 Likes
1,082

Hi,

Matchcodes are defined in two stages in Abap/4 Dictionary:

1) The revelant table and fields are stipulated in matchcode object. A matchcode object describes the set of all possible search paths for a search item.

2) One or more matchcode ID can be defined for a matchcode object. A matchcode ID describes a special search path for a search term.The fields or combination of fields via which the search is to take place is defined in the matchcode ID.


  REPORT z_sdn.

PARAMETERS p_carrid TYPE s_carr_id
           MATCHCODE OBJECT demo_f4_de.

WRITE:
  p_carrid.
  

Check out these links

http://help.sap.com/saphelp_nw70/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm

http://www.abapprogramming.net/2007/11/match-code-objects-in-abap.html

Regards

Abhijeet

Read only

Former Member
0 Likes
1,082

Hi,

The MATCH CODE is nothing but a DDIC search help. If you want to assign a search help to a PARAMETERS or SELEC-OPTIONS in your report program you can use MATCH CODE followed by name of the DDIC search help. Make sure that the DATA ELEMENTS are matched when you make the assignment.

in reports you can use this uisg

DATA: P_VAR LIKE ....... MATCHCODE OBJECT ID

For creation just Check this link

http://help.sap.com/saphelp_nw04/helpdata/en/c9/83eb02be4c11d1950200a0c929b3c3/content.htm

Read only

Former Member
0 Likes
1,082

Hi,

Please try this.

1. Go to SE11 and enter custom table name.

2. Click on change button.

3. Go to Entry help/check tab.

4. Enter the corresponding match code for the field under Search help column.

For example, field WERKS and search help H_T001W.

5. Save and active.

hope this helps you.

thanks,

dhanashri.