<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Convert Match code to Search Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-match-code-to-search-help/m-p/3723483#M896229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raadha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no such process to convert them. i think so there you dont need any conversion. pls chk once. even though i am providing some info.. just go thru with them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matchcode Customizing&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;When a transparent matchcode ID is activated, the system checks if an &lt;/P&gt;&lt;P&gt;appropriate index exists for the ID. Normally, such an index is necessary to&lt;/P&gt;&lt;P&gt;support the matchcode query. If such an index does not exist, there can be &lt;/P&gt;&lt;P&gt;major performance problems during matchcode selection. The system assumes &lt;/P&gt;&lt;P&gt;that the first field in the matchcode definition (for client-dependent match &lt;/P&gt;&lt;P&gt;codes the first field after the client field) is the relevant search field, &lt;/P&gt;&lt;P&gt;i.e., that the user will narrow down the search by entering a selection &lt;/P&gt;&lt;P&gt;criterion in this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index is considered appropriate for the matchcode if it contains this &lt;/P&gt;&lt;P&gt;relevant matchcode field (or the client field followed by this field). &lt;/P&gt;&lt;P&gt;If no such index exists, a warning is given during the activation of the &lt;/P&gt;&lt;P&gt;matchcode ID. At this point, there are two possible courses of action:&lt;/P&gt;&lt;P&gt;1) If the matchcode view in the database covers less than 1,000 data &lt;/P&gt;&lt;P&gt;records, it is not necessary to create an index.&lt;/P&gt;&lt;P&gt;2) If the matchcode view will search more than 1,000 records, you should &lt;/P&gt;&lt;P&gt;create an index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first fields of an index to support matchcode selection should be &lt;/P&gt;&lt;P&gt;those that will be searched with equality (client, language or general &lt;/P&gt;&lt;P&gt;fields for which the get/set indicator has been set, i.e., the flag GP is &lt;/P&gt;&lt;P&gt;set for the field in the screen Update Matchcode ID Fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The index should have the following structure:&lt;/P&gt;&lt;P&gt;Client field - Fields for which the Get Parameter flag is set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search fields - This index structure does not guarantee that the index will&lt;/P&gt;&lt;P&gt;be used by the underlying database system. Which index is used depends on &lt;/P&gt;&lt;P&gt;the database system's optimizer. You must verify that the index you have&lt;/P&gt;&lt;P&gt;created actually is used by the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following method to determine whether the proper index is being used&lt;/P&gt;&lt;P&gt;to support the matchcode query:&lt;/P&gt;&lt;P&gt;Open a second session and choose System / Utilities / SQL Trace.&lt;/P&gt;&lt;P&gt;Select Trace on.&lt;/P&gt;&lt;P&gt;In your first session, do a search on your matchcode ID.&lt;/P&gt;&lt;P&gt;In your second session, choose Trace off and then List trace. &lt;/P&gt;&lt;P&gt;Search in your list for the first statement in which the matchcode view &lt;/P&gt;&lt;P&gt;occurs. Use the function Explain SQL to obtain information about how the &lt;/P&gt;&lt;P&gt;optimizer services the query. In particular, you can see which index is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surplus matchcodes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before Release 3.0, surplus matchcode IDs should be deleted.&lt;/P&gt;&lt;P&gt;As of Release 3.0, surplus matchcodes IDs should be deactivated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deleting matchcode IDs (before Release 3.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you can delete a matchcode ID, you must check if it is a "system &lt;/P&gt;&lt;P&gt;matchcode." You can tell this by looking at the field System matchcode on &lt;/P&gt;&lt;P&gt;the screen Update Matchcode ID (Attributes). If this field is set, SAP uses&lt;/P&gt;&lt;P&gt;this matchcode ID. You should never delete a system matchcode ID!&lt;/P&gt;&lt;P&gt;Unfortunately, the dictionary transactions will allow you to delete system &lt;/P&gt;&lt;P&gt;matchcodes, so you should be extremely careful to check this flag and don't &lt;/P&gt;&lt;P&gt;delete a matchcode ID for which the flag is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the flag System matchcode is not set, you must check which programs&lt;/P&gt;&lt;P&gt;use the matchcode. Use the general table display function (se16) and enter &lt;/P&gt;&lt;P&gt;the matchcode object and matchcode ID as the table name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deactivating matchcode IDs (as of Release 3.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function Deactivate in the menu MC-Id of the screen Update Matchcode ID&lt;/P&gt;&lt;P&gt;(Attributes) allows you to reduce the load of unnecessary matchcode IDs. &lt;/P&gt;&lt;P&gt;Rather than deleting the ID, the dictionary definition remains available in&lt;/P&gt;&lt;P&gt;the ABAP/4 dictionary. If at some point the ID is needed again, it can &lt;/P&gt;&lt;P&gt;simply be reactivated.&lt;/P&gt;&lt;P&gt;The function Deactivate can only be used for active matchcode IDs. Before a&lt;/P&gt;&lt;P&gt;matchcode ID can be deactivated, the corresponding objects in the database &lt;/P&gt;&lt;P&gt;must be deleted (e.g., the view and possibly the index for IDs of update &lt;/P&gt;&lt;P&gt;type I).&lt;/P&gt;&lt;P&gt;Note that when you deactivate a matchcode ID of update type S, the matchcode&lt;/P&gt;&lt;P&gt;records will no longer be updated to keep up with application data. If you &lt;/P&gt;&lt;P&gt;reactivate a matchcode ID, you must re-create the matchcode records with the&lt;/P&gt;&lt;P&gt;matchcode utilities.&lt;/P&gt;&lt;P&gt;Note also that the deactivated matchcode IDs will not appear in F4 help.&lt;/P&gt;&lt;P&gt;Warning: Deactivation is a pure customizing function, i.e., not a &lt;/P&gt;&lt;P&gt;transportable characteristic. &lt;/P&gt;&lt;P&gt;If a deactivated matchcode ID is delivered again by SAP, it will be active &lt;/P&gt;&lt;P&gt;again after the upgrade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion to transparent matchcodes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites for conversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To convert a "physically stored" (pool) matchcode ID to transparent (view),&lt;/P&gt;&lt;P&gt;the following condition must be met:&lt;/P&gt;&lt;P&gt;All underlying tables of the ID must be transparent; no partial fields can &lt;/P&gt;&lt;P&gt;be used.&lt;/P&gt;&lt;P&gt;Note that when converting a program-controlled ID, you may need to adapt &lt;/P&gt;&lt;P&gt;the application programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To convert a physically stored matchcode ID (update type A, S or P) to &lt;/P&gt;&lt;P&gt;transparent (update type I), proceed as follows: Copy the ID you wish to &lt;/P&gt;&lt;P&gt;convert to the customer name range (IDs 0 to 9). Change the update type to&lt;/P&gt;&lt;P&gt;I and activate the ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the original ID has the update type S, change the original to update type&lt;/P&gt;&lt;P&gt;A. This prevents unnecessary updates of the old ID. In Release 3.0, you &lt;/P&gt;&lt;P&gt;should simply deactivate the original ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changes after the conversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searches are case sensitive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Queries on transparent matchcode IDs are case sensitive, i.e., when entering&lt;/P&gt;&lt;P&gt;a search argument in the text field, there is a distinction between upper &lt;/P&gt;&lt;P&gt;and lower case. The search string "hugo" would not match with the value &lt;/P&gt;&lt;P&gt;"Hugo" in the database. In some applications, there have been text fields&lt;/P&gt;&lt;P&gt;added to the original tables in which information is held redundantly in &lt;/P&gt;&lt;P&gt;upper case. If you use these fields in the matchcode ID, you can avoid this &lt;/P&gt;&lt;P&gt;problem of case sensitivity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort order in output changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For releases 2.1G to 2.1J, the output list is sorted by the index that the&lt;/P&gt;&lt;P&gt;optimizer chose for accessing the ID. As of 2.2E, the sort order depends on &lt;/P&gt;&lt;P&gt;the field order in the ID, i.e., the sort order will correspond to that of &lt;/P&gt;&lt;P&gt;the physical matchcode IDs. Transparent IDs that were not delivered with &lt;/P&gt;&lt;P&gt;2.2E must be activated again to have this new sort order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result set of a query can be smaller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result set of a query on a transparent ID can be a real subset of the &lt;/P&gt;&lt;P&gt;results of an equivalent query on a physical matchcode ID. This is because &lt;/P&gt;&lt;P&gt;of the fact that transparent IDs are implemented with an inner join, whereas&lt;/P&gt;&lt;P&gt;the physical matchcodes are realized with an implicit outer join.&lt;/P&gt;&lt;P&gt;When searching with a transparent ID, records of a primary table that have&lt;/P&gt;&lt;P&gt;no corresponding entries in the foreign key fields of a secondary table will&lt;/P&gt;&lt;P&gt;not be found.&lt;/P&gt;&lt;P&gt;Example: An ID provides the search for an employee's personnel number using&lt;/P&gt;&lt;P&gt;name and department. The primary table contains the personnel number and &lt;/P&gt;&lt;P&gt;name. The secondary table contains departments and their employees. &lt;/P&gt;&lt;P&gt;Employees who have not been assigned to a department have no entry in the &lt;/P&gt;&lt;P&gt;secondary table. THose employees will not be found in a search with a &lt;/P&gt;&lt;P&gt;transparent matchcode with fields number, name and department. In a physical&lt;/P&gt;&lt;P&gt;matchcode ID with the same fields, those employees will be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adapting partial fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partial fields in matchcodes are fields that you have defined so only a&lt;/P&gt;&lt;P&gt;portion of the original field is displayed and maintained in the matchcode.&lt;/P&gt;&lt;P&gt;You might want to show, for example, only the last six positions of SAP's &lt;/P&gt;&lt;P&gt;standard 16-character material number. If you defined partial fields for &lt;/P&gt;&lt;P&gt;the matchcode ID, their definitions must be removed to convert to a &lt;/P&gt;&lt;P&gt;transparent matchcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issues especially for programmed matchcodes (update type P)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Programmed matchcodes are implemented physically, i.e., the matchcode data &lt;/P&gt;&lt;P&gt;is held redundantly in a separate table. The data is updated directly by &lt;/P&gt;&lt;P&gt;application programs, so that these application programs and other programs &lt;/P&gt;&lt;P&gt;always have access to the latest matchcode data. A function module is &lt;/P&gt;&lt;P&gt;generated during activation of the matchcode. The matchcode data is updated&lt;/P&gt;&lt;P&gt;when this function module is called. Conversion of programmed matchcodes to &lt;/P&gt;&lt;P&gt;transparent requires changes to the application programs that use the &lt;/P&gt;&lt;P&gt;function module. It is possible to just comment out the call to the function&lt;/P&gt;&lt;P&gt;module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding tables to a matchcode object that contains a programmed matchcode ID&lt;/P&gt;&lt;P&gt;can lead to difficulties. Only one function module exists for all programmed&lt;/P&gt;&lt;P&gt;IDs in the object. This function module gets its information directly from&lt;/P&gt;&lt;P&gt;the matchcode object. For this reason, the function module interface should&lt;/P&gt;&lt;P&gt;be modified whenever the basis table of the object is changed, even if this &lt;/P&gt;&lt;P&gt;modification does not directly concern the programmed matchcode IDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Common problems with matchcode tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excessively large matchcode pool tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At some point, it becomes difficult to manage large matchcode tables. There&lt;/P&gt;&lt;P&gt;are, for example, jobs that delete and re-create matchcodes; these run fine&lt;/P&gt;&lt;P&gt;if the master tables have only 50,000 records, but become quite cumbersome &lt;/P&gt;&lt;P&gt;if the master tables grow to have many millions of records. You may also see&lt;/P&gt;&lt;P&gt;a high number of extents on matchcode tables (i.e., table names beginning &lt;/P&gt;&lt;P&gt;with M_).&lt;/P&gt;&lt;P&gt;If you are having trouble managing pool matchcodes, you should seriously &lt;/P&gt;&lt;P&gt;consider converting to the new view matchcode technique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sagar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me if usefulll&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 11:29:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T11:29:42Z</dc:date>
    <item>
      <title>Convert Match code to Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-match-code-to-search-help/m-p/3723482#M896228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Provide me solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on an ECC6 Unicode system in which there are still some match codes which have become obsolete after version 4.0 due to this we are facing error in some programs. We need to convert MATCH CODES to SEARCH HELP. Do we need to convert it manually or is there any automatic procedure to do so? What are the steps to be followed to do the conversion manually?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me urgently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Radha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 10:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-match-code-to-search-help/m-p/3723482#M896228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T10:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Match code to Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-match-code-to-search-help/m-p/3723483#M896229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raadha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no such process to convert them. i think so there you dont need any conversion. pls chk once. even though i am providing some info.. just go thru with them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matchcode Customizing&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;When a transparent matchcode ID is activated, the system checks if an &lt;/P&gt;&lt;P&gt;appropriate index exists for the ID. Normally, such an index is necessary to&lt;/P&gt;&lt;P&gt;support the matchcode query. If such an index does not exist, there can be &lt;/P&gt;&lt;P&gt;major performance problems during matchcode selection. The system assumes &lt;/P&gt;&lt;P&gt;that the first field in the matchcode definition (for client-dependent match &lt;/P&gt;&lt;P&gt;codes the first field after the client field) is the relevant search field, &lt;/P&gt;&lt;P&gt;i.e., that the user will narrow down the search by entering a selection &lt;/P&gt;&lt;P&gt;criterion in this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index is considered appropriate for the matchcode if it contains this &lt;/P&gt;&lt;P&gt;relevant matchcode field (or the client field followed by this field). &lt;/P&gt;&lt;P&gt;If no such index exists, a warning is given during the activation of the &lt;/P&gt;&lt;P&gt;matchcode ID. At this point, there are two possible courses of action:&lt;/P&gt;&lt;P&gt;1) If the matchcode view in the database covers less than 1,000 data &lt;/P&gt;&lt;P&gt;records, it is not necessary to create an index.&lt;/P&gt;&lt;P&gt;2) If the matchcode view will search more than 1,000 records, you should &lt;/P&gt;&lt;P&gt;create an index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first fields of an index to support matchcode selection should be &lt;/P&gt;&lt;P&gt;those that will be searched with equality (client, language or general &lt;/P&gt;&lt;P&gt;fields for which the get/set indicator has been set, i.e., the flag GP is &lt;/P&gt;&lt;P&gt;set for the field in the screen Update Matchcode ID Fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The index should have the following structure:&lt;/P&gt;&lt;P&gt;Client field - Fields for which the Get Parameter flag is set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search fields - This index structure does not guarantee that the index will&lt;/P&gt;&lt;P&gt;be used by the underlying database system. Which index is used depends on &lt;/P&gt;&lt;P&gt;the database system's optimizer. You must verify that the index you have&lt;/P&gt;&lt;P&gt;created actually is used by the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following method to determine whether the proper index is being used&lt;/P&gt;&lt;P&gt;to support the matchcode query:&lt;/P&gt;&lt;P&gt;Open a second session and choose System / Utilities / SQL Trace.&lt;/P&gt;&lt;P&gt;Select Trace on.&lt;/P&gt;&lt;P&gt;In your first session, do a search on your matchcode ID.&lt;/P&gt;&lt;P&gt;In your second session, choose Trace off and then List trace. &lt;/P&gt;&lt;P&gt;Search in your list for the first statement in which the matchcode view &lt;/P&gt;&lt;P&gt;occurs. Use the function Explain SQL to obtain information about how the &lt;/P&gt;&lt;P&gt;optimizer services the query. In particular, you can see which index is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surplus matchcodes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before Release 3.0, surplus matchcode IDs should be deleted.&lt;/P&gt;&lt;P&gt;As of Release 3.0, surplus matchcodes IDs should be deactivated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deleting matchcode IDs (before Release 3.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you can delete a matchcode ID, you must check if it is a "system &lt;/P&gt;&lt;P&gt;matchcode." You can tell this by looking at the field System matchcode on &lt;/P&gt;&lt;P&gt;the screen Update Matchcode ID (Attributes). If this field is set, SAP uses&lt;/P&gt;&lt;P&gt;this matchcode ID. You should never delete a system matchcode ID!&lt;/P&gt;&lt;P&gt;Unfortunately, the dictionary transactions will allow you to delete system &lt;/P&gt;&lt;P&gt;matchcodes, so you should be extremely careful to check this flag and don't &lt;/P&gt;&lt;P&gt;delete a matchcode ID for which the flag is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the flag System matchcode is not set, you must check which programs&lt;/P&gt;&lt;P&gt;use the matchcode. Use the general table display function (se16) and enter &lt;/P&gt;&lt;P&gt;the matchcode object and matchcode ID as the table name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deactivating matchcode IDs (as of Release 3.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function Deactivate in the menu MC-Id of the screen Update Matchcode ID&lt;/P&gt;&lt;P&gt;(Attributes) allows you to reduce the load of unnecessary matchcode IDs. &lt;/P&gt;&lt;P&gt;Rather than deleting the ID, the dictionary definition remains available in&lt;/P&gt;&lt;P&gt;the ABAP/4 dictionary. If at some point the ID is needed again, it can &lt;/P&gt;&lt;P&gt;simply be reactivated.&lt;/P&gt;&lt;P&gt;The function Deactivate can only be used for active matchcode IDs. Before a&lt;/P&gt;&lt;P&gt;matchcode ID can be deactivated, the corresponding objects in the database &lt;/P&gt;&lt;P&gt;must be deleted (e.g., the view and possibly the index for IDs of update &lt;/P&gt;&lt;P&gt;type I).&lt;/P&gt;&lt;P&gt;Note that when you deactivate a matchcode ID of update type S, the matchcode&lt;/P&gt;&lt;P&gt;records will no longer be updated to keep up with application data. If you &lt;/P&gt;&lt;P&gt;reactivate a matchcode ID, you must re-create the matchcode records with the&lt;/P&gt;&lt;P&gt;matchcode utilities.&lt;/P&gt;&lt;P&gt;Note also that the deactivated matchcode IDs will not appear in F4 help.&lt;/P&gt;&lt;P&gt;Warning: Deactivation is a pure customizing function, i.e., not a &lt;/P&gt;&lt;P&gt;transportable characteristic. &lt;/P&gt;&lt;P&gt;If a deactivated matchcode ID is delivered again by SAP, it will be active &lt;/P&gt;&lt;P&gt;again after the upgrade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion to transparent matchcodes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites for conversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To convert a "physically stored" (pool) matchcode ID to transparent (view),&lt;/P&gt;&lt;P&gt;the following condition must be met:&lt;/P&gt;&lt;P&gt;All underlying tables of the ID must be transparent; no partial fields can &lt;/P&gt;&lt;P&gt;be used.&lt;/P&gt;&lt;P&gt;Note that when converting a program-controlled ID, you may need to adapt &lt;/P&gt;&lt;P&gt;the application programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To convert a physically stored matchcode ID (update type A, S or P) to &lt;/P&gt;&lt;P&gt;transparent (update type I), proceed as follows: Copy the ID you wish to &lt;/P&gt;&lt;P&gt;convert to the customer name range (IDs 0 to 9). Change the update type to&lt;/P&gt;&lt;P&gt;I and activate the ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the original ID has the update type S, change the original to update type&lt;/P&gt;&lt;P&gt;A. This prevents unnecessary updates of the old ID. In Release 3.0, you &lt;/P&gt;&lt;P&gt;should simply deactivate the original ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changes after the conversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searches are case sensitive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Queries on transparent matchcode IDs are case sensitive, i.e., when entering&lt;/P&gt;&lt;P&gt;a search argument in the text field, there is a distinction between upper &lt;/P&gt;&lt;P&gt;and lower case. The search string "hugo" would not match with the value &lt;/P&gt;&lt;P&gt;"Hugo" in the database. In some applications, there have been text fields&lt;/P&gt;&lt;P&gt;added to the original tables in which information is held redundantly in &lt;/P&gt;&lt;P&gt;upper case. If you use these fields in the matchcode ID, you can avoid this &lt;/P&gt;&lt;P&gt;problem of case sensitivity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort order in output changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For releases 2.1G to 2.1J, the output list is sorted by the index that the&lt;/P&gt;&lt;P&gt;optimizer chose for accessing the ID. As of 2.2E, the sort order depends on &lt;/P&gt;&lt;P&gt;the field order in the ID, i.e., the sort order will correspond to that of &lt;/P&gt;&lt;P&gt;the physical matchcode IDs. Transparent IDs that were not delivered with &lt;/P&gt;&lt;P&gt;2.2E must be activated again to have this new sort order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result set of a query can be smaller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result set of a query on a transparent ID can be a real subset of the &lt;/P&gt;&lt;P&gt;results of an equivalent query on a physical matchcode ID. This is because &lt;/P&gt;&lt;P&gt;of the fact that transparent IDs are implemented with an inner join, whereas&lt;/P&gt;&lt;P&gt;the physical matchcodes are realized with an implicit outer join.&lt;/P&gt;&lt;P&gt;When searching with a transparent ID, records of a primary table that have&lt;/P&gt;&lt;P&gt;no corresponding entries in the foreign key fields of a secondary table will&lt;/P&gt;&lt;P&gt;not be found.&lt;/P&gt;&lt;P&gt;Example: An ID provides the search for an employee's personnel number using&lt;/P&gt;&lt;P&gt;name and department. The primary table contains the personnel number and &lt;/P&gt;&lt;P&gt;name. The secondary table contains departments and their employees. &lt;/P&gt;&lt;P&gt;Employees who have not been assigned to a department have no entry in the &lt;/P&gt;&lt;P&gt;secondary table. THose employees will not be found in a search with a &lt;/P&gt;&lt;P&gt;transparent matchcode with fields number, name and department. In a physical&lt;/P&gt;&lt;P&gt;matchcode ID with the same fields, those employees will be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adapting partial fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partial fields in matchcodes are fields that you have defined so only a&lt;/P&gt;&lt;P&gt;portion of the original field is displayed and maintained in the matchcode.&lt;/P&gt;&lt;P&gt;You might want to show, for example, only the last six positions of SAP's &lt;/P&gt;&lt;P&gt;standard 16-character material number. If you defined partial fields for &lt;/P&gt;&lt;P&gt;the matchcode ID, their definitions must be removed to convert to a &lt;/P&gt;&lt;P&gt;transparent matchcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issues especially for programmed matchcodes (update type P)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Programmed matchcodes are implemented physically, i.e., the matchcode data &lt;/P&gt;&lt;P&gt;is held redundantly in a separate table. The data is updated directly by &lt;/P&gt;&lt;P&gt;application programs, so that these application programs and other programs &lt;/P&gt;&lt;P&gt;always have access to the latest matchcode data. A function module is &lt;/P&gt;&lt;P&gt;generated during activation of the matchcode. The matchcode data is updated&lt;/P&gt;&lt;P&gt;when this function module is called. Conversion of programmed matchcodes to &lt;/P&gt;&lt;P&gt;transparent requires changes to the application programs that use the &lt;/P&gt;&lt;P&gt;function module. It is possible to just comment out the call to the function&lt;/P&gt;&lt;P&gt;module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding tables to a matchcode object that contains a programmed matchcode ID&lt;/P&gt;&lt;P&gt;can lead to difficulties. Only one function module exists for all programmed&lt;/P&gt;&lt;P&gt;IDs in the object. This function module gets its information directly from&lt;/P&gt;&lt;P&gt;the matchcode object. For this reason, the function module interface should&lt;/P&gt;&lt;P&gt;be modified whenever the basis table of the object is changed, even if this &lt;/P&gt;&lt;P&gt;modification does not directly concern the programmed matchcode IDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Common problems with matchcode tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excessively large matchcode pool tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At some point, it becomes difficult to manage large matchcode tables. There&lt;/P&gt;&lt;P&gt;are, for example, jobs that delete and re-create matchcodes; these run fine&lt;/P&gt;&lt;P&gt;if the master tables have only 50,000 records, but become quite cumbersome &lt;/P&gt;&lt;P&gt;if the master tables grow to have many millions of records. You may also see&lt;/P&gt;&lt;P&gt;a high number of extents on matchcode tables (i.e., table names beginning &lt;/P&gt;&lt;P&gt;with M_).&lt;/P&gt;&lt;P&gt;If you are having trouble managing pool matchcodes, you should seriously &lt;/P&gt;&lt;P&gt;consider converting to the new view matchcode technique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sagar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me if usefulll&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 11:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-match-code-to-search-help/m-p/3723483#M896229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Match code to Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-match-code-to-search-help/m-p/3723484#M896230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sagar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is,I have one Match code.&lt;/P&gt;&lt;P&gt;But in ECC6,I have Convert This Match Code To Search Help.&lt;/P&gt;&lt;P&gt;How I can do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Give Solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Radha,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 11:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-match-code-to-search-help/m-p/3723484#M896230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T11:59:03Z</dc:date>
    </item>
  </channel>
</rss>

