During the creation of a purchase order, user can use the supplier even it is not created in the company code.
- SAP S/4HANA Cloud
Standard logic doesn't check the company code for a supplier, only the purchasing organization is validated.
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".
Purchase Order, BADI, Check of purchase order before saving, Supplier, company code, purchase organization , KBA , MM-PUR-PO , Purchase Orders , Problem