SC approval workflow

Question: Hi,
I am working on SRM 5.5, Extended classic scenario.
We have a requirement to create a 3 step approval workflow for a SC.
I found the workflow template WS14000133 , for n-step approval.
Also, i shall implement the BADI BBP_WFL_APPROV_BADI to implement this approval.
We are creating a Z table and shall pickup the approvers list from there.
I have a few issues / doubts :

1. Right now, i dont think there is any workflow implemented in our system.
So , i have to activate the WS14000133 and then the corresponding task and then implement the BADI ? will that be enough ?

2. In the BADI BBP_WFL_APPROV_BADI there is a parameter actual_approval_index, how is this determined and what will be its values for 1,2,3 step approvals?

3. I have to also modify the e-mail of validation in case of an offline approval , precisely , i have to hide Accept Via Email link. How do i go about this ?

Any help would be of great value.
_________________
Thanks and Regards,
Aravind Nair

Answer:
Your requirements are very typical. Where is your project located, what country / state?

1. Right now, i dont think there is any workflow implemented in our system.
So , i have to activate the WS14000133 and then the corresponding task and then implement the BADI ? will that be enough ?

Yes, you will have to activate that particular workflow, n-level with BADI, and the corresponding tasks and linkages. You must also ensure that the start conditions for the EC Requirement Coverage Request is activated and that the start condition "starts" your n-level BADI workflow.

You can use transaction SWUD to test this setup.

2. In the BADI BBP_WFL_APPROV_BADI there is a parameter actual_approval_index, how is this determined and what will be its values for 1,2,3 step approvals?

The value should be
1 = 1st approver
2 = 2nd approver
3 = 3rd approver


3. I have to also modify the e-mail of validation in case of an offline approval , precisely , i have to hide Accept Via Email link. How do i go about this ?

You need to clarify this request. What is "email of validation" ? what is "offline approval" ? I can make a guess as to what you mean, but please tell me more about the requirement and where your project is located.
_________________
Jim Stewart
http://www.sapcookbook.com
Publisher "SAP Interview Questions, Answers,
and Explanations Series"
Author, "SAP SRM Advanced EBP Cookbook"

Answer:
Hello,
Thankyou for your reply.
I implemented the workflow and it is working well.
However, i faced one problem in actual_approval_index and later on debugging realised that :
for 1st approver = index is 1.
2nd approver = index is 2
and 3rd approver = index is 4.

I ALSO , IMPLEMENTED the offline approval requirement, we had to ensure that the mail sent to the approver for approval , should not contain the links approve/reject.
That is , we had to ensure that in order to approve , he must always log on to the system and not approve it offline.

For this we implemented the BADI BBP_WFL_APPROV_BADI.

We have implemented the entire request successfully.
Thanks for your inputs.
_________________
Thanks and Regards,
Aravind Nair
Copyright ?2007 - 2008 www.jt77.com