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

IT Declaration Creating Request Issue Self Approval

Former Member
0 Likes
635


Hi Everyone  ,

In IT declaration workflow for section 80 and 80c , i am using standard template ws18900052 , and i implemented this Badi HRPBSIN_NEXT_APPROVER .

one level of approver and every thing is working fine now  but , i am picking the approver say 'manager' from  Z custom table .

when ever employee send a request it wil go to manager inbox but my issue is when ever manager sends a request , the request is not creating it is showing that ur the apprv not able to send request ...

i want the workitem to get in his inbox and do the self approval..is it possible or what is the another solution to this one ..??

Please share ur suggestions ...

Thank you ,

Sandeep Chennoju . 

View Entire Topic
Former Member
0 Likes

Hi Sandeep,

As the Approvers are maintained in Z Table, please check whether the initiator of the workflow and approver maintained in Z Table are not same.

If both initiator and approver are same, the workflow wouldn't trigger. The requestor and approver cannot be same. Also logically in business scenario how can an employee raise request and approve it himself. The scenario is not possible.

Please discuss with functional & plan to assign a group if the requestor is Manager. So that any person in group can approve the workflow.

Thanks.

Former Member
0 Likes

Hi Sandeep ,

I to agree with ur comment , logically in business scenario employee cannot raise and approve it himself .


But what is the nice approach for this one when he creates a request auto approval is possible ??

thanks ,

sandeep chennoju

Former Member
0 Likes

Hi,

We can develop a custom report to run in background program to complete the workitems of workflow where the initiator & approver are same.

Instead of the background program I would suggest to send the approval to a group. Add a logic to check initiator & approver are same, If so send it group else follow the normal procedure.

Thanks.

Former Member
0 Likes

Hi ,

If workflow is not triggered how can i send the workitem to the other group , the request is not creating

because both the approver and initiator are same ..

where to write the logic inside the Badi HRPBSIN_NEXT_APPROVER ?

Thank you ,

sandeep chennoju .

rajeshkothamasu
Active Participant
0 Likes

Hi,

fisrt check where the message has been raising. let us know.

Former Member
0 Likes

Hi,

Yes correct the logic has to be written in BADI 'HRPBSIN_NEXT_APPROVER', where the next agent of workflow approval is assigned.

Thanks.

Former Member
0 Likes

Hi Rajesh ,

Thanks for your response , when creating the request standard message is coming not the custom one .

thanks & Regards

sandeep chennoju

rajeshkothamasu
Active Participant
0 Likes

Hi,

what is the standard message class using for raising message.