SPED output to create inbound from outbound delivery.

Hello,
I have used SPED output to create inbound delivery from replenishment outbound delivery.
when there is only one batch in outbound delivery, the  inbound delivery is created and batch is copied from outbound to inbound delivery. item category is ELN in inbound delivery.
However when there is a batch split in outbound , then inbound delivery fails to create and the error log says that  no item category  exists for EL , CHSP  in table T184 L (Message=VL320).
However I have maintained the following two entries for  delivery item category determination as follows but still the error
EL (del type) + NORM+ V(usage)+blank= ELN (default item cat)
EL(del typ)+NORM+CHSP(batch split)+ELN(higher item)=ELN(default)
I have also removed higher item cat ELN from above table but still inbound delivery  cannot be created. I have also added the entry EL+NORM+blank(for usage )+blank (high item ) =ELN but still the error remains as above and inbound cannot be created . that is i have also used the follwoing three entries but still error
EL (del type) + NORM+ V(usage)+blank= ELN (default item cat)
EL(del typ)+NORM+CHSP(batch split)+ELN(higher item)=ELN(default)
EL+NORM+blank (usage)+blank(higher item )=ELN (deafult)
Kindly help ?
regards
Pamela

Check and implement OSS   1904586 - No delivery item type with SPED with batch split
Regards,

Similar Messages

  • Single Function module to create inbound and outbound delivery

    Dear Frens,
       I would like to know how VL10A is creating a deliverty document in background mode.
       otherwise can anyone help me with a single function module or BAPI or BADI which creates both
       inbound and outbound delivery.
    Regards
    Priya

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • Creation of inbound delivery from outbound delivery

    Hi All,
    Can anybody help me, if I want to create inbound delivery from outbound delivery.
    I found this function module "SHP_IBDLV_CREATE_FROM_OBDLV". But I want handling uniits to be entered by the user.
    Thanks

    Thanks for the feedback. This question is resolved

  • Print HU label from Outbound delivery using output determination

    Hi,
      We have a business requirement to print HU labels from outbound delivery. The steps followed are
    1) User executes VL02N
    2) User clicks on packing
    3) Material is entered to pack. HU is automatically generated.
    4) After saving the delivery, output message is triggered.
    Output determination is as follows
    1) An Z output type is created.
    2) Form entry and smartform name is assigned to this output type
    Issue:
    The issue is when the output message is triggered and the code in the form entry is executed, the handling unit (from nast) is not yet committed in the database. Since it is not updated in the database table, we cannot get any handling unit data to be printed.
    Any inputs on how to print HU labels using output determination from outbound delivery is appreciated.
    Thanks,
    Sandeep

    Hi Surya,
         Thanks for the reply. But, my question was how to print labels from VL02N when i pack a material on this delivery.
    Regards,
    Sandeep

  • Delete assignment of HU from outbound delivery (VL02N) not working

    Hi All
    I have searched many threads to find the solution to be above problem but none of them was working for me, so posting the query again.
    I hava a dummy pick HU that I create for some purpose, finally i want to delete the assignment of the HU in the outbound delivery.(not to delete the HU completely). For me, the assignment of the HU vanishes from outbound delivery with 3 FM's. 'HU_GET_HUS' , 'V51P_DELETE_RELATIONSHIP' and 'HU_POST'.
    The problem is, when i PGI the delivery, the HU appears again in VL03N. I am not able to understand this strange behavior.
    I have tried all FM's like bapi_hu_delete etc, but they delete teh HU completely which is not my req. I heard abt this FM BAPI_HU_DELETE_FROM_DEL, but am workng in Ecc 5.0 and the FM doesnt exist.
    Pls help
    Thanks

    Hemanth,
    I recall that we used to update the HU status as well when we dissociated HU from delivery,  though can't remember the reason now.
    Pls check the VEKP-STATUS for HU after you have done with these 3 FM calls, I believe you have to update the status to 'BLANK' with the help of some FM, try it first if it works for you by direct updating it in table in Dev.
    BR,
    Diwakar

  • Copy text from outbound delivery to billing document

    Hi Gurus,
    Is there a way to copy a text from outbound delivery to billing document?
    I found text determination. It is only possible to maintain text from Sales to Billing.
    Thanks.
    Stéphane.

    Hi,
    Goto the T.Code "VOFA".
    Select your billing type.Details.
    Goto "Output/partners/texts" tab.
    Maintain the "Textdeterm. procedure" as the procedure same as your delivery.
    Anotehr way is goto the T.Code "VOTXN".
    Here click on "Delivery Header".
    Check the check box for "Reference".
    Regards,
    Krishna.

  • How to add Total Quantity in Inbound and Outbound Delivery screen

    Hi,
    I want to add Total quantity field in Inbound and Outbound Delivery screens.
    In document flow i can see the line item quantities in ALV Format, but if i select Display the totals above the entry check box
    in Change Layout--> Display, i didn't see any totals displayed.
    Please help me on this?
    Regards
    Bhuvana

    Hi
    If the field is a customer field, see BADI 'LE_SHP_TAB_CUST_HEAD'
    Regards
    Eduardo

  • ECC 6.0 Auto create of inbound delivery from outbound delivery

    Hi-
    I have successfully created the SPED output type and attached to the output determination procedure for outbound delivery for STO. The output creates but with a red light. So no inbound delivery for the replenishment delivery is created.
    Condition records are OK
    Control key is OK.
    Does copy control need to be set up between NL doc type to EL doc type?
    Does an special item category determination need to be set up?
    Error states the item cannot be put on the delivery ( error message = 059)
    In the code it looks as though item 90001 is being sought from the purchasing document but no item exists, only items 10,20,30 etc.
    Can anyone suggest a solution?
                                       Many thanks,
                                            DEP

    HI Venkat-
    Thank you for your response. You are correct in your assumptions. I am prototyping in a Sandbox so the material I am using is batch managed but does not have a batch split on the delivery. And since batch determination is not fully configured, I am not seeing the creation of the 90001 item for the batch that is selected. The batch currently is on the same line as the material  (10). Think I will test in 2 ways....a non- batch managed material and also correct the batch determination config so the delivery will create the 90001 item.
    Hopefully this will correct the issue.
                                      Regards,
                                               DEP

  • Create Inbound Delivery from Outbound Delivery create

    Hi,
    This is what I am trying to do...
    1. Create PO (me21n)
    2. Create Outbound Delivery based on PO (VL10g)
    3. PGI (this creates a DELVRY03 IDoc)
    (IDoc is created at this step, no issues so far)
    4. Based on the Outbound DELVRY03 IDoc I want to create Inbound Delivery. Inbound IDoc is created, but not posted to Application. It gives me the following error...
    "Item 00000 of purchasing document does not exist".
    Please help me resolve this error message.
    Regards,
    Sneha

    Hello Sneha,
    Outbound delivery cannot be created against the purchase order. In a third party scenario where in we receive the shipping Notification(SN) from the vendor, it comes as Delvry02 IDOC to our system. The IDOC gets posted as Inbound delivery for which Goods Recipt happens against the Purchase order using the transaction MIGO. This updates the vendor confirmation table EKES. If you see the Confirmations tab in purchase order you will see the Inbound delivery number and external delivery number.
    Outbound delivery gets created against the sales order and uses the stock posted by the goods receipt to issue the goods. The ASN signals(DelVRY03) gets created after PGI happens in the Outbound delivery.
    The Process is like
    Purchase Order(ORDERS05) goes to vendor --- > Vendor Manufactures the goods sends back Ship notifcation(SN) -> SN posts the goods Inbound Delvery is created and GR happens.-> Outbound delivery gets created and ASN signals go to the forwarder.
    Do revert to me for any further clarification.

  • IDOC to create from outbound delivery from sales order as INBOUND process

    Hi Experts,
    We have third party interface for sales processing. Sales order, Outbound delivery and PGI will be done in Third party software and XML files will be send to SAP.
    We have to process this XML file into SAP with IDOC.
    Sales order processing is done but i am not able to find correct IDOC type for creating outbound delivery.
    Can you suggest Basic IDOC type / Message type and process code for the same.
    Regards,
    Sahadev Abhyankar

    Good morning !
    In the transaction WE20 to create the customer EDI  KU with EM function.
    Output parameter: message type DESADV and basic IDOC DESADV01.
    I associate the IDoc message type to LAVA, you should link it to the XML file, that is not how.
    Please : Could you please explain how you linked the XML file to IDOCS to create sales order ?
    Sorry for my poor English
    A greeting.

  • Function module to create Invoice from the Delivery no ?

    Hi All,
    Is there any way (function module) to create an Invoice from the Delivery no and the Billing Type ? We do not want to go with BDC for transaction VF01.
    Details:
    We want to generate a pro-forma invoice while saving the delivery. We will have 'Special Function' (NAST-NACHA = 8) in the output determination and a routine would be called from there. That routine would contain the code to generate the Invoice. We will have only the 'Delivery no and the Billing Type'  in that routine. So trying to find any function module which can create an Invoice from the Delivery no and the Billing Type.
    Any suggestion / hint  is welcome.
    Thanks,
    Ashok

    Hello Ashok Satapathy ,
                                        The only option  for you is to call the FM "GN_INVOICE_CREATE" .
    There is no special FM availaible to pass only the delivery number at this point.
    You need to retrieve all the delivery information details and need to pass it to the FM "GN_INVOICE_CREATE".
    Thanks,
    Greetson

  • Looking for "Creating IDocs from Outbound Deliveries 101" guide

    Please forgive what is probably a very stupid question as I am very new to the subtleties of SAP interface configuration. I am looking for a guide to as to how to set up SAP4.7 to create an IDoc from the creation (or update) of an outbound delivery. I'm think I'm looking for a SHPORD IDoc, and I thought I'd set up all the necessary stages, but I create a delivery and no idoc appears.
    If anyone knows of a "basic configuration guide" to get a SHPORD idoc from a delivery then please point me in that direction.
    Thanks!

    check here https://www.sdn.sap.com/irj/sdn/wiki
    SAP R/3(Idocs) to XI - Steps Summarized

  • Creating Invoice from a Delivery Note using SDK

    Hi,
    I am working on SAP 2005 A Patch 4 with SQL 2000 SP 4. I am using VB.NET (VS2005). I am trying to create a Invoice from a Delivery note which is created based on a Sales order.
    I am getting the following error
    Error occured while saving Invoice: 0 - '15' is not a valid value for field 'BaseType'. The valid values are: '-1' - '',  '0' - '',  '23' - 'Sales Quotation',  '17' - 'Sales Order',  '16' - 'A/R Returns'
    The Code that i used to create the invoice is as follows
    Dim oInvoice As SAPbobsCOM.Documents
            oInvoice = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            oDelivery = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
            Try
                If oDelivery.GetByKey(iDlvNo) = True Then
                    sTaxCodes = sTaxCode
                    oInvoice = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                    oInvoice.CardCode = oDelivery.CardCode
                    oInvoice.SalesPersonCode = oDelivery.SalesPersonCode
                    oInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                    oInvoice.DocumentSubType = SAPbobsCOM.BoDocumentSubType.bod_None
                    oInvoice.Address = oDelivery.Address
                    oInvoice.ShipToCode = oDelivery.ShipToCode
                    oInvoice.Address2 = oDelivery.Address2
                    oInvoice.JournalMemo = "Invoice - " & oDelivery.CardCode
                    oInvoice.Comments = "Based on Delivery  " & oDelivery.DocNum
                    oInvoice.PaymentGroupCode = oDelivery.PaymentGroupCode
                    oInvoice.DocDueDate = Now.Month & "/" & Now.Day & "/" & Now.Year
                    For iRowNo = 0 To oDelivery.Lines.Count - 1
                        If iRowNo > 0 Then
                            oInvoice.Lines.Add()
                        End If
                        oDelivery.Lines.SetCurrentLine(iRowNo)
                        oInvoice.Lines.ItemCode = oDelivery.Lines.ItemCode
                        oInvoice.Lines.Quantity = oDelivery.Lines.Quantity
                        oInvoice.Lines.Rate = oDelivery.Lines.Rate
                        oInvoice.Lines.BaseType = SAPbobsCOM.BoAPARDocumentTypes.bodt_DeliveryNote
                        oInvoice.Lines.BaseEntry = iDlvNo 'DocEntry of Delivery Note
                        oInvoice.Lines.BaseLine = iRowNo
                        oInvoice.Lines.TaxCode = sTaxCodes
                    Next
                    iReturnValue = oInvoice.Add()
                    If iReturnValue <> 0 Then
                        pcompany.GetLastError(iReturnValue, sErrorDescription)
                        Throw New Exception("Error occured while saving Invoice: " + _
                                           iErrorNo.ToString() + " - " + sErrorDescription)
                    Else
                        MessageBox.Show("Invoice created succesfully")
                    End If
                End If
    Since in the error message it has specified that i have given the BaseType as Delivery which has a value of 15 i changed that from bodt_DeliveryNote to bodt_Order which has a value as 17.
    When i tried creating the invoice again it gave the error
    Error occured while saving Invoice: 0 - Target item number does not match base item number.  [RDR1.TargetType][line: 2]
    I am not able to proceed further ... can any one help me
    thanks in advance
    Ganesh

    Greetings,
    I am having a similar problem, only I'm doing it as suggested in Louis' reply.  In fact I copied that code and tried it.  It's giving me a 2028 error with no description.
    I had been doing it slightly differently and the error I was getting was 5002 "Item no. is missing [INV1.ItemCode][line 2]"  I don't have 2 lines and I'm certain I have an item code.  The numbers I'm putting in for baseentry & baseline are absolutely in the table and the order is open.
    Here is that code:
            oDNUpd = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            oDNUpd.CardCode = CardCode.Text
            oDNUpd.Lines.BaseEntry = CInt(SalesOrder.Text)
            oDNUpd.Lines.BaseLine = CInt(baseline.Text)
            oDNUpd.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
            oDNUpd.Lines.Add()
            lretcode = oDNUpd.Add
    I'm using SBO 2005 patch 7 (and the new dll).  I have similar code doing a stock transfer and it's working fine.
    Thanks for any suggestions you can offer
    John

  • Update VEKP-EXIDV2 during automatic HU creation from outbound delivery

    Hi All,
    I need your suggestion / input on following scenario.
    When I create an outbound delivery and save it, an automatic Transfer Order is created and at the same time an HU is created for delivery.
    Now, I want to populate the field VEKP-EXIDV2 ( HU header -- Handling Unit's 2nd External Identification) with a specific logic.
    Can anyone suggest a suitable EXIT or BADI or Enhancement point where I can populate the field VEKP-EXIDV2 ?
    Note: I have tried using EXIT_SAPLV51S_001 and also BADI_HU_MAIN, but it is not helping in my case.
    Because it is called only when Transfer Order is created manually (LT03), but is not triggered when TO is created automatically after saving the outbound delivery.
    Thanks & Regards,
    Devendra

    Hi Ankur,
    I am not going into HU creation screen in VL02N. There is some setting on functional side to create the automatic TO and HU during outbound delivery creation.
    When I save the delivery, an entry in HU header table (VEKP) gets created automatically. I want to populate the field VEKP-EXIDV2. But, the EXIT or BADI as mentioned in my previous post is not helping in this case.
    I would appreciate if you can throw some light in resolving this problem.
    Thanks.
    Devendra

  • Delivery document Type of Inbound and Outbound delivery

    Hi,
    Please suggest standard delivery type for inbound and outbound deliveries.
    Regards,
    shreya

    Hi,
    Standard delivery types:
    inbound delivery EL
    outbound deliveries LF
    subcontracting LB
    project LP
    replenishment NL
    returns RE
    without ref LO
    Regards,
    MdZ

Maybe you are looking for