on 10-27-2014 6:23 PM
Hi Experts,
I m facing a trouble in Create Leave Request Application.
Approver field is showing same PERSON from every Portal User Id .
I tried from 8-10 different portal ID's but I am getting same Person as Approver but in Om Structure line managers for all id's are different.
Can i Please know from where this Approver field is getting data ?
Is there any configuration for it ?
Please help me to resolve this issue .
Regards,
Pran
Try to check in different desktops with those user ID's instead of in your same system. If it's working fine then it's problem with your IE.
And also try to clear the portal Cache from Content Administration.
If still issue persists even from checking in different desktops checking.
Then check any BADI PT_GEN_REQ implemented and hardcoded the user ID for approver in method IF_EX_PT_GEN_REQ~FIND_RESP_AND_DEFAULT_NEXT_PRC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
first apply a leave with one user id and check in ptarq > mass approval by giving that manager pernr there and execute it .....whether it is coming or not ...and apply with another employee id and check again by giving the second manager who is approver for that second employee .....if it is not coming it is workflow settings problem which u have done ...and here u need to assign proper user id in 105 0001 infotype .....make sure every manager has different user id in 105 0001 infotype
can you show screenshot? are you sure that employee belongs to this rule group? you can determine via ptarq etc. With settings above, you get no defaults, you should manually enter. Ensure you are not using any BADI or custom modification and is it in test system? you can probably delete the entry for your user from table HRESSAPPROVER
Hi Sidharth,
Yes, with Manual Entry option, it is showing that field blank.
But it is required to get default manager of every employee .
Table HRESSAPPROVER has no entry.
In PTARQ-> Determine Approver or Report "RPTREQAPPRCHK", it is giving correct Result, I have tested 7-8 cases, it is giving correct manager as per the OM Structure .
Please also tell,when we choose option "LINE MANAGER", it give default Manager and that field got grayed out .From where this functionality is triggering .
Regards,
Pran
That Manager Field become Read only, when you uncheck the option Requester may change the agent option. Check the table V_T554S_WEB for ay leave type processing settings.
Check the table V_PTARQ_TPROCESS for your rule group determine next agent settings should be as shown below to show by default manager.
Hi Jwala,
Infotype 0105 0001 is properly maintained for all employees.
I have checked PTARQ, it is giving desired results.
Please tell me that from where Find Next Agent is filling desired result in Portal Approver field .
Workflow 12300111, is it doing the job and what settings in workflow i should check ?
Regards,
Pran
Hi guys,
Issue was resolved, as there was some problem in RFC Connection.
Regards,
Pran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in HRESSAPPROVER table can you check how it is showing for employees is it showing same approver over there or different approver number ...once check there
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you advise first if you are using a BADI or any custom modification ? What is the employees position maintained ? Check in PPOME ie OM structure if you are using ie employee position is correctly reporting to manager etc can you debug here? are you using Concurrent employement? Object FUNC PT_ARQ_GET_APPROVER_FROM_ORG *& Object Header FUGR PT_ARQ_REQUEST_UIA
Hi Siddharth,
I m not using any custom modification or BADI .
HRESSAPPROVER table is blank.
I have checked OM Structure, it is perfectly fine.
Employee position is correctly reporting to manager as per the OM structure.
Is this FUNC PT_ARQ_GET_APPROVER_FROM_ORG is filling Leave Request application ??
Regards,
Pran
Hi,
Pls let me know from which Program it is picking Line Manager in this scenario...
Regards,
Pran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Configuration to find the agent is available in the table V_PTARQ_TPROCESS. Also Test the report RPTREQAPPRCHK for each employee.
Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jyothi,
Thanx for replying.
I have checked configuration. It is alright, tried all options, last agent, line manager, last agent, then line manager.
I also tested report, it is showing correct result for every employee but on portal it is showing same approver for every case....
OM structure is also correct.
Regards,
Pran
can u clear the uwl cache once ....or else go to PTARQ > DETERMINE APPROVER > GIVE EMPLOYEE number and check for 2 to 3 employees whether it is determining correct approver as per the org structure or not .....or else go to leave Request node in PTARQ-> Processing Processes -> Define Processing Processes for Each Rule Group , here you set the field "Determine Next Agent" to MNGR (Line Manager) now the employees always get their current line manager as approver, ignoring which entries are stored in HRESSAPPROVER
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
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.