Delete BOM
Hi all,
I need to delete a BOM so I can add it again afterwards.
In the 8.8 version I'm removing all the lines first and then the BOM afterwards. This method is working for me.
However in the 2007 version, I don't have the option to remove the BOM lines (oBom.Items.delete();).
How can delete a BOM in a 2007 version?
Kind regards,
Hans
Hi Hans,
You can delete either line or the entire BOM. Why not delete BOM directly?
Thanks,
Gordon
Similar Messages
-
Track Deleted BOM item in Process Order
Hi Guys,
I am facing one issue which is described as below.
when user is converting the Planned order into Process order at that time he has deleted 1 BOM item.
Now i he is saying that i have not deleted that item and after that he released and done the GI conf GR.
Now i want to track the change history but i am not able to find the changes done by him.
I have check so many blogs but i come to know that if he is deleting BOM item during creation we will not able to find.
Pls helpHi D R,
To the best of my knowledge at the time of creation if some component has been deleted, you can not track. Because up to that time table entry has not happened. After saving you can see the component.
If you have some existing process order which is without item deletion, you can compare and check. As well Check the BOM in CS03 and check the BOM inside process order. You can easily find out the component.
Hope this clarifies and at per your requirement.
Success.
Regards,
Krishnendu. -
Hi,
My client want to delete around 400 BOMs and Routing, there is mass delete Bom and routing?
Can anyone tell me the deatiled steps on how to delete Bom and routing?
Regards,
SankaranHi,
The below link may be helpful..
http://help.sap.com/saphelp_erp60_sp/helpdata/en/8d/3e4b8a462a11d189000000e8323d3a/content.htm
Regards,
Siva -
FM to get deleted bom component
Hi all,
Is there any function module available to get the deleted BOM component.
From The "CDPos" table, will get the fields client,Bom Type,BOM number,Node position and counter(Corresponding technical fieldnames for the above said fields are mandt,stlty,stlnr,stlkn,stpoz).
Want to pass the above got parameters to the FM to get the deleted BOM component record.
Is there any Function module to do that.Or anything similar.
Thanks
KohHi,
Try using FM's CSAP_MAT_BOM_MAINTAIN / CSAP_BOM_ITEM_MAINTAIN.
Thanks and Regards,
P.Bharadwaj -
CSAP_MAT_BOM_MAINTAIN does not delete BOM
Hi Friends,
FM CSAP_MAT_BOM_MAINTAIN does not delete BOM when we use DELETE_IND = X
in STKO_API01 in import parameters of this FM. Do you have any idea ?
Regards,
GauravHi,
you should use instead CSAP_MAT_BOM_DELETE.
Regards,
Andrea -
Remove deleted BOM's from the report
Hi Gurus,
I have created a report for to display all the BOM items. the problem is it is displaying the deleated BOM's also. How can i identify these deleted items and remove it from not displaying it in my report. please give me some idea. I am using the tables mast,mara,makt,stas,stop,stko etc.,
regards
SyamaAre you asking about deleted BOM components for a FERT ? or deleted FERTS?
for finding only the active components for a FERT finished product, while selecting the items from STKO use the deletion indicator <> 'X' .
For selecting only valid FERT materials you have to check the material status in MARC / MARA
Mathews -
OK to delete boms for uninstalled printer drivers in /Library/Receipts?
I've trashed a bunch of unnecessary printer drivers from /Library/Printers. Can I trash their related Receipts in /Library/Receipts/boms? Together they are using quite a few MBs. They all start with com.apple.
Another quick question: A 3rd party app called DockDoctor installed a number of Receipts in the same location at boms. I've uninstalled the app, but would like to know if it's OK to trash their Receipts located there. If I do, could that cause some sort of conflict (permissions?) with the a.receiptdb (inside the db folder) which I noticed was changed at the time I installed the app? ThanksYou can delete items from the receipts folder if you really really want to, but I wouldn't recommend it.
- It shouldn't cause problems if the item is definitely removed.
- It could cause problems if the item isn't removed.
In any case, for most people the risk outweighs the benefit. If you're really short on hard drive space, I'd recommend other strategies. It's also generally a good idea to stay out of the /Library folder. -
hello,,,
I want to ask can i delete my bom items through DI API.
Will the changes of addings and deleting of items through DI API(coding n sdk)be reflected in our SBO.Dim objBOM As SAPbobsCOM.ProductTrees
Dim intCnt As Integer
Dim strCode As String
Dim objItem As SAPbobsCOM.Items
Dim objRS As SAPbobsCOM.Recordset
Dim boolFlag As Boolean
objItem = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
objRS = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
objRS.DoQuery("Select Code from OITM ")
If (objRS.RecordCount > 0) Then
For intI = 0 To objRS.RecordCount - 1
strCode = objRS.Fields.Item(0).Value
boolFlag = objItem.GetByKey(strCode)
If boolFlag = True Then
lngStatus = objBOM.Remove()
End If
objRS.MoveNext()
Next
End If
Note - This code will delete all BOM's.Change the as per u r requirement. -
Retrieving deleted BOM explosion Number
HI Folks,
I have deleted one bom explosion number.Now i wan to retrieve it back as system is not allowing to create same Bom explosion number and showing below error
"BOM explosion number s4370030 has been flagged for deletion".Appreciate early replies.
Regards,
SBRHi Sbr,
1. I dont think that it is possible to retrive the BOM explosion number that has been deleted.
2. It is alwyas recommended to change the status as inactive if you dont want to use it.
Reg
Dsk -
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 guysHi 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 -
Delete just the component of BOM
Hello Experts
Here is the requirement. I want to delete BOM component and not the entire BOM.
Is there any FM which can be used to delete component by giving posnr, component number, etc......The BOM maintain with FLDELETE = X is not working for deleting the component. I guess, it is used only for flagging for deletion from a specific date (Valid_FROM) rather than deleting entirely.Any help with example source code is really appreciated.
ThanksHi, The example is as follows:
*Fill CSIN
wgt_csin-aennr = rmmg1-aennr.
wgt_csin-matnr = mara-matnr.
wgt_csin-stlan = '1'.
wgt_csin-stlty = 'M'. "Material BOM
wgt_csin-werks = rc29n-werks.
wgt_csin-stlnr = rc29n-stlnr.
wgt_csin-trtyp = 'B'. "Update
*Fill STKOB
Read data for the existing BOM from table STKO and pass it to wgt_stkob.
Then also pass
wgt_stkob-vbkz = 'U'.
*Fill STPOB.
Read data from table STPO for the current BOM. Pass it to STPOB and pass VBKZ field as 'D'.
Then call the FM.
CALL FUNCTION 'CSAI_BOM_MAINTAIN'
EXPORTING
FL_BOM_CREATE = ' '
FL_NEW_ITEM = ' '
FL_COMPLETE = ' '
ecsin = wgt_csin
estkob = wgt_stkob
estzub = wgt_astzub
FL_NO_CHANGE_DOC = ' '
fl_commit_and_wait = 'X'
fl_no_commit_work = ' '
fl_ale = ' '
FL_DEFAULT_VALUES = 'X'
FL_NEW_ROMEN = 'X'
FL_RECURSIVE = ' '
FL_IMPLICIT_SUBITEM_DELETION =
IMPORTING
fl_warning = gv_fl_warning
ASTKOB =
ASTZUB = wgt_astzub
TABLES
t_stpob = gt_stpob
et_stpob = gt_stpob
T_STPUB =
T_LTX_ITM =
T_LTX_BOM =
EXCEPTIONS
error = 1
OTHERS = 2.
IF sy-subrc <> 0.
rollback work.
endif.
Hope it will help u.
Please reward points for useful answer
Regards,
Himanshu. -
Mass Delete of Alternative BOM
Hi,
Good day.
I would just like to verify if there is a transaction code that we could use in order to mass delete the alterantive BOMs of materials.
Thank you in advance.
JMTafallaHi Jasmin,
First of all,
in Tcode CS28 give variant name and then click on Maintain and then go to next screen.
In archive variant You need to specify following things by selecting appropriate button :
1.Control Parameters
2.Selection Type
3.BOM Categories for Archiving ( Material BOM, Equipment BOM etc)
4.Additional Restrictions to the Archived BOMs
Then you need to save above settings for variant and then excute the same. So you will be able Archive the BOM as per your requirement ( With / Without Deleting BOMs).
Pls. revert if any doubt and reward if useful.
Regards,
Tejas Pujara -
While processing an ECO, all lines of a material BOM in a particular plant were deleted. Now there doesn't seem to be anyway to get them back!
If I try to modify it in CS02, it tells me "No items are valid on xx/xx/xxxx." It doesn't matter if I use today's day or an earlier date, it won't allow getting into the BOM. The header apparently still exists or the error would be different.
I found old postings on another board that said a deleted BOM couldn't be reinstated. Is that true? I would think that deleting the BOM lines wouldn't be a terminal situation. My best thought at this point is to try creating it as an alternative BOM, but that hardly seems like the best solution...
Any help is appreciated!
SAP ERP 6.0Thanks, Rupesh.
I'll be honest, I don't fully understand the first part of your response, but it did end up helping me. I searched the board for the 29064 message and found the answer. http://scn.sap.com/thread/3451508
And now I feel silly. All I had to do was hit Enter after seeing the message.
I should have known. That's not the first time I've been tripped up by thinking that an error message means I can't go any further.
But I appreciate the help!
Jim -
For a particular material certain calulations have been which require BOM, but no BOM was found in that year. Is it possible to delete a BOM and its records completely, so that we cannot trace whether the material had a BOM or not?
Hi Sampada,
You can delete BOM in following three ways,
1. You can delete BOM by creating change number with the date from which you want to delete BOM, in this case history will remain in the system.
2. You can delete BOM by activating deletion indicator, BOM will get deleted in next archiving run. In this case you can use that BOM with deletion flag till archiving run.
3. You can delete BOM directly from the transaction code CS02----Material BOM (Menu bar) -
Delete.
In this case once you delete BOM there willl not be any history of this BOM.
If you have any querry please let me know.
Regards. -
Hello all,
I have an issue with BOM deletion.User has used alt.BOM 2 in a process order,with a production version of 0002.Next day he deleted the alt.BOM 2 and assigned Alt.BOM 1 to production version 0002.Now when i check the process order in master data tab,the BOM is given as alt.BOM 2.But it is not in the system .I tried to check through change number and tables,but could nt get it.
I know if the BOM is deleted with deletion indicator we can archieve that.I think in my case user deleted the same directly from header .
Is there any possibility i can view this deleted BOM 2 if the same has deleted without a deletion indictor?Any tables,transactions,programms available?
Thanks in advance
Reagrds
GeorgeHi George.
Since the 2nd alternative Bom has been deleted Directly from Header at Cs01, It is also got deleted in Bom table,.
So u cannot get details of deleted one.
Regards
Pradeep
Maybe you are looking for
-
Web reporting - variable selection should be display as key and description
hi experts, Can anybody tell me the solution for my issue. My isssue is , in the web reporting, i have variable company code, i am selecting the company code thru search help. the values for company code is displaying with key. the new requirement s
-
ICloud videos not showing on iPad
On my iPad, I can't see all of the TV shows in my cloud (app:Videos). It looks like I can only see the ones that were downloaded on a devise, not the ones downloaded via iTunes on my PC. I've checked the iPad's settings under iTunes & App Store for S
-
External hard drive + time capsule
I recently purchased an iMac and connected a LaCie ext. hard drive. Time Machine kicked in and started using this as a backup location. Since then I purchased Time Capsule for backups. The Lacie hard drive is still sitting on my desktop labelled Time
-
Problem displaying Arabic characters in PDF using Java APIs
We are experiencing a problem when attempting to display Arabic characters within a PDF document using the Java APIs. The relevant Java code is as follows: RTFProcessor processor = new RTFProcessor("example.rtf" ); processor.setOutput( “example.xsl”
-
HOW TO DISPLAY PICTURE IMAGE ON FORM
I am a new learning database developer/programmer. I am proud to use Oracle Application Express 11.2. I have succeeded creating a table, a form and report on the table. I have used Blob as data-type for the Photo column. The browse link locates the p