Showing results for 
Search instead for 
Did you mean: 

Eseparation: Override FM_EA_DET_ID

Former Member
0 Kudos

Dear Team,

On maintaining the FM option in the below node for Task owners config I am unable to change the standard FM to a Z FM

Our requirement is to select Task owners based on locations from a custom table.

Please advice.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Avril,

You will not be able to maintain any custom FM in Maintain users (Task Owners) in Department (V_T77WWW_EADUG) view. If you want to assign tasks to users dynamically you can put enhancement in class of web dynpro and method of work flow.

1. Web Dynpro: For displaying tasks to users dynamically based on your requirement employees personnel area\subarea you can enhance method OVT_TO (Overview Data: Task Owners) of class CL_EAIN_OVERVIEW. Here you will be able to find PERNR and other things.

2. For Agent assignment in Work Flow Dynamically: In standard workflow WS77900164 copy and assign function module EH_EA_TO_START of Activity ( Clear the Due / Complete the Task ) to ZEH_EA_TO_START and add your custom code.



Active Contributor
0 Kudos

First you need to copy the standard FM FM_EA_DET_ID to Z and write your logic to fetch the users.

in your Z FM pass the users to ETB_EAVAL exporting parameter.

Then maintain the Z FM as below.

Former Member
0 Kudos

Thank you Shankar.

We tried the same however, if you enter the Z FM and hit enter it changes to the standard FM. There seems to be a code in the view which is causing this to occur.

Additionally, the FM doesnot have employee number in the import parameters. Hence, we are facing the issue as we need to find the employees personnel area\subarea and default the owners.

0 Kudos

Hello Arvil,

Actually you should copy the f.M. FM_EA_UTIL_SFM_RELATED_PERSON and use the same, after that you should not get any error from the system..

You would be getting the error as " Function Module Signature does not match" Just Copy the above mentioned Function module change it to Z_test_RM , after that you should be able to use the Function Module.

Best Regards,