SAP Message VY123 - Shipment &1 does not have the required overall status

Diagnosis
Shipment &V1& has overall status &V2&. Shipment cost type &V3&,however, requires overall status &V4&.

Procedure
In Customizing for the shipment cost type, you can setthe the overall shipment status required for the creation of a shipmentcost document.