What are match codes? Describe?
Page 1 of 1
What are match codes? Describe?
A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:
• You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
• You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
A material number must be entered in a screen field. Since the user cannot be expected to know this number, it must be possible to search for this number using the attributes of the corresponding material.
Several search paths are possible for this search. For example, you can search for the material number with the material name, the material class or the material manufacturer.
The corresponding match code object then comprises the fields for the material number, material name, material class and manufacturer. One match code ID corresponds to each search path. For example, ID A could describe the search for the material number by manufacturer. This ID only contains the fields for the material number and manufacturer.
The tables relevant for the search are included in a match code object. The table selection is based on one primary table. Further secondary tables can also be included, which are linked with the primary table by foreign keys. The fields of the match code object can then be selected from the base tables.
A match code object is not stored physically. It only describes a complete logical view on one or more tables.
• You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
• You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
A material number must be entered in a screen field. Since the user cannot be expected to know this number, it must be possible to search for this number using the attributes of the corresponding material.
Several search paths are possible for this search. For example, you can search for the material number with the material name, the material class or the material manufacturer.
The corresponding match code object then comprises the fields for the material number, material name, material class and manufacturer. One match code ID corresponds to each search path. For example, ID A could describe the search for the material number by manufacturer. This ID only contains the fields for the material number and manufacturer.
The tables relevant for the search are included in a match code object. The table selection is based on one primary table. Further secondary tables can also be included, which are linked with the primary table by foreign keys. The fields of the match code object can then be selected from the base tables.
A match code object is not stored physically. It only describes a complete logical view on one or more tables.
Similar topics
» Is it possible to maintain plant wise different GL codes?
» How do you keep the FI posting period open only for certain GL codes?
» At what level are the customer and vendor codes stored in SAP?
» If there are two company codes with different chart of accounts how can you consolidate their activities?
» What are the additional settings required while maintaining or creating the GL codes for Inventory accounts?
» How do you keep the FI posting period open only for certain GL codes?
» At what level are the customer and vendor codes stored in SAP?
» If there are two company codes with different chart of accounts how can you consolidate their activities?
» What are the additional settings required while maintaining or creating the GL codes for Inventory accounts?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Mon Aug 20, 2012 4:37 pm by Admin
» Difference between Type and Like
Thu Jun 07, 2012 2:40 pm by Admin
» How to handle table control fields in Module Pool program?
Wed May 09, 2012 2:41 am by govind
» Three tables inner join in SAP
Thu May 03, 2012 4:47 pm by Uma_ABAP
» Creating table type in ABAP
Sat Apr 28, 2012 9:03 pm by Uma_ABAP
» Creating user defined types and structures in ABAP
Sat Apr 28, 2012 8:55 pm by Uma_ABAP
» Creating Dynamic Internal Table and Dynamic Field catalog in SAP-ABAP
Fri Apr 27, 2012 11:00 am by Admin
» Copy Custom PF-Status from Standard program to Custom Program in ALV
Thu Apr 26, 2012 9:52 pm by Uma_ABAP
» Calculate/find number of working days between two dates in SAP
Tue Apr 24, 2012 2:06 pm by Uma_ABAP