List of Deleted delivery note
Hi,
I am new end user on MM and SD.how to get list of delivery notes delited in past with username who deleted and material no qty and Sales Order no.
I really need this to find who is deleting DN everyday. Why materila never moved out from W/H.
Thanks,
Bipin Singh
Hi,
please check the below link:
List of Deleted delivery note
Regards,
Chinna
Similar Messages
-
Undo GR with a deleted delivery note
Hello,
I don´t know if somebody has been in the same situation and could help or give us a solution:
We would like to undo the Goods receipt from a Purchase order, but SAP doesn´t allow it due to the delivery note has been canceled by mystake.
Two possibilities
- Undo the deleted Delivery Note.
- Undo the goods receipt in this situation.
Thank you!
Regards,Hello,
I don´t know if somebody has been in the same situation and could help or give us a solution:
We would like to undo the Goods receipt from a Purchase order, but SAP doesn´t allow it due to the delivery note has been canceled by mystake.
Two possibilities
- Undo the deleted Delivery Note.
- Undo the goods receipt in this situation.
Thank you!
Regards, -
Output Type for Deleting Delivery Notes completely
Hello,
I've a problem that in case of complete deletion of a delivery note I want to get message of deletion via IDOC DELVRY05. Normally the complete document will be deleted without any outbut determination.
Where do I have to implement this? Is it in normal output determination for outbound deliveries?
Thank you for your effort.
Kind Regards
Norbert*
-
Need list of delivery notes delited
Hi,
I am new to MM and SD.how to get list of delivery notes created and which one got delited or processed in past with username who deleted and material no qty and Sales Order no.
Thanks,
Bipin Singhyou asked the question already twice yesterday.
Remember, there is a button to report abuse... -
Delivery Notes Generation Via Pick List
Am trying to generate delivery notes off pick tickets and i can't find any code example. I now came up with the following code but am having issues when items are in multiple Bin Locations.
Public Sub Sales2Delivery() '(ByVal OrderID As String)
Dim OrderID As String = ""
Try
Using connection As New SqlConnection(StaginConn)
'Dim command As New SqlCommand("SELECT DocEntry from ORDR with (nolock) WHERE NumAtCard = '" & OrderID & "'", connection)
Dim command As New SqlCommand("SET DATEFORMAT DMY; select distinct top 5 o.DocEntry, o.NumAtCard from ordr O with (nolock) join RDR1 R with (nolock) on R.DocEntry = O.DocEntry join OPKL P with (nolock) on P.AbsEntry = R.PickIdNo where u_shipstate = 'Delivered' and CAST(O.docdate as date) >= '30/04/2014' and P.Status = 'Y';", connection)
connection.Open()
Dim reader As SqlDataReader = command.ExecuteReader()
' Call Read before accessing data.
While reader.Read()
Dim BusinessOrders As Documents = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oOrders), Documents)
Dim BusinessDelivery As Documents = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oDeliveryNotes), Documents)
Dim orders As Documents = BusinessOrders
orders.GetByKey(Convert.ToInt32(reader(0)))
OrderID = Convert.ToString(reader(1))
Dim Delivery As Documents = BusinessDelivery
Delivery.CardCode = orders.CardCode
Delivery.CardName = orders.CardName
Delivery.NumAtCard = orders.NumAtCard
'Delivery.DocNum = orders.DocNum
Delivery.HandWritten = BoYesNoEnum.tNO
Delivery.Series = 8
Delivery.DocDate = DateTime.Today
Delivery.DocDueDate = DateTime.Today
Delivery.TaxDate = DateTime.Today
Delivery.Address = orders.Address
Delivery.Address2 = orders.Address2
Delivery.Comments = "Based on Sales Order #" + orders.NumAtCard & "."
Delivery.DocCurrency = orders.DocCurrency
Delivery.DocDueDate = orders.DocDueDate
Delivery.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
Delivery.ShipToCode = orders.ShipToCode
Dim lines As Document_Lines = orders.Lines
'If (count > 0) Then
' lines.Add()
' lines.SetCurrentLine((lines.Count - 1))
'End If
Dim oPickList As PickLists = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oPickLists), PickLists)
oPickList.GetByKey(orders.Lines.PickListIdNumber)
For i As Int32 = 0 To (lines.Count - 1)
If i > 0 Then
Delivery.Lines.Add()
Delivery.Lines.SetCurrentLine(i)
End If
' Set the Current Lines on the order
orders.Lines.SetCurrentLine(i)
Try
oPickList.Lines.SetCurrentLine(i)
Delivery.Lines.BaseEntry = oPickList.Lines.OrderEntry
Delivery.Lines.BaseLine = oPickList.Lines.OrderRowID
Delivery.Lines.Quantity = oPickList.Lines.PickedQuantity
Delivery.Lines.BaseType = DirectCast(SAPbobsCOM.BoObjectTypes.oOrders, Integer)
Delivery.Lines.BinAllocations.BinAbsEntry = oPickList.Lines.BinAllocations.BinAbsEntry
Dim rs As SAPbobsCOM.Recordset = vCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
rs.DoQuery("select itemcode, price, dscription from RDR1 R where R.LineNum = " & oPickList.Lines.OrderRowID & " and R.PickIdNo = " & oPickList.Lines.AbsoluteEntry)
While (rs.EoF <> True)
Delivery.Lines.ItemCode = rs.Fields.Item(0).Value.ToString 'orders.Lines.ItemCode
Delivery.Lines.UnitPrice = CType(rs.Fields.Item(1).Value.ToString, Double) 'orders.Lines.UnitPrice
Delivery.Lines.ItemDescription = rs.Fields.Item(2).Value.ToString 'orders.Lines.ItemDescription
rs.MoveNext()
End While
rs = Nothing
Catch ex As Exception
Continue For
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
End Try
Next
If Delivery.Add() <> 0 Then
ErrDetails.AppendLine(" Unable to create Delivery note for Order: " & OrderID & " <br /> " & vCompany.GetLastErrorCode() & ":" & vCompany.GetLastErrorDescription())
Else
ErrDetails.AppendLine("Successfully created Delivery note for Order:" & OrderID) ' & " as requested by " & UserEmail & ".")
End If
orders = Nothing
Delivery = Nothing
BusinessOrders = Nothing
BusinessDelivery = Nothing
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
End While
'orders = Nothing
'BusinessOrders = Nothing
End Using
Catch ex As Exception
ErrDetails.AppendLine(" Error generating Delivery note for Order: " & OrderID & " <br /> " & ex.ToString())
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
Finally
If Not String.IsNullOrWhiteSpace(ErrDetails.ToString) Then
My.Computer.FileSystem.WriteAllText(_LogPath, (ChrW(13) & ChrW(10) & ChrW(13) & ChrW(10) & "Errors encountered while registering data on " & System.DateTime.Now.ToString("F") & ".Errors:" & ChrW(13) & ChrW(10) & Me.ErrDetails.ToString), True)
Else
My.Computer.FileSystem.WriteAllText(_LogPath, (ChrW(13) & ChrW(10) & ChrW(13) & ChrW(10) & "Application Ran successfully on " & System.DateTime.Now.ToString("F") & "."), True)
End If
End Try
End Sub
The Error message am getting is 1470000368 - The quantity allocated to bin locations must be positive.Am getting this error now is
"1470000341 - Fully allocate item "1017494" to bin locations in warehouse "Isolo". Issue is we have items in multiple Bin locations and the items have been picked via the pick ticket. Is it also possible to generate the delivery note off the Pick List.
The new code am using is
Public Sub Sales2Delivery() '(ByVal OrderID As String)
Dim OrderID As String = ""
Try
Using connection As New SqlConnection(StaginConn)
'Dim command As New SqlCommand("SELECT DocEntry from ORDR with (nolock) WHERE NumAtCard = '" & OrderID & "'", connection)
Dim command As New SqlCommand("SET DATEFORMAT DMY; select distinct top 5 o.DocEntry, o.NumAtCard from ordr O with (nolock) join RDR1 R with (nolock) on R.DocEntry = O.DocEntry join OPKL P with (nolock) on P.AbsEntry = R.PickIdNo where u_shipstate = 'Delivered' and CAST(O.docdate as date) >= '30/04/2014' and P.Status = 'Y' and o.DocStatus = 'O';", connection)
connection.Open()
Dim reader As SqlDataReader = command.ExecuteReader()
' Call Read before accessing data.
While reader.Read()
Dim BusinessOrders As Documents = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oOrders), Documents)
Dim BusinessDelivery As Documents = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oDeliveryNotes), Documents)
Dim orders As Documents = BusinessOrders
orders.GetByKey(Convert.ToInt32(reader(0)))
OrderID = Convert.ToString(reader(1))
Dim Delivery As Documents = BusinessDelivery
Delivery.CardCode = orders.CardCode
Delivery.CardName = orders.CardName
Delivery.NumAtCard = orders.NumAtCard
'Delivery.DocNum = orders.DocNum
Delivery.HandWritten = BoYesNoEnum.tNO
'Delivery.Series = 8
Delivery.DocDate = DateTime.Today
Delivery.DocDueDate = DateTime.Today
Delivery.TaxDate = DateTime.Today
Delivery.Address = orders.Address
Delivery.Address2 = orders.Address2
Delivery.Comments = "Based on Sales Order #" + orders.NumAtCard & "."
Delivery.DocCurrency = orders.DocCurrency
Delivery.DocDueDate = orders.DocDueDate
Delivery.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
Delivery.ShipToCode = orders.ShipToCode
Dim lines As Document_Lines = orders.Lines
'If (count > 0) Then
' lines.Add()
' lines.SetCurrentLine((lines.Count - 1))
'End If
Dim oPickList As PickLists = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oPickLists), PickLists)
oPickList.GetByKey(orders.Lines.PickListIdNumber)
For i As Int32 = 0 To (lines.Count - 1)
If i > 0 Then
Delivery.Lines.Add()
Delivery.Lines.SetCurrentLine(i)
End If
' Set the Current Lines on the order
orders.Lines.SetCurrentLine(i)
Try
oPickList.Lines.SetCurrentLine(i)
Delivery.Lines.BaseEntry = oPickList.Lines.OrderEntry
Delivery.Lines.BaseLine = oPickList.Lines.OrderRowID
Delivery.Lines.Quantity = oPickList.Lines.PickedQuantity
Delivery.Lines.BaseType = DirectCast(SAPbobsCOM.BoObjectTypes.oOrders, Integer)
'Dim rs As SAPbobsCOM.Recordset = vCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
'rs.DoQuery("select itemcode, price, dscription from RDR1 R where R.LineNum = " & oPickList.Lines.OrderRowID & " and R.PickIdNo = " & oPickList.Lines.AbsoluteEntry)
'While (rs.EoF <> True)
Delivery.Lines.ItemCode = orders.Lines.ItemCode
Delivery.Lines.UnitPrice = orders.Lines.UnitPrice
Delivery.Lines.ItemDescription = orders.Lines.ItemDescription
' rs.MoveNext()
' End While
'rs = Nothing
Catch ex As Exception
Continue For
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
End Try
Next
If Delivery.Add() <> 0 Then
ErrDetails.AppendLine(" Unable to create Delivery note for Order: " & OrderID & " <br /> " & vCompany.GetLastErrorCode() & ":" & vCompany.GetLastErrorDescription())
Else
ErrDetails.AppendLine("Successfully created Delivery note for Order:" & OrderID) ' & " as requested by " & UserEmail & ".")
End If
orders = Nothing
Delivery = Nothing
BusinessOrders = Nothing
BusinessDelivery = Nothing
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
End While
'orders = Nothing
'BusinessOrders = Nothing
End Using
Catch ex As Exception
ErrDetails.AppendLine(" Error generating Delivery note for Order: " & OrderID & " <br /> " & ex.ToString())
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
Finally
If Not String.IsNullOrWhiteSpace(ErrDetails.ToString) Then
My.Computer.FileSystem.WriteAllText(_LogPath, (ChrW(13) & ChrW(10) & ChrW(13) & ChrW(10) & "Errors encountered while registering data on " & System.DateTime.Now.ToString("F") & ".Errors:" & ChrW(13) & ChrW(10) & Me.ErrDetails.ToString), True)
Else
My.Computer.FileSystem.WriteAllText(_LogPath, (ChrW(13) & ChrW(10) & ChrW(13) & ChrW(10) & "Application Ran successfully on " & System.DateTime.Now.ToString("F") & "."), True)
End If
End Try
End Sub -
How to look as to who has deleted the Delivery note
Hi
I have a issue from one of my customers who mentioned in his problem that he needs to find out as to who has deleted a Delivery note. He has mentioned the Delivery note number.
I have tried looking at SM21 & tables CDHDR and CDPOS but I could not find. I tried to simulate the similar issue in my development environment by deleting one of the deliveries and checking in Transaction SM21if it displays my name, but it did not.
Please help me in this issue or at least let me know how to approach this problem.
ThanksHi,
You can find the Information from the CDHDR table
Goto the table in SE16 and ehter the details for the table like
OBJECT CLASS As LIEFERUNG
OBJECT ID As DELIVERY DOCUMENT NUMBER ( It should be 10 digits)
Now execute.
It will all the information on who deleted.
regards,
santosh -
Inbound delivery item deleted is not deleted from BI DSO?
Hi All
An Inbound deliver created and pushed to BI..
Source PSA is FULL UPDATE and DTP is DELTA UPDATE
Ex: 800000 10 10000
20 10000
This is what pushed to ODS..Later next day,
they deleted the to 800000 10 10000
So PSA is refreshed with one item .
800000 10 10000
whereas DSO still shows as follows:
800000 10 10000
20 10000
I have following options:
1. convert DTP to FULL update, so the data gets refreshed..
2. ELse delete the only one record..
But user sometimes need to delete the inbound delivery....based on item required..
we cannot go and delete everytime for this issue..
What are the best solutions that you experts can suggest.??HI...
This is a known problem in ECC-BI. Deliveries can only be deleted from ECC system but can not be cancelled. So the extractor is not able to provide a deleted image for the record.
Two solution can be there,
1. Full Load of all BI target every day ---this solution is practical only when your data volume is less and full load does not take much time. But if your data volume is huge and flow is complex one then this is not the solution.
2. Second solution is to identify which Delivery Doc - Item combination got deleted from ECC system and then you can just put a flag against those documents.
You can easily find which doc- item got deleted from CDPOS and CDHDR entry. In our project we created one DataSource based on InfoSet Query ( SQ02) on CDPOS ( item level) and CDHDR ( header level) and pulling all the documents which got deleted in ECC system. For all those Delivery-Item we put a deletion flag and restrict the query accordingly.
in CDPOS following fields are important.
a) CHNGIND: Change Type (U, I, S, D) u2013 This field shows whether the entry is deleted, updated or inserted. We are here interested in the value: D (Deleted).
b) OBJECTCLAS: Object class u2013 This field is used to get the data related to Deliveries, Sales etc. For deliveries, value is LIEFERUNG; For Sales, value is VERKBELEG
c)TABNAME: Table Name u2013 This field contains the table name from which the value is deleted. The tables for Deliveries are LIKP and LIPS. To get the item level data, keep the value as LIPS.
d) TABKEY is 18 characters long field, in which first 3 numbers is the client number, next 10 shows the document number and next 5 shows the item number. E.g.: 750001099999900010, where 750 is client, 0010999999 is document number and 00010 is item number
Also have a look at How to Guide below
Link [CDPOS-CDHDR|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50dd3fb9-0dad-2d10-0ea7-cbb0bb8b391b?QuickLink=index&overridelayout=true]
how to view deleted delivery
Regards
Anindya -
Printing delivery note via attachment list
Hi all,
when I print a delivery note in VL02N, it is also archived as PDF in our archive system (SAPERION).
My problem is, that a print from archive via attachment list is different (e.g. different borders) from that, which i printed at first.
Is there any chance to get the same output again?
Regards, HubertHi,
T. code for Output for Picking list is VL70
T. Code for outputs for Deliveries is VL71.
Hope this is clear.
Reward if helpful.
Thanks,
Praveen -
Enhancement Miro list of delivery notes
Hi,
I searched on forums i didn't find. Does there an Enhancement with values list of Delivery Notes in MIRO?
Thank youHi,
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
these are the Exits for transaction MIRO
Thanks& Regards,
Vijaya Lakshmi.T -
hi
can delivery notes created through collective processing be deleted enmasse as in a batch job?or is there any other any alternative? waiting for expert opinions
regards
rp reddyHi
likp, lisp, vbup, vbfa don't have delivery note after
it gets deleted. i can get it from CDHDR or CDPOS
but i can not associate it with sales order.
In cdhdr, cdpos we have entry only for object value
the delivery note nor.
Regards,
Abhimanyu L. -
OSS notes for a Deleted Delivery
Hi Experts,
We have a strange issue. One of the users deleted the deliveries for an order. We now want to delete the Order too. But we are unable to track the order.
Since delivery is deleted, it is not possible to identify the related Sales order number or the materials attached to the delivery.
do we have any OSS note for this ?
Thanks,
ArthyDear Lakshmipathi,
Thank you for your valuable suggestion. But we actually are trying to create a shadow table or a backup table to record the deleted delivery details in future. Could you suggest what this table should be like,how and what details should we capture and how the new table should work in order to capture the deleted delivery details?
Please let me knowif you have any possible suggestions for creating this shadow table.
Thanks in Advance,
Regards,
Arthy -
Trx for printing picking list and from this printing delivery note.
Hi,
1) what is the trx for printing the picking list?
2) what is the trx for printing the delivery note starting from a picking list?
Best regardsHi,
T. code for Output for Picking list is VL70
T. Code for outputs for Deliveries is VL71.
Hope this is clear.
Reward if helpful.
Thanks,
Praveen -
Create a Delivery note from a picking List and many binallocations
Hi,
Recently, I get how create a delivery note form a picking list with batchnumbers, but now I have the following case.
Quantity Product SerialAndBatchNumbersBaseLine
10 ID200 0
5 ID200 1
now I set the batchNumbers
location batchnumber quantity
02-A XY 10
02-B YY 5 <--- this location give me error.
now the rest of articles
Quantity Product SerialAndBatchNumbersBaseLine
10 ID200 0
5 ID200 1
location batchnumber quantity
02-A XY 10
02-B XY 5
etc.
I get the next error:
1470000344 - Batch "YY" of item "ID200" in bin location "3108" falls into negative inventory.
When I find this "3108" this "select * from OBIN where AbsEntry = 3108" is the batchnumber for XY and not YY.
so how is the way to create a delivery note with many binallocations?
(if required I will paste code.)
Kind regards,
PabloHi Pablo,
based on the code from the other thread it should be like that for the first row:
delivery.Lines.ItemCode = "ID200";
delivery.Lines.Quantity = 15;
delivery.Lines.BinAllocations.BinAbsEntry = 3107; // guessed AbsEntry
delivery.Lines.BinAllocations.Quantity = 10;
delivery.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 0;
delivery.Lines.BinAllocations.Add();
delivery.Lines.BinAllocations.BinAbsEntry = 3108;
delivery.Lines.BinAllocations.Quantity = 5;
delivery.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 1;
delivery.Lines.BatchNumbers.Location = "02-A";
delivery.Lines.BatchNumbers.BatchNumber = "XY";
delivery.Lines.BatchNumbers.Quantity = 10;
delivery.Lines.BatchNumbers.Add();
delivery.Lines.BatchNumbers.Location = "02-B";
delivery.Lines.BatchNumbers.BatchNumber = "YY";
delivery.Lines.BatchNumbers.Quantity = 5;
You got now :
1 Delivery Row, Quantity 15
2 BinLoc Rows, Quantity 10+5
2 Batch Rows, Quantity 10+5
regards,
Maik -
Can somebody post, or send me, the print program for the SmartForm Delivery note/Pack List (output type LD00)?
Regards,
DavisFerry, the code that you sent me doesn't seem to be complete; it is missing three includes. Does anybody have the following includes that they can post or send me? The report is RDE_DELNOTE.
REPORT RLE_DELNOTE.
declaration of data
INCLUDE RLE_DELNOTE_DATA_DECLARE.
definition of forms
INCLUDE RLE_DELNOTE_FORMS.
INCLUDE RLE_PRINT_FORMS.
Regards,
Davis -
Table for Delivery Note after Deletion
Hi
I want to find out delivery note which are created and deleted at a later point of time against a sales order.
once i delete a delivery note i am unable to find tables
which have the delted delivery note. If any one knows the
tables plz do share
Thanks & Regards,
abhimanyu.LHi
likp, lisp, vbup, vbfa don't have delivery note after
it gets deleted. i can get it from CDHDR or CDPOS
but i can not associate it with sales order.
In cdhdr, cdpos we have entry only for object value
the delivery note nor.
Regards,
Abhimanyu L.
Maybe you are looking for
-
BUPA Data Mapping from R/3 to CRM
Hi, I have a requirement of mapping the authorization Group info of the Customer from R/3 to CRM BP. Even though the data is put into authorization group field in R/3 the data is saved in CRM. I could see the data in the incoming BDOC but it is not u
-
I get the following error message on my desktop screen almost daily--"This Mac cannot connect to iCloud because of a problem with [email protected] (my Apple ID)" Open system preferences to fix this problem". I open preferences and nothing seems to b
-
Enhancing a standard WD Component - View
Hello Experts, My requierment is to make some fields read only in a view (V_DODC_SHIPTO) of an standard SAP SRM 7.0 application(/SAPSRM/WDC_UI_DO_SHIPTO). I created an enhancement for the view and was also able to hide a button using this enhancement
-
Hi, Does any API's provided in the new Java XML pack provide a way to get the XPath value for a particular node in a XML document!!! thanks in advance!!
-
My sad story. I am done with Lenovo.
Usually I don't even waste my time complaining about crappy service. However, this time, I really want to share my story with you, so that you know what to expect when buying a Lenovo extended warranty. I got my laptop (W530) almost a year ago. I wan