2007 Nov 23 3:14 AM
hi,
How to assign an F4 search for a field which doesnt have any search name or parameter in its own data element
The field should get assigned with selection screen parameter or in select-option.
sample program will be more helpful, <removed by moderator>
regards,
vijay
<Subject edited. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] to find out why.>
Edited by: Mike Pokraka on Aug 6, 2008 8:30 AM
hi,
How to assign an F4 search for a field which doesnt have any search name or parameter in its own data element
The field should get assigned with selection screen parameter or in select-option.
sample program will be more helpful, <removed by moderator>
regards,
vijay
<Subject edited. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] to find out why.>
Edited by: Mike Pokraka on Aug 6, 2008 8:30 AM
2007 Nov 23 3:31 AM
Hi Vijay,
Match Code Object is nothing but F4 Help.
F4 Help is used to give the Possible values for the Particular Field.
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,
data Empname like Zemp-empname matchcode object [enter name that u Created].
Search help is a ABAP Dictionary object used to define possible values (F4) help. You can link a search help to a parameter as follows:
PARAMETERS .. MATCHCODE OBJECT <SEARCH_HELP>.
The search help <search_help> must be defined in the ABAP Dictionary. The system now automatically displays the input help button for the field on the screen and activates the F4 key for it. When the user requests input help, the hit list of the search help appears, and when he or she selects an entry, the corresponding export parameter is placed in the input field. The predecessors of search helps in the ABAP Dictionary were called matchcode objects, hence the name of the addition in the PARAMETERS statement. Existing matchcode objects are still supported.
Previously in older versions there were no search help and we use matchcodes.
But in newer releases we are aquainted with search help and matchcodes have become obsolete..
Go through below threads as well...
Hope ur problem is solved here..
<removed by moderator>
Thanks & Regards
ilesh 24x7
Edited by: Mike Pokraka on Aug 6, 2008 8:30 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |