cancel
Showing results for 
Search instead for 
Did you mean: 

Approver Level in Workflow?

arpita_churi3
Active Participant
0 Kudos

Hi all,

I have a z table and it has fields like PERNR APPROVER_LEVEL and APPROVER_ROLE.

and whevever workflow is trigger it will first go to approver level 1 then if it is approved by approver level 2 then it will go to second level....and if not approved within 1 week then it will go to secone approver level.

can anyone help me?do i need to create ZMETHOD for that?

Thanks and Regards,

Arpita

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes you have to create Zmethod and implement deadline monitoring.

Please search with Processing Obsolete keyword.

Thanks

Arghadip

arpita_churi3
Active Participant
0 Kudos

thanks Arghadip Kar ...

but how do i go to next approver level in method?....

Thanks and Regards,

Arpita

bpawanchand
Active Contributor
0 Kudos

I think your issue might be how to go direectly to the second level when the first approver has not acted on the workitem for 1 week right?

If this is your concern then what you can do is you have to make use of Latest ENd tab of the workitem, make sure you use expression in the Date field and populate the date into this expression by adding 7 to sydatum .

And selct the deadline type as MOdelled, now once you selct the deadline as modelled and new branch will be created and in this new branch you have to copy paste the decision workitem but this time the agent should be second level approver, once he acts on it in any of teh cases either approved or rejected , include the process control step and choose the options Complete workflow...

arpita_churi3
Active Participant
0 Kudos

Thanks pavan,

Right.......but my another problem is how would i decide which next approver?.....do i need to predefine it or dynamically in method?

Thanks and Regards,

Arpita

bpawanchand
Active Contributor
0 Kudos

See what you can do is create a container element in the workflow container with Exceptional_Approver, and you have to populate this field when you are determining teh first approver itslef, let say USRA and USRB are first and second level approvers. let say in the when you determin teh first level approver at the same time the second level approver can calos be detemrined and can be stored in EXCEPTIONAL_APPROEVER so this element must have USRB and in the modeled deadline decision task you have to selct the agent type as Expression and deifne the element as EXCEPTIONAL_APPROER...

arpita_churi3
Active Participant
0 Kudos

Thanks pavan....

I have created a zmethod and i am populating data from ZTABLE(which has approver level,role and activity oode) into ITAB.

Now the problem is how to send first work item to approver 1 and after click of APPROVE button in workitem how do i send same workitem to approver2.

Thanks and Regards,

Arpita

arpita_churi3
Active Participant
0 Kudos

Hi Pavan,

if i have PERNR then how agent determination is done in workflow.

Thanks and Regards,

Arpita

former_member185167
Active Contributor
0 Kudos

Hello,

Try fm PTRV_CONVERT_PERNR_TO_USERID to get the SAP user. You may need to add US.

regards

Rick Bakker

Hanabi Technology

Answers (0)