Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

delete material revision level

Former Member
0 Kudos

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

4 REPLIES 4

ferry_lianto
Active Contributor
0 Kudos

Hi Martin,

Have you looked at this FM <b>REVISION_LEVEL_DELETE</b>?

Hope this will help.

Regards,

Ferry Lianto

0 Kudos

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

0 Kudos

multiple post

Message was edited by: Martin

0 Kudos

multiple post

Message was edited by: Martin