Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

search help method

Former Member
0 Likes
403

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

3 REPLIES 3
Read only

Former Member
0 Likes
375

In se11 you have to create the search help and in data element level you can create it .

Read only

Former Member
0 Likes
375

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

Read only

Former Member
0 Likes
375

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