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: 

How to find a deleted item from material BOM

Former Member
0 Kudos

Hi All,

I have a query on finding a deleted item from material BOM.

When an item is added/changed from material BOM, we can track that particular item by using CDPOS-TABKEY field, which will hold a value equals to five key fields (MANDT, STLTY, STLNR, STLKN, STPOZ) values of STPO table.

Example of changed item, CDPOS entry has TABKEY value as 020M000127370000000300000006

and the corresponding stpo table entry is

MANDT - 020

STLTY - M

STLNR - 00012737

STLKN - 00000003

STPOZ - 00000006

By using the above key fields i can get the changed material which will be stored in field STPO-IDNRK.

Similarly when an item is deleted from material BOM, is there any way to get this deleted item? Since that entry will be deleted from STPO and the CDPOS-TABKEY will still hold the key field value.

Example of deleted item, CDPOS entry has TABKEY value as 020M000127370000000300000006 and no entry found in STPO.

i am not able to get the deleted material because that entry is deleted from STPO. is there any other way to get this?

Thanks in advance,

Srilakshmi.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi srilakshmi,

you can not get the material name as it is getting deleted from STPO.

In that case you can take help of your funtional consultant, as every material is given a code based on its type and many other chateristic so atleast you can get what kind of material it was.

Hope this solution helps you.

Regards,

Suvendu

3 REPLIES 3

Former Member
0 Kudos

Checkn this link

Former Member
0 Kudos

Hi srilakshmi,

you can not get the material name as it is getting deleted from STPO.

In that case you can take help of your funtional consultant, as every material is given a code based on its type and many other chateristic so atleast you can get what kind of material it was.

Hope this solution helps you.

Regards,

Suvendu

Former Member
0 Kudos

Dear Friend,

This u can check using CS02, give all details -> envioronment>change documents, it goes to CS80-> give date from when u want to see the change->document overview-> click on document, it will show u all changes like previous value and changed valve

sree