Inbound Delivery: Inbound WHSCON IDoc with Batch Split - HowTo...?

Hello
We have another tricky problem to solve on our ERP 6.0 system.
My colleagues of Lindt UK create manually inbound deliveries (VL33N) which are replicated to the warehouse (DESADV IDoc -> TRADACOMS.ORDHDR).
When the goods arrive at the warehouse they send back a good receipts message (TRADACOMS.DLCHDR -> WHSCON IDoc).
In some cases we have a batch split because the goods have been put into different storage locations. Example:
- item 10: 200 Cases of product 4711, batch 10-2011,  in storage location '0001' (free available for Sale)
- item 10:     5 Cases of product 4711, batch 10-2011, in storage location '0004' (damaged)
I am aware that in the inbound WHSCON item 10 is a main position and the two actual batch split positions are sub-items (900001 & 900002 with HIPOS = '10'). I tried to used E1EDL19-QUALF = 'BAS' (= batch split) with the sub-items but failed so far to update the inbound delivery that I can see the batch split.
I have managed to get one sub-item but not 2 of them. Somehow the system aggregates the quantities for both sub-items into the single item that shows up in the inbound delivery.
When we send the inbound delivery to the warehouse the item looks like this:
- item 10: 200 Cases (no batch yet, Putaway quantity = 0, because these data are coming from the warehouse).
QUESTION: Has anybody else been faced with a similar (if not identical) problem and how did you solve it?
Thanks a lot in advance for your valuable input.
Regards
  Uwe

Hello Finbarr
I assume that you do NOT send any (suggested) batches to your warehouse. Otherwise you would have the same problem like we have that the WHSCON cannot overwrite a (suggested) batch.
However, if you just send the quantity per item then the batch split is much simpler than you suggested:
"First E1EDL24 segment:
POSNR     50
MATNR     000000000000602006
MATWA     000000000000602006
CHARG     L1519   " <<< first batch
LFIMG     37.000
VRKME     CT
"Second E1EDL24 segment:
POSNR     50
MATNR     000000000000602006
MATWA     000000000000602006
CHARG     L1880   " <<< second batch
LFIMG     37.000
VRKME     CT
Well, and as qualifier we use: E1EDL19-QUALF = 'XYZ'  " a dummy
The SAP system is smart enough the realize that these two E1EDL24 segment belong to the same item yet have different batches and, therefore, yield a batch split in the delivery. The system generated the 9xxxxx numbers for this sub-item lines automatically.
Although I believe that it is not possible to change a batch in the delivery using an inbound WHSCON I would appreciate to have a final proof of this assumption. I could imagine that if you first delete the item containing the suggested batch and then add a new item with the actual batch from the warehouse it might works. However, this would require to implement a user-exit which I do not prefer.
Regards
  Uwe
PS: It seems I gave an answer to the wrong question (should be EDI (DESADV): Can batches be overwritten by an inbound WHSCON (pick conf)? )

Similar Messages

  • Inbound Delivery Idoc with batch split then PIC and PGI using DELIVERY03

    Dear Experts,
    Requirement to split the delivery item then PIC and PGI, while Processing Inbound Idoc using basic Idoc type DELIVERY03
    I have searched forum already but it vain. Please advice.
    Thanks and Regards,
    Thiru.
    Moderator message : Spec/requirements dumping not allowed, show the work you have already done.  Thread locked.
    Edited by: Vinod Kumar on Nov 16, 2011 5:09 PM

    Hello Finbarr
    I assume that you do NOT send any (suggested) batches to your warehouse. Otherwise you would have the same problem like we have that the WHSCON cannot overwrite a (suggested) batch.
    However, if you just send the quantity per item then the batch split is much simpler than you suggested:
    "First E1EDL24 segment:
    POSNR     50
    MATNR     000000000000602006
    MATWA     000000000000602006
    CHARG     L1519   " <<< first batch
    LFIMG     37.000
    VRKME     CT
    "Second E1EDL24 segment:
    POSNR     50
    MATNR     000000000000602006
    MATWA     000000000000602006
    CHARG     L1880   " <<< second batch
    LFIMG     37.000
    VRKME     CT
    Well, and as qualifier we use: E1EDL19-QUALF = 'XYZ'  " a dummy
    The SAP system is smart enough the realize that these two E1EDL24 segment belong to the same item yet have different batches and, therefore, yield a batch split in the delivery. The system generated the 9xxxxx numbers for this sub-item lines automatically.
    Although I believe that it is not possible to change a batch in the delivery using an inbound WHSCON I would appreciate to have a final proof of this assumption. I could imagine that if you first delete the item containing the suggested batch and then add a new item with the actual batch from the warehouse it might works. However, this would require to implement a user-exit which I do not prefer.
    Regards
      Uwe
    PS: It seems I gave an answer to the wrong question (should be EDI (DESADV): Can batches be overwritten by an inbound WHSCON (pick conf)? )

  • Post Goods Receipt for Inbound Delivery using WHSCON IDoc

    Dear All
    Currently I am working on a big project dealing with EDI connections to our logistics partner for the Export business. The entire message flow between Lindt and our partner should be via EDI. Our SAP release is (still) 4.6c.
    We will create two kinds of despatch advice messages, one for inbound deliveries and one for outbound deliveries for customers.
    I would appreciate your support in the following problem that I am facing with the inbound delivery scenario:
    We create stock transport orders (purchase orders, POs) for the goods intended to be delivered into the plant at our partner
    We create a delivery (type NL = replenishment delivery) for this POs
    As soon as we post the goods issue we send the despatch advice (as EANCOM D96A DESADV message) to our partner.
    At this point the delivery is basically completed, i.e. packing status (PS) and goods movement status (GM / GS) are equal to 'C' (= completed).
    Our logistics partner uses the same EDI message to send us the goods receipts data, e.g.:
    We dispatched 50 units of a product => QTY:50:12
    The partner received indeed 50 units => QVR:50:66
    Please note that we do not use the QVR segment for the quantity difference (between despatched and received quantity) but it contains the received units. This way we avoid negative values in the QVR segment.
    When the logistics partner sends back the DESADV message containing the received quantities (QVR segment) we want to make
    the goods receipts for the products in the original stock transport order and
    upate the message flow in the delivery
    My idea was to transform the incoming DESADV message into a WHSCON.DELVRY03 IDoc based on the documentation in: [Delivery Interface|http://help.sap.com/saphelp_crm40/helpdata/en/e2/654b15a9f411d184ec0000e81ddea0/content.htm]
    In the delivery header control E1EDL18 I used QUALF = 'PGI' (Post goods issue).
    I prepared an inbound WHSCON IDoc according to the documentation mentioned below. I managed to get some feedback from the Idoc processing implying that the system tried to do the goods receipt in the PO but failed.
    To make a long story short here are my questions:
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    Does anybody have an example on how to fill the WHSCON IDoc?
    Or is my approach a cul-de-sac ?
    Kind Regards
       Uwe
    PS: A related question can be found here: Goods Receipt in PO AND Message Flow Update in Inb. Delivery using WMMBXY

    Hi Uwe,
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    The binary answer would be no. You should use WMMBXY or MBGMCR instead.
    But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
    We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
    I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
    Hope this helps. Let me know if you have more questions.
    Regards,
    Rudra

  • DELVRY01 via IDoc with batch split

    Hi Experts!
    Process:
    -a supplier sends delivery information via EDI to us
    -the supplier cannot do a batch split, so he sends us the delivery like that
    Delivery (delivery order, material number, ...)
    |
    |-Pos 1
    |    |
    |    |-box 1 (batchnumber)
    |    |-box 2 (batchnumber)
    |    |-box 3 (batchnumber)
    |    |-box 4 (batchnumber)
    |
    |
    |-Pos 2
    |    |
    |    |-box 5 (batchnumber)
    |    |-box 6 (batchnumber)
    |    |-box 7 (batchnumber)
    |    |-box 8 (batchnumber)
    |
    |
    Technical infos at our side (customer)
    -IDoc typeDESADV
    -message type: DELVRY01
    -FM which perform the incoming IDoc: IDOC_INPUT_DESADV1
    Problem:
    How can I get the structure above into a IDoc? The problem is that in DELVRY01 (also DELVRY02 and -03, in R/3 4.7 and ERP6.0) I only can insert the batch number once per position of a delivery!
    So I try to use the described E1EDL19 segment with control qualifier BAS. I also generated lower positions with the flag HIPOS in E1EDL24, but it doesn't work. The IDoc is processed correctly without errors but when I look into the delivery (via Tcode: VL32N or MIGO) I see just main items - three positions (in case I had insert one main item with two lower items)!!
    SAP Documentation for delivery
    Does anybody has a hint for me how should I use the DELVRY01 type ?
    regards,
    Steffen Fröhlich

    Steffen -
    I have a similar problem and was wondering if the discoveries you made would fall in that space , currently when we are sending the 856(Advanced shipping notification's ) for batch split items the standard SAP functionality is to put a "0" qty at LGMNG (actual delivered qty field)and populate the various batch quantities at the sub level. Currently the edi mapping is such that only the LGMNG is mapped. In the scenario of batch split items we are sending back "0" qty eventhough they have a valid qty ! any idea how to resolve this ?
    would this require a custom code to add a new field to cumulative the batch splits ?
    Is there another standard field that edi can map to pass this information?
    Is there std edi mapping rules for this scenario?

  • How to create Inbound Delivery using SHPMNT03 Idoc details...

    Hi,
         I need to create <b><b>Inbound delivery</b> using idoc SHPMNT03</b> details. I am getting all the data required to create Inbound delivery is from this idoc. for that I need to create a custom function module.
    I tried with FM  IDOC_INPUT_DESADV1. But it is for only if you use DELVRY03.
    I haven't (yet) found a way to create automatically an inbound delivery when you post the goods issue from the outbound delivery.
    Does anyone experienced the use of inbound deliveries with STO and what are your recommendation?
    Thanks a lot,
    Ranjith.

    Hi there,
    Please have a look at the following link.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/dc/6b828943d711d1893e0000e8323c4f/frameset.htm
    Hope this helps,
    Kind Regards,
    Matthew

  • WM with Batch split

    Hi Friends
    Greetings!
    We have the following issue with batch split.
    When we create Transfer order for outbound delivery , batch split happens and the TO gets created with two line item based on the bach.
    After confirming the TO and when we try to post PGI, the system issues the error message
    " X24408003104230 ; available stock in interim storage bin around 50.000 ST below target"  
    Can you please let us know if i am missing any settings
    Gobinathan G

    Hi
    Thanks for your feedback.
    As requested , please find the error code
    "E L9 040"
    The patch split was carried out through WM. When we created transfer order for the delivery, as the required stock was available in different batches, system picked the stock from two different batches. And the transfer order also got confirmed.
    Please give your suggestion to complete teh PGI.
    Gobinathan G

  • Issue with BATCH SPLIT with Inbound Delivery

    Hi,
    We are in an SAP upgrade project from 4.7 to ECC 6.0, we would require to develop an Interface Program to perform BATCH SPLIT for an Inbound Delivery, I tried with BAPI BAPI_INB_DELIVERY_CHANGE but it seems to be work only to change the existing line items, by requirement is to create new BATCH SPLIT for a given inbound delivery, can anyone help me in finding the appropriate BAPIs, thanks in advance.
    Regards
    Bala

    Hi Bala,
    Have you tried BAPI_INB_DELIVERY_CONFIRM_DEC? If you check the documentation of this BAPI, at the bottom of it there's a statement:
    If you report back batch splits that were created in the ERP system, you cannot fill the hierarchy fields HIERARITEM and USEHIERITM.
    If you created split items in the WM system and have reported back, these two hierarchy fields must contain information.
    BR
    Raf

  • Create inbound delivery for same material with multiple batches

    Hi Experts,
    An ASN( advanced shipping notification) contains multiple batch numbers for same material or line item.An IDOC has different segments with batch numbers but in SAP while creating Inbound delivery(VL31N) only batch number ( segment) get posted automatically in SAP other batches are need to post manuaaly.
    I am using IDoc type : Delivery03 ,Message type: DESADV
    How to resolve this problem?
    Thanks,
    Anil

    Hi Anil,
    Welcome to SCN for your first post. Did you check with your functional people about this.
    Regards,
    Madhu.

  • Inbound delivery creation through IDOC

    Dear Experts,
    I have scenaris like one STO with multiple deliveries with same materials and the same assigned to shipment, through the shipment out put IDOC will generate and created the inbound delivery, the same hace to updated the STO.
    in the above scenario, inbound delivery is creating base don the outbound delivery items through IDOC (in case the same material is available in the different deliveries it is getting copied)
    by in my case inbound deliveri has to created bbased on the STO items. can you please let us know how to develop the logic for the same and is there any function modules for the same.
    Please keep in mind if the same materila with same batch is in outbound delivery we have to cosolidate the same and create one line item in inbound delivery.
    awaiting your response soon. please help me out with IDOC programe and tables and fields with function modules.
    Thanks & ragrds
    Raju.

    Dear,
    so for no updates , can you let us know your possible solution to take up this challange.
    Thanks
    Raju.

  • Error during Inbound Delivery creation by Idoc DELVRY05

    Hi,
    We are trying to consolidate ASNs and creating an inbound delivery for the same. Thus we have more than one PO information in the idoc.
    It processes fine and creates an inbound delivery if all the line item nos are different.
    But the issue is, when there are articles which have the same line item no. even if the articles are different and they are on different POs. It gives the following errors.
    1) "Delivery item cannot be exactly determined
    Message no. HUFUNCTIONS313"
    I tried to debug the above error and found that while packing it looks to the lips-vbeln/posnr & not the PO nr./PO item.
    I am not sure if this could be handled by some config. Please advice.
    2) "V51VP - item was not found - process cancelled
    Message no. HUGENERAL056"
    Any hints or comments on the above would be appreciated.
    Thanks & Regards,
    Akshay

    Hi Raghavendra,
    It has been a long time. But, as far as I can remember we had made coding adjustments in the customer-exit EXIT_SAPLV55K_004, include ZXTRKU12 to fetch the correct item and fill the idoc segment fields.
    This resolved the issue.
    Best Regards,
    Akshay

  • Need help on Inbound Delivery - Mapping from IDoc to LIKP Table

    Hi,
    For the DESADV IDoc (Inbound Delivery) we are currently mapping data to the LIKP table for a subset of fields via  function module INPUT_IDOC_DESADV.  If I wanted to map the ABLAD - Unloading Point field from the IDoc to the LIKP - ABLAD - Unloading Point field is this possible and if yes, what work would be required? 
    And could you please let me know how to find out an user exit for the message type? (message type = desadv)

    Hi Murphy,
    Try this custom function '002'.
    CALL CUSTOMER-FUNCTION '002'
           EXPORTING
                xekko     = ekko
                xlfa1     = lfa1
                xlfb1     = lfb1
                dobject   = object
           TABLES
                int_edidd = int_edidd
                xekpo     = xekpo
                xeket     = xeket
                dvbak     = xvbak
                dvbap     = xvbap
                dvbkd     = xvbkd
           EXCEPTIONS
                error_message_received        = 1
                data_not_relevant_for_sending = 2.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Inbound delivery for subcontracting PO with BOM explosion

    Hi all
    The requirement is like this
    Normal subcontracting cycle - Subcon PO and then 541
    After that i did inbound delivery in VL31N for the subcon PO , Here iam getting the finished goods line item so that i can enter the delivery qty and  serial number for the finished componenet
    My query is , Is there any possibility of exploding the BOM and entering the serial number for the assembly level materials in the inbound delivery itself.
    After that based on inbound delivery i can do GR , Your inputs pls
    Regards
    Amuthan M

    Hi M.
    You can do that using MIGO but not through VL31N.
    For that you have to set the serial profile for component before.
    IMG -> Logistic Execution -> Shipping -> Basic Shipping Functions -> Serial Numbers -> Central Control Parameters for Serial Numbers
    IMG -> Logistic Execution -> Shipping -> Basic Shipping Functions -> Serial Numbers -> Determine Serial Number Profiles
    After that you have to set the serial profile for the component.
    Hope this help
    Regards.

  • Line with 0 quantity for main item with batch split

    Hello experts,
    I have one line item in delivery. Delivery split is there: There are 1 spilt items with 1 batch nos. The main item category and the batch split item category are TAN.
    My system is showing 2 line items in billing, the batch line with quantity and the main line with zero qty. How to prevent this and have only the lines item in invoice with batch/qty. I don´t want to see the main item with o quantity.
    In VTFL I have routine for copying requirements 004 and Billing Quantity B. I need to create another copying routine or I need to use another item category for batch lines?
    Thanks in advance
    Pablo

    Hi Pablo,
    It is advisable to have a different item category for Batch split items.
    If you want the batch split items to suppress and show only the Total in the Invoice. Yes it is possible.
    1) You can do this in the Copy controls in VTFL - Delivery to Billing, go to your Item category and go to Item details - Change the billing Qty to 'G'.
    2) Go to Shipping > Deliveries > Item categories Determination in Deliveries > Define item category.
    Go to your item category which is used in Batch Split
    Remove the Billing Revelance and make it blank and Save.
    Now when you create the Invoice for Batch split - Only the total quantity will be displayed without the subitems - like in Delivery note or Delivery..
    Please check and revert back for any more details
    Rgds
    Sunil.

  • Error message for over delivery quantity in case of batch split.

    Hi All,
    System is throwing error message if I try to to enter delivery quantity more than target quantity(order quantity) in case of standard process which is ok but in case of batch split when split line created (9000001 for line 10) and if go to item level in line item 900001 and enter delivery quantity more than target quantity system is giving only information message, still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massege as well. Delivery item category for all the line items is same and status B is assigned to over delivery in item category. Is there any standard way of achieving this or do we need any modification, if yes then what user exit need to use.  
    I searched alot about this in last three days but found only one thread which is unanswered, please provide your valuable suggestions. If this problem is discussed already and solved please provide me the link to that thread as I could't find any.
    Thanks,
    Davinder

    Hi
    Still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massage as well.
    I think it you can possible to change the Information message as Warning message.
    Please  go to SE91 put the Message Class XX (Ex:V1) there And in No. field enter the message number (Ex: If message no V1293 enter the number as 293)
    AND
    go for
    where used in then select only Program >ok then Program will come select the Program > double click, you will l find the message with the Description.
    Now with help of ABAP with just comment on these both the messages. Afterwards you will get the Error message.
    Hope this will helps you
    Dasaradha

  • Subcontracting - Mov 541 with Batch Split

    Hi,
    I'm trying to send materials with batch management to subcontract. My problem is when I do the MB1B (541) to send 1KG of the roh material X and I have to batchs of 0,5KG I cannot do this at the same time. Do you know if has a batch split to do that or other solution?
    Thanks,
    Guiza

    Hi
    Split the batch numbers according to the availability i.e 0.5 KG each and give ref batch number against each line item.
    cheers!!!!!!!!

Maybe you are looking for

  • Mail still wont open

    After OS X update mail has new icon and won't open at all. Help!

  • ITunes won't let me download music just says error retry

    When I go into iTunes it lets me purchase songs but when it downloads it fails at the end and comes up with a error message

  • How to make outer join in Sub Query?

    Hi! I'm facing one problem. Can anyone tell me - how to make outer join in sub query? I'm pasting one sample code - select e.empno, e.ename,e.job,e.sal,d.deptno,d.dname from d_emp e, d_dept d where e.deptno(+) = (                       case          

  • How to prompt for user input in Forms

    How do I prompt for user input in Forms? I am writing a piece of code where the user may choose, by clicking either of three buttons on an alert, to have the system assign a value to a variable, to input a value or to do neither? If the user chooses

  • ABAP Code to delete old PSA requests

    Hi Friends, I have a requirement where I am loading two different types of data through two different InfoPackages. Both the InfoPackages are scheduled to load data daily to a DataSource. Now the issue is I have to delete data every day from PSA, rel