SAP Message WG017 - No purchasing group in doc. header of store order &

Diagnosis
No purchasing group was transferred. Default determination of thepurchasing group failed.

System Response
A purchase order cannot be created.

Procedure
Copy the purchasing group to the organizational header segment ormaintin table Assign purchasinggroup to purchasing area or the MRP controller table.