BOM lines deleted
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.0
Thanks, 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
Similar Messages
-
A problem occurs when i use function to update a bom line
this is my first time to ask for help here. i am from china. hope to find a solution for my problem here.
here is my problem:
what i need is to update a bomline. this is my way: delete the old bomline and add a new one. the update operation is successful.
but it leads to another problem: some data in CA03 lost. for example: operation, sequence, backflushing, create on, create by, valid from.
so i think the data loss happens when i delete a bomline.
here is my solution:
before deleting a bom line. get the lost data and save it in memory.
after add a new bom line. update the data in CA03.
how about it? any better ideas?
if it is a good way , i do not know where to get the data i want.which table or which funtion? and use which BAPI to update the data in ca03
i realy appreciate it if you provide any suggestionThis is common to people using Windows. You need to disable all firewall, antivirus, and antimalware programs.
-
How to assign batch to BOM line item when creating PO
Hi Experts,
Programmatically i am creating PO using BAPI_PO_CREATE, for the line item material of PO their is BOM, i am able to get the BOM for each material, but struggling to find where can i assign Batch to the BOM line item material.
Thanks in advance
Thanks,
NiteshEven though the ORDCHG message contains all three line items, it should also contain qualifiers that tell you Supplier whether the line is new, changed, deleted etc. If your Supplier has SAP, it should just work.
Cheers, Paul. -
BOM header qty change if BOM line item qty delivered more in previous deliv
Dear team
BOM is as follows:
Finished product
Material1 100 Units
Material2 100 Units
Lets say i create a sales order with 2 units of finished products
then my sales order will look like:
Finished Product 2 units
Material1 100 Units
Material2 100 Units
Now i am trying to create a delivery for 1 unit of finished product
Finished Product 1 units
Material1 150 Units
Material2 100 Units
Here i change the Material1 quantity from 100 to 150 Units and create delivery.
Now i am creating a second delivery
In the delivery order i am getting as:
Finished Product 0.5 Units
Material1 50 Units
materail2 50 Units
But i want
Finished Product 1 units (as my finished product open quantity is 1M3)
Material1 50 Units
material2 100 units
Can this be achieved. Because of more despatch of BOM line items my header BOM item should not change. It should be same as my open quantity in delivery.Hi,
It depends upon how u are maintaining the BOM. The components calculated is based on the BOM base qty.
Regards,
V. Suresh -
How to load long text in BOM line item
Hello Experts
How do i load Long text in BOM Line item using LSMW
Thanks
S
Edited by: Alvaro Tejada Galindo on Jan 31, 2008 5:11 PMUse Read_text function module.
you need to pass
ID
LANGUAGE
NAME
OBJECT to the function moduel
To find the Text id name language and object these are the following steps. Example: FB02
1. goto FB02, Enter Document number
2. from menuselect Goto>Header-->header Text..... New window will be displayed
3. select the Header Text. here you can see all the text.
4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper.
5. in the Next window you will find Text Name. Text ID, Language. etc...
Regards,
Lalit Mohan Gupta. -
Function Module to Change / Update BOM Line Items
Hi,
I need a Function Module to Change / Update BOM Line Items.
Please help.
Thanks.Try this FM - CSAP_MAT_BOM_MAINTAIN
-
PLD Production Order need to add BOM lines
I have a need to add the comments from the BOM lines table (ITT1) to the production order.
As soon as I add the field (copied the definition from the BOM report) the lines go wild. I go from 5 lines to 35 lines with the production components printing multiple times.
Any body have a way to link the BOM lines to the production order lines so I get the right lines printing?I would suggest you create a user field at the Production Order Rows and use the following formatted search to copy the comments from the BOM definitions.
This user field can be easily added to the PLD and will help avoid duplicating rows which you are currently facing.
SELECT T0.Comment FROM [dbo\].[ITT1\] T0 WHERE T0.Code = $\[$37.4.0] AND T0.Father = $\[$6.0.0]
Suda -
PRICE LIST LINE을 DELETE 하는 SAMPLE API
제품 : MFG_QP
작성날짜 : 2006-05-23
PRICE LIST LINE을 DELETE 하는 SAMPLE API
========================================
PURPOSE
Price List Lines을 delete 할 수 있는 API가 있는지 알아보고 그 사용방법
을 이해한다.
Explanation
아래 설명하는 script는 Price List Lines 만을 delete 하는 sample API
script 이므로 고객사의 business needs에 맞게 고객사에서 script를 수정하
여 사용하여야 한다.
Oracle은 QP_LIST_LINES table에 있는 created_by, creation_date 등을 이용
하여 관련된 records를 읽을 수 있는 cursor를 생성하영 사용할 것을 권장한
다.
QP_LIST_LINES table의 list_line_id를 읽어 delete를 위해
qpr_price_list_line_tbl에 전달한다.
참고로 각 1000이 반복될때 마다 commit 하는것을 권한다.
/*$Header: QPPLXMP3.sql 115.3 2001/11/19 18:15:32 pkm ship $*/
Sample script which deletes an existing Price List line and the product
information for the line (Product Information is stored in pricing
attributes table in product attribute columns).
This sample price list does not have any qualifiers or price breaks or
non product-information type of pricing attributes.
This script must be modified by the user such that the
qpr_pricing_attr_tbl(J).product_attr_value column is populated with a valid
inventory_item_id from the instance where this script is run. Also, other user variables are noted within arrows, <>.
Please read the Oracle Pricing User guide (Appendix A & B) to understand
the flexfields and seed data.
-- set environment variables
set serveroutput on size 1000000
set verify off
set feedback off
set echo off
set autoprint off
set arraysize 4
set pagesize 58
set term on
set underline =
set linesize 100
declare
gpr_return_status varchar2(1) := NULL;
gpr_msg_count number := 0;
gpr_msg_data varchar2(2000);
gpr_price_list_rec QP_PRICE_LIST_PUB.Price_List_Rec_Type;
gpr_price_list_val_rec QP_PRICE_LIST_PUB.Price_List_Val_Rec_Type;
gpr_price_list_line_tbl QP_PRICE_LIST_PUB.Price_List_Line_Tbl_Type;
gpr_price_list_line_val_tbl QP_PRICE_LIST_PUB.Price_List_Line_Val_Tbl_Type;
gpr_qualifiers_tbl QP_Qualifier_Rules_Pub.Qualifiers_Tbl_Type;
gpr_qualifiers_val_tbl QP_Qualifier_Rules_Pub.Qualifiers_Val_Tbl_Type;
gpr_pricing_attr_tbl QP_PRICE_LIST_PUB.Pricing_Attr_Tbl_Type;
gpr_pricing_attr_val_tbl QP_PRICE_LIST_PUB.Pricing_Attr_Val_Tbl_Type;
ppr_price_list_rec QP_PRICE_LIST_PUB.Price_List_Rec_Type;
ppr_price_list_val_rec QP_PRICE_LIST_PUB.Price_List_Val_Rec_Type;
ppr_price_list_line_tbl QP_PRICE_LIST_PUB.Price_List_Line_Tbl_Type;
ppr_price_list_line_val_tbl QP_PRICE_LIST_PUB.Price_List_Line_Val_Tbl_Type;
ppr_qualifiers_tbl QP_Qualifier_Rules_Pub.Qualifiers_Tbl_Type;
ppr_qualifiers_val_tbl QP_Qualifier_Rules_Pub.Qualifiers_Val_Tbl_Type;
ppr_pricing_attr_tbl QP_PRICE_LIST_PUB.Pricing_Attr_Tbl_Type;
ppr_pricing_attr_val_tbl QP_PRICE_LIST_PUB.Pricing_Attr_Val_Tbl_Type;
K number := 1;
j number := 1;
begin
oe_debug_pub.initialize;
oe_debug_pub.setdebuglevel(5);
Oe_Msg_Pub.initialize;
DBMS_OUTPUT.PUT_LINE('Debug File = ' || OE_DEBUG_PUB.G_DIR||'/'||
OE_DEBUG_PUB.G_FILE);
--dbms_output.put_line('after get price list ');
/* setup the list_header rec for update */
gpr_price_list_rec.list_header_id := <price_list_header_id>;
gpr_price_list_rec.name := <price_list_name>;
gpr_price_list_rec.list_type_code := 'PRL';
gpr_price_list_rec.description := '<price_list_description>;
gpr_price_list_rec.operation := QP_GLOBALS.G_OPR_UPDATE;
-- delete the price list line rec
gpr_price_list_line_tbl(K).list_header_id := <price_list_header_id>;
gpr_price_list_line_tbl(K).list_line_id := <price_list_line_id>;
gpr_price_list_line_tbl(K).list_line_type_code := 'PLL';
gpr_price_list_line_tbl(K).operation := QP_GLOBALS.G_OPR_DELETE;
--dbms_output.put_line('before process price list ');
QP_PRICE_LIST_PUB.Process_Price_List
( p_api_version_number => 1
, p_init_msg_list => FND_API.G_FALSE
, p_return_values => FND_API.G_FALSE
, p_commit => FND_API.G_FALSE
, x_return_status => gpr_return_status
, x_msg_count => gpr_msg_count
, x_msg_data => gpr_msg_data
, p_PRICE_LIST_rec => gpr_price_list_rec
, p_PRICE_LIST_LINE_tbl => gpr_price_list_line_tbl
, p_PRICING_ATTR_tbl => gpr_pricing_attr_tbl
, x_PRICE_LIST_rec => ppr_price_list_rec
, x_PRICE_LIST_val_rec => ppr_price_list_val_rec
, x_PRICE_LIST_LINE_tbl => ppr_price_list_line_tbl
, x_PRICE_LIST_LINE_val_tbl => ppr_price_list_line_val_tbl
, x_QUALIFIERS_tbl => ppr_qualifiers_tbl
, x_QUALIFIERS_val_tbl => ppr_qualifiers_val_tbl
, x_PRICING_ATTR_tbl => ppr_pricing_attr_tbl
, x_PRICING_ATTR_val_tbl => ppr_pricing_attr_val_tbl
IF ppr_price_list_line_tbl.count > 0 THEN
FOR k in 1 .. ppr_price_list_line_tbl.count LOOP
dbms_output.put_line('Record = '|| k ||
'Return Status = '|| ppr_price_list_line_tbl(k).
return_status);
END LOOP;
END IF;
IF gpr_return_status <> FND_API.G_RET_STS_SUCCESS THEN
RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
END IF;
dbms_output.put_line('after process price list ');
for k in 1 .. gpr_msg_count loop
gpr_msg_data := oe_msg_pub.get( p_msg_index => k,
p_encoded => 'F');
dbms_output.put_line('err msg ' || k ||' is: ' || gpr_msg_data);
null;
end loop;
EXCEPTION
WHEN FND_API.G_EXC_ERROR THEN
gpr_return_status := FND_API.G_RET_STS_ERROR;
-- Get message count and data
--dbms_output.put_line('err msg 1 is : ' || gpr_msg_data);
WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
gpr_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
--dbms_output.put_line(' msg count 2 is : ' || gpr_msg_count);
for k in 1 .. gpr_msg_count loop
gpr_msg_data := oe_msg_pub.get( p_msg_index => k,
p_encoded => 'F');
-- Get message count and data
dbms_output.put_line('err msg ' || k ||' is: ' || gpr_msg_data)
null;
end loop;
WHEN OTHERS THEN
gpr_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
-- Get message count and data
--dbms_output.put_line('err msg 3 is : ' || gpr_msg_data);
end;
commit;
--- exit;
Reference Documents
Note 362667.1Name: Chris Mentch
Region: US/Americas
Contact E-mail: chris.mentch at mentchconsulting.com
Website: http://www.mentchconsulting.com
Time working with BC: 1.5+ years
Programming Languages: PHP, JSP, Javascript, Ruby/RoR, Jquery, .Net (if I have to), SOAP API
Custom BC Client Applications: Integrating custom external applications with Business Catalyst through eCommerce and CRM APIs.
Name: cindy radford
Region: Americas Canada
Contact E-mail: [email protected]
Website: http://.com
Logo: Link to your logo image (no larger than BC standard partner image, I will place this at the top of your listing)
Time working with BC: new
Programming Languages: Cobol and mainframe, starting web development
Third Party API Experience: Cobol
Custom BC Client Applications: None as of yet
Name: eBridgeConnections
Region: Americas, APAC, Europe, Africa
Contact E-mail: [email protected]
Website: http://www.ebridgeconnections.com
Logo: http://www.ebridgeconnections.com/images/ebhome/logo.png
Time working with BC: 1.5 years
Programming Languages: n/a - Back-office integration with 40+ accounting/ERP systems
Third Party API Experience: 20+ eCommerce platforms, CRM (SalesForce)
Custom BC Client Applications: B.C. API integration
Name: OneSaas (www.OneSaas.com) - Cloud Integrations Made Easy
Contact E-mail: [email protected]
Website: http://www.onesaas.com
Time working with BC: 2 yeras
Third Party API Experience: We integrate over 35 cloud platforms with BC. We know every API from almost every system. -
Sales order line delete fails for treetype=S line items
SBO v8.8 PL17
In a Windows Console DI application, I need to delete lines that have TreeType=S from a Sales Order.
I get an error message that the Delete Line Failed and no other details for the error.
I have no trouble deleting the line in the SBO client sales order screen.
Often, the Sales Bill of Materials (SBOM) for the item on the SO line has changed after the line was created.
Could the DI be validating the child item rows (treetype=I) for the father item against the current lines in the SBOM and blocking the deletion because they no longer match?
In any case, how can I get around it or at least find out the actual reason the the line deletion fails?Is the error description the same when you use old-school error checking?
If FixSO.GetByKey(DocEntry) Then
FixSO.Lines.SetCurrentLine(LineNum)
Try
FixSO.Lines.Delete()
tst = FixSO.Update
If tst <> 0 Then
Dim errCode As Integer = 0
Dim errMsg As String = String.Empty
oCompany.GetLastError(errCode, errMsg)
Console.WriteLine(errCode & " " & errMsg)
End If
Catch ex As Exception
Status = ex.Message & vbCrLf & oCompany.GetLastErrorDescription
Console.WriteLine(Status)
End Try
End If -
Add BOM line items for printing those line items in cs03 transaction
User will display the BOM line items and when he go by menu path EXTRAS->More-> so at the end of sub menu we need to add one more option for View and Print for that we need to use the menu exit and accordingly we need to add code to capture the related function code and display respective BOM line items in the ALV format. Further on if user wants to print those he should be able to do the same.
The BOM item node number STPO-STLKN is an 8 digit field therefore I would imagine that you could have a maximum of 99999999 items..
But you could use multi-level BOMs which would allow you to organise your components better.
PeteA -
Hi,
I have one scenario in which previously there were 2 BOM's available for single material, i.e.
1) 01
2) 02
After some days, first BOM was deleted by the user and when we try to see BOM detail using CS03
by entering
Material = XXX
Plant = XXX
BOM Usage = 1
Alternative BOM = 02
Then it gives BOM details but when we enter
Material = XXX
Plant = XXX
BOM Usage = 1
Alternative BOM = 01
It gives Error Message "Inconsistent data (inform your system manager)" even though BOM does not exist
So what is the solution for removing this above Error messageHi,
As suresh said you need to delete the alternate 1 in the header level. After that if you want change that alternate 2 as1, Then again go to create mode and you can create the alternate 1 with the same components of alternate2. After that you can delete the header level of alternate 2 also. So that there will be only one alternate BOM for your material.
Hope it will be helpful.
Regards,
Vijay. -
Quantity conversion check failed for one item; all qty lines deleted
Hi IS Oil Experts,
Iam using the BAPI "BAPI_GOODSMVT_CREATE_OIL" for posting goods movement. I filled the additional quantities and unit of measures also in the BAPI table, But when tried to execute, Iam getting the error, "Quantity conversion check failed for one item; all qty lines deleted"
Please anybody tell me what is the error from end for resulting this message.
Thanks in advance
PrathibDear you!
I also get the issue that you meet. Can you help me to process it, Please/
Best regards, Huy. -
How to detect a line delete (order)
When the user delete's a line in the order form I have to do a delete in a usertable.
The usertable contains the linenum and docentry of the line.
But I can't seem to find an event that gets triggerd when the user delete's this line.
When I look at the FormDataEvent a form_update is triggerd but with no way of telling what happened.
Is there a way to know if there has been a line delete?Hi Marc,
Other option is after user click update, Before action = false,
You check this order against the ADOC & DOC1 tables (Audit tables). A simple SQL select statement can give you the line num of the deleted lines.
Regards
Edy
Edited by: Edy Simon on May 20, 2009 2:20 PM -
Line Delete capability on marketing docs
Hi,
can anyone let me know which version of SAP enables marketing docs line deletion capabilities using the SDK? Is it 8.8 or 2007 SP1?
Thanks.
GopalHello
it is avaiable from B12007
Usage:
oDoc.lines.setcurrentline(i)
oDoc.lines.Delete()
regards
János -
The line (delete, reply or reoute) below the emails disapeared. Can you help me?
Try to quit the app by double clicking the Home button and in the multitasking menu tap an hold the Mail app until it starts to wiggle and tap the that appears.
Also try to reset the device by holding then Sleep/Wake button and the Home button at the same time for 10 seconds until the Apple logo apears.
Hope that helps
Maybe you are looking for
-
Importing WORD text files with formatting and Text Flow issues IDCS3
I am a designer who has used ID since it first came out, but have not been utilizing the larger document capabilities lately as I've been working in large format graphics (like really large, so if you have questions on that I can answer!). I am worki
-
Showing Postive Values as negative and negative values as negative itself
Hi Experts, I want to bring using a formula the value in negative always how this can be done pls advise. For example {Field 1 - Field 2 } e.g - = 1 here the value 1 is coming as postive and sometimes the same {Field 1 - Field 2 } e.g - = -2 here the
-
My iphoto program crashes when I place my order!!
This is so frustrating. I am using iPhoto 11 9.1.1 and I can't seem to submit my iphoto book without my program crashing!! Please someone help!?! I spent all this time and now perhaps for nothing??
-
Waves Tune plugin and os 10.4.6
I have a problem with Waves Tune. I installed 10.4.6, and now I always get the message "Error code -1 was returned by the direct TDM driver." Now I can not use my Waves Tune plugin anymore. It all worked fine in 10.4.5. Any suggestions? G5 dual 2,7
-
Report: How long the user has not logged into SSHR
Hi experts, I am looking for a report, which showing me, how long the user has not been logged into SSHR?. Because some poeple dosn't work any more in the company, and the list should enable use to deactivate their accounts. Thanks in advance Mehdi