Error in Delivery Note -Smartform
Hi,
I'm working with Delivery note smartform. I have copied the standard form le_shp_delnote into zle_shp_delnote. When I execute it using VL02N transaction, I am getting the error as ' Output could not be issued'. The form is already configured with standard program 'RLE_DELNOTE' in NACE.Please help me to solve this.
Could you investigate what is written in the output error processing log. You can access the error log in the output issue edit page in VL02N transaction. Let me know what is written in the error log, so that I can be of some help to you.
Similar Messages
-
Delivery note smartform - Output could not be issued
Hi All,
output could not be issued for delivery note smartform.
Here is what I get when I try to print:
Output could not be issued
Message no. VL 086
There is only one Partner (ship to party) and it has record in NAST for the output type I use.
Delivery type is ZLCC (no sold to party)
If I try to make print preview - nothing happens at all, even no message...
It works fine in dev system, but not in quality system.
Any ideas?
Regards,
MindaugasHi,
Check If the output type is assigned to the document in quality"
Use transaction NACE
Choose application V2 Shipping and press Output type button.
Check first in your development system, and then in the quality system
Regards
Åsa Thenstedt -
There's an error while delivery note creation for STO order
There's an error while delivery note creation for STO order even stock available in unrestricted stock
Edited by: sharma aman on Nov 8, 2011 9:00 AMDear Sharma Aman,
Check whether the following link helps you.
Mesaage : while creation of delivery : An item with no delivery quantity .)
Please search in google with the error message and definitely you will get some older posts in SDN which is solved.
In that case , you need not wait for the solution as it is already available.
If the solution provided do not suit you, then post it in SDN so that it will be a learning for others.
Try to search in the forum or in google before posting further queries
Thanks & Regards,
Hegal K Charles -
VL02N Error: Output could not be issued with smartforms
Hi All,
Currently I am doing some customization on existing delivery note smartforms LE_SHP_DELNOTE on ECC 6.0.
I have copied it from the above smartforms and name it as ZLE_SHP_DELNOTE. Did most of the modification according to the user's format requirement.
Manage to do the necessary settings in NACE to point to the new smartforms and also were able to print preview the report either in the standard LE_SHP_DELNOTE or the customize ZLE_SHP_DELNOTE.
But as I add more coding into ZLE_SHP_DELNOTE, the print preview starts to give me the "Output could not be issued" error.
If I were to revert back to the original LE_SHP_DELNOTE in NACE, it still works fine.
I have checked most of the issue in the forum regarding the table size or include text, but I have make sure that the table size does not exceed the window size and also i have check the checkbox that prevent any error if include text does not exist.
Hope to get help.
Thanks
DavidHi Murali,
Thanks a lot. It is due to the address that is not populating.
Currently I am reading the address from VBAK by using the following statements:
SELECT SINGLE bukrs_vf
FROM vbak
INTO lf_bukrs
WHERE vkorg = is_dlv_delnote-hd_org-salesorg
AND vbeln = is_dlv_delnote-hd_ref-order_numb.
SELECT SINGLE adrnr
FROM t001
INTO gf_bukrs_adrnr
WHERE bukrs = lf_bukrs.
gf_bukrs_adrnr is the address value.
Currently I have 2 versions of my customised smartforms. One that works and one that does not work. Both has the address node.
One funny thing is that the value from is_dlv_delnote-hd_ref-order_numb is not populating for the one that does not work.
But I thought is_dlv_delnote is an interface passed on to the smartforms regardless of any changes that you made in the smartforms.
Do you have any idea why is this so?
Thanks
David -
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 -
STO - IDOC INVOIC - MM Receipt on Delivery note rather PO number
Hi Gurus,
I'm processing an MM Receipt INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order.
This is integrated in a standard Stock Transfer Order. This IDOC is generated using Output type RD04 from Intercompany billing.
When SAP creates IDOC, it is based on the Delivery note number rather than the PO number, even I have the PO and Delivery in my PO historic, and even if I have IDOC segment E1EDP02 QUALF 001 with PO and segment E1EDP02 with QUALF 016 with Delivery note.
I tried to managed PO item flags: "Invoice Receipt Indicator" or "Indicator: GR-Based Invoice Verification".
But there is no impact.
When I create the MM Receipt manually using TCode MIRO in reference to the PO. It works.
When I create the MM Receipt manually using TCode MIRO in reference to the Delivery not. It doesn't work. I got the same error message "Delivery note/service entry sheet xxxx does not exist".
I conclude that when SAP performs the IDOC, someting in the IDOC tells him to create a invoice in reference to the Delivery note rather than the PO. How can we change it?
Please, could you help me to understand this blocking point and to allow to create the MM Receipt on PO?
Many thanks.
Stéphane.hello, friend.
i am not an expert in MM, but....
i noticed that when using MIGO, you can do GR based on an inbound delivery, and maybe also an outbound delivery (from STO). an outbound delivery created in an STO scenario should have links to the STO related PO. could this be the link you are looking for?
regards. -
Hi,
I have created an order, when I tries to do the delivery for this I
gets the error : "Create Delivery" Not Allowed ( Sys.Status EXLS
Object VB0000008166000010 ). If you need the screen shot, I will send that too.
Can anybody help me on this, I am facing this issue from quite a long time.......
Thanks in advance.Hi Naveen,
Thought might help you.
Delivery Issue
Regards
NP -
Delivery note/service entry sheet does not exist
Dear Experts,
I created Intercompany STO and Return PO. INVOIC (EDI Invoice) Idoc generated which failed with error message :
Delivery note/service entry sheet does not exist .
So, Invoice was not created eventhough GR is completed for the PO.
For Inter company return PO case, I found out that, GR Based Inv. indicator was checked and hence the idocs failed with above error message.
When I tested with GR Based Inv. Unchecked, Idoc was successfully processed and Invoice Created.
Why is it so? why is this indicator resulting in the above error message. Just cannot understand this.
Experts, need your input here. Thanks
Regards
Shashidharhi,
I've implemented the note 1903345 and it fixed the problem.
Regards,
Joseph -
Error while Adding a Delivery Note with Barcode
When i add the deliverynote , i get the following error :
Error Code : -10 : Document can not be added: Base line item has been updated, re-transmitting the document data from the base document .
or
Access violation error
This happens only when i assign a barcode to the item in the Item Master Data ( Eg : ITM001 is assigned a barcode ) .This works fine when the barcode is not assigned to the item .
What is the cause of this error ?
Obj := IDocuments(Company.GetBusinessObject(oDeliveryNotes));
Obj.CardCode := 'B1010';
Obj.Lines.Add;
Obj.Lines.BaseType := bodt_Order;
Obj.Lines.BaseEntry := 100;
Obj.Lines.BaseLine := 0;
obj.Lines.ItemCode := 'ITM001';
Edited by: senthil kumar on Dec 2, 2009 1:04 PMHello,
I had the same problem. This occurs. when you change the barcode between sales order and delivery note, and YOu are issuing the Delivery note by DI API.
To do:
- Open Sales Order
- OverWrite in the lines the barcode to the same as Material Master Data
- Update sales order
Issue delivery note.
SAP Note number: 1314220
Regards
János -
Delivery Notes - No VAT Group (SAP Error Code -10)
Hi
I already created delivery notes before, but today an error occured "VAT-Group Missing..."
Do I have to set the VATGroup property manually in the Document Line? If I do with a fixed value, it works again.. But where do I get the right VAT Group? From customer (Business Partner) or from Item? (Maybe if you could paste me a little code example if you already solved this)
Thanks and RegardsHi
Thanks for the hint.
I already solved it, it was a mistake in the input data of the Addon: I did not set the Warehouse Code..
If Warehouse Code is empty (""), obviously the VAT cannot be calculated (though the error message "VAT-Group Missing.." does not really help here.)
Regards -
B1 Error with Item Batches and Delivery notes generation
Hi Experts
I am getting the following error
SAPB1 error: (-10) [DLN1.WhsCode][line: 0] , 'The selected quantity of batch/serial numbers is greater than the open quantity.'
When I try to generate a Delivery note based on information provided in a EDI file
The EDI file contains item code, quantity, batches, batch quantities. I am able to generate the delivery however in certain instances I get the above error message.
I am using IBOLT software to import the sales information into a delivery note in SAP.
I am using SAP B1 2007
Thanks
Anthony MendesDear Mr Mendes,
Obviously there is an error related to the warehouse on the first line of the document. Considering the error message I reckon that the information imported refer to a warehouse were there is not enough qty in stock and with batches.
I would recommend to test the issue without using the add on and see if you can add the missing batches through the application (inventory - item management - batches - complete mode).
If you can it means that the issue relates to the add on and therefore something must be changed in its code.
If you have an issue in the application, please run the select query related to batches that you can find in note n. 1250867 and if that query retrieves results, please log a message.
Regards,
Marcella Rivi
SAP Business One Forums Team -
Greetings SSRS/SharePoint experts,
SharePoint 2013 with SSRS - Creating a subscription to a report that is in SharePoint
I'm trying to create a subscription to publish a report to a sharepoint document library.
I've configured all the settings and on clicking OK get the following error:
"A delivery error has occurred. ---> Microsoft.ReportingSerives.Diagnostics.Utilities.DeliveryErrorException: A delivery error has occurred. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidExtensionParameter: One of the extension
parameters is not valid for the following reason: The delivery path is either not a SharePoint Document Library Folder or does not exist in the Share Point farm."
SQL Server Developer Edition 2012 SP1
SharePoint 2013 Standard
Just wondering if anyone has a solution.
I've tried changing the proxy settings as per this post
http://social.technet.microsoft.com/Forums/en-US/19817dc7-6725-40d8-befa-1b94099a71bd/sql-server-2012-reporting-services-in-sharepoint-2013-integrated-mode-dilivery-extension
Workaround is to not use a sharepoint document library but write the report to a windows file share (this works but is not optimal).
Hoping someone at Microsoft or an expert will come back with something.
Kind regards
GioHi,
Can you check the SharePoint ULS log located at : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS, and look at the log there when the error occurs?
You can also check the Application Event Log on the SQL Server to see if there are any additional errors.
Tracy Cai
TechNet Community Support -
Error Message when Delivery Note is created
HI ALL,
"Quantity falls into negative inventory" error message appears when Delivery Note is created from Sale Orders in SAP B1 system.
Pls, solve my problem,
Thanks u so much.
kyimoh
Best Regardshi kyimoh
Please check Your Item In Stock Quantity status. If your quantity less then ur Delivery quantity. So You have to increase your item In Stock Quantity.
Thanks
Khan Imran -
Hi
I am trying to create a delivery note form a sales order in B1 V9 PL8 and I am getting the following error -
Internal error (-2010) occurred
The code has been working but we seem to be getting problems now
Can anyone suggest anything please ?
Copy of the code attached
Thanks
AndyHi Andrew,
Try replacing this line:
odel.Lines.BaseLine = lineno - 1
with this:
odel.Lines.BaseLine = oorder.Lines.LineNum
Beni. -
Delivery Note to Subcontract creation error "Essential transfer parameters
Hi
I am facing issue in return delivey
Delivery Note to Subcontract creation error "Essential transfer parameters are missing in record:000001".
Could you please let me know the casue of this error and where exactly i can see error.
Regards
vikcyHi Vicky,
Check If the Customer number(Plant) has been maintained in the vendor master record control data and the vendor should also be maintained in the customer master data. Once you maintain this system determines the shipping point based on the customer master and the shipping data missing. Kindly try delivering after maintaining these and let me know If you need any more information on this.
Regards
Ram Pedarla
Maybe you are looking for
-
Does MuVo N200 fully support Traditional Chinese charact
I wonder if MuVo Micro N200 sold in the UK fully support Traditional Chinese character and some Asian languages such as Japanese(both in showing MP3 file/song name and in user interface)? Or, I can only get UK-spec N200 and it only shows English/Euro
-
Move old installations facts from old contract to new contract in transfer
Hi all, Is there anyway to automate in moving old installations facts from old contract to new contract, during transfer process in CRM / UCES ? regards, Xiang Li Edited by: xiangli heah on Jul 13, 2011 10:35 AM
-
Setting Overrides on all relevant Rules and Monitors
Can someone please help me with the following question? I was reading the post below (I believe written by Cameron Fuller) detailing some best practice around overrides. It stated if you override a 'parameter' for one rule/monitor (e.g. let's say a p
-
CENTRO ISSUE - Can't See Images Online Or Sent Pictures
I am new to the Palm message boards, so I apologize in advance if I've missed the answer to this issue somewhere. BUT my Centro suddenly stopped allowing me to view images online. This includes PictureMail (I have Sprint). In order to view receive
-
Design ASP(Application Sevice Provider) schema
Now, we have some customers, each customer may have 10GB data and we want to put some customers into one oracle instance(Oracle 8.1.6). can we use Oracle Virture Private Database idea to design to control each customer access database? How to design