VINAY,
Something wrong. This behavior of this user-exit not normal. I used this extensively. Is this the first code in the include ZXWOCU07 ?
Whether you are getting the Red ribbon Error message in the IW32 status bar? If yes, Order can not be save, If no Error is being not thrown. Whether you are using the code suggested?
As I said earlier why you are using some variable for Order type. why can not it be hard-coded?