PO line deletion in MASS
We have a std t-code MEMASSPO to delete the line items.My query is whether, we can undelete the same in mass using the same t-code MEMASSPO ?
With regards
Biji
if it does not dissappear, then you have to check the logs, you may have a problem that does not allow a reset.
you can try it manually in ME22N, there you will directly receive the error messages if it is not working.
Similar Messages
-
Hi Experts
Im a new member so pardon me if this question has been answered before. We are on IS Retail 4.0b.
I need to block multiple PO line items in mass (EKPO u2013 LOEKZ). Donu2019t think the version we use has the transaction MEMASSPO. The transaction MASS does not have the object for POu2019s. Any idea how I can do it?
Thank youYou can do a simple LSMW recording on transaction ME22 and carry out this mass update. If you don't know LSMW, contact your ABAP consultant.
-
I have thousands of email messages in my ipad mailbox that I can't delete en masse. I can delete a few at a time, but this would take forever???
Contact htem? No, I wouldn't think so, I'm not familier with fuse.net. Most ISPs adn email providers have web pages that can be used to acces your account settings and email. That may provide a means of selecting multiple emails and deleting them (but probably not 22,000 at a time).
-
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 -
How to view the planned orders in mass and how to delete in mass
Hi gurus,
How to view the planned orders in mass and how to delete in mass.
Regards
R.RajakarthikHi,
Use the collective display of planned orders, transaction code MD16.
You can select the data by different options and choose which ones or all that you need to delete.
Click the Delete button to trash them.
This will delete planned orders without deleting the planned independent requirements and sales orders.
Hope it helps -
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 -
Schedule Lines deletion from Scheduling agreement
Hello all
There is a requirement of mass changes deletion of existing Schedlue lines from Schedling agreement ( from around 800 Scheduling agreement).
SAP version is 4.7(Which doesnt have MEMASSSA-std t-code for mass maintenance of scheduling agreement).
Please advise, how these can be deleted in bulk.
Thanks & Regards
RajeshHi
Go to table :SE16 :
Enter :EKET
download to the excel file do the correction then upload the file to to the table.
Please check with your SAP ABAP team and with your Client
(or)
do it manuallly .go to me38 enter the sch.agreement no and delete the qty and save . it is time consuming
it willl take a day or Two.
This is the best solution
Regards
Ganesh -
I Recently updated my mac book pro to sox mountain lion v10.8 and appear to have lost my email edit button which allowed me mark multiple emails then delete those marked en masse. I now have to delete individually. Can any one advise how to correct this please. Thanks.
MacBook Pro
https://discussions.apple.com/community/notebooks/macbook_pro
https://discussions.apple.com/community/mac_os?view=discussions
http://www.apple.com/support/macbookpro -
Unwanted Rank Order line deletion in Bank Determination in FBZP u0096 APP
One more line item is being added and asking for a Rank Order (Mandatory Field) in Bank Determination (T/Code - FBZP - APP).
Inspite of deleting the Payment methods / Rank Orders lines & after generating the Request (For the deletion of unwanted data), system is still adding one more line with data in all other fields except Rank Order field (Mandatory field) when we go back to fbzp again.
Pls. help us by providing us the solution on the same.
Regards,
Srilakshmihi,
even if i do that, it is still creating one more line item in fbzp (bank determination) n askin for a rank order for the payment method.
Regards
Srilakshmi -
ECATT: Bad Message Handling in VL02N (Line Deletion)
Hello All,
I'm having a big headache with the following automation scenario on VL02N transaction:
- open a DN number
- use position button to trigger screen where u can select a line
- enter a line (script parameter)
- validate the line
- use the delete button to delete selected line
- confirm the deletion message
- save and exit
I recorded the whole good case in one step of SAPGUI.
Problem is:
A)without catching any message, if line does not exist (ex line is 20 and 20 is already deleted),
the script raise no error BUT erases the first line in the screen (ie the lowest remaining one)
B) the proper error msg ("Line does not exists") is only triggered when i enter the next interface of the screen but this interface do the deletion of the lowest line!!
so either:
- i don't put the deletion interface in the MSG block and the message is not raised
- i put the deleting interface in the MSG block , the message is raised but too late.
Do i handle the message badly?
Is there a way to split the deletion interface to have separately the error detection and the deletion?
See code below
VL02N_111_STEP_1 = choice of line to position on
VL02N_1000_STEP_2 = deletion of selected line
MESSAGE ( VERIF_LINE_EXISTS ).
SAPGUI ( VL02N_111_STEP_1 ). <= this is the dialog where i select the line and get the error msg in record time
ENDMESSAGE ( E_VERIF_LINE_EXISTS ).
DO &TFILL.
IF ( VERIF_LINE_EXISTS[&LPC]-MSGID = 'VL' ).
IF ( VERIF_LINE_EXISTS[&LPC]-MSGNR = 341 ).
LOG ( VERIF_LINE_EXISTS[&LPC]-MSGV1 ).
LOG ( VERIF_LINE_EXISTS[&LPC]-MSGV2 ).
SAPGUI ( VL02N_10_1). <= exiting without deleting anything
SAPGUI ( VL02N_1000_1 ).
SAPGUI ( VL02N_4004_1 ).
ENDIF.
ELSE.
LOG ( "LINE EXISTS" ).
SAPGUI ( VL02N_1000_STEP_2 ). <= deleting the line
ENDIF.
ENDDO.
===below is saving and existing the transactionHi Woody,
Position button would retrive/result in the desired result only when the value is present, else it would select those elements/lines which are possibly the next or the previous.
Like, suppose you are searching for 21 out of 20, 22, 23.. The search result would select 20 in some cases or 21 in some other cases. Its basically done on the alphabetical/numeric order in decending manner...
That might be one reason that you are not able to get a message saying wrong selection. To overcome such situation, I would have taken a list of database entries for the respective DN number and would have compared with the result.
One thumb rule which I follow is, when ever I am going to use position button, I would also use a gettab to retrive values from the table, which has helped me almost 95% of the times.
If that is a structure and/or there are multiple tables that are associated with the grid values, its always suggested to use SQL queries in INLINE ABAP.
Also, you could substitute a single IF instead of nested IF in your statements..
IF ( VERIF_LINE_EXISTS[&LPC]-MSGID = 'VL' AND VERIF_LINE_EXISTS[&LPC]-MSGNR = 341 ).
LOG ( VERIF_LINE_EXISTS[&LPC]-MSGV1 ).
LOG ( VERIF_LINE_EXISTS[&LPC]-MSGV2 ).
SAPGUI ( VL02N_10_1). <= exiting without deleting anything
SAPGUI ( VL02N_1000_1 ).
SAPGUI ( VL02N_4004_1 ).
ELSE.
LOG ( "LINE EXISTS" ).
SAPGUI ( VL02N_1000_STEP_2 ). <= deleting the line
ENDIF.
Also, see if the deletion is taken place basing on the row & col id of the line. If it is always deleting the line item 0,0 then you should make sure that you have to take the id of that line which is to be deleted.
Hope this info helps.
Best regards,
Harsha
PS: Reward points accordingly for all responding. -
SAPbobsCOM.Documents.Lines Delete/Remove
Is it true that there is still no API to delete line items for Document objects? (I cannot find one in version 6.5)
Does 2004 include this feature? Is there a workaround?
Making the Price and Quantity zero is not an option for me.Same as My Problem We Cannot Force to Use Recordset. Because it is directly manipulate to the SBO SQl Server (even SAP Manage refuse to say that )
John Mackin said that we can use dummy item. And I have tried that way. It works in header decoument summary (For Total Document,Sum Tax,etc) but in appearance users are dislike to see item that have no price and quantity in Documents Forms Matrix and off course the cancelled item will be appeared in Report.
==========================================
oOrder.Lines.SetCurrentLine (sFields(1))
oOrder.Remove
oOrder.Lines.ItemCode = "Cancelled"
oOrder.Lines.Price = "0"
oOrder.Lines.Quantity = "0"
oOrder.Lines.Currency = sFields(6)
lRetCode = oOrder.Update
If lRetCode <> 0 Then
Call oCompany.GetLastError(nErr, errMsg)
If (0 <> nErr) Then
SBOApplication.SetStatusBarMessage "Found error:" + Str(nErr) + "," + errMsg "
End If
==================================
I dont know what to do , maybe we can wait from SAP Manage how to handle this problem.
Cheers,
Hamdi
Maybe you are looking for
-
hello apple,, as i said my 3 year daughter used to play game on my i phone 4 and now she put wrong passcode so many time. My i phone is disabled and says connect to i tunes but my problem is i have what should i do now. i have done as per same proble
-
Maintain Default Cost element in controlling Area
I am getting the following error while working on Down payments : " CO down payment is active in the controlling area.You must therefore maintain default Cost elemnts and revenue elementsfor down payments. Maintain the default cost element for down p
-
Creating custom Category for Risk & Issue in Project Server 2013
Dear All, How to Change Risk & Issue Category default as per business requirement when selecting them through drop down or radio button? I can do only Project wise from project site & then setting changes. But i want to customize it for all projects
-
Symbols and elements disappearing in chrome 37 for mac and windows.
Hi, hoping someone can help. I have made an animation I hope to be full width in EA. It works perfectly in ie9-11, Safari and firefox. However the background element vanishes in Chrome unless i zoom in 67%. This is also effecting another layer that c
-
I only started using iphoto yesterday. I have previously been using Adobe Photo Elements as a photo album to organise my photos. In iphoto can I have different categories eg. FRIENDS & FAMILY, & then under that heading have different peoples names &