How to delete Master Data in APO?

How to rollback /delete master data ( ex. Product master / Material master ) which has been CIFed from R/3 ?
 

On Product master when you choose Product -> Mark for Deletion and on the pop up screen,
 

If you choose the product and then save; the system sets a deletion flag for the product.  if you choose location and then save; the system sets a deletion flag for the specific location data for the product.

If you choose the product and then click continue; the system deletes the product.
If you choose location and then click continue; the system deletes the specific location data for the product.
 

I think he is asking how to automatically delete the material via CIF, so that if you mark the material for deletion in R/3 it deletes the material in APO.
 

I agree. But what he is really asking though; how do you undo a CIF that has happened. Right? I don't think you can undo that command. If you had your system backed up, you can restore from the backup and loose the delta changes from the backup time to the current time. That becomes a question of, "is it worth the loss"?
 

You are right.  Manually deleting these products is the only way.  But it would be nice that products which were marked for deletion in R/3 would no longer be planned in APO.  Using OSS 331664 talks about a work around, but it should be automatic.
 

Use om17 transaction ( report ) to delete the records.
 

I'm not sure what using OM17 will accomplish.
 

Thanks for your help. The tran (om17) is for ' action in KANBAN processing'.  Is it the right tran. ?
 

You must be on an R3 system. Try the transaction on APO system.
 

OM17 is livecache consistency check...
 

For delete this information must be use /sapapo/om_lccheck
 

OM17 if for livecache consistency check... Can you explain how you can use this to delete records cif'd from R/3?
 

You are correct about om17, it is not used to delete data. To delete transactional data in APO,  use txn /SAPAPO/RLCDEL. To delete master data, you have to delete it through through mass maintenance or manually in the maintenance screen for the master data element (material, ppm, resource, etc.)

SAP APO Books:
SAP APO, Interview Questions, Certification and Configuration Books

Back to:
SAP APO (Advanced Planner and Optimizer) Hints and Tips

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.