2012 Feb 29 10:31 AM
Hi,
I am working on cs02. my requirement is to get the details of deleted entries in BOM. i have now got the details of changed values. only the deleted values are left.
i have seen :
CS01 CREATE
CS02 CHANGE
CS03 DISPLAY
EXTRAS CS28 ARCHIVING
CS20 MASS CHANGES
EVALUATION/BOM CS11 BOM MULTILEVEL
EXPLOSION/MATERIAL CS12 STRUCTURE MULTILEVEL
BOM CS13 SUMMURISED BOM
How to get the details of history of deleted BOM componentes. even a tcode will help
thanks in advance guys
2012 Feb 29 12:09 PM
Hi,
I don't think we have the details of the deleted BOM entries stored in SAP. You may check the CDHDR and CDPOS table.
If possible, by using some enhancement (BADI, user exit etc) in CS02, while deleting an entry from the BOM, save the details in a custom table (Z or Y table), which can be used in a later situation for getting the details of the deleted BOM entries.
2012 Feb 29 12:55 PM
Hi,
Please check the tables:
STAS, STPO with LKENZ field.
Also, you can look at the FM's CSAP_MAT_BOM_MAINTAIN / CSAP_BOM_ITEM_MAINTAIN.
Thanks,
Manish
2012 Mar 01 11:27 AM
Hi Devrath....
when you used CS02 for BOM and delete any component from there and save it...
then this delete entry's record will be inserted in table CDPOS....
you can see the value as D - deleted, U - updated, I - inserted in the CHNGIND field of table CDPOS...
so when you see the value of CHNGIND as D then that component is deleted from your BOM and can get the value of
deleted components....
hope this will help you...
Nipul shah...
Edited by: Nipul.Shah on Mar 1, 2012 4:57 PM