Deletion of the BOMs
Hi everyone !
I am Ranjan, a toddler in this SAP World. I have uploaded so around 3000 Bill Of Materials using a program and now I need to delete them as our client wants so many changes in it. And I am searching for a program or any other simple method to delete those BOMs. Could anyone please help me. I want to delete all those BOMs <<urgency removed by moderator>>.
I will be waiting for your precious reply.
Edited by: kishan P on Sep 13, 2010 5:30 PM
You can also check tcode CEWB other than cs20.
I donot have any idea on CEWB.
You can check BOM Mass Delete for further help.
Similar Messages
-
Hello Everyone,
In our company we have 1000's of material boms e.g. VR935 material bom, if a new grade of material is created but has the same bom we create a new one by create with reference e.g. VR935/1 copy from VR935.
My question is this, can you go into VR935 bom and just change the material e.g. VR935 to VR935/1 the box is greyed out.
I'm sorry if this sounds stupid but my manager is convinced we can do this but I'm sure we can't, because the boms related to whatever material it was originally created for.
Please help me
Regards
FrankieNot possible, you can't change the header material in BOM,
If you want you can copy the VR935/1 from VR935, and then if you don't want VR935 BOM , then delete the BOM of VR935 by choose delete in the BOM( cs02) -
Hi,
I have created a BOM for SD (one material with some component)
Do I have a choice to delete one component for one day in the BOM (if this component is insufficient or too late GR) without change my BOM for the future days?
where can I do it in th eBOM or in the sale order.
ThanksDear,
I hope the situation is you have sales order and for that sales order you have a production order
Decide in which in production order you donot want to withdrew the component and delete that component in production order. When you confirm that component will not be issued.
If you donot want to delte in Production order, then during confirmation itself...goto goods movement screen and delete atht conmponent and save the confirmation.
pl conme back if required -
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. -
Is there any possibility to delete sales order bom if sales order is already deleted (archived) (need to set deletion indicator STKO-LOEKZ to X ).
If sales order exist in the system I use FMs:
CSAI_BOM_READ
CSAI_BOM_MAINTAIN
and it works nice.
Is there any FM , BAPIs to do this? (I don't want to set it using just modify db table)
Thanks in advance.Hi,
You can delete the slaes order BOM using T-code CS02.
Regards,
V. Suresh -
'Valid to' dates for both the Header & the components in the BOM report.
Hi Experts,
My Requirement:
Need to display the 'Valid to' dates for both the Header & the components in the BOM report.
Right now we are using the Functional modules 'GET_STKO' & 'GET_STPO' for the header
& the components respectively. The report gives the correct output for the all the BOM alternatives
which exist. But for the BOM alternatives which have been deleted(updated in STKO-LKENZ)
'Valid to' dates are displayed as'00/00/0000'.
(Note:ECM is used for BOMs)
Is there any Logical Database that I can fetch the 'Valid to' dates of both BOM Header & components
which are deleted?
Regards,
MaheshDear Mahesh,
In my understanding I dont think you cannot get the valid to date for BOM header,unless a ECN,(engineering change number) is
used to set the deletion flag.In otherwords none of the business sets for all these BOM's the valid to date(which means the
default valid to date 31.12.9999 is taken).
Check with this FM, CS_BOM_EXPL_MAT_V2 whether can you get the valid to date for the components(infact here also the
valid from date given in the input screen impacts the report output).
Check and revert back.
Regards
Mangalraj.S -
HI ABAP Guru's,
How to Update the BOM Using Below function Modules.
CSAP_MAT_BOM_OPEN CSAP_BOM_ITEM_MAINTAIN CSAP_MAT_BOM_CLOSE.
My Requremnet is For any components contains Issued storage location's .. I need to delete that storage location.
But it is not updating see the below code.
Can you please give me the Proper Reason why it is not get updated .
Afetr Maintain BOM I have tried with COMMIT statemnet also but helpless.
call function 'CONVERSION_EXIT_PDATE_OUTPUT'
exporting
input = sy-datum
importing
output = date.
*Enquee Exceptions
call function 'CALO_INIT_API'
exceptions
log_object_not_found = 1
log_sub_object_not_found = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*BOM Open
call function 'CSAP_MAT_BOM_OPEN'
exporting
material = 'matnr'
plant = 'werks'
bom_usage = '1'
valid_from = date
importing
o_stko = gt_stko
fl_warning = fl_warning
tables
t_stpo = gt_stpo
exceptions
error = 1
others = 2.
loop at gt_stpo.
gt_stpo-issue_loc = ' '.
*change BOM Contents
call function 'CSAP_BOM_ITEM_MAINTAIN'
exporting
i_stpo = gt_stpo
importing
fl_warning = fl_warning
exceptions
error = 1
others = 2.
if sy-subrc <> 0.
commit work.
endloop.
*Close BOM
call function 'CSAP_MAT_BOM_CLOSE'
exporting
fl_commit_and_wait = ' X'
importing
fl_warning = fl_warning
exceptions
error = 1
others = 2.
Thanks in advance,
<<Thread unlocked, Urgency normalized>>
Edited by: kishan P on Jan 17, 2012 1:38 PM
Edited by: kishan P on Jan 17, 2012 5:47 PMCan you check the following code.
call function 'CALO_INIT_API'
exceptions
log_object_not_found = 1
log_sub_object_not_found = 2
other_error = 3
others = 4.
data v_datun type CSAP_MBOM-DATUV.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = SY-DATUM
IMPORTING
DATE_EXTERNAL = v_datun.
*- Eröffnen der Stückliste für Änderungen
call function 'CSAP_MAT_BOM_OPEN'
exporting
material = 'CG0012'
plant = '0002'
bom_usage = '1'
valid_from = v_datun
ALTERNATIVE = '03'
importing
o_stko = tstk2
fl_warning = flg_warning
tables
t_stpo = tstp2
exceptions
error = 1.
clear: tdep2_data,
tdep2_source,
tdep2_descr,
tdep2_order,
tdep2_doc.
refresh: tdep2_data,
tdep2_source,
tdep2_descr,
tdep2_order,
tdep2_doc.
data v_date type char10 .
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = SY-DATUM
IMPORTING
DATE_EXTERNAL = v_date
EXCEPTIONS
DATE_INTERNAL_IS_INVALID = 1
OTHERS = 2
loop at tstp2.
if tstp2-COMPONENT = '61065A'.
tstp2-FLDELETE = 'X'.
tstp2-CHANGED_BY = SY-UNAME.
modify tstp2.
endif.
clear tstp2.
endloop.
perform item_maintain.
call function 'CSAP_MAT_BOM_CLOSE'
importing
fl_warning = flg_warning
exceptions
error = 1.
*- Unterroutine
Form item_maintain.
call function 'CSAP_BOM_ITEM_MAINTAIN'
exporting
i_stpo = tstp2
importing
fl_warning = flg_warning
tables
t_dep_data =
t_dep_descr =
t_dep_order =
t_dep_source = tdep2_source
t_dep_doc =
exceptions
error = 1
others = 2.
if sy-subrc = 0.
endif.
endform. -
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 -
Effects of deleting a Production BOM?
Hi SAP Guru's,
Can anybody please tell me the effects of deleting a Production BOM? I want to create a new Production BOM in place of it.
Thanks in advance,
Ketandear ketan,
why do you want to delete the production BOM, it is not necessary to delete the BOM you can anytime define a new BOM and assign the materials to it.
Hope solved your querry.
Reward if useful
njoy
Ashish -
Hi,
We have created one BOM (alternative 1) with date (valid from10.01.2008) and 2 Months later we kept the same BOM and created (alternative 2) with date (valid from 10.03.2008). We will always (re)create the same BOM with new alternative every 2 Months.
Now we want to display the BOM (from the last valid from date) only when we give a date and not a alternative number (because in one year we will not remenber the alternative number.)
How can I customize the System so that it shows the right BOM through the date (valid from or the last valid from date). for exp. if I give 10.03.2008>Display only BOM(alternativ 2) and 17.03.2008>Display only BOM(alternativ 2) because it is the last valid from date
ThanksDear Dede,
Kindly read this and revert back what more you need.
1.When you create a BOM for a material (First Alternative) as on today using an ECN,then in the header of the BOM,the valid from
date will be 28.03.2008 & valid To Date will be 31.12.9999.
2.For its BOM components the valid from date will be 28.03.2008 & valid To Date will be 31.12.9999.
3.If create a Change that's valid from tomorrow(29.03.2008),and using this if i'm changing the First Alternative BOM's components say
i'm deleting one component and saving the datas.
4.If i go in display mode of the BOM removing the valid from & To date in the input screen,then for the deleted item or component,the
valid from date will be 28.03.2008 & valid to date will be 29.03.2008.But in the header of the BOm,there wont be any change,the valid
from date will be 28.03.2008 & valid to date will be 31.12.9999.
5.Now if I decide to delete the entire BOM(alternative 01) on 05.04.2008,then i create an ECN that's valid from 05.04.2008,and using
this,I go in Change mode and then from the top menu,BOm Material --->Delete,and save.
6.Now go in display mode of the BOM and check in the header of the BOM,there now you can see the valid from date will be
28.03.2008 & valid to date will be 05.04.2008.
So this valid to date of the BOM header will be changed,only if the entire BOM is deleted.
I hope the above explanation will clear all your doubts.
Reward points if satisfied with the answer and close this thread.
Regards
Mangalraj.S -
Deleted Items from BOM to be re insert
Dear all
System is not allowing to insert the BOM items for earlier deleted items from BOM in CS02. Our requirement is system should consider the reentry for deleted items.
And system should not allow for duplicate item insertion also. Pl suggest me to resolve this.
Regards
sspDear Sampathi,
The system will allow you to enter the components (of allowed material types for assigning as a
component) at any point.IT would have been present already and deleted later on.
What do you mean by Duplication of items insertion?Check before entering or deleting or making any
changes in the BOM.
come back with your queries.
Regards
Mangalraj.S -
Good morning,
We have a BoM that had 3 changes done to it using engineering change records.
I have deleted the current BoM but if I check CS03 with the previous BoM's are still being displayed when entering in the ECR number.
How can I delete these old ones as I am trying to chase the Base Unit of Measure.
Thanks in advance.Hi,
Using ECM if you change the BOM, all the changes will be stored in the system and you can't be able to delete.
The purpose of using the ECM is to track all the changes. If system allows to delete then there will not be any track of the changes and no use of ECM.
Regards,
V. Suresh -
I was trying to do the latest update on my desktop for my Itunes. I got MSVCR80.dll is missing. I saw a post about deleting all the apple itunes programs, restarting and reinstalling. I tried that. As it was installing a message came up about "Service'Apple Mobile Device' failed to start. Verify that you have sufficient privileges to start systems services. I did a retry, got the same message, then hit ignore. It went on. Then a message popped up saying "Itunes not installed correctly" Error 7 (Windows error 126)
Now my Itunes program will not open at all. What gives? This is very frustrating and I am not very computer literate to begin with.Hi Iss9243,
Welcome to the Support Communities!
You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue. Hope it helps ....
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Cheers,
- Judy -
Material in two plants, I run MRP with the BOM is not found in prod plant
Hi all,
I have plant 1020 material 12345
Plant 1020 is the production plant for material 12345
The material 12345 exists in plant 1070.
The material 12345 in plant 1070 has no MRP.
Plant 1020 material 12345 config in MM03
MRP1 --> MRP Type = PD
MRP1 --> MRP Controller = G03
MRP3 --> Planning material = PLAN_1020_GR03
MRP3 --> Planning plant = 1020
Plant 1070 material 12345 config in MM03
MRP1 --> MRP Type = P3
MRP1 --> MRP Controller = 017
MRP3 --> Planning material = empty
MRP3 --> Planning plant = empty
The BOM in cs11 for plant 1020 material 12345
has 3 components
Comp#1
Comp#2
Comp#3
The Dependency is code
TABLE TB_1020_SUPERBOM (PP_nuance_interne = $ROOT.PP_nuance_interne,
PP_dim_billette_bom = $ROOT.PP_dim_billette_bom,
PP_CODE_LONG_BILL = $ROOT.PP_CODE_LONG_BILL,
pp_component_bom =$self.pp_component_bom).
The dependency is not found because it is looking for it in the plant 1070 and not the plant 1020.
When the MRP runs for a Delivery type stock transfer order I get
CONFIG_1020_BILLET <---- This is the BOM item component field in CS11 in the Basic data tab
Comp#2
Comp#3
instead of
Comp#1
Comp#2
Comp#3
When I run MRP for the same material, if there's no
"Delivery based on Stock transfert orders" the MRP associates the correct components
Hope this explains m'I situation.
Regards!
CurtisHi,
If you want a reply in one line, it would be SAP R/3 does not supoort this feature.
You will have to go for APO module.
There are few things which can be done in R/3 side, as in maintaining a scope for MRP run in OM0E, maintaining special procurement key etc etc, but all these will not do any check of stock in another plant & can only help in a very limited way if all any for your specific need.
But SAP R/3 provides a cross plant evaluation via MD48 to know the stock & demands at all plants, this can help only for evaluation purpose.
Hope it clarifies.
Regards,
Vivek -
Hi, I have the iphone 4 and I manually deleted all the voice memos on my iphone but they still appear on my iphone when I open Itunes on my computer and they still take up space. I am soon running out of space. Any ideas to permanantly get rid of some of the voice memos?
Am I the only one that really dislike the fact I cannot customize my iphone and cannot delete whatever files I want?
The only options i seem to have is to delete all my files WITHOUT a system restor because I tried doing a system restore and it puts back all my old files on my iphones.
I'm pretty desperate and any tips would help me a lotIf I understand you correctly, you purchased two albums directly from your iPhone and have successfully transferred the purchases to your iTunes library, but now you want to remove these two albums from your iPhone but having trouble, correct?
If so, you can manually delete the albums (song-by-song) by sliding your finger across each song's name, from left to right, then select the Delete button.
Or, while your iPhone is connected to iTunes click on the Music tab that you see in iTunes (where you specify what items to sync to your iPhone). At the bottom of that window (below Playlists, Genre, etc.) you'll see songs that are "manually" added to your iPhone, just un-check those and re-sync.
Maybe you are looking for
-
i synced my iphone yesterday now it looks like my ipod!!! please need help fixing this and getting all my iphone data(messages and contacts) BACK. How do i do this?
-
How do you create superscripts subscripts in LabVIEW?
I want to create superscripts subscripts in LabVIEW, but those are not options in the Applications Font Dialog Box. How do I do this?
-
Weblogic _WLS_ADMIN000000.DAT caching issue
Hi all, I have a strange situation here. My intention is to point my application to a new database. My application is deployed using an .ear file in weblogic 11g and reads database connection properties from a properties file placed in the classpath
-
IPod HD Lag times, this is crazy
I've recently upgraded from a 4GB Silver iPod mini, a HD based iPod and I've never had a problem with the lag times between choosing songs or skipping back/forward through songs. But over the past 2 weeks of owning my iPod 5G 30GB I've become more an
-
Given an entry in /dev/rmt, how do you programmatically get its LUN ID and target ID? It shows up in dmesg's output but I'm wondering if there's a call to uSCSI to get in. Under Linux, you can use ioctl(fd, SG_GET_SCSI_ID, &info) to get it. Thanks, Q