‎2008 May 14 6:43 AM
‎2008 May 14 6:48 AM
matchcodes are basically search helps....
you can create a search help either in the data dictionary (SE11)
or you can create it dynamically in a program using Function module F4_IF_INT_TABLE_VALUE_REQUEST
search helps can also be assigned to table fields, data elements etc....
‎2008 May 14 6:48 AM
Hi Vinit powar,
Please check this link
http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef53446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef1f446011d189700000e8322d00/content.htm
Best regards,
raam
‎2008 May 14 6:49 AM
Mathscodes are replaced by search helps, now we are using Search helps instead of Matchcode objects
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.
In the initial screen of Data Dictionary,
Enter a name for your new object, click on the Matchcode radio button, and press the Create button.
Enter descriptive text as you enter your primary table on the Attributes screen and press the Save button.
The primary table represents the primary source table for the subsequent field search. Secondary tables can also be maintained at this point by double-clicking on the primary table or pressing the Tables button. These tables must link to the primary table through foreign keys.
The Maintain Matchcode Object attributes screen.
At this point you have the option of creating the matchcode as a local object or attaching it to a transport request. After you have done this, click on the Save button
The Create Object Catalog Entry screen.
As the status bar reflects, the mandatory key fields are transferred automatically .If you want, you can press the Fields button and maintain any selection fields you want. At this point you need to click on the green arrow to go back to the Maintain Attributes screen.
The Maintain Matchcode Object (Fields) screen.
The next step in the creation process is to activate the matchcode object. The status of the object is New and Saved .
The matchcode attributes prior to activation.
The status is now set to Active and Saved. Next you need to create a matchcode ID or your object will be incomplete.
To do this, click the Matchcode IDs button.
The matchcode attributes after activation.
The system will prompt you to create a new ID if one does not exist To do this, click on the Yes button.
A prompt to Create Object.
On the Create Matchcode ID screen , specify a matchcode ID number, valid input ranges from all of the alphabet, and any number. You can also click on the down arrow to view a range of valid entries.
The Create Matchcode ID dialog box.
Let's view some possible entries this list window shows a number of matchcode IDs and a short description of each. Choose one and click on the green arrow.
A Matchcode hit list.
Follow these steps we learned to maintain selection fields for this matchcode ID, be sure to enter an Update type, and click on Save . At this point, you can enter further selection criteria by pushing the Selection Criteria button.
Maintenance of matchcode attributes.
In the Maintain Selection Conditions screen, you can enter and maintain fields and selection criteria for your matchcode IDs. Here is an example of a requirement of a Material Number not greater than the value of 8888 .When finished, click Save and the green arrow to go back.
The Maintenance Selection Conditions dialog box.
Now all you have to do is activate your matchcode ID and your new object is ready to use
Generate and use the matchcode.
Refer to the below related threads
Reward if helpful.