SAP Message TU389 - Schedule records still exist for portion &1 in of dynamic scheduling

Diagnosis
You are processing a portion from dynamic scheduling. You can only usethe transactions Delete/Create Dynamic Schedule Records (E1DY ')and Change/Display Dynamic Schedule Records (E2DY) to processdynamic schedule records.

Procedure
Once you have made the changes to the portion, use transaction E1DY togenerate new schedule records for the modified portion and thecorresponding dynamic period. When you do this, any existing schedulerecords are also deleted.
Further effects