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 delete a BOM?

Former Member
0 Kudos

Hi,

Could anyone please tell me how to delete a BOM and the transaction which we use please?.I need to drop or delete a complete BOM

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member

I don't think BOMs can be completely deleted. You can change the status of the BOM to Historical or Inactive or mark all the items for Deletion. No matter what they will be there in the tables, but they are just marked for deletion like the material master deletion. To completely delete a BOM, you have first make it one of the above(there is also delimiting the validity of the BOM), and then may be archive it. I don't know the archive object for it, but check in tcode SARA.

13 REPLIES 13

Former Member

I don't think BOMs can be completely deleted. You can change the status of the BOM to Historical or Inactive or mark all the items for Deletion. No matter what they will be there in the tables, but they are just marked for deletion like the material master deletion. To completely delete a BOM, you have first make it one of the above(there is also delimiting the validity of the BOM), and then may be archive it. I don't know the archive object for it, but check in tcode SARA.

0 Kudos

Hi,

I think you can delete Material BOMs in change mode one at a time.

Pl take a look at the following <a href="http://help.sap.com/saphelp_47x200/helpdata/en/ea/e9bc124c7211d189520000e829fbbd/frameset.htm">sap help</a>

Regards,

Suresh Datti

0 Kudos

Hi Srinivas,

Thanks alot for your quick response.what i need to do is i need to delete the complete BOM where we are getting the new BOM for the same mat from different sys and it ll get posted.is there of any help with the trx cs03 in deletion???if so how to do that Srinivas?

Thank u.

0 Kudos

Suresh has posted the link to the help on this subject. Please check if that works for you. If you ECM(Engineering Change Management) active, then I don't know if you can delete it completely.

Why do you want to delete the BOM? What is changing in the BOM? Can't you just update the BOM with the new information if it is for the same material, plant, usage combination?

Srinivas

0 Kudos

Hi,

I read the link posted by suresh,it says that we can delete with or without history but wanted to know what transaction we use for that and how do we that.coz we are deleting a mat BOM and posting the new one with somemore componants involved init as it is urgently needed.though it is asking me the change number to delete that which i dont know or dont know the way which am i doing is right or not.if u can help me with transaction and steps that would be great..Thanks alot to both of u

0 Kudos

It says change BOM mode, so it is CS02.

0 Kudos

hi is there anyway that i can get u r yahoo id or anyother whr i can ve a direct chat that can be hlpful to me plz,

Thx

0 Kudos

In my system, there is no change manangement turned on for BOMs, so deleting BOMs completely is not a problem. You go to CS02, enter the material, plant, usage and hit enter. Now from the menu, choose delete. That's it.

Regards,

Rich Heilman

0 Kudos

Hi Suresh,

m in need of help pls read my below query .. & if possible pls mail the sample code. your help is greatly appreciated ...

-


Create a program that removes BOM allocations to plants for a specified range of BOM materials and plants.

The selection screen should contain the fields:

Material number (from - to and multiple selection) - entry should be required/mandatory

Plant (from - to and multiple selection)

BOM usage

Alternative BOM

The program should utilze the entered information.

Then remove the BOM allocations specified in the selection screen.

After the program run the should be a list displayed that contains the following information:

All errors that have occured while deleting allocations

All BOM - plant - BOM usage - Alternative BOM combinations where the allocation has been deleted.

0 Kudos

Hi Rich,

Thanks a lot for your information. It is the easiest way to delete a BOM when we have different alternatives.

Regards,

Jeewana

0 Kudos

In transaction code CS02, put the required information i.e. Material, Plant, Usage and Alt BOM and opt the "Delete" option from "Material BOM" drop down menu.

Go to transaction code SARA and enter the "Archiving Object" as "CS_BOM" and click on WRITE button.

Create or edit an existing variant where

a) Archive Material BOMs - checked ON

b) Bill of material = BOM number from database table MAST/STKO

c) Plant = as per requirement

d) BOM Usage = as per requirement

e) Alt. BOM = as per requirement

f) Selection by del. indicator - selected

g) Production mode - selected

h) Delete with Test Variant - checked ON

i) Detail log = Complete

j) Log output = List

Schedule job as per requirement through button "Start Date"

Setup spool parameters as per requirement

Execute transaction code SARA and a Background job will get scheduled accordingly and will perform the required task.

By clicking on "Job" button the details of the job can be verified.

Thanks and regards

Debabrata Sen Sarma

0 Kudos

if you have an equipment BOM, enter to TCODE IB02, put the number of the equipment to enter to the BOM. Once into the BOM go to the menu Equipment BOM -- > Delete delete-bom.png.

If you have a Functional Location BOM use the TCODE IB12 and follow the same Steps.

0 Kudos

I saw your posted answer. Please raise your question again as a new question and follow our rules of engagement: https://community.sap.com/resources/rules-of-engagement. The author of the original question is no longer active in the community and won't receive your query. Feel free to take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html. With these tips you'll be able to prepare questions that draw responses from our members.

Thanks!