cancel
Showing results for 
Search instead for 
Did you mean: 

Account Search Based on Role Employee

Former Member
0 Kudos

Hi All,

In accounts search(under Account Management on WebUI), when we select 'Role' in search dropdown, and select 'Employee' as its value, and click on search, it does not return and result. Someone told me that this is standard behaviour, and there is a separate Employeee Search Logical Link for that, i added that link on my UI and it is working fine.

But, why is it not working in Account screeen, when Role displays Employee also, search should also be enabled?

Is there anyway of achieving the same? or any SAP note which we need to apply?

Plz guide.

Regards,

Rohit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try this note.

1241186

Regards.

Former Member
0 Kudos

Hi,

I read that note already, but that deals with employee search directly, and not enabling employee search in Account Search Screen, is it that we need to do same thing in Account Search?

On debugging it goes to

CL_BUPA_IL_HEADER_SEARCH->ADJUST_RESULT_TABLE -> CALL METHOD me->check_objects

In the above method, we are passing input as u201CGS_CONTROL_TEMPu201D, in which value of parameter u201Cemployeesu201D is initial, if we make it u2018Xu2019 during run time, it returns only BPs with role Employee.

Do we need to change something here?

Thanks in advance,

Rohit

Answers (2)

Answers (2)

Former Member
0 Kudos

solved by setting

gv_no_emp_filter = abap_true.

in GET_RESULT_TABLE of class

CL_BUPA_IL_HEADER_SEARCH.

Former Member
0 Kudos

Hi,

How did you set gv_no_emp_filter = abap_true in the method GET_RESULT_TABLE. Because the class CL_BUPA_IL_HEADER_SEARCH is standard one.

Former Member
0 Kudos

Hi

I am also facing the same issue. Please help in this regards.

Thanks and Regards,

Radhika