When Inbound deliveries split no quantity found to pack

Hi,
My client is using the DELVRY03 Idoc to create inbound deliveries for purchases from vendors. The materials being purchased are batch managed and HU managed. Currently the set up runs without issue provided that there is no delivery split when for items with batch splits. If a delivery split occurs and the items on the second delivery have split batches then the second delivery is incorrectly copied.
Since the current configuration for the copy control does not copy the line item number that is populated on PO, the main item of the second delivery gets a new number but the batch split lines have the PO reference number populated in UECHA. So if the delivery split occurs between the first 2 main items, then the second PO item is copied to the new delivery with item 10 as the line item number  the batch sub item lines are created with a reference to line item 20 in UECHA. In this case the delivery gets created. Line 10 is packed. But there are no batch sub items for line 10. Additionally there is no line 20 but when you look at LIPS the batch sub items are all created with the line 20 reference. In short the second delivery is a mess.
I would like to change the copy control so that the line number for PO item 20 copies in to the second delivery as line item 20. Then all my batch sub items would be correctly linked. Unfortunately, when I turn on copy line number in the copy control the IDOC still fails. This time it fails with the message no quantity to be packed.
I looked at OSS notes 380657, 678464, and 682506 which were all applied in our system. In these notes it states that the second delivery can be created when batch splits occur providing that the IDOC is maintained with the correct data. This comment leads me to wonder if there is something being populated incorrectly in the IDOC. For instance, should the IDOC be populated with the actual PO item in POSNR and HIPOS or is there some form of wild card that should be used that lets the system determine the correct line numbers?
Has anyone had an experience similar to this that can provide some insight?
Thanks,
Paul

Steffen,
What I understand from the code:
If your stock is specified exactly (=as much as it is possible) you can pack your materials, if not, you will get error message.
If material is split valuated and not batch managed and valuation type is defined in the delivery then you won't get error message since the stock is specified as much as possible ("ls_lips-bwtar <> space" is TRUE) .
If the valuation type is not given for this material in the delivery, you will get message HUDIALOG102; "ls_lips-bwtar <> space" is FALSE)
If your material is batch managed and batch is specified then the stock is specified as much as possible (with quantity of course; ("ls_lips-charg <> space" is TRUE).
If batch is not sepcified for the same (batch managed) material, then again you will get message HUDIALOG102 (ls_lips-charg <> space is FALSE)
If material is neither batch managed nor subject to split valuation then "ls_lips-xchar <> 'X'" is TRUE and you won't get any message.
If your material is batch managed AND also split valuated, then you always specify the stock via the batch and from the batch valuation type comes. So, if batch is given for the (main) item then "ls_lips-charg <> space" is TRUE --> you won't get error message.
If you use batch split then neither batch nor valuation type are defined for the item, so all of these are false...:
ls_lips-xchar '<' '>' 'X'
ls_lips-charg '<' '>' space
ls_lips-bwtar '<' '>' space
...and system will try to read whether batch is defined for batch split items / whether batch split items exist:
      READ TABLE it_lips WITH KEY uecha = ls_lips-posnr
                         TRANSPORTING NO FIELDS.
and if there are such batch split items then it means the stock is specified and you can pack the goods.
(using serial number management we can specify the stock more exactly but from this point of view serial numbers don't play any role):
Edited by: Csaba Szommer on Aug 23, 2010 9:25 PM

Similar Messages

  • Creation of  Inbound Deliveries through IDOC

    Hello All,
    I have a scenario wherein through SPRO the configuration has been set to throw an error message in case a new delivery is getting created through VL31N and the total quantity of the inbound deliveries created till now(including the one getting created now) exceeds the PO quantity , but the same is not applicable for deliveries created through IDOC.
    For example : I have a PO with order quantity of 2pc's
    I create 2 inbound deliveries each of quantity 1 . Now if i try to create a new inbound delivery through VL31N system throws a error message.
    But through an IDOC i am able to create any number of deliveries though the total of all the inbound deliveries exceeds the order quantity in PO.
    Is there any way that the same SPRO setting can be made active for Inbound deliveries created through IDOC also.
    Helpful answers would definitely be rewarded.
    Thanks in Advance,
    Sowmya.

    IDocs and BAPIs sometimes behave differently than transactions. You might need to add a user exit specifically for IDoc processing. Otherwise send a message to SAP and have them look at it.

  • Split inbound deliveries are not getting saved .

    Hi,
    I have implemented an enhancement for splitting the inbound deliveries with multiple storage locations.
    But on save it saves only one document and other inbound delivery documents need to be saved manually.Hence those do not get distributed to EWM.
    Please let me know if there is any badi or some enhancement that can be done to carry out the saving of other split douments that get created internally .
    Thanks,
    Richa .

    Hi,
    It comes from Idoc as well as can be created manually from the transaction VL31N trasaction.
    I have placed my code in the include FV50C201.
    likp-zukrl+4(4) = xkomdlgn-werks.
    likp-zukrl+8(4) = xkomdlgn-lgort.
    This helps to create first but rest is kept as it is.Till we go and save it explicitly.And then it gets distributed to EWM system which is our requirement. This should have happened without manually opening the created ones and saving it again .
    Thanks,
    Richa

  • P.O is allowing to reduce the quantity even when inbound del. exists

    Hi Sap Gurus,
    The P.O is created for quantity 60 and Inbound delivery exists for the P.O for quantity 60. The unlimited indicator is set in the Delivery tab of the item details. when I am trying to reduce the quantity in the P.O its allowing me toi change with soft warning message even when Inbound delivery exists for P.O.
    The soft warning message is as follows.
    60 EA (LA) already confirmed for item 00010.
    Message type__________ W (Warning)
    Message class_________ ME (Purchasing: General Messages)
    Message number________ 545
    Message variable 1____ 00010
    Message variable 2____ 60
    Message variable 3____ EA
    Message variable 4____ LA
    I tried to change the message from warning to error in system messages for purchasing but I had no success with it.
    I need to change this warning message to error.
    I would appreciate if someone encountered this type of problem ..
    Thanks in advance.
    Edited by: sspven on Jul 14, 2010 5:36 AM

    Hi,
    You were created PO with Qty of 60.Then you have posted confirmation with inbound delivery note of against PO with 60 Qty.
    Even though you have set the unlimited tolerence in the PO, you have Posted the inbound delivery note from vendor it means confirmation of receiving at your plant site. After confirmed the 60 Qty, how system will allow to change the PO qty ? ( That's why system will through the warning message it means that already confirmed quantity at plant site with inbound delivery note).
    Usage of unlimited tolerence set, while receiving stock in MIGO if vendor send excess material you can post in your plant. System will allow to post the excess qty when unlimited set in PO. 
    As per the business process once received (Picked and confirmed the qty in VL31N ) it is meaning less to change the qty in POs,
    If you have done changes in POs, you will refer the PO number in MIGO insted of inbound delivery note.
    Thanks,
    Thiru

  • Inbound delivery split

    hi,
    We are crateing PO and sending it to third party.
    We get ASN Idoc from third party to create the inbound delivery.
    In the ASN the delivery itme is split, because all the item quantity cannnot come from one plant.
    ex: delivery item has 40 quantity, split 20 from plant A, 20 from Plant B.
    While loading the idoc we get the following error message:
    'Error while generating packaging data' and 'V51VP - item was not found - process cancelled'.
    Can you please let me know what do i need to do for delivery split scenario to create two inbound deliveries ?
    Regards,
    Chandan

    ok

  • Inbound deliveries with STO

    Hi,
    I am currently designing an interface with an external WMS and I am thinking to use inbound deliveries but it seems inbound deliveries with stock transport order have important restrictions :
    1. inbound deliveries are created with the quantity from the STO and not from the outbound delivery => risk on stock in transit
    2. The batch numbers are not copied from the outbound delivery to the inbound delivery (it is done in GR with MIGO if you post from outbound delivery)
    3. I haven't (yet) found a way to create automatically an inbound delivery when you post the goods issue from the outbound delivery. (it seems SAP is providing special development for that ?)
    Does anyone experienced the use of inbound deliveries with STO and what are your recommendation?
    Thanks a lot,
    JP

    Hi,
    We want to create inbound delivery in order to interface with an external WMS (Warehouse Management). We are not using standard SAP "decentralized WMS" interface.
    By using inbound deliveries for the interface, we can initiate the GR in SAP and then wait for confirmation from WMS. The WMS can then confirm different quantities if some discrepancies are identified during unloading.
    Also, creating inbound deliveries allow planning for receiving (i.e yard management).
    => We do not want to post the GR first in SAP and then send it to the WMS as they can find some differences during unloading
    => We do not want warehouse operators to work in SAP
    => We need a document in the WMS which will trigger task creation for GR for warehouse operators.
    => We want to use same solution for GR for external purchase orders and STO. So if we use inbound deliveries for PO, we want to use it for STO.
    Does anyone has experienced to create inbound delivery for STO from outbound delivery with Idoc (i.e ASN with DESADV) or specific development ?
    Thanks for your help,
    JP

  • Grouping of inbound deliveries

    Hi there,
    We are running ECC6 and EWM.
    We have a situation where we create different orders against different vendor numbers, however the supplying vendor is the same. We only use the different vendor numbers to allow for different pricing, currency, inforecords, etc.
    Out vendor would supply the all the parts of all the PO's all packed into the same case.
    We process the inbound delivery via a DESADV.DELVRY03 IDoc. When we process the inbound delivery, we automatically pack it as well as defined in the IDoc, but because the items contained in the inbound delivery IDoc is for different PO's and for different vendors, SAP splits the idoc and creates an inbound delivery per vendor, but still using the same HU number for each when doing the packing.
    In EWM the system sees these deliveries as duplicates because of the HU number that gets used between the inbound deliveries are the same.
    My question is if there is a way in this process to re-pack the separate inbound deliveries into a single HU, or if there is a way to create an inbound delivery that does not reference the PO vendor?
    Thanks and regards,
    Johan

    This is the ABAP forum, but it looks like this question is more for a functional Purchasing expert.
    IMHO you might need go back to the drawing board with this and reconsider the design. I'm not a PTP expert, but it usually works as a "reverse SD". In SD you can't combine orders for different customers in one delivery (which kind of makes sense). However, deliveries may be combined into an outbound shipment. And there is a concept of inbound shipment as well.
    In SD it's possible to create a delivery without a reference to order, it's very likely possible for inbound. But it's not an ABAP question.

  • Problem creating inbound deliveries

    Hello to all,
    i have a problem to create inbound deliveries related to PO for a specific vendor. When i try using VL31N the system result is "An item with no delivery quantity is not permitted. Item will be deleted".
    It should be a problem related to the vendor because if i create a PO with same informations for another one I can create inbound delivery. I look all vendor master but i was not able to find differences.
    Please can you hel me to solve this problem, it is really urgent.
    Thank you in advance,
    Fuffo

    Hi all,
    my problem is that I have a quantity value and that with same informations an inbound delivery is created for vendor A but it is not created for vendor B. Line Item is "free item" in both case, it should be related to Vendor Master but I can't find the way out.
    Do you have any other suggestion?
    Thank you,
    Fuffo

  • TPVS: Inbound Deliveries being grouped in Planning View

    Dear all,
    I am creating Inbound Deliveries with AH ATP category.
    But now I am facing another problem.
    In the Non-Assigned Freight Unit in Tabular planning (/SAPAPO/VS01), all inbound deliveries that I've created in R/3 are being grouped in just one line, increasing (adding 1) in the Shedulling Lines Column.
    For example:
    PO: 1000001 / 10.000 kg
    VL31n:
    Inbound Delivery A: 100kg / 07.15.2010
    Inbound Delivery B: 200kg / 07.16.2010
    In TP/VS - Non Freight Unit view:
    Freight Number Category Amb Shed Lines Weight
    1000001 PO Memo 2 300kg
    But, instead of this behavior I would like to see:
    Freight Number Category Amb Shed Lines Weight
    1000001-1 PO Memo 1 100kg <- related to Delivery A
    1000001-2 PO Memo 1 300kg <- related to Delivery B
    How can I create one Freight Unit foreach Inbound Deliveries, not grouping all inbounds deliveries in one freight unit?
    Thanks again,
    Thiago

    Hello Thiago. I´ve the same problem
    "In the Non-Assigned Freight Unit in Tabular planning (/SAPAPO/VS01), all inbound deliveries that I've created in R/3 are being grouped in just one line, increasing (adding 1) in the Shedulling Lines Column"
    I´ve created a split rules for purchase order, this split rules ID is ok. But, when a I created the deliveries inbound from APO are being gruped in one line.
    I don´t know how I can configure the split rule of ATP Categories "AH".
    Best regards,
    Martin

  • Issue in posting GR in background task for inbound deliveries.

    when tried to do Good receipt in batch/background processing for inbound deliveries through std. posting module 'IDOC_INPUT_DLVRY', getting sap abend message as 'Risk of posting several mat.documents for one delivery->long text' VL 621 MESSAGE TYPE A.
    But there is no duplicate material documents other than one which would get created when posting GR.
    I looked at oss notes 117104, it seems to be cannot be implemented and is found to be suitable for 46a,46b wheras, i am looking for ECC 6.0 release.
    Suggest pls.
    Thanks,
    Madhan.

    Can this link help you? Control Delivery's Save - if condition is not meat.
    Regards,

  • SD:Create Billing Wrt Inbound Deliveries - third party Order

    Customer sends his Order forecast, From Interface it comes to SAP System through IDocs SO will be generated,that SO triggers purchase requistion and we have a batch job runs every hour to create purchase orders for Vendor. When the Vendor Sends goods to Customer and the same has notified to the Company, based on that we create Inbound Deliveries(VL31N) and Goods Receipt(MIGO or VL32N PGR) in our SAP System.
    We have batch jobs running every hour to create Goods Receipt for inbound deliveries and Billing due(RV60SBAT) list to generate Billing documents.This Billing is created based on the sales order quantity(Since it is Order Related Billing).Now the Customer wants billing based on the delivery quantity they received from vendor.Here we are not doing any Outbound Delivery.
    We used one Data Transfer Routine from Order to Billing in item category TAS at data VBRK/VBRP level(We copied the standard routine 003 and done modifications to get the inbound delivery no) This routine navigates from the sales document table(vbep) to the Purchase Requisition table(eban) to the Purchase Order history table (ekbe) and to the Material Document no to obtain Inbound Delivey Number
    We are successful to some extent in creation of billing document.but the problem is when there are 3 inbound deliveries for one purchase order, it is creating only one invoice for 1 of 3 inbound deliveries.but we need 3 different invoices for 3 inbound deliveries.
    For example
    Previous scenario: SO quantity is 100. Delivey quantity is say 20,30,50. Billing Quantity is 100
    Present scenario : SO quantity is 100. Delivey quantity is say 20,30,50. Billing Quantity is 20,30,50
    Customer wants billing for the quantitiies 20,30,50 not for 100

    Pradeep,
    Whats is your billing qty based on Order- GR qty? or Order - Inbound delv qty. How did you get this?.
    The problem lies because it is an order related billing.
    Try this make it a Delv related billing w/o any movement type.
    The moment you create an inbound delivery and O/P should be send which in turn will create a delivery document and PGI.(you can use this O/p type to do the dirty work)
    And after this complex process life becomes simple.
    Ravi

  • DESADV Idoc + duplicated Inbound deliveries

    Hello.
    I am using DESADV to create inbound deliveries in ECC6. For the Item category ELN (item categ. for inb. delivery), I have prevented to created zero quantity delivery item => via VL31N it is impossible to create a second delivery items for the same PO items if the first one gets the fully PO qty.
    The issue is that when we try to do it with an DESADV Idoc, SAP allows it => 2 delivery items in 2 diff. deliveries having qty=PO qty.
    Is there someone faced the same issue ?

    Hi
    I am bit confused with your posting, Data u were passing is not updated in the Field or what ....
    VFDATA is Shelf Life Expiration or Best-Before Date ..correct
    With regard
    Bhargava

  • How to Close PO relate Inbound Deliveries w/o posting goods issue?

    Hello,
    Recently someone helped me in trying to find the status in the ABAP Dictionary of an Inbound Delivery. So thanks!
    I have another question, is there a way to close the Inbound Delivery without posting to goods issue or while its still open in the document flow.
    I want to ask because the business requirment needs to clsoe these Inbound Delivery Documents for archiving purposes and in SAP they are never closed since the Material Document is created (via MB01) w/o SAP referncing it to the Delivery Document.
    I was thinking maybe I can tag a field somewhere or use a BAPI/FM to do this.
    I hope to hear from you soon.
    Thank you and good day.

    You might want to define what exactly do you mean by "close".
    As far as I understand, if there has been no goods movement ("goods issue" is for the outbound deliveries, inbound deliveries create "goods receipt", just FYI) or TOs created against a delivery, it can be simply permanently deleted from the database. The corresponding purchase order would then have to be also deleted or somehow rejected (not sure if there is something similar to the SD "rejection reason" in PTP). As an alternative, the PO quantity could probably be changed to 0.
    Also it might be an option to change both the received and delivery quantity to 0 and then do "post goods receipt". This should not create any goods movement, but will most likely set the delivery status to 'complete".
    Unfortunately, I don't have a system with the deliveries right now to verify these theories...

  • Automatic creation of Inbound deliveries per HU

    Hi Guys
    I am looking for any information on how to automatically create inbound deliveries based on Handling units.
    The process is
    Create PO
    Receive ASN with packing details (e.g. one box = i HU)
    Auto creation of one Inbound delivery per HU
    Any assistance would be appreciated.
    Cheers

    Steve
    I don't know how you figured out it was me.
    The answer you have given believe it or not was what I was expecting as I thought it would need development.
    As for the value of this the logistics service provider believe that they can control the out away better with one ID per HU per box etc and also we are putting away in WM first and then 'post goods receipt' to update IM. We have a bespoke transaction where they scan the barcodes from the putaway tags in to a copy of LT11 and they can scan up to 100 lines and then save. When the save is activated the transaction checks first how many Transfer order/Lines are on each inbound and then are all of them confirmed when eventually the answer is Yes the system will then go to the Inbound delivery and post goods receipt automatically.
    This is so that the Sales office does not see the stock until it is located as backorder processing runs regularly and we do not want orders and deliveries appearing whilst the putaway process is being carried out, However they do want the stock available ASAP. Therefore it is better for them to have the HU-ID as one to one so that in theory materials become available quicker as if one ID had say 100 materials on it none of them would be available until the last one was put away and confirmed.
    I hope this explains it and thanks for your assistance.

  • Inbound delivery split on creation

    Dear colleagues,
    I'd like to create a unique inbound delivery for different scheduling agreements but the system splits it into 2 different inbound deliveries.
    Both purchasing documents have same header/item information.
    Why is system acting like this? I use VL31N and I do select "Purchase orders" button on the top.
    Thanks very much in advance.

    I asked myself and I answer myself...system is creating different inbound deliveries because purchasing documents have different address information in EKKO-ADRNR.
    That's a standard functionality added by OSS 667436 which modifies include LV50SF08.
    In order to avoid this functionality it's possible to erase field XKOMDLGN-ADRNR_LI = "" at the beginning of include.
    I hope it helps someone.
    Thanks anyway,
    Josep

Maybe you are looking for

  • ITunes DJ for iPod Touch app?

    Hi there. Is there an app for the iPod touch that behaves the same way as the iTunes DJ - in that it will randomly select songs from folders that you choose? Thanks, SparkyCanada

  • JDBC - msbase.jar\Msutil.jar\Mssqlserver.jar

    Hi i get the error : java.lang.ClassNotFoundException: /microsoft/jdbc/sqlserver/SQLServerDriver because i dont have the msbase.jar\Msutil.jar\Mssqlserver.jar files. can someone please tell me where i can get these files. i need to add them to the cl

  • FBRA versus FB08

    Hi, I'm facing an issue related to the combinated use of transaction FB08 and FBRA. Actually I have to modify a custom program that is used for resetting and reversing payment document. The program asd been structured in a way in which it first uses

  • What Happened to my Feed??

    Very strange...but help. http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=179237134 This is the location of my podcast. I successfully got up and running but then made some changes to my .rss file - uploaded said file to my server and

  • There is a new DSM 2.0, but where are the tech specs?

    Dear SDN Community, After the upgrade of one of our Portal systems from SP15 to SP17 we see that there is an additional configuration item in the System Objects availible. The new property it technical ID is: wap.ITS.SAP_Session_Management The descri