on 08-04-2010 3:44 PM
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you tell us the field "Evaluation ID" data?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.