In previous post I've shown how to re-explode subcontracting components of purchase requisition using FM ME_COMPONENTS_MAINTAIN and ME_COMPONENTS_UPDATE_PREPARE . Using very similar code you can delete ...
... instead of selecting and updating components in the database. IF_BOM_MM didn't helped as well. I started to dig in the standard transactions and local classes of ME52N and finally I have figure out ...