SAP Message /SAPCEM/BAPI039 - Document type &1 is an invalid shipping document type

/SAPCEM/BAPI039 : Document type &1 is an invalid shipping document type