Adding Delivery Document in FBL3N

Hi gurus,
i have a requirement of adding a delivery document number in FBL3N.please suggest me is it possible , if so please can you send me the details on that.
Thanks and regards,
Rajeshwar

Hi Rajeshwar ,
try to add field Reference it will have Delivery No in it.
but u need to know every document will have ref in it , but based on the Document type u can find out which one is DO or SO......
regards
prabhu
Edited by: Prabhu Peram on Oct 8, 2008 4:41 PM

Similar Messages

  • Delivery Document in FBL3N

    Hi gurus,
    i have a requirement of adding a delivery document number in FBL3N.please suggest me is it possible , if so please can you send me the details on that.
    Thanks and regards,
    Rajeshwar

    Hi,
    In FBL3N report, after generating the Report, Go to Settings - Special fields and add the required field. If the field required by you exists in the list of special fields-Table then it will allow you to display the field.
    Note- this is a cross client change
    hope this helps
    regards,
    radhika

  • Web Services,Delivery Document Adding Error  Could not commit Transaction

    Dear All,
       I am working with SAP Business One Web Services, While adding Delivery Document it's giving error  "Could not commit transaction"  Please Give your Suggestion It's urget.
    Thanks,
    Madhu
    9701155577

    Hi,
    Do you mean there is no journal entry created orthat the link is missing?
    If this really is a delivery for stock/inventory items there should be a journal entry, else it sounds like an error in SAP.
    Are there still changes in the stored procedure? Also have a look at the TansactionNotice. It is possible the roll back does not work correctly.
    Again sounds like an error.
    Doe sit happen all the time?
    Only for certain items?
    Are the stored procedures now clean?
    What Version are you using?
    Kind Regards,
    Friederike

  • Adding a delivery document with serial numbers

    Hi everyone,
    A delivery document is created in code and the item delivered requires a serial number. In this example there is a quantity of two so two serial numbers will need to be added.
      Dim oCompany As New SAPbobsCOM.Company, lRetCode As Long
            Dim oSerialNumbers As SAPbobsCOM.SerialNumbers
            Dim oDelivery As SAPbobsCOM.Documents
            Dim RetVal As Long
            Dim ErrCode As Long
            Dim ErrMsg As String
                oDelivery = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
                oDelivery.CardCode = "KellyD"
                oDelivery.DocDate = "09/20/2005"
                oDelivery.Lines.ItemCode = "MDASTPE"
                oDelivery.Lines.Quantity = 1
                oDelivery.Lines.TaxCode = 0
                oDelivery.Lines.Price = 300
                oSerialNumbers = oDelivery.Lines.SerialNumbers
                ??What code goes here to enter the serial numbers??
                RetVal = oDelivery.Add
    Any help would be appreciated.
    Thanks.

    Hi
    try this or something alike
    oSerialNumbers.add() ' i'm not sure if its necessary
    oSerialNumbers.SetCurrentLine(0)
    oSerialNumbers.InternalSerialNumber="yourfirstserial"
    oSerialNumbers.add()
    oSerialNumbers.SetCurrentLine(1)
    oSerialNumbers.InternalSerialNumber="yourSecondserial"
    tell me results
    Kind regards
    Salvador Biot

  • Adding Item managed by serial no.s to Delivery Document

    Hello Experts,
    Can you please help me in the following?
    I'll appreciate your help.
    I want to add items managed by Serial Number to delivery document (using DI API).
    We have a set of internal serial numbers to be used for those items.
    For E.g, we have to add an item with code A0001, quantity of 2, with internal serial numbers to be used 00080,00090
    to the delivery document.
    (We allow the user to specify the internal serial numbers to be used).
    I'm not sure how to get the system serial number for this item.
    I believe OSRI has the Serial No/Internal serial no. for each item, w.r.t the marketing documents. (Is each item has its own set of system serial nos & internal serial no.s? From where we need to take it?)
    Can you please post if you have any sample code?
    (If possible, can you please explain me the relationship between OSRI and marketing documents, and oitem)
    Thanks a lot.
    Regards,
    Geetha
    Code that I'm using:
    Private Function UpdateSerialNumbers(ByRef objSerialNumbers As SAPbobsCOM.SerialNumbers, ByVal strShpReqNm As String, ByVal strShpReqRw As String) As Boolean
    'Get the values of Internal Serial numbers from our table, into this RS.
    If objRS.RecordCount > 0 Then
    objRS.MoveFirst()
    Dim i As Integer
    If objSerialNumbers.Count <= 0 Then SerialNumbers.Add()
    For i = 0 To objRS.RecordCount - 1
      Dim strTmp As String
      strTmp = objRS.Fields.Item(0).Value() & ""
      objSerialNumbers.SetCurrentLine(i)
      objSerialNumbers.InternalSerialNumber = strTmp 'e.g 00080
    'Need your help in this step
      objSerialNumbers.SystemSerialNumber =     objCommon.GetNextKeyValue("OSRI", "SysSerial")
      objRS.MoveNext()
      If Not objRS.EoF Then
        SerialNumbers.Add()
      End If
    Next
    End If
    End If
    return true
    End Function
    Function CallingFn() as boolean
    UpdateSerialNumbers(objDLDoc.Lines.SerialNumbers, objHeaderInfo.ShipReqNum, strTmp)
    objDLDoc.Add
    End Function

    Geetha,
    let me explain you shortly how the serial data is stored in the database
    OSRI - Serial Numer for Items
    SRI1 - Serial No. Trans. for Item
    OSRI and SRI1 are "connected" by SysSerial
    SRI1 is connected to the Document Tables Lines (INV1, DLN1, ...)
    with BaseType, BaseNum and BaseLinNum to the Document
    a Serial Number is Unique - 1 SerialNr = 1 Quantity (thats the difference to Batches)
    regards
    David

  • Delivery document available in VKDFS table. How to remove that?

    Hi,
    The scenario goes like this. I create purchase order,goods receipt and invoice. followed by which i create a return delivery for one line item . Now this return delivery gets added in VKDFS table. The reason is because billingtype is IV(Intercompany billing).
    Item category of delivery is RLLN(Relevant for proforma). generally item category relevant for proforma doesnt get added in VKDFS. But since this is intercompany billing it is added in VKDFS.
    Now my doubt is how or where do we give the billing type for delivery document.I mean where do we assign Intercompany billing to delivery document.....

    Hello,
    please run transaction 0VLK to dsiplay the involved delivery type.
    Notice the field 'Default ord.ty' TVLK-DAART.
    Run transaction VOV8 to display the order type in TVLK-DAART.
    Here you can see the 'Intercomp.bill.type'
    Best regards,
    Ivano.

  • Delivery Document is closed-Solution required to manage transaction!

    Dear All,
    What could be  the best solution for....
    "A delivery document has been added from a standalone return document and status is closed,Now customer wants to add an invoice for closed delivery and skipping outgoing invoice"
    Pls suggest me,how to manage this out of procedure transaction in SAP B1.
    Thanks....

    Hi Param,
    SAP B1 is quite restrictive in the case of closed documents. What you can do is create a delivery note exactly same as the one which is closed. In the remarks field/or any other suitable field add the 'closed delivery note' document number to maintain the traceability. Create the invoice exactly the one you were going to for 'closed delivery note'.
    Hope this helps.
    Regards,
    IC

  • Report on delivery document and item

    Hi experts,
    I have some report requirements where i need delivery document number and item in the report. I wanted to hear some opinions on how to model this, i mean, should i add document number and item to the cube (0SD_C04) or should i build a DSo before and make the reporting over it?
    thanks in advance,
    Nuno
    @points assigned

    Hi,
    as usual it all depends on your requirements and the environment you are dealing with.
    a) how many documents are created daily/weekly/monthly? --> check the data volume
    b) what are the reporting requirements? --> will users expect lots of drill down/thru possibilities and short response times
    c) what is the time frame for keeping the doc numbers/items for reporting?
    I already added the doc no. to the cube for smaller companies creating may be a 2nd and 3rd cube after some time (2 - 3 years) combining them via multicube. In case you will have lots of drill downs/thrus this is may be the only performant solution because on a ods you might have to build tons of indexes to enable fast reporting. In case the documents are only relevant for a short period (e.g. the last 3 - 6 months) you might think about creating a ods and do selective deletions of the older data......
    regards
    Siggi

  • DIAPI posting Delivery Document with Serial Numbers SP1

    Release 2005A, SP1 PL4 seems to have broken code that worked with SP00.  When trying to create a Delivery Document that contains Serial Numbers, an error is generated: Error -1, General Error.  When adding a delievery document which does not contain serial numbers, the document adds successfully.
    The following code loops through a recordset to create documents, add expenses and add serial numbers when appropriate.  Is this a new 'feature' or can we make a coding change to eliminate this error?
    Sample code:
        Try
          oSalesOrder = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
          RecSet = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet2 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet3 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet4 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet5 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet6 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          '-- Select Documents to process and loop through recordset
          lsSQL = "SELECT DocEntry FROM DeliveryTable WHERE ProcessResult IS NULL Group by DocEntry"
          RecSet.DoQuery(lsSQL)
          While Not RecSet.EoF
            oSalesOrder.GetByKey(RecSet.Fields.Item(0).Value)
            If bDocuments(piCompany).DelDraft = False Then
              oDelivery = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
            Else
              oDelivery = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
            End If
            oDelivery.CardCode = oSalesOrder.CardCode
            oDelivery.Comments = "Based On Sales Order " & oSalesOrder.DocNum & "."
            oDelivery.DocDate = Today
            oDelivery.ContactPersonCode = oSalesOrder.ContactPersonCode
            oDelivery.DocCurrency = oSalesOrder.DocCurrency
            oDelivery.DocDueDate = Today
            If bDocuments(piCompany).DelDraft = True Then
              oDelivery.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
            End If
            '-- Handle Expenses for Document
            Dim ExpenseLoop As Integer
            Dim ExpenseCount As Integer = 0
            For ExpenseLoop = oSalesOrder.Expenses.Count - 1 To 0 Step -1
            ExpenseCount += 1
              '-- Create new Expense if needed
              If ExpenseCount > oDelivery.Expenses.Count Then
                oDelivery.Expenses.Add()
              End If
              oSalesOrder.Expenses.SetCurrentLine(ExpenseLoop)
              '-- Copy all non-readonly properties
              If oSalesOrder.Expenses.LineTotal > 0 Then
                oDelivery.Expenses.BaseDocEntry = oSalesOrder.Expenses.BaseDocEntry
                oDelivery.Expenses.BaseDocLine = oSalesOrder.Expenses.BaseDocLine
                oDelivery.Expenses.BaseDocType = oSalesOrder.Expenses.BaseDocType
                oDelivery.Expenses.DeductibleTaxSum = oSalesOrder.Expenses.DeductibleTaxSum
                oDelivery.Expenses.DistributionMethod = oSalesOrder.Expenses.DistributionMethod
                oDelivery.Expenses.ExpenseCode = oSalesOrder.Expenses.ExpenseCode
                oDelivery.Expenses.LineTotal = oSalesOrder.Expenses.LineTotal
                oDelivery.Expenses.Remarks = oSalesOrder.Expenses.Remarks
                oDelivery.Expenses.TaxCode = oSalesOrder.Expenses.TaxCode
                oDelivery.Expenses.VatGroup = oSalesOrder.Expenses.VatGroup
              End If
            Next ExpenseLoop
            Dim i As Integer = 0
            Dim liMinRef As Integer = -1
            For x = 0 To oSalesOrder.Lines.Count - 1
              lsSQL = "SELECT ISNULL(MIN(CAST(LineRef as int)),999999) as MinLineRef FROM DeliveryTable WHERE DocEntry = " & RecSet.Fields.Item(0).Value & " AND CAST(LineRef as int) > " & liMinRef
              RecSet5.DoQuery(lsSQL)
              If Not RecSet5.EoF Then
                '-- It's possible that the DeliveryTable has less records then the RDR1 table - if that's the case
                '-- we may be at the end, so set the liMinRef field to something out of range
                liMinRef = RecSet5.Fields.Item(0).Value
              End If
              '-- get line items for each document
              lsSQL = "Select * from DeliveryTable WHERE DocEntry = " & RecSet.Fields.Item(0).Value & " AND LineRef = " & x & " AND ProcessResult IS Null"
              RecSet2.DoQuery(lsSQL)
              RecSet2.MoveFirst()
              While Not RecSet2.EoF
                '-- We need to walk through the SO to find the item that we are receiving based on the LineNum
                Dim liCurrentLine As Integer = x
                Dim lbFound As Boolean = False
                While liCurrentLine <= (oSalesOrder.Lines.Count - 1)
                  '-- We need to get the PO Line number (x is NOT the LineRef)
                  oSalesOrder.Lines.SetCurrentLine(liCurrentLine)
                  If oSalesOrder.Lines.LineNum = liMinRef Then
                    lbFound = True
                    Exit While
                  End If
                  liCurrentLine += 1
                End While
                If lbFound Then
                  i += 1
                  If i > oDelivery.Lines.Count Then
                    oDelivery.Lines.Add()
                  End If
                  oDelivery.Lines.BaseEntry = oSalesOrder.DocEntry
                  oDelivery.Lines.Quantity = RecSet2.Fields.Item(6).Value
                  oDelivery.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
                  oDelivery.Lines.LineTotal = oSalesOrder.Lines.LineTotal * (oDelivery.Lines.Quantity / oSalesOrder.Lines.Quantity)
                  oDelivery.Lines.UserFields.Fields.Item("U_WhseLoc").Value = RecSet2.Fields.Item(8).Value
                  oDelivery.Lines.AccountCode = oSalesOrder.Lines.AccountCode
                  oDelivery.Lines.Address = oSalesOrder.Lines.Address
                  oDelivery.Lines.Currency = oSalesOrder.Lines.Currency
                  oDelivery.Lines.ItemCode = oSalesOrder.Lines.ItemCode
                  oDelivery.Lines.BaseLine = liMinRef
                  oDelivery.Lines.ItemDescription = oSalesOrder.Lines.ItemDescription
                  oDelivery.Lines.WarehouseCode = oSalesOrder.Lines.WarehouseCode
                  lsUserID = RecSet2.Fields.Item("UserID").Value
                  '-- manage serial numbers
                  j = -1
                  lsSQL = "Select * from DeliverySerial WHERE DocEntry = " & oDelivery.Lines.BaseEntry & " AND LineRef = " & liMinRef
                  lsSQL += " AND WIPLineRef = " & RecSet2.Fields.Item("WIPLineRef").Value
                  RecSet3.DoQuery(lsSQL)
                  While Not RecSet3.EoF
                    '-- get the next SystemSerialNumber for the Inventory Item
                    lsSQL = "EXEC " & gsDB(piCompany) & "xspGetSysSerial " & sparm(oDelivery.Lines.ItemCode) & ", " & sparm(RecSet3.Fields.Item("LotNo").Value)
                    lsSQL += ", " & sparm(RecSet3.Fields.Item("ManSerNo").Value) & ", " & sparm(RecSet3.Fields.Item("IntSerNo").Value)
                    lsSQL += ", " & RecSet3.Fields.Item("QTY").Value & ", " & sparm(oDelivery.Lines.WarehouseCode) & ", " & sparm(RecSet2.Fields.Item(8).Value)
                    RecSet4.DoQuery(lsSQL)
                      j += 1
                      If j + 1 > oDelivery.Lines.SerialNumbers.Count Then
                        oDelivery.Lines.SerialNumbers.Add()
                      End If
                      oDelivery.Lines.SerialNumbers.SetCurrentLine(j)
                      oDelivery.Lines.SerialNumbers.BatchID = RecSet3.Fields.Item("LotNo").Value
                      oDelivery.Lines.SerialNumbers.ManufacturerSerialNumber = RecSet3.Fields.Item("ManSerNo").Value
                      oDelivery.Lines.SerialNumbers.InternalSerialNumber = RecSet3.Fields.Item("IntSerNo").Value
                      oDelivery.Lines.SerialNumbers.SystemSerialNumber = RecSet4.Fields.Item(0).Value
                      oDelivery.Lines.SerialNumbers.BaseLineNumber = oDelivery.Lines.BaseLine
                    RecSet3.MoveNext()
                  End While
                  '-- 'end manage serial numbers
                End If
                RecSet2.MoveNext()
              End While
            Next x
            '-- now add object to SAP
            If 0 <> oDelivery.Add() Then
              Dim liError As Long
              Dim lsError As String
              Call oCompany(piCompany).GetLastError(liError, lsError)
              '-- write error code to table - Delivery document creation was unsuccessful
              lsSQL = "Update DeliveryTable SET ProcessResult = " & liError & ", ProcessDate = GetDate() WHERE DocEntry = " & oSalesOrder.DocEntry & " AND ProcessResult Is Null"
              RecSet2.DoQuery(lsSQL)
              lsuWriteEvent("AR Delivery", bDocuments(piCompany).DelDraft, oSalesOrder.DocEntry, liError, lsError, piCompany)
            Else
              lsuWriteEvent("AR Delivery", bDocuments(piCompany).DelDraft, oSalesOrder.DocEntry, 0, "Success", piCompany)
            End If
            RecSet.MoveNext()
          End While
        Catch
          LogErrorMessage(Err.Description)
        Finally
          If Not RecSet Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet)
          End If
          If Not RecSet2 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet2)
          End If
          If Not RecSet3 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet3)
          End If
          If Not RecSet4 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet4)
          End If
          If Not RecSet5 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet5)
          End If
          If Not RecSet6 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet6)
          End If
          If Not oSalesOrder Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oSalesOrder)
          End If
          If Not oDelivery Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oDelivery)
          End If
          GC.WaitForPendingFinalizers()
        End Try

    We have narrowed down the issue to this:
    If you are just adding a delivery document with serial numbers, the DIAPI works OK.  If you are adding a delivery document which is based upon a sales order and add the 3 lines that reference it:
    oDelivery.Lines.BaseEntry = oSalesOrder.DocEntry
    oDelivery.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oDelivery.Lines.BaseLine = liMinRef
    then you receive a error of -1, General error.  This is functionality that did work in 2004 and 2005 SP00.  I believe this is a bug.

  • How to update packing list inform to an outbound delivery document

    Hi all Experts,
    I meet with an tough requirements, Is there any solution fuction can use to generate packing to a outbound delivery document?
    PLease kindly advice, thanks!
    Regards,
    wei-guo

    Hi,
    I did a little test and, within the method CHANGE_DELIVERY_ITEM, itu2019s possible to fill the picking quantity (structure CS_LIPSD) but unfortunately during the save the added information is lost.
    This is because the BAdI method is fired too soon and the routine PICKMENGE_BEARBEITEN (SAPFV50P) is not called at all.
    The problem is quite complex; even after changing the picking quantities, the picking status still remains open!
    The picked quantity is generally filled:
    u2022     by printing the picking list
    u2022     Warehouse Management by creating a transfer order
    u2022     or by manual entry
    Otherwise, it is assumed that picking has not yet been initiated and the result is that picked quantity is ignored.
    In my opinion itu2019s very difficult to solve your problem using only the BAdI implementation.
    I suggest you to propose an alternative solution such as the automatic processing of Picking Output EK00; easy to activate and absolutely standard!!!!!!
    Regards,
    Andrea

  • Excise condition types not appearing in the Delivery document pricing

    Hi,
    This is a scenario of sales from an Exciseable Plant.
    The client has pricing requirement at delivery document.
    I have configured the pricing at Delivery document, but the Excise condition type (JEXP) does not appear.
    We are maintaine ED values at control code level and control code field is not availabe in LIPS, i tried adding the field in LIPS structure but still the ED condition type does not appear as program is not identifying the control code field in delivery.
    Can you please let me know the solution for bringing Excise condition type in the Delivery document pricing procedure.
    Regards
    Venkat

    Changed the Condition Category from 'F' to 'L'.

  • Copy the Frieght/AdditionalExpenses from SO to Delivery document

    Hi,
    I want to copy the Frieght/AdditionalExpenses from SO to Delivery document. I'm using the following code.
    When I'm adding DL document, I get internal error -5002.
    Please help me.
    Thank you.
                Dim objBaseDoc As SAPbobsCOM.Documents
                        objBaseDoc = objSBOAPI.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                If objBaseDoc.GetByKey(strFirstDocEntry) = True Then
                    Call AddExpensesFromBaseDoc(objDLDoc, objBaseDoc.Expenses)
    Private Function AddExpensesFromBaseDoc(ByRef objDLDoc As SAPbobsCOM.Documents, ByRef objExpenses As SAPbobsCOM.DocumentsAdditionalExpenses)
            Try
                Dim i As Integer, ncnt As Integer, nIndexToStart As Integer
                nIndexToStart = objDLDoc.Expenses.Count
                Try
                    objDLDoc.Expenses.SetCurrentLine(nIndexToStart)
                Catch ex As Exception
                    objDLDoc.Expenses.Add()
                End Try
                ncnt = objExpenses.Count
                For i = 0 To ncnt - 1
                    objExpenses.SetCurrentLine(i)
                    objDLDoc.Expenses.SetCurrentLine(nIndexToStart + i)
                    objDLDoc.Expenses.ExpenseCode = objExpenses.ExpenseCode
                    objDLDoc.Expenses.LineTotal = objExpenses.LineTotal
                    'objDLDoc.Expenses.TaxCode = objExpenses.TaxCode
                    If (i + 1) < ncnt Then
                        objDLDoc.Expenses.Add()
                    End If
                Next
            Catch ex As Exception
                Call objSBOAPI.SBO_Appln.MessageBox("AddExpensesFromBaseDoc " & ex.Message)
            End Try
        End Function

    Hi Geetha,
    The most likely reason for that error message is that there's a blank expenses line in the delivery. If you put a break point just before you try and add the delivery, check to see if every expenses line in the delivery has an expense code.
    I suspect the problem is that the document object will automatically have a Expenses.Count value of 1, even if no expenses have been added. Therefore, if you've just created a new instance of a delivery document your following code will add a new expenses line but leave the first line empty:
    nIndexToStart = objDLDoc.Expenses.Count
    Try
    objDLDoc.Expenses.SetCurrentLine(nIndexToStart)
    Catch ex As Exception
    objDLDoc.Expenses.Add()
    End Try
    You need to add logic to this, if Count is 1, then check to see if an expenses code has been set for this line. If not, then you need to overwrite the values in the first expenses line. If the count is 1 and there is an expenses code set on this line then you need to add a new expenses line.
    Kind Regards,
    Owen

  • Approvals process for Delivery document

    Hello Experts,
    I have a non conventional scenario, that needs to be handled by SAP Deliveries (Created without reference). Business scenario is as follows:
    A research organization has multiple testing sites across the globe. It already has SAP system installed for its day to day processes. The organization has testing sites across the globe which order specific chemicals from a primary site. Now it is required to  capture the delivery related part of this process needs to be mapped into SAP. SAP Delivery document would be used to meet this requirement.
    However, the legacy system has an approval process in place. i.e. there are 4 lines in a request, it is quite possible that these 4 materials have 4 different 'owners'. These 'owners' 'approve' the release of specific chemicals in the legacy system.
    The requirement is to map this line item level approval in the delivery document. However, Delivery Block is only at header level. Please provide suitable pointers so that this can be captured in standard SAP, or if not possible  suggest appropriate customisation.
    Thanks in advance,
    Onkar

    1. Would it be possible to control the workflow for a delivery at line item level. If yes how will the approval result in status change in Delivery?
    I think we can initiate the work flow line item wise .It should be populate services for object tab.That is the reason when some thing is missed you should put some check point before you do PGI the delivery completly approved or not.
    2. We have only 2 statuses: picking completion and PGI. The delivery in legacy system has 2 more statuses, and they are to be captured in SAP delivery(at header level). Is it possible to add statuses to the delivery, or use some of the standard ones?
    What are other 2 status you required ?.If it is really required then check in any otions VOFM to add some fields in header .
    3. I am not able to edit price in the delivery, despite adding pricing procedure, and making the item category relevant for pricing. The pricing fields are grayed out. Am I missing anything?
    *Did you make any pricing configuration for the delivery type ?.If not do configuration.
    SPRO>Logistics Execution>Shipping>Basic Shipping Functions>Pricing-->Define Pricing Procedures for Delivery*

  • DIAPI posting Delivery Document with Serial Numbers

    Hi,
    I am using SAP 2005A, SP01, Patch 8. I am not able to create a delivery document based on Sales Order with serial number items.
    Code is given below. The error i get is
    Error No: -10, Message: [DLN1.WhsCode][line: 0] , 'The selected quantity of batch/serial numbers is greater than the open quantity.'
    When i checked the openqty in the sales order it is 0 and i guess we cannot set it thru DIAPI. Any solutions?
    Dim oSO As SAPbobsCOM.Documents
    Dim oDlv As SAPbobsCOM.Documents
    oSO = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    oDlv = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
    ' iSoDocEntry contains Sales Order no
    If oSO.GetByKey(iSoDocEntry) = True Then
    oDlv.CardCode = oSO.CardCode
    oDlv.DocDueDate = oSO.DocDueDate
    oDlv.Comments = "Based on Sales Order " & iSoDocEntry & "." & oSO.Comments
    oDlv.Address = oSO.Address
    oDlv.ShipToCode = oSO.ShipToCode
    oDlv.Address2 = oSO.Address2
    oDlv.AgentCode = oSO.AgentCode
    oDlv.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
    oDlv.DocumentSubType = SAPbobsCOM.BoDocumentSubType.bod_None
    oDlv.Lines.BaseLine = iRowNo
    oDlv.Lines.BaseType = SAPbobsCOM.BoAPARDocumentTypes.bodt_Order
    oDlv.Lines.BaseEntry = iSoDocEntry
    Dim objSerialNum As SAPbobsCOM.SerialNumbers
    Dim sSerialNumbers(), sSysSerialNumbers(), sInternalSerial() As String
    Dim iCount As Integer
    objSerialNum = oDlv.Lines.SerialNumbers()
    sSerialNumbers = sSupSerial.Split(",") ' Contains the List of Supplier Serial Nos value of the Selected serials
    sSysSerialNumbers = sSysserial.Split(",") ' Contains the List of Sys Serial value of the selected serials
    sInternalSerial = sInternal.Split(",") ' Contains the List of Internal Serial value of the selected serials
    For iCount = 0 To sSysSerialNumbers.Length() - 1
    objSerialNum.InternalSerialNumber = sInternalSerial.GetValue(iCount)
    objSerialNum.ManufacturerSerialNumber = sSerialNumbers.GetValue(iCount)
    objSerialNum.SystemSerialNumber = sSysSerialNumbers.GetValue(iCount)
    objSerialNum.SetCurrentLine(iRowNo)
    objSerialNum.Add()
    Next
    end if
    iReturnValue = oDlv.Add()
    Thanks,
    Jayakumar

    Hey,
    I was having the same problem... With that error though I found that when I wrote the Delivery Obj to an XML file that every time that you add a Serial Number Line you are adding a blank Serial number line, and thus producing that error. I have also seen other post the same problem with the same solution of removing the Add completely for all serial numbers. Just a warning as well. If you want to create a Delivery Withless items then the assosiated SO, There seems to be a bug with SAP that will give you a error stating that some random Item (one that may or may not be in the sales order) does not have a system Serial number avaliable...
    Anyways, that has been my experience,
    Hope this helps
    Jeremy Adam

  • Approval for Delivery Document

    Hi Experts,
    My question is related to Delivery Document that how can we amend the  Delivery document again, because they compare the Packing list PLDS.(Right Click to find the Packing list).So there is any solution for that.In Simple word they want to change the information in Delivery Doc becaue they don't sure about there Rate & Quantity.
    Regards
    Amol

    Hi Amol
    you can not able to change the delivery after you added in the system. But you can set that as approval stages.
    Define the approval stages and check it out
    Ashish Gupte

Maybe you are looking for

  • Is is possible to combine multiple page orientations in a single document (Pages '09 v4.1)?

    I'm trying to write a document with differing page orientations (landscape, portrait) for individual pages.  This has *LONG* been a feature in Word but I can't figure out how to do it in Pages '09.  What am I missing? 

  • ITunes 5: Get Info crash

    If I Control-Click on a library item then choose Get Info (on my Mac, or a shared library or the iTunes Music Store), iTunes crashes immediately. If, however, I press Command-I, Get Info window appears. iTunes has been completely deleted (including r

  • Score Box

    I have a Dynamic Score box that does not display the correct score.  This is the code I have if (man.hitTest(circle)){   circle._x=5;   score=score + 1   scoreDisplay.text=score Can you help

  • Messages Text Invitation Alert does not seem to work with AIM account

    Back in the days of iChat - I had a Text Invitation Alert setup to play a sound and repeat that sound.  This way if I was away from my computer, it would keep making noise until I accepted/declined the IM. Now I upgraded to Mountain Lion and am using

  • AR8 freezes for about 40 seconds after start

    Hi, I use SuSE Linux 10.0 on a Thinkpad R51 and I installed the 8.1.1 enu rpm version of adobe reader and I use a dual head xinerama display. Biggest problem: Adobe Reader starts up normally and for about 2 secs, it can be used normally. Then, it fre