Hello,
You can try to display the order with COR3 or CO03. If you can see the order with COR3 then it is a process order. If you can see the order with CO03 then it is a production order.
Another option is to check the order type. If the order type is PP01 or PP02 or PP03, then it is a production order, otherwise if the order type is PI01, PI02 or PI##, it is a process order. It could happen that you are using a custom order type (starting with letter Z). In this case, check the name assigned to the order type.. should make reference to production orders or process orders.
Kind Regards,
Mariano