on 09-13-2016 10:10 AM
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.
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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,
Deepak..
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.