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.
------------------------------
Original Message:
Sent: 09-24-2024 16:18
From: Ann Davis
Subject: Need Help to Create a Condition in Studio Script to Skip Fields
I am trying to create a condition where MM01 warehouse views are created in all plants with the exception of 1012. Our 1012 material master does not have any configured warehouse. My attempts are allowing the non-1012 plants to create but my 1012 plant is producing an error.
------------------------------
Ann Davis
Technical Data Analyst
------------------------------