Symptom
During the creation of a purchase order, user can use the supplier even it is not created in the company code.
Environment
SAP S/4HANA Cloud
Cause
Standard logic doesn't check the company code for a supplier, only the purchasing organization is validated.
Resolution
If you want to have the validation check, you can use a BADI to validate the supplier during Purchase Order saving and submit an error message in case you want to avoid. More details can be found in KBA "2893882 - BAdI Implementation for Final Check Before Saving PO".
See Also
Keywords
Purchase Order, BADI, Check of purchase order before saving, Supplier, company code, purchase organization , KBA , MM-PUR-PO , Purchase Orders , Problem