‎2009 Feb 10 11:25 AM
Hi!
when i use a some select option for some field it visualizes the match code for helping us choosing the value, but for others it doesn't... How can I add a match code also for other fields?
thanks a lot,
Simone
‎2009 Feb 10 11:28 AM
Hi.
Go to SE11 and in search help radio buton text search it as.
lets if ur fields description contains "wage"
then search it as
*wage*and then press F4.
realted match codes will be appear.
Edited by: tahir naqqash on Feb 10, 2009 4:28 PM
‎2009 Feb 10 11:31 AM
Hi,
You need to create search help for that field in SE11 and in your program you need to assign it to the selection parameter using MATCHCODE OBJECT.
Thanks,
Sriram Ponna.
‎2009 Feb 10 1:29 PM
Thanks!
...and how can I create the match code object?
Do you have some tips or useful link?
‎2009 Feb 10 1:33 PM
‎2009 Feb 10 11:32 AM
Hi,
You can find it using T-Code Se11
and use it as in the following code sample.
selection-screen begin of block a with frame.
select-options: pay_roll for p0001-abkrs no intervals,
wa_type for pc207-lgart no intervals matchcode object h_t512w_all,
pernrs for pa0001-pernr matchcode object prem .
selection-screen end of block a.Kind Regards,
Faisal
‎2009 Feb 10 11:37 AM
And one more efficient way is that
goto SE11.
in search help parameter write H_* and then press f4. it shows all the match code .
now press ctrl + F and place the descrition of the field means if ur field for which u are fininding match code contains the word wage . then write wage in it and find. and then select appropriate match code.
‎2009 Feb 10 11:34 AM
Hi,
Match code can be created as ZObject and can be attached where you want to avail this facility.you have to fetch the data from the database tables accordingly to get the data depending upon the choice where he has opted for Match code values.
Simply opting for matchcode is Adding search help for the Input field .
we can define our own matchcodes .the numbers 0 to 9 are reserved for us to create our own matchcode Ids for SAP defined match code object.
Thanks
Parvathi