Whenever you change planning relevant data (MRP data in material master) the planning file is updated. If you enter ND for "no planning" then an entry in the planning file table does not make any sense and is removed.
Programs are LDISPF3G to check if there was a change in the MRP type
and then LDISPF3C to delete the planning file entry