Application Development and Automation 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: 
Read only

delete material revision level

Former Member
0 Likes
2,867

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
Read only

ferry_lianto
Active Contributor
0 Likes
1,662

Hi Martin,

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

Hope this will help.

Regards,

Ferry Lianto

Read only

0 Likes
1,662

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

Read only

0 Likes
1,662

multiple post

Message was edited by: Martin

Read only

0 Likes
1,662

multiple post

Message was edited by: Martin