‎2007 Feb 05 9:29 AM
Hi friends
i have a write a code where in the impoting parameter could be
firstname, lastname and empid and exporting parameter should be a table which would contain the employee name and his manger name.
I have to write a search method. I would search an employee using wildcard characters (in paramter) for eg if i input 'Chris*' and press f4 or enter it has to show all the name starting with 'Chris......' .
How to do that pls help me
John
‎2007 Feb 05 9:35 AM
In se11 you have to create the search help and in data element level you can create it .
‎2007 Feb 05 9:42 AM
to find his manager name -
1)u have first find the position of the pernr given from table HRp1001. (A008 relation)
2) then find approver posiiton of tht position from hrp1001 only (A002 relation)
3) find holder of tht postion frm HRp1001 (A008 relation)
amit
‎2007 Feb 05 9:52 AM
Hi John,
Follow these steps.
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 (Example : 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 ie se38 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