PR replicated to SRM
We are replicating PRs from backend to SRM. An RFC user is creating shopping carts and purchasing groups responsible for this user will get the shopping cart in sourcing cockpit. However, we also would like to control it by the purchasing group entered in PR in the backend. For example. a user creates a PR with purchasing group 01. PR is being replicated to SRM. In SRM purchasing group 01 and 02 is responsible for the RFC user. Purchasing group 01 gets the shopping cart in sourcing cockpit. We would like 02 to get it, in other words is it possible to look at the PR in backend and guide the SC to purchasing group 02 in SRM.
Is this possible?
Dominique Esguerra replied
You should be able to used BADIs. I've copied the help text below:
a. You can use the Business Add-In BBP_PGRP_ASSIGN_BADI to change the assignment of the following documents to purchasing groups and purchasing organizations.
b. You can use Business Add-In BBP_PGRP_FIND to implement determination of the responsible purchasing groups yourself in SAP Markets Enterprise Buyer. When you activate this BAdI, the Enterprise Buyer standard determination is deactivated in all applications.
c. You can use the Business Add-Ins BBP_DOC_CHANGE_BADI to make changes to the document, after user entry and before saving the document to the database. These changes are subject to the document-specific checks.