cancel
Showing results for 
Search instead for 
Did you mean: 

C.E.O's leave request to be approved by some other approver

gaurang_gujar
Active Participant
0 Kudos

Hi Guys,

There is a requirement in my project where CEO's request i.e top most position in organization leave request should be approved by another

position say CFO. The workflow is a standard SAP workflow and standard one up rule  168 is used to get the agent.

Please help me how do I meet the requirement in the best possible way.

Thanks and Regards,

Gaurang

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

copy the standard work flow template and rule

if CEO is applying leave request u  there is no superior position so that in rule u incorporate some code if it  is CEO then append CFO user id to actor_tab .

gaurang_gujar
Active Participant
0 Kudos

Hi Suri,

Thanks for a quick Reply but is there any work around for the same.

former_member185167
Active Contributor
0 Kudos

Hello,

You can forward the workitem to the CFO in SWIA.

regards

Rick Bakker

gaurang_gujar
Active Participant
0 Kudos

Hi Rick,

The Business is looking for a permanent fix. We don't want to forward every time CEO applies for a leave.

Regards and Thanks,

Gaurang

Former Member
0 Kudos

Hi,

of course u can forward workitem but that is manual i mean to say that whenever CEO applies leave request every time manually it should forward,

instead of that in rule itself we add piece of code then it will be automatic .

Regards

Suri

Former Member
0 Kudos

Hi,

in other way means as bakker suggested through swia transaction or

take work item id  through function module SAP_WAPI_FORWARD_WORKITEM we can forward to any user.

Regards

Suri

former_member185167
Active Contributor
0 Kudos

Hello,

Well, somebody already suggested changing the rule and you asked if there was "a workaround".

How can SAP possibly know where you want to send that workitem (the CFO) if you neither a) code it or b) do it manually?

The solution is to create an AC rule which calls an FM which calls AC168 and checks for this situation.

regards

Rick

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gaurag,

You can create Rule Groups in V_HRWEB_RULE_GRP where you can define how the CEO leave request should be processed. There is also BADI PT_ABS_REQ avaliable to control the processing of the leave request on the Web application. You can implement as per your business requirement.

Regards,

Archana.