Let me try to explain.
I have a situation where Material Master Sales Status in MVKE is updated using an MM02 Script in our "Master" Sales Org and then we have a batch SAP process which then updates that Material Status to all other Sales Orgs. So if I change it from Status "A" to "B" in "Master" sales Org...
The Batch process will then update the Material Status in all Sales Orgs in MVKE to "B".
And that works for all transitions of Material Status...However there is ONE transition in Status that the Batch Process does NOT work for. Lets say it is the transition from Status "C" to Status "A".
In that particular scenario the batch process does not work. And so for these transitions to happen to all 4 Sales Orgs, they must to be updated by the MM02 Script. The script then requires the template to either contain ALL Sales Orgs not just the one Sales Org (the Master) and so it needs to look something like this ....
| Material |
Sales Org |
Old Status |
New Status |
|
| 1234 |
1000 |
A |
B |
Example 1 |
| 1234 |
1000 |
C |
A |
Example 2 |
| 1234 |
2000 |
C |
A |
Example 2 |
| 1234 |
3000 |
C |
A |
Example 2 |
| 1234 |
4000 |
C |
A |
Example 2 |
My challenge is how can i construct my MM02 script to possibly use a LOOP or a similar mechanism, that is triggered "if OLD Status = C and New Status = A then repeat loop for all 4 Sales Orgs"
For the sake of the example we have 4 Sales Orgs 1000,2000,3000,4000.
Or is there a way to have the 4 Sales Orgs in another sheet and somehow link to those.?
Thanks for any help
------------------------------
Russel Hunter
mr
TTI EMEA Ltd
Buckinghamshire
------------------------------