Hi Ann
When adding conditions like this, you have to accommodate the View, which you likely have, but also the OK code prior to that view.
The OK code prior to going to the view you want to skip has to have an IF - if plant with warehouse then go to warehouse view else go to view after that.
Don't have time to look at your script right now, but those are the two factors to look at when skipping over views in the MM, and for lots of other tcodes when you want to conditionally execute something.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
------------------------------