Thank you very much for your reply.
I am using PCW, and the Event linkage is active.
Maybe you can tell me this: is it really necessary to write code on the BAdI BBP_WFL_APPROV_BADI? What I really want is just to add another level of approval, what seems to me that can be a simple change.
I tried to add another process level, with a different Resp. Resolver Parameter, but the PO is approved and created by the the first level, skipping the second. In practical terms:
I had:
* Level: 100;
* Resp. Resolver Name: RR_ROLE;
* Resp. Resolver Parameter: /SAPSRM/MANAGER;
* Task ID: 40007974;
* Decision Type: Item-Based Decision for Entire Document.
And added:
* Level: 200;
* Resp. Resolver Name: RR_ROLE;
* Resp. Resolver Parameter: /SAPPSSRM/BIDDER;
* Task ID: 40007974;
* Decision Type: Item-Based Decision for Entire Document.
The users with role /SAPPSSRM/BIDDER don't get to approve the PO.
Am I missing something?