Creating TO from Inbound delivery

hi, all
while creating Transfer Order with Inbound Delivery I am getting the following error.
AN INTERNAL ERROR HAS OCCURRED(L03T  0154H)
Message L3705.
How to fix it.
pls give some inputs

Hello,
In Customizing, the transfer order creation is not allowed for the entered material and plant. This leads to the generation of the error message with the number L3360.
As a result of missing program settings (how the program should respond in such a case), the system generates the error message L3705.
You need to make the following corrections
A material status is created in Customizing under transaction OMS4
The field 'Transfer order message' is set to 'B' - Error message (Error) in this material status in the WMS view.
The above mentioned material status is maintained in the view 'Purchasing' in the field 'Plant-Specific Material Status' in the material master for this material.
You have to implement  OSS Note 495452
Insert new entries in view V_T342 as per OSS 495452
BR,
Tushar

Similar Messages

  • Prevent the Output Message when creating PO from inbound IDOC

    Hi SAP Gurus,
    In my project, I have to create PO from inbound IDOC (PORDCR) with a specific Document Type ('099').
    Requirement: These PO should not generate the output message while the others (Doc Type # '099') do.
    I have the Z fuction module which call BAPI_PO_CREATE for posting IDOC and it works fine.
    In the existing system, there are some set up that trigger the output message type for PO (output NEU) when using ME21 or ME22, as a result my PO created with output message.
    Can you please advise if there are some way (User Exit?) that prevent the output message in this scenario (specific PO Type) without touching the current Condition setup?
    I'm new in MM and really need help!
    Thanks,
    Elaine.

    Hi Vinod,
    I really appreciate your anwer. I'm going to explore this with my functional consultant.
    Just like to have more questions:
    1. Is it easier if we change the existing condition table instead of creating a new routine?
    2. There are two forms for routine 101 (FORM KOBEV_101 and FORM KOBED_101). Can you explain to me why we need 2 here for what purpose of each form.
    3. In the debug mode by using WE19 to post inbound IDOC, I change the SY-SUBRC = 4 and PO created without output message. Is it the right direction? Anything else I need to pay attention to?
    Thanks again.
    Regards,
    Elaine.

  • Delete serial numbers from inbound delivery

    which is the best way to delete serial numbers(not manually) from inbound delivery other than writing a VL32N BDC. is there any FM or BAPI to do this? I've tried WS_DELIVERY_UPDATE and SERNR_DEL_FROM_DOCU, but they are not working. any suggestions/tips please.
    thanks
    Sam

    There was no data relating to serial numbers in the system. It rarely happens that FMs whose name and description almost fits our purpose doesn't work. Nevertheless it happens.
    Coming back to your point, I think SERNR_DEL_FROM_DOCUMENT should work. Did you check the changing parameter T_SMESG ? Is it informative ?
    Also check tables SERNR and R_SERNR.
    Other way (but a circuitous way) to check is just before deleting the serial numbers do a '/h' and in debugging find out what Function Modules does SAP call before deleting. You can simulate the same scenario and test it.
    You can also check if any classes are available to serve the same purpose.

  • Post Goods Receipt from Inbound Delivery

    Hi,
    I need to find a customer enhancement or a BADI that is modifyed a field when a Post Goods Receipt is created for an inbound delivery, in transaction VL32N.
    I have tried to use the Business Add-In LE_SHP_GOODSMOVEMENT, but the field I modified after is overwritten. It is a field of the mseg structure.
    Can anybody please advise on the available exits or BADIs?
    Thanks

    Hi,
    Please clarify whether you want to modify th efield at item or header. Please check the Badi names Starting with LE_SHP* .These BADI' are for Delivery.find the Suitable BADI and Apply it. For custom tab at header BADI is  LE_SHP_TAB_CUST_ITEM
    LE_SHP_TAB_CUST_OVER
    The BADI does not allow the update of data. There is a common trick used to perform the job ...
    - in the BADI, export the data to memory (e.g. in TRANSFER_DATA_FROM_SUBSCREEN)
    - in the old-fashion exit like USEREXIT_MOVE_FIELDS_TO_LIPS, import the data and map it.
    I hope this will resolve your issue. Thanking you.

  • Create muliple TO Putaway from Inbound Delivery line tiems

    Hi,
    Let say, we want to create TO just for three first line of Inbound Delivery XXXXX using VL06I
    In the item view screen we have selected one 3 line item
    we ever been done it for several times, but TO created was not follow our need although we have already tick some certain lines only.
    TO was created for all items as mention on one inbound delivery.
    Its also happen whenever we want to create TO by put a PO # only and we put tick remark on some items on some inbound deliveries.
    System will create TO for all items on that nominated PO #.
    Bascially we want multiple TO for one IBD
    Please suggest

    Hi,
    Please check the Reservation Tables RKPF and RESB for the Linkage with other documents.Also you mentioned about Inbound Delivery Item? Shall I think that it is nothing but Material Document (inbound Goods receipt), in that case check the Tables MKPF and MSEG of that. You will find the Reservation Number in MSEG table through which you can link RESB table.
    So now Write a select Query for MSEG and RESB tables.
    Hope this helps.
    Regards,
    Anji

  • Run time error while Creating IDN and Inbound Delivery

    Hi All,
    I am getting Run time error while creating Inbound Delivery Notification from Inbound Queue and Inbound Delivery from IDN
    After debugging i come to know that system is looking for Patch Level SAPKNA7026 but in my system Patch is upto SAPKNA7022
    Is there any OSS notes available to deactivate/resolve this run time error ? I tried 0001798794 Deactivation of hierarchical access functionality but system is still giving me run time error
    Regards,
    P@M

    Hi Agrawal
    As you are getting run-time error after entering the sold to party and material and the error is in SAPLV61Z ,
    close the session for sometime and open again and then create sales order and then enter sold to party and material and then check wheather you are getting or not. If you are still facing the problem then take the help of the ABAP & BASIS consultant's.
    Regards
    Srinath

  • Auto GR from Inbound Delivery

    Hi Alll...
    1. Is ther any std config or Master data checks involed for creating an Auto GR from Inbound Delviery ??
    2. Thru ASN i am going to get an Inbound Delivery Created & need an Auto GR for one scenarion & other it shd not create an Auto GR. Basically we need this since we recieve goods from two differenet Locations ( One Location very close by and other Location quite far)
    Thanks
    Balaji

    Please use BAPI_GOODSMOVT_CREATE for your requirement.That should allow you to differentiate between what you need a GR against and what not..

  • Goods receipt from Inbound Delivery

    My requirement is to get the Goods receipt no that got generated for a particular Inbound Delivery!
    Please do give me table used to get the same..

    Hi Sravanthi,
      Whenever a GR is made a <b>Material Document number</b> is created.
    U can view the MaterialDocuments from <b>MB03</b> transaction
    and it's values are stored in tables are <b>MKPF</b> and <b>MSEG</b>.
    cheers,
    Kalyan

  • No selectable items while reciving from Inbound Delivery

    Dear Experts,
    I have created  a PO then inbound delivery using VL31N then I went to receive the inbound delivery using MIGO reference to Inbound Delivery but the system keep tilling me that there are no any selectable items
    Please Advice

    Goto SPRO-MM-Purchaisng-Confirmation-set up comfirmation control
    here select your confirmation control key and click on confirmation seq from left menu
    now here you have to check the GR assignment box to receive the GR against the Inbound delivery otherwise you have to receive against the PO.

  • 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

  • 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

  • MIGO Goods Receipt - error with Movement Types on GR from Inbound Delivery

    Hi,
    I am getting an error message when processing a Goods Receipt (MIGO) against an Inbound Delivery with as 2 lines with different movement types, a standard 101 and a 970 (the latter being a user defined movement type for free goods).
    The error message I get is 'Movement type 970 is not allowed; only 101 is allowed
    Message no. BORGR622'
    This error message only occurs with a Goods Receipt against an Inbound Delivery, we are able to process a similar Goods Receipt using MIGO against a Purchase Order, with two different movement types 101 and 970, without any issues. 
    It is only a problem with a GR against an Inbound Delivery which is necessary in our MM solution.
    As anybody and ideas how to resolve this?  I cannot see anything obvious in config, and have not spotted any SAP OSS notes either.
    I should mention that we can process a single line Inbound Delivery and Goods Receipt for the Movement Type 970 also!

    Thanks for the reply.  The Price Control Indicator is 'S'.
    The solution was set up at my company before I joined, but the different movement type is to enable the free goods stock to make a Finance posting to a Bonus Stock GL Account.  Bonus stock sale update the same account.
    As I mention the '970' movement type worked fine with Goods Receipt against a Purchase Order (it was coded into to the user exit). 
    The MM procedures were changed to use the Inbound Delivery matched to the PO, this had a result that when the Goods receipt was posted in MIGO it posted as 101 movement, as the PO number was not being recognised.
    By making a further change to the user exit we able to suggest the '970' movement type, but now get the BORGR622 error I refer to.
    '511' is not possible against an inbound delivery either.

  • Batch is not copy from inbound delivery

    batch number is enter in inbound delivery but when perform MIGO - Inbound delivery,the batch is not copy over ( shows blank )
    anyone know the reason?

    Hi Sasy,
    The vendor batch in the purchase order has preference over the vendor batch in the inbound delivery. The vendor batch in the purchase order is the one which is always updated in MCHA.
    If there is not any vendor batch in the purchase order and this is only specified in the inbound delivery then, the system behaviour depends on the transaction used for the posting of the receipt :
    If the receipt is posted with the shipping transactions VL31N/VL32N, MCHA-LICHA is updated with the vendor batch in the inbound delivery.
    If the receipt is posted with the inventory management transaction MIGO, MCHA-LICHA is not updated. The vendor batch in the inbound delivery is not considered. MCHA-LICHA remains empty.
    Regards,
    Mauro

  • From inbound delivery to reservation

    Hello,
    Maybe this will be an easy question for lots of people, but for me it isn't that simple ...
    I have an inbound delivery item and now I need the corresponding reservation (header + item) ... I tried to find how I should write this in ABAP, but it doesn't seem to work ...
    I know each inbound delivery item corresponds with a component line in the service order and this component line refers to a reservation, but I still don't know how to write this logic ?
    Can someone help me with this ?
    Thanks a lot & greetz,
    Kurt.

    Hi,
    Please check the Reservation Tables RKPF and RESB for the Linkage with other documents.Also you mentioned about Inbound Delivery Item? Shall I think that it is nothing but Material Document (inbound Goods receipt), in that case check the Tables MKPF and MSEG of that. You will find the Reservation Number in MSEG table through which you can link RESB table.
    So now Write a select Query for MSEG and RESB tables.
    Hope this helps.
    Regards,
    Anji

  • Details from Inbound delivery number(VBELN)

    Hello Gurus,
    Can anyone suggest me how to arrive at the following fields if i am given with inbound delivery number(VBELN).
    The fields are:
    1) Due date(GR date)
    2) Vendor delivery number
    3) Material
    4) Name of material
    5) Quantity
    6) Vendor
    7) Name of Vendor
    Would help if  table and the field names for the above are given.

    Hello Prashant,
    Thanks a lot for the useful info.
    The fields i got are:
    1. Inbound delivery number - VBAK-VBELN
    2. Due date (GR date)       - ??
    3. Vendor delivery number - ??
    4. Material                       - VBAP-MATNR
    5. Name of material          -VBAP-MATWA
    6. Quantity                      -??
    7. Vendor                        -LFA1-LIFNR
    8. Name of vendor            -LFA1-NAME1
    Could you pls check if the fields are right and also provide the missing details?

Maybe you are looking for

  • Photoshop CS3 Does not open NEF files - ???

    Hi all, I just installed Fireworks cs3 (old version) on my mac, as I want to work with slideshows without having to bother with html and xml language. To my horror I found out that Bridge CS3 and PS CS3 do not open a Nikon Raw file (.nef) All I get i

  • Arabic text scrambled on printing

    Dears, I have an arabic smartform, I have copied the device type to ZARSWIN, when I used this z device type, the text was printed as Courier New. The requirement is to use Times New Roman font, so I added TIMES font to ZARSWIN and used font TIMES in

  • I can not update from 9.4.1 to 9.4.2 on my Mac OS 10.6.6

    When I try to update it says to quit Adobe Reader which also close the updater so that I am unable to update.

  • DSL slower on my Mac than my Windows machine

    Okay, so here's the problem. I have a Dual Core 2.0Ghz PowerMac G5 with 6.5Gb of RAM and an old Windows box that's on its last leg with only 128mb of RAM. I'm using Firefox 2.0 on both and I have the FasterFox extension installed on the Mac, it is se

  • I need to transfer an iTunes library from Windows to Mac. .with a catch.

    The catch is, I have a Mac formatted iPod, so if I understand correctly, I can't use it as an external drive to take the library from the Windows machine. Anyway. . I'm buying my fiancee a MacBook, and obviously she wants her iTunes library from her