You are on page 1of 2

SAP Note

 

  47732 - Material is still used in bill of material
Version   18     Validity: 11.02.2011 - active  

 
Language   English

Header Data
Released On 11.02.2011 02:46:51
Release Status Released for Customer
Component
LO-MD-BOM Bills of Material
Priority
Recommendations / Additional Info
Category
Help for error analysis

Symptom
1. Certain changes to the material master are not allowed because the material is used in bills
of material.
These changes include changing the base unit of measure, changing the material type or deleting the
material. When you archive the material data using Transaction SARA, a short dump occurs since
deleting a material is not allowed.
However, no usage is displayed when displaying the where-used list.
2. The BOM where-used-list terminates with runtime error TABLE_INVALID_INDEX

Other Terms
MM02, CS01, CS02, recursiveness, CS15, ISTASB, TABLE_INVALID_INDEX,
STASB_DATUM_SETZEN, SAPLCSIO, LOC_STASB, M3214, material types; M3305

Reason and Prerequisites
Under certain circumstances, entries in table STPO are not deleted although all assignments are
removed from table STAS.
This way, data is only taken into account in the recursiveness check and in certain checks within
material master record maintenance.
Furthermore, it is possible that a BOM item with a change number was created and deleted. This
component is only deleted logically, it remains physically available.
This data is also taken into account during the recursiveness check and the checks within material
master record maintenance.

Solution
The data must be deleted physically.
To do this, create one of the reports described below and specify the material number when you start
the report.
Note that report ZZITMTD2 possibly clears up historical changes to the bill of material, and
therefore possibly deletes a part of your BOM history.
The deleted data can indeed only be used for display purposes, but is necessary for a complete
history.
If you want to retain this data, use report ZZITMTD1.
Since this problem can occur for more than one material, there are also reports ZZITEMD1 and
ZZITEMD2 which check the complete table STPO.
Both reports generate a list of those data records that are selected for deletion.
However, they are only deleted if you set parameter UPDATE to 'X'.
Note that report ZZITEMD2 may also delete historical changes to the bill of material, and therefore
possibly a part of your bill of material history too.
The deleted data can indeed only be used for display purposes, but is necessary for a complete
history.
Use report ZZITEMD1 to keep this data.

Other Attributes
Transaction codes

CS01
CS02
CS15
MM02
SARA

STAS 454536   BI:Change altern. And Subsequent 30F   31I   40B   45B   46B   46C   470   500   600   602   603   604   605   Correction Instructions Correction Instructions Software Component Valid from Valid to Number SAP_APPL 30D 605 4188 References This document refers to: SAP Notes 946877   Z REPORTS for Bill of Materials. 900537   FAQ: Error messages when archiving materials 521841   Entries in STPO after deletion of alternative BOM 520825   Data inconsistency: STZU and STPO without MAST. 40530   BOM becomes recursive 60832   Bills of material: Update termination 63023   Document is still used in bill of material 68792   Collective note for low-level code / recursiveness 94570   BOM: Update termination with message 29100 215970   Bill of material: Delete dead items 107109   MM02.item w/ change no -> BOM item w/o STAS rec. CS02: Material in BOM delete physically 94570   BOM: Update termination with message 29100 68792   Collective note for low-level code / recursiveness 63023   Document is still used in bill of material 60832   Bills of material: Update termination 40530   BOM becomes recursive 19006   Deleting a variant BOM with history requirement This document is referenced by: SAP Notes (13) 521841   Entries in STPO after deletion of alternative BOM 520825   Data inconsistency: STZU and STPO without MAST. STAS 900537   FAQ: Error messages when archiving materials 454536   BI:Change altern. SAP_APPL 30D 31G 40A 45A 46A 46C 470 500 600 602 603 604 605 To Rel. STKO.Validity Software Component From Rel.item w/ change no -> BOM item w/o STAS rec. STKO. 215970   Bill of material: Delete dead items 148855   BOM group: deleting item 107109   MM02. CS02: Material in BOM delete physically 148855   BOM group: deleting item 19006   Deleting a variant BOM with history requirement .