SAP Message W_CB231 - Status cannot be set because the document still contains errors

W_CB231 : Status cannot be set because the document still contains errors