SAP Message RM500 - Function not possible as make-to-order segment comes first

RM500 : Function not possible as make-to-order segment comes first