cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

No results found for Investigation Lead

Former Member
0 Likes
607

Hi Experts,

I am currently facing a problem while selecting Investigation lead in the investigation tab. I am not able to see any results for investigation lead. Can you please help me out in understanding where the data for investigation lead can be configured.

View Entire Topic
Former Member
0 Likes

Dear Ajay,

For the logic to get the default investigation lead you can look in the class 'CL_EHHSS_INC_INV_LEAD_DETERM' and Method 'IF_EHHSS_INV_LEAD_DETERM~DETERMINE'.

I managed to get the default investigation lead via the BAdI: Investigation Lead Determination  - EHHSS_INC_LEAD_DET.

But if I want to change the investigation lead afterwards I have the same issue like you:

Results List: No results found for Investigation Lead

Did you already solved this issue?

If yes, can you share me your solution?

Thanks in advance,

Gunther

Former Member
0 Likes

Hi Gunther,

I realize that this thread is a little old and you have probably resolved the problem already.

I had the same issue and after a couple hours of debugging, figured out what was causing the issue for me - hopefully it can save some other some time too.

The short answer (if you have not implemented the BADI):

The search is looking for agents (users) that are configured for a specific task (as Sagar mentioned the SAP standard one is TS00500118). So if you have not implemented the BADI then check that you have maintained agents on the task ot set it as a general one (transaction PFTC).

Longer answer (if you implemented the BADI):

If you have implemented the BADI then you must make sure you implement both methods that it provides. The search help instantiates the BADI via a helper class and queries which task it should be looking for agents for. If you do not have any custom workflows, then just return the SAP standard task in the "GET_TASK_ID_OF_PERFORM_INV" - same as the standard. This will then return search results - assuming you have maintained the task.

Here are some screenshots:

My BADI looks as follows:

I implemented the following method to pass back the task number:

Search results now return:

The reason we implemented this BADI at our client was that we didn't want to have the lead investigator defaulted.

Below is where the search helper class (CL_EHSS_INC_INC_SEARCH_HELPER) is invoked.

Regards, Warren