Production date in inbound delivery in batch split

Hi,
     I have a issue with production date update in inbound delivery.
I have created a inbound delivery for 10 PC. The inbound delivery has only one line item and there are no batch details on it. As soon as the inbound delivery is created a message is sent to the 3PL . Once the 3PL receives the goods from vendor he send us a message with the batch details. Say the 3PL has received multiple batches from the vendor. So he send us back an SHPCON message with multiple batch details. That  is batch A with QTY 6 and batch B with QTY 4. He also send us the production date for each batch via the shpcon idoc. say batch A has production date as 10.02.2011 and batch B has production date as 21.03.2011.
The IDOC is created successfully in our system and the inbound delivery is also updated correctly with the batch split details with correct QTY. That is line item 10 has batch split line items 900001 with batch as A and QTY as 6 and line item 900002 with batch as B and QTY as 4. The issue is only with updation of date of production for each of the above batch. Both batch A & B are updated with date of production as 21.03.2011. Instead of batch A being updated with date of production as 10.02.2011 it is updated with the batch B date of production. I checked in the idoc. In the idoc each batch has correct production date. only when updating the inbound delivery it has updated wrongly..   Has any one come across similar kind of situation. ? How did u manage it?
Ram

I found out the issue and the approriate changes has been made in the message handling

Similar Messages

  • Update Inbound Delivery with batch

    Hi All,
         My requirement is that, if for an Inbound delivery, the batch(CHARG) field is found to be empty, then a batch need to be created and the batch number should be updated in the Delivery. The batch can be created using the BAPI 'BAPI_BATCH_CREATE'. After obtaining the batch number from the BAPI, I tried using the FM 'WS_DELIVERY_UPDATE_2' but was not successful (because I didn't know how to use the FM). I have filled up the Delivery number in the 'delivery' parameter of the FM. Also, I'm passing the structure ls_vbkok and the table lt_vbpok with values as given below in the code. The field 'Batch (CHARG)' was found to be in the VBPOK structure and I have updated the same in that table. Also there are a bunch of other parameters namely SYNCHRON, NO_MESSAGES_UPDATE_1, COMMIT and NICHT_SPERREN_1 which were all used in a example program I was referring and I am completely ignorant of their significance. When I tried executing the below code, the CHARG field did not get updated in the LIPS table. Could anyone guide me on how to use this FM fro my particular purpose.
    DATA: ls_vbkok TYPE vbkok,
              ls_vbpok TYPE vbpok,
              lt_vbpok TYPE STANDARD TABLE OF vbpok.
    CONSTANTS :lc_del TYPE vbeln_vl VALUE '0080000110',
                          lc_pos TYPE posnr_vl VALUE '000010',
                          lc_batch TYPE charg_d VALUE '124234'.
    ls_vbkok-vbeln_vl = lc_del.
    ls_vbpok-vbeln_vl = lc_del.
    ls_vbpok-posnr_vl = lc_pos.
    ls_vbpok-charg = lc_batch.
    APPEND ls_vbpok TO lt_vbpok.
    CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
       EXPORTING
         vbkok_wa                           = ls_vbkok
         synchron                           = 'X'
         no_messages_update_1               = 'X'
         commit                             = 'X'
         delivery                           = lc_del
    *   UPDATE_PICKING                     = ' '
         nicht_sperren_1                    = 'X'
    *   IF_CONFIRM_CENTRAL                 = ' '
    *   IF_WMPP                            = ' '
    *   IF_GET_DELIVERY_BUFFERED           = ' '
    *   IF_NO_GENERIC_SYSTEM_SERVICE       = ' '
    *   IF_DATABASE_UPDATE_1               = '1'
    *   IF_NO_INIT_1                       = ' '
    *   IF_NO_READ_1                       = ' '
    *   IF_ERROR_MESSAGES_SEND             = 'X'
    *   IF_NO_BUFFER_REFRESH               = ' '
    *   IT_PARTNER_UPDATE                  =
    *   IT_SERNR_UPDATE                    =
    *   IF_NO_REMOTE_CHG_1                 = ' '
    *   IF_NO_MES_UPD_PACK                 = ' '
    *   IF_LATE_DELIVERY_UPD               = ' '
    *   IF_TXT_REINITIALIZE                =
    *   IF_BOR_INIT                        = ' '
    *   SPE_MES_NO_SEND_NODIAL             =
    *   IT_LECOMP_1                        =
    * IMPORTING
    *   EF_ERROR_ANY                       =
    *   EF_ERROR_IN_ITEM_DELETION          =
    *   EF_ERROR_IN_POD_UPDATE             =
    *   EF_ERROR_IN_INTERFACE              =
    *   EF_ERROR_IN_GOODS_ISSUE            =
    *   EF_ERROR_IN_FINAL_CHECK            =
    *   EF_ERROR_PARTNER_UPDATE            =
    *   EF_ERROR_SERNR_UPDATE              =
      TABLES
        vbpok_tab                          = lt_vbpok
    *   PROT                               =
    *   VERKO_TAB                          =
    *   VERPO_TAB                          =
    *   VBSUPCON_TAB_1                     =
    *   IT_VERPO_SERNR                     =
    *   IT_PACKING                         =
    *   IT_PACKING_SERNR                   =
    *   IT_REPACK                          =
    *   IT_HANDLING_UNITS_1                =
    *   IT_OBJECTS                         =
    *   ET_CREATED_HUS                     =
    *   TVPOD_TAB                          =
    *   IT_TEXTH                           =
    *   IT_TEXTL                           =
    *   IT_TMSTMP                          =
    *   IT_OBJ_QUAN_CHG                    =
    *   IT_VBPOK_SPLIT                     =
    *   IT_BAPIADDR1                       =
    *   IT_HU_HEADER_EPC                   =
    *   IT_HU_ITEMS_EPC                    =
    *   IT_AAC_ITEM_BLOCK                  =
    IF sy-subrc = 0.
       COMMIT WORK.
    ENDIF.

    Hi,
    You also have to create a segment with following data as well (for batches).
    E1EDL19-QUALF = "QUA".
    Cheers,

  • PO Confirmation Date (OA) & Inbound Delivery Date  Report

    Dear All,
    Please let me know SAP Standard Report
    PO Confirmation Date (OA) & Inbound Delivery Date  Report
    Regards
    Amey

    Hi,
    I guess ME2A will give u unconfirmed orders that require a confirmation, but have not yet been confirmed according to the dates configured for your monitoring period. First, ensure that you have such an order
    Also, ensure that your confirmation control (OMGZ) has BOTH a value in Monitoring period AND Reference date.
    Pls chk note for more information.    https://service.sap.com/sap/support/notes/500502
    BR,
    Krishna

  • Delivery date in inbound delivery

    Hi
    WE have the following scenario
    WE create a inter-company STO.  Outbound delivery is created against STO and then we do PGI.
    Suppose planned delivery dt of OBD is 10-jan-2011 and actual PGI is done on 18-jan-2011.
    After PGI we create inbuound delivery in receiving plant.  In inbound delivery, we are getting delivery date as planned delivery date of outbound delivery i.e. 10-jan-2011.  But we want actual PGI date i.e. 18-jan-2011 in delivery date of inbound delivery.
    is it possible?  Please suggest how can we do this?

    Hi,
    I think the issue is not related to inbound delivery. Because you probably would not only have delivery date at inbound delivery equal to PGI date. Instead it should be PGI+transit time. Hence, I believe what you should focus is to get planned delivery date corrected at your outbound delivery during PGI.
    I do not think standard config supports rescheduling of planned dates at delivery during PGI (even if you setup rescheduling type 'A' at your delivery type). But you can always call SD_SCHEDULING FMs to get new delivery dates and get those posted from outbound to inbound deliveries.
    Regards,
    Dominik Modrzejewski

  • Actual GR Date in Inbound Delivery takes current Date

    Hello Everybody,
    The Output SPED gets issued after PGI from the Outbound in an Intercompany, it generates an Inbound automatically.
    Problem: On the Inbound the field "Actual GR Date" gets populated with the same date as when PGI occurs. The PGI occurs in the US Plant while the PGR is supposed to occur in Europe. The Route Transit Time is 30 days.
    Example: If the PGI Date is today, 18th May the system populates the Inbound Delivery field "Actual GR Date" as 18th May.
    Research into Causes:
    It appears the system is not adding the Route Transit Time. We used the "New Route Determination Time" the the value "A" for the Inbound as well as the Outbound and we do not maintain entries in Table TROAL. Yet, the Inbound still populates with the PGI Date from the Outbound.
    Business Impact:
    The ATP in Europe considers Stock In-Transit for real-time updates. So, this Inbound gets considered for ATP in Europe starting from today's date, 18th May 2011; so Europe will start promising their customers that these goods will be available from today; however, in reality the products will be available in Europe only after 30 days. This is the impact of the field "Actual GR Date" on the Inbound Delivery.
    Thanks,
    SR

    Check the SPED functional module how the atcual date is passing.Check with technical team if they can insert alogic the actual date should be after PGI date +30 days as the delay required to reach the material.If you are not able to insert the logic then stop passing the actual GR date in GR.I think it is possible.

  • Delivery Date in inbound delivery doc not accurate

    Dear all,
    I have a question with regards to the wrong delivery date appear in our inbound delivery.
    Our inbound delivery is created via a message output in the outbound delivery of a standard SAP cross company stock transport order. The delivery date in the inbound delivery is not correct from a business point of view.
    +The correct delivery date in the inbound delivery document should be [the Actual GI date field in the outbound delivery] + [transport time (i.e. route field) in the outbound delivery].+
    Either way (i.e. the Actual GI date field is later/earlier than the planned GI in the outbound delivery), the delivery date in the inbound delivery is also wrong.
    Do you have any idea? We have tried to change the inbound delivery type EL by setting a flag (i.e. X) in the rescheduling (TVLK-NEUTE), and it still doesnu2019t work.
    Please help.
    Thanks.
    Tuff

    implements SAP Note 1316614

  • Delivery Date in Inbound delivery document not correct

    Dear all,
    I have a question with regards to the wrong delivery date appear in our inbound delivery.
    Our inbound delivery is created via EDI output in the outbound delivery of a standard SAP cross company stock transport order. The delivery date in the inbound delivery is not correct from a business point of view.
    +The correct delivery date in the inbound delivery document should be [the Actual GI date field in the outbound delivery] + [transport time (i.e. route field) in the outbound delivery].+
    Either way (i.e. the Actual GI date field is later/earlier than the planned GI in the outbound delivery), the delivery date in the inbound delivery is also wrong.
    Do you have any idea?  We have tried to change the inbound delivery type EL by setting a flag (i.e. X) in the rescheduling (TVLK-NEUTE), and it still doesnu2019t work.
    Please help.
    Thanks.
    Tuff

    Does anyone know this problem?
    appreciate some feedback.

  • PO delivery date vs Inbound delivery date

    Hi,
    I'm using message number M7-254 and set it as Error message. When I do GR w/ ref to inbound delivery the message M7-254 still considers/reads the PO del date instead of inbound del date during GR. Can it be modified to read the del date from inbound when there's inbound del created for the PO?
    Or if not, can you advise another system message that would best suit our customer's requirement where system blocks GR if posting date not equal inbound delivery date?
    Thanks in advance.

    Hi Marianne,
    A quick thought:
    Use the BADI - ME_PROCESS_PO_CUST & the method - PROCESS_SCHEDULE to copy the delivery date as per your inbound document to the field - Latest GR Date in Delivery tab of the Item details section.
    Then in OMCQ flag the message M7 163 message as E. This would ensure that the system will not allow GR to be done after this date.
    Hope the above helps.
    Regards,
    Vivek

  • GurtVLO6if will not show PGR Date in inbound delivery

    hi gurus,
           Pls provide me the flow on how to link the inbound delivery number with the material document number, as I need to get the material doc number based on that delivery number and then I need to get the receipt date i.e. document date or posting date  from the material document master tables and fill in the enhanced structure field that I added for the goods receipt date in standard structure,, for this purpose and  at last inside the user exit to fill values for report vl06if.
    Regards
    NNeeti

    hi nneti,
               put thevariant parameter and check with material master

  • VLO6if will not show PGR Date in inbound delivery

    hi Gurus,
                VL06IF will not show the Post good receipt date of an inbound delivery,
    need this date inserted in the report.last column good recepit does not show any dates
    showing last column empty
    please check
    thanks,
    Joan

    Hi,
    Check Note 128150 - VL06: Designing your own display variants. It explains how to do with enhancement V50Q0001.
    I hope this helps you
    Regards,
    Eduardo

  • Delivery order Batch split

    Hi all,
    I am using a smartform to print the Delivery order in VL03n. it is printing fine if there is no batch split.
    The quantity, amount for the delivery items  is  appearing as zero in the print if BATCH SPLIT is there.
      I have 2 items in delivery order like 10 & 20. After batch split, i find one new item 90010 is created under 10 &
    another item  90020 is created  under 20.
      i checked LIPS table where i find all 4 items. But i want to print only 2 main  like 10 & 20 . but the quantity, amount is present
      in batch split items.
      Please suggest how i need to handle batch split in my smartform printing .
    Thanks
    pabi

    Pabhi,
    In LIPS table, you'll find a field UECHA . For batch split item, it will point to parent item and for parent item it will be initial.
    e.g.  For item 90010 it will be  10 & for item 90020 it will be 20. 
    You can loop around the lips table using this relationship and sum the batch split quantities and then transfer that value to parent item. After loop processing you can delete the entries,which have UECHA not initial .

  • Update picking quantity in delivery for batch split items

    Hi,
    I'm trying to use the function module WS_DELIVERY_UPDATE to update the existing deliveries. I'm able to do batch split for the items in delivery using the same FM. I have also requirement to delete these items (batch split items).
    To delete these items first we have to make quantities to zero. So I'm able to make delivery quantity of these items to zero but not picking quantity.
    If we do not make picking quantity also zero it will not allow to delete these items
    and gives an error message saying "item is already made available for transfer order".
    Could some one let me kow how to make picking quantity also zero for batch spit items using FM.
    Thanks

    Hi Vikram
    To nullify the Picking Quantity, we can use FM: <b>SD_DELIVERY_UPDATE_PICKING</b>.
    Parameters to be passed:
    VBKOK_WA
    -- VBELN_VL - Delivery Number
    -- VBELN - Sales Document Number
    SYNCHRON - 'X'
    VBPOK_TAB
    -- VBELN_VL - Delivery Number
    -- POSNR_VL - Delivery Item Number
    -- VBELN -- Sales Document Number
    -- POSNN -- Sales Document Item Number
    -- MATNR -- Material Number
    -- LFIMG -- '0.000'.
    Have tried this in both cases whereby we have partial picking done and full picking done and worked for both cases.
    Please try on your end too...
    Hope this helps.
    Regards
    Eswar

  • BAPI For Delivery n Batch Splits

    Hi,
    I need to do the Batch Splits on the delivery using a BAPI.
    Can someone send me the name of the relevant BAPI?
    Thanks,
    Shashi Devi.

    thanks for the help

  • STO- How to control Over delivery with batch split?

    Dear All,
    In STO Scenario, how to control the over delivery?
    I created a PO for the Intra Company stock transfer & Delivery created in the Background with the T Code VL10B. When I am doing picking using T code VL02N, the system is allowing to add  more than PO Quantity in batches and system displaying the warning message (Specified quantity is greater than the open quantity/Message no. VL287) & allowing to save the deliver document..
    Hence plz suggest how to restrict the same.
    Hope it is clear.
    Thanks & Regards
    varun

    I am also in the same boat.
    I searched the forum and got the link STO - How to control Over delivery ?
    I checked OSS notes 548914, 386340,215488 but to no avail.
    I suggested user exit USEREXIT_SAVE_DOCUMENT_PREPARE  in include MV50AFZ1 to my technical team for finding the resolution. So far it is still on hold.
    If you come across any other solution, you can update the forum so that it would be helpful for many others.
    Regards,

  • Mandatory field in inbound delivery

    Dear All
    i want set mandatory for some field like production date in inbound delivery please guide me how can customize field selection for inbound delivery?
    best regards
    R.T

    Hi,
    In T-code SHD0,you can make the required field changes.please refer the below link.hope it helps.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d1443e-0184-2c10-c68d-c612f771fe6f?quicklink=index&overridelayout=true
    http://www.sap-basis-abap.com/sapbs010.htm

Maybe you are looking for

  • Unstable Inet connection - direct link to download?

    Hello Community, does anyone know a direct link to download the Desktop Manager 6.1? I am sitting here in Africa with a quite unstable and slow internet connection (80kbit/s) and having trouble to download it with my Firefox 4. It always breaks up af

  • Guys im having trouble in download ipad software for my ipad it stops at 200mb

    Guys im having trouble in download ipad software for my ipad it stops at 200mb Is there anyone know how to fix this reply fast plss??????????

  • HTML Table lines limit

    Hi, We are displaying the trip details in a HTML page in ITS server. It has been working fine until the upgrade to ECC 6.0. Not when the trip has more line items (206 line items) the display gets cutoff after 189. This number is not consistent, It va

  • Syncing Troubles with the 4S

    Hi, My cousin and I both got the Iphone 4s this week and we have a problem. He (my cousin) set up his phone as a new phone and logged into my iTunes account on his phone because he doesn't have an itunes account. When I synced my 3GS to my computer l

  • Can sync some of my music but not all of it

    Ever since I updated to iOS 7, whenever I try to sync my iPhone 5s with my MacBook, some of the songs will go onto my phone, but not all of them.  In iTunes under the "On this iPhone" tab, it shows all my music, but the majority of the songs are grey