cancel
Showing results for 
Search instead for 
Did you mean: 

Contract check while processing ECC PO from SRM

Former Member
0 Kudos
169

Dear All,.

While creating SC, the contract is linked as source of supply, after all approval the ECC PO is created automatically. (Classic Scenario).

Without Going to SOCO.

In this process, if the contract has not sufficient value then the XML message get stuck in ECC.

we need to check before the XML generation happens in SRM system, if contract has value in it. if it doesn't have the value then the SC should be put into SOCO .

Where we need to do the check to see the contract has sufficient value after the approval process and before an PO XML message get generated from SRM system ??

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tamil

Please note when you try to create the PO you should use the BADI BBP_SRC_DETERMINE In this you should check the details of the contract using FM BBP_CONTRACT_GETDETAILs

Once you have the logic to decide sourcing is needed change the SOURCING to X

Read more about it here

https://wiki.scn.sap.com/wiki/display/SRM/BBP_SRC_DETERMINE+-+Determine+Sourcing+for+an+Item

Ideally from my understanding the SC should be throwing an error on the portal itself if the contract cannot be linked to it?

This you can also code in DOC_CHECK badi.

let me know if the above helps

Regards

Vinita