Steps to replace match code objects with search helps in ECC6 upgrade
Hi,
Upgrade 4.7 to ECC6, match code objects need to be replaced with search hellps.
SAP note provided by client but not understanding clearly. Can any one explain me the stelps to migrate the match code objects into search hepls.
Thanks,
Jwala Deepa
Hi,
Migration must be done by a developer who knows both matchcodes and search helps. It's not just like a procedure that you can follow without knowledge/without thinking.
It's probably a little bit like forms (but far more simple), they often need to be "migrated from scratch"
The first important point is where to find the matchcode object/IDs -> SE11 -> Utility -> Other DDic objects. Then you'll see that are the update type, base table, etc.
There's a little scheme here to show the differences: http://help.sap.com/saphelp_46c/helpdata/en/3e/f3fc37eeb70143e10000009b38f8cf/frameset.htm (plus the general matchcode documentation : http://help.sap.com/saphelp_46c/helpdata/en/cf/21ef1f446011d189700000e8322d00/frameset.htm )
If you need a procedure, let's wait, and see if someone has one, but it doesn't look promising as matchcodes are not used since a long time now.
BR
Sandra
Similar Messages
-
Match code modification or search help hinding in LDB
Hi all,
I am working on report using PNP logical database.
I created a custom search help (ZSH001) and appended in PERM coll search help.
For field PERNR in selection screen need to have only one searchhep ZSH001 when I use F4 on pernr in selectin screen.
I should get for only one report. It should not change the logical databse. Is there any function module to work on this?
Regards,
PrasadHi,
Can you just let me knoew the steps involved ... do you have any notes regrading this ??
Many thanks if you could share the same.
Rgds
Siva -
How to implement search help instead of match code objects table in program
Hi,
We are now in upgrade process of code remediation ( From 4.6c to EC6.0).
We have created search helps instead of matchcode object table. This match code object table M_VMVLC has been deleted
in EC6.0. And search help VMVLC is available.
In the program, they have used <M_VMVLC > -<fieldname> i.e. <tablename> - <fieldname> in declaring parameters,
in the 'into' clause of select statement, in the 'from' clause of select statement, in the 'write' statement.
I want to know how to replace this matchcode object table with the search help in the program.
Thanks,
Abirami.Hi,
Check the link
http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
Regards,
Amit -
Hi all
can any one let me know about the match code objects??
Thanks and Regards
Arun JosephHi,
For many entry fields, but not all, SAP provides a search function called a Matchcode. Matchcodes allow you to select a value from a list or search for a value by categories of data if there are many possibilities.
Types of Matchcodes
Matchcodes fall into three basic categories:
1) Short list or hit list
The values are listed on one screen. For longer lists, you may need to scroll down to see all the values.
2) Restrict Value Range
Many entries are available for the field. A number of tabbed screens with different categories display so that you can enter your search criteria.
3) Calendar search
A calendar-type dialog box is displayed so that you can select day, month, and year. This is used in date fields such as invoice posting date.
Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
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 search help can be created in ABAP Dictionary ( tcode se11 )
Create a new search help (say myHelp) , choose Elementary search help (simple one), select Definitions tab, enter the table name(say myTable) in "Text Table" text box.
Then enter the column to be used (say myField) for this help in search help parameter, choose Import/Export, give Lpos as 1, and activate. ( You can add more columns from the same table here).
In report, code as
parameter p1 like myTable-myField matchcode object myHelp.
when you execute this report, p1 will have a f4 help enabled. The help list will have all values from myTable for field myField.
You can do this in SE11 where you have an option for the same
http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htmhttp://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
This is also a good link
What are Search Helps, How to create and whats the Use ?
Regards,
Shiva. -
Hi,
Can you explain what is Match code objects and ID
Regards,
Bharath Mohan BHi,
For many entry fields, but not all, SAP provides a search function called a Matchcode. Matchcodes allow you to select a value from a list or search for a value by categories of data if there are many possibilities.
Types of Matchcodes
Matchcodes fall into three basic categories:
1) Short list or hit list
The values are listed on one screen. For longer lists, you may need to scroll down to see all the values.
2) Restrict Value Range
Many entries are available for the field. A number of tabbed screens with different categories display so that you can enter your search criteria.
3) Calendar search
A calendar-type dialog box is displayed so that you can select day, month, and year. This is used in date fields such as invoice posting date.
Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
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.
http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htmhttp://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
This is also a good link
What are Search Helps, How to create and whats the Use ?
A search help can be created in ABAP Dictionary ( tcode se11 )
Create a new search help (say myHelp) , choose Elementary search help (simple one), select Definitions tab, enter the table name(say myTable) in "Text Table" text box.
Then enter the column to be used (say myField) for this help in search help parameter, choose Import/Export, give Lpos as 1, and activate. ( You can add more columns from the same table here).
In report, code as
parameter p1 like myTable-myField matchcode object myHelp.
when you execute this report, p1 will have a f4 help enabled. The help list will have all values from myTable for field myField.
Don't forget to reward if useful...... -
How to create match code object?
Hi To all..
1.......I created a match code object
i.e select-options : s_mara for mara-matnr matchcode object mobj.
when i execute the report the lower limit will assign to matchcode object.
but when i click on search help it shows that no values found for object mobj.
on what reason it will cause?how to fill that object mobj with records?
thanks and regards,
k.swaminath reddyHi
In which version of SAP are you working?
Matchcodes are replaced by SEARCH HELPs in latest versions
see the doc
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
Collective search help Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
A Collective search help provides alternative search
Paths by combining elementary search helps.
Only one search help can be attached to a field, table or data element. Several search paths are therefore attached with a collective search help.
A collective search help also has interface parameters like
an elementary search help.
Like an elementary search help, a collective search help has an interface of IMPORT and EXPORT parameters with which the search help exchanges data. Using this interface, the collective search help can be attached to fields, tables and data elements exactly like an elementary search help.
Parameter assignment needs to be done for each of the
Included search helps.
When you define a collective search help, there are no components for describing the dialog behavior and data selection; instead the included search helps are listed here. You must assign the parameters of the collective search help to the interface parameters of the included search help for each inclusion.
User may choose the tab and thus the elementary
search maethod.
When we execute the search help SCUSTOM, we are confronted with a dialog which gives us an option of either restricting
By 1)Search for customer according to booking
2)Search for customer according to name.
These are effectively the elementary search helps (SCUSTOM_BOOK and SCUSTOM_NAME) which have been included in the collective search help SCUSTOM.
HOT KEY
The hot key is used to select the elementary search help from the collective search help and to enter the restrictions in the dialog box for restricting values directly from the entry field. If the user often searches for values using the same search help, this procedure can save time.
Steps to create a Collective Search Help
1)Enter the search help name and click on create.
2)Choose Collective search help radio button option as the search help type.
3)Enter the search help parameters.
4)Instead of the selection method, we enter the included
search helps for the collective search help.
5)We need to assign parameters for each of the included
search helps.
6)Complete the parameter assignment by clicking on the push button
7)Collective search help offers the user to obtain F4 help
using any of the included search helps.
Regards
Anji -
Hi All
While creating Match Code Objects
i am getting a syntax error like elementary search help has no selection method
how to solve this
even i could not able to store in my package
Message was edited by:
geethahIGeetha,
Follow these steps for creating match code.
now go to SE11 click on search help button and create.
click on elementary search help
once you have created you will see selection method there give there your table name (lfa1)
in the paremeters give the field name <field name> and click on EXP button Lpos as 1 & Spos as 1 then enter and save.
In the code give this way
select-options: S_<fieldname> for lfa1-<fieldname> MATCHCODE OBJECT MCO..
ACTIVATE AND EXECUATE WHEN U CLICK ON F4 you can see the values.
Thanks
Vikranth Khimavath -
How to add the Match code object for the requisitioner field in TCODE ME51N
Hi,
How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
Please do the needful to me.
Regards
Rajeshdon't you think that posting your question to a microsoft developer site would be more efficient?
regards,
anton -
Hi,
Please guide me, what is the effect of addition match code object.
How the match code object works.
Thanks.
Regards,
AnujaHi,
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.*******************/2007/11/match-code-objects-in-abap.html
Regards
Abhijeet -
What is match code object?
hello all
what is match code object? how to use the match code objects in our program?Hi ,
Match Code object is used to attach an F4 help to any field.
whenever you cant find any F4 help for any field you just attach an Match Code Object to the Parameter / Select options.
Match COde objects are like Search Help created in SE11. if you cant find any standard Match Code object then you can create a Search Help in SE11 and attach it to the field , then you will have the F4 Help.
Hope this is helpful to you.
Regards,
Vivek Shah -
How to use match code object in a FM ?
what is the FM for that?Hi ,
Match Code object is used to attach an F4 help to any field.
whenever you cant find any F4 help for any field you just attach an Match Code Object to the Parameter / Select options.
Match COde objects are like Search Help created in SE11. if you cant find any standard Match Code object then you can create a Search Help in SE11 and attach it to the field , then you will have the F4 Help.
Hope this is helpful to you. -
Match code object in selection-screen
Hi all,
How to create match code object
Tcode
Thanks
SubbuHi
After select-options or parameters write match-code and give id.
click on id and it will take to the match code screen and give ur match code object there.
EXM
PARAMETERS : P_MATNR LIKE MARA-MATNR MATCH-CODE "ID". -
Help required with search help exit
Hi,
I have the following code in my search help exit function module.
FUNCTION ZTRAC_SH_OBJ_TYPE.
""Local Interface:
*" TABLES
*" SHLP_TAB TYPE SHLP_DESCR_TAB_T
*" RECORD_TAB STRUCTURE SEAHLPRES
*" CHANGING
*" REFERENCE(SHLP) TYPE SHLP_DESCR_T
*" REFERENCE(CALLCONTROL) TYPE DDSHF4CTRL
Data lt_program TYPE TABLE OF zpr_program.
DATA ls_program LIKE LINE OF lt_program.
DATA id_obj_type TYPE zobj_type.
CALL FUNCTION 'ZTRAC_GET_OBJ_TYPE_ACTUAL'
IMPORTING
ED_OBJ_TYPE = id_obj_type.
CASE callcontrol-step.
*.SELONE step
WHEN 'SELONE'.
IF ID_OBJ_TYPE = 'PROGRAM'.
CALL FUNCTION 'Z_PR_GET_PROGRAMS'
EXPORTING
IV_BSUITE_ID =
IV_PTU_ORG_ID =
IV_AUTHOR_ID =
IV_CALLING_APPLICATION =
IT_INCLUDE_PHASE_IDS =
IT_EXCLUDE_PHASE_IDS =
IMPORTING
ET_PROGRAMS = lt_program
ET_PROGRAM_HEADER =
EXCEPTIONS
BSUITE_FOR_PRG_NOT_EXISTING = 1
PTU_ID_FOR_PRG_NOT_EXISTING = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT lt_program INTO ls_program.
APPEND lt_program-INT_PRG_NAME TO shlp.
APPEND lt_program-INT_PRG_NAME TO shlp_tab.
Below i am appending the result to the record_tab.
APPEND ls_program-INT_PRG_NAME TO record_tab.
ENDLOOP.
ELSEIF ID_OBJ_TYPE = 'PROJECT_CLUSTER'.
ENDIF.
WHEN 'DISP'.
ENDCASE.
When DISP -> I want the values in the record_tab to be filled in my F4 help. What will the code in WHEN DISP be?
Also i have appended the result only to record_tab. Do i have to append it to SHLP_TAB also?hi,
In DISP , you have to filter the records according to search criteria if there is any and finally move the records to Record_tab.
It would be something like this :
LOOP AT gt_select_list INTO gw_select_list WHERE carrid IN r_carrid.
MOVE gw_select_list TO record_tab-string.
CLEAR gw_select_list.
ENDLOOP.
the values in Record_tab will be displayed to the user. -
Issue With Search Help in Module Pool
Dear All,
I have an Issue with Search help. I have created a Module Pool Program. In this module pool, User requires the search helps for the fields.
Imagine there are 3 fields on a screen. Field1, field2 and field3.
Field2 entries depends on field1 and field3 entries depends on field1 and field2.
I have created a collective search help. and created the corresponding Ztables to maintain the search help entries.
Now I assigned the same collective search help to both the fields . i.e. field2 and field3. But when i execute the module pool program, and press F4 on these fields , the data shown is write. BUT for the 3rd field, when I select F4, The second field values are transfered to the screen, instead of third field value.
Any Idea will be appreciated .
Help me , Its very Urgent.
Regards,Did you check the screen field names & search help name? is it identical & unique?
Raja T -
Hi Experts,
Anyone have any advice or suggestions for this problem?
Problem:
When running standard SAP search helps (let's say search for material by material type - from MM03) the system seems to truncate my last character. For example if I enter ERSA for material type - and look at the dynamic selection criteria all I see is 'ERS'. Thus when I run my search - no results are returned.
It is very odd behavior.
Notes:
- This occurs with standard and custom search helps
- This only occurs with search helps - other fields do not have this issue
- I recently downgraded my GUI version from 710 back to 640. Since then I have uninstalled and re-installed many times - this does not seem to help.Why don't you try to login thru some other desktop that have SAPGui 7.10 and check whether its working or not.
a®
Maybe you are looking for
-
Slow going from Login to full loading of desktop in main user account
Lately my beloved Macbook Pro has developed a problem in the main user account. It is taking too long to load the desktop & menu bar after Login. I don't know quite how to approach troubleshooting this, because my alternate user loads fine. I am goin
-
Using dbms_lob to load image into table
I am trying to load a set of images from my DB drive into a table. This works fine when I try to load only 1 record. If I try to load more than 1 record, first gets created but I get this error, and it doesn't load the images for the rest of them. OR
-
Hi All, As I am a newbie, Could any one help, how to create a report layout file with BI Publisher.? Thanks in advance bye Srikavi
-
Changes history of characteristics changes in Sales Order
Dear all , I have question regarding changes history. If I enter Sales Order using configurable material, and have entered all the characteristics value. Subsequently I go back to the same sales order and change some of the characteristics value, whe
-
Is there an integration between CATS and TEM?
Hi friends, I have this requirement: I wanna see the training plans of an employee -that are made in TEM module- in his/her timesheet so that project managers can assign less work in the specified time interval. Is there such an integration in the sy