SAP Message W4040 - &: & unrestricted-use, valuated stock exists DOCUMENTATION ProcedureReduce the unrestricted-use>, valuated> stock of thematerial to zero in the respective plant and storage location.You can then archive the material.