SAP Message W4079 - &: & The material ledger still has to be settled

Procedure
Settle the material ledger. You can then archive the material.