cancel
Showing results for 
Search instead for 
Did you mean: 

how to add reviewer by SRM BADI?

Former Member
0 Kudos

In SRM 7.0, We want to determin 3 reviewers automatically during Quotation WF by BADI.

Could you tell me how to config WF and give us a sample for BADI. we must use badi for complex logic.

Tks!

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member131833
Participant
0 Kudos

Hi,

Follow the below steps for adding reviewer

1) create a responsibility resolver in the path:

SRM Server->Cross-Application Basic Settings->Business Workflow Process-Controlled Workflows-> Business Process Configuration ->Define Filter Values for BAdI 'Define Reviewer'

2) Create implementation for BAdi /SAPSRM/BD_WF_REVIEWER_RULE with filter for your business object & reponsibility resolver created in step 1.

3) Add your logic to determine reviewer in the method GET_REVIEWER_BY_DOCUMENT

4) In process level determination, select your business object and give the process schema evaluation id. This can be done using a BRF event and corresponding expression

5) For your business object specify your process schema

6) Specify your approval levels under process level configuration

7) Under Reviewer,

- specify your responsibilty resolver against the Rule

- specify the BRF event which is used to determine the reviewer step similar to approval step against Evaluation ID

- Specify the corresponding review task against Task ID

Hope this helps.

Regards,

Sivagami R

Former Member
0 Kudos

Could you tell us the field "Evaluation ID" data?

Former Member
0 Kudos

Evaluation ID is the event ID which you need to create with proper expression..

I thought you may be knowing about this..

Thanks!!

Bharath

Former Member
0 Kudos

The config as below, could you help me check if correct? after config I debug in the badi, seems not work, could you tell me how to the next?

RV_EMPLOYEE

/SAPSRM/EMPLOYEE

1EV014

40107928

Former Member
0 Kudos

Please follow the config what I have proposed above..

Thanks!!

Bharath

Former Member
0 Kudos

Hi,

Following are Config and BADI implementation you need to do..

Config:

You will see a folder named "Reviewer" under all schema..

Rule: Your BADI Filter name..

Evaluation ID : Probably you know what to put here

Task ID : 40007945

BADI:

BADI Name: /SAPSRM/BD_WF_RESP_RESOLVER

BADI Definition: /SAPSRM/BD_WF_REVIEWER_RULE

Method: /SAPSRM/IF_EX_WF_REVIEWER_RULE~GET_REVIEWER_BY_DOCUMENT

Thanks!!

Bharath