SAP Message 6050 - Document type & does not allow you to assign &

6050 : Document type & does not allow you to assign &