I have an existing script using GUI Scripting to change the MRP area information for material but in two of the tabs, there are tick boxes which generate an error (Control id not found: Planned Deliv. Time - chkMDMA-PLIFZX.selected).
Go to transaction SE38 and put in RMMDDIBE for the program and click Execute.
The screen should look like the below
Click the Create/change with data tab after entering your material and plant
After adding the MRP area as above, select the MRP area data button to see a screen as follows. Scroll down and you will see the field Consider Planned Delivery Time that matches the tick box in MM02. Make sure you tick the first tick box (highlighted in yellow) as this lets the program know this is to be modified.
If you want to do the same for the Forecast tab, go back to the Create/change with the data screen and click on Forecast data. The tick box parameters are under the Control data section on the right-hand side.
If this is to be used often, it may be worth asking the BASIS team to create a wrapper so it can be used as a regular transaction
Please sign in to leave a comment.