Message SAP /ISDFPS/MM840 - Purchasing doc. &1 is still in follow-on docs table f. material planning

Diagnosis
Purchasing document &1 is still contained in the follow-on documentstable for material planning (/ISDFPS/MATSPBEL).

System Response
The purchasing document cannot be archived.

Procedure
First reorganize material planning.