In this article you'll find steps to implement Plan Driven Procurement Scenario in few steps.
More information in Customizing Guide "Strategic Sourcing" pages 67 to 69.
1- Activate Customizign Switch SRM_702_DIRECT_MATERIAL if you would like to transfer Direct Material PRs.
2- Activate PI Scenario "SE_Sourcing_Enhancements"
3- Create an implementation of Badi ME_REQ_SOURCING_CUST in Backend
3.1- Method IF_EX_ME_REQ_SOURCE_CUST~ACTIVE . The purpose of this method is to activate external sourcing, it has three parameters in order to activate different functionalities. According to business requirements activate or
cv_aut_sourcing = cl_mmpur_constants=>yes. " ext sourcing active at all
cv_ext_rfx_ind = cl_mmpur_constants=>yes. " RFX creation in SRM, not in ERP
cv_ext_sc_ind = cl_mmpur_constants=>yes. " SC creation in SRM possible
3.2- Method IF_EX_ME_REQ_SOURCE_CUST~CHECK_EXTERNAL_SOURCE. The purpose of this method is to control wether the document must be sent to SRM.
In this method you can add the logic that your business needs in order to control this procedure.
PRs will be sent to SRM when the parameter cv_ext_sourcing has the value cl_mmpur_constants=>yes.
You'll find more information about Badi implementation in the sample class CL_EXM_ME_REQ_SOURCE_CUST.
4- Activate Workflow Entries in transaction SWETYPV.
In case this entries does not exist in your system, create them as a copy of BUS2105 event "CREATED".
5- Activate qRFC in ECC
6- Confirm that there is a Logical Connection to Workflow engine in ECC
7- Message SE 035 must be a Warning in order to avoid affect Purchase Requisitions that not belong to PDP process. (in ECC)
8- Register Queues MMPURS_BUS2105_* in Transaction SMQR
9- Add PI user to SRM Organizational Plan
After this procedure when a PR that fulfill conditions in Method CHECK_EXTERNAL_SOURCE will be transfered via PI to SRM. The expected message is PurchaseRequestERPSourcingRequest_Out. Use transaction SXI_MONITOR in order to check the interfaces status.
Good Luck!
Celeste