‎2007 Jun 01 11:51 AM
‎2007 Jun 01 12:14 PM
Hi,
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 Name for eg mcobj 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 rollno like zstud-rollno matchcode object <mcobj> {the name that u have entered}.
Regards,
Padmam.
‎2007 Jun 01 12:17 PM
HI,
A search help is a ABAP Dictionary object used to define possible values (F4) help ( see Input Help in the ABAP Dictionary). You can link a search help to a parameter as follows:
PARAMETERS <p> ... 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.
EX:
REPORT demo_sel_screen_parameters_mco.
PARAMETERS p_carrid TYPE s_carr_id
MATCHCODE OBJECT demo_f4_de.
<b>Reward useful points</b>
Regards
Siva
Message was edited by:
SivaKumar