sapnote_0000215970

3
19.09.2013 Page 1 of 3 SAP Note 215970 - Bill of material: Delete dead items Note Language: English Version: 15 Validity: Valid Since 02.10.2001 Summary Symptom Certain changes to the material master are not allowed because the material is still used in bills of material.These changes are, for example, changing the base unit of measure, changing the material type or deleting the material. Other terms MMAM; Change material type SARA; Material reorganization; Archiving; MMREO050; WSREO050; M3214 Reason and Prerequisites The problem can be caused by BOM items which are hardly ever effective.So-called 'Dead items' result if you create and delete an item or a change status with the same change number.Here, the assignment of the item for a bill of material (alternative) is only deleted logically, however physically it still exists on the database. Solution Reports for selection and (optional) deletion of so-called 'Dead items': 1. ZZITMTC4 - selection report without update option Report ZZITMTC4 lists all 'Dead items' which are included in BOM tables STPO and STAS independent of the material number.Furthermore, the report also selects data inconsistencies at item level, in other words, materials for which there are entries in table STPO but not in table STAS. 2. ZZITMTD4 - selection report with update option Report ZZITMTD4 lists and deletes (if update = X) all 'Dead items' in BOM tables STPO and STAS independent of material numbers.Furthermore, the report also selects and deletes (if update = X) data inconsistencies at item level, in other words, materials for which there are entries in table STPO but not in table STAS. 3. ZZITMTD5 - selection report per each material with update option Report ZZITMTD5 lists and deletes (if update = X) all 'Dead items' for the material number entered in the bills of material.Furthermore, the report also selects and deletes (if update = X) data inconsistencies at item level, in other words, materials for which there are entries in table STPO but not in table STAS. 4. ZZITMTDOC - selection report with document entry and update option Report ZZITMTDOC lists and deletes (if update = X) all 'Dead items' for the selected BOM items. Furthermore, the report also selects and deletes (if update = X) data inconsistencies at item level, in other words, entries in table STPO for which there are no corresponding entries in table STAS. The selection can be restricted by entering the following parameters: Document type, document number, document version, document part.

description

SAP NOTE

Transcript of sapnote_0000215970

Page 1: sapnote_0000215970

19.09.2013 Page 1 of 3

SAP Note 215970 - Bill of material: Delete dead items

Note Language: English Version: 15 Validity: Valid Since 02.10.2001

Summary

SymptomCertain changes to the material master are not allowed because the materialis still used in bills of material.These changes are, for example, changingthe base unit of measure, changing the material type or deleting thematerial.

Other termsMMAM; Change material typeSARA; Material reorganization; Archiving; MMREO050; WSREO050;M3214

Reason and PrerequisitesThe problem can be caused by BOM items which are hardly evereffective.So-called 'Dead items' result if you create and delete an item ora change status with the same change number.Here, the assignment of theitem for a bill of material (alternative) is only deleted logically,however physically it still exists on the database.

SolutionReports for selection and (optional) deletion of so-called 'Dead items':

1. ZZITMTC4 - selection report without update optionReport ZZITMTC4 lists all 'Dead items' which are included in BOMtables STPO and STAS independent of the material number.Furthermore,the report also selects data inconsistencies at item level, in otherwords, materials for which there are entries in table STPO but not intable STAS.

2. ZZITMTD4 - selection report with update optionReport ZZITMTD4 lists and deletes (if update = X) all 'Dead items' inBOM tables STPO and STAS independent of material numbers.Furthermore,the report also selects and deletes (if update = X) datainconsistencies at item level, in other words, materials for whichthere are entries in table STPO but not in table STAS.

3. ZZITMTD5 - selection report per each material with update optionReport ZZITMTD5 lists and deletes (if update = X) all 'Dead items' forthe material number entered in the bills of material.Furthermore, thereport also selects and deletes (if update = X) data inconsistenciesat item level, in other words, materials for which there are entriesin table STPO but not in table STAS.

4. ZZITMTDOC - selection report with document entry and update optionReport ZZITMTDOC lists and deletes (if update = X) all 'Dead items'for the selected BOM items. Furthermore, the report also selects anddeletes (if update = X) data inconsistencies at item level, in otherwords, entries in table STPO for which there are no correspondingentries in table STAS.The selection can be restricted by entering the following parameters:Document type, document number, document version, document part.

Page 2: sapnote_0000215970

19.09.2013 Page 2 of 3

SAP Note 215970 - Bill of material: Delete dead items

If the selection is not restricted, the report analyzes all the BOMitems in the same way as report ZZITMTD4.

Caution:Reports ZZITMTD4, ZZITMTD5 and ZZITMTDOC delete the BOM history inUPDATE mode.

Key for the output list of the reports:WRITE: / 'STPO:', STPO-STLTY, - BOM category, STPO-STLNR, - BOM number STPO-STLKN, - BOM node STPO-STPOZ, - Counter STPO-POSTP, - Item category STPO-POSNR, - Item number STPO-IDNRK, - BOM item material number STPO-DOKAR, - Document type STPO-DOKNR, - Document number STPO-DOKVR, - Document version STPO-DOKTL. - Document part

WRITE: / 'STAS:', STAS-STLTY, - BOM category STAS-STLNR, - BOM number STAS-ATLAL, - alternative BOM STAS-STLKN, - BOM node STAS-STASZ, - Counter STAS-AENNR, - Change number STAS-DATUV, - Valid-from date STAS-LKENZ. - Deletion indicator

Header Data

Release Status: Released for CustomerReleased on: 17.04.2012 13:05:48Master Language: GermanPriority: Recommendations/additional infoCategory: Help for error analysisPrimary Component: LO-MD-BOM Bills of Material

Secondary Components:LO-MD-MM Material Master

Valid Releases

Software Component Release FromRelease

ToRelease

andSubsequent

SAP_APPL 30 300 31I

SAP_APPL 40 40A 40B

SAP_APPL 45 45A 45B

SAP_APPL 46 46A 46B

SAP_APPL 46C 46C 46C

SAP_APPL 470 470 470

Page 3: sapnote_0000215970

19.09.2013 Page 3 of 3

SAP Note 215970 - Bill of material: Delete dead items

Software Component Release FromRelease

ToRelease

andSubsequent

SAP_APPL 500 500 500

SAP_APPL 600 600 600

SAP_APPL 602 602 602

SAP_APPL 603 603 603

SAP_APPL 604 604 604

SAP_APPL 605 605 605

Related Notes

Number Short Text

502267 Modif. CS02: Undoing parameter-effective changes

422485 Standard BOM items are not deleted

212174 MM_MATNR: Where-used list for BOM usage

152783 Item overview:'Change number to' not displayed

107109 MM02, CS02: Material in BOM delete physically

47732 Material is still used in bill of material

Attributes

Attribute Value

Transaction codes CLEAR

Transaction codes MMAM

Transaction codes SARA

Correction Instructions

CorrectionInstructions

Validfrom

Validto

SoftwareComponent

Type*)

ReferenceCorrection

LastChanged

159123 30D 606 SAP_APPL C 17.04.201208:03:08

159125 30D 606 SAP_APPL C 17.04.201208:03:49

159169 30D 606 SAP_APPL C 17.04.201208:04:27

313363 30D 606 SAP_APPL C 17.04.201208:05:17

*) C Correction, B Preprocessing, A Postprocessing, M Undefined Work