‎2006 Mar 23 3:11 PM
hi,
i have to delete all material revision levels from all materials (plm-project migration report). the normal proceeding would be:
CC12 - delete the revision level for material.
CC02 - delete the object management record for material.
does someone have experience thereby? tips? fm's?
debugging CC12 and CC02 didn't make me smarter.
regards, martin
‎2006 Mar 23 4:44 PM
Hi Martin,
Have you looked at this FM <b>REVISION_LEVEL_DELETE</b>?
Hope this will help.
Regards,
Ferry Lianto
‎2006 Mar 23 5:13 PM
yes i looked at this fm. i am not very happy with the source code:
function revision_level_delete.
*"----------------------------------------------------------------------
*"Lokale Schnittstelle:
*" IMPORTING
*" EMATNR LIKE MARA-MATNR
*"----------------------------------------------------------------------
delete from aeoi
where aetyp eq obt_mat
and objkt eq ematnr.
endfunction.
*eject
‎2006 Mar 23 5:14 PM
‎2006 Mar 23 5:15 PM