‎2008 Jun 06 5:42 PM
Can any body tell me what is matchcode object & how will we use it our program with some coding?
Thanks In Advance
‎2008 Jun 06 5:44 PM
Hi if you want some custom search help for a field on the selection screen. we can use that using match code..
Scenario: I was developing a report for which I need to provide f4 helpf for the user.. for that I created a search help using se11 and used that in my code like this:
parameters: p_xx type table-field matchcode object 'SHname'.
‎2008 Jun 06 5:44 PM
Hi if you want some custom search help for a field on the selection screen. we can use that using match code..
Scenario: I was developing a report for which I need to provide f4 helpf for the user.. for that I created a search help using se11 and used that in my code like this:
parameters: p_xx type table-field matchcode object 'SHname'.
‎2008 Jun 06 6:12 PM
Matchcode/search Help
The input help (F4 help) is a standard function of the R/3 System. The user can display the list of all possible input values of a screen field with the input help. The display of the possible input values can be supplemented with descriptive information about the individual values. This is meaningful especially when the field requires the input of a formal key.
Matchcodes are replaced by SEARCH HELPs in latest versions
Search help is an object of the ABAP Dictionary with which input helps (F4 helps) can be defined.
You can create it in the Transaction Code SE11, choosing "Search Help" Radio-Button.
There are the following types of search helps:
Elementary search helps implement a search path for determining the possible entries.
Collective search helps contain several elementary search helps. A collective search help therefore provides several alternative search paths for possible entries.
Append search helps can be used to enhance collective search helps delivered by SAP with customer-specific search paths without requiring a modification.
To create a F4 help,
Step1 : Go to Se11 and Select Search Help and Enter One Name and Click Create.
Step2 : Enter your Table name in 'Selection Method' Field.
Step3 : Enter the field Name and tick the Flags Imp and Exp and Type 1 and 2 in Lpos,
Spos fields.
Step4 : Save it and In se38 Write the Code Like This,
Eg.
PARAMETERS : p_empname like Zemp-empname matchcode object enter name that u Created.
Also chk this.
http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef46446011d189700000e8322d00/content.htm