Splitting of delivery based on Multiple TO's in ware house

Hi,
We have implemented SD and WM modules.
We created a sales order for say 100 nos and created a delivery of the same quantity. System creates 2 TO's for the above quantity since we are using TO split functionality based on material lying in 2 bins say TO1 for 60 and TO2 for 40 which is happening automatically on saving the delivery.
There are some details which we need to pass from TO details to delivery line item and hence delivery should get also split as per TO quantity.
Is there some additional configuration which needs to be done to split the delivery or we need to do so through some user exit?
Request an urgent help.
Rgds,

Hi Avinash,
Can u tell us how are you creating a Sales Order with Materials from 4 different divisions?
I have a solution for ur issue but first answer this query.
Regards,
Vinod

Similar Messages

  • Split the delivery or create multiple  deliveries

    Hi team,
    Sale order stock is grater than Truck capacity.
    We need a solution to either split the delivery; or create multiple deliveries at the time of delivery creation.
    Manually we are doing calculations for pallets capacity and then doing loading still some quantity pending or some space pending
    Is there any program that can split delivery via Sales order and create Outbound delivery through pallatization..
    Any such scenarios you have please suggest.?
    Thanks in Advance
    SAP MM

    Hi,
    Normally we can split the deliveries based on the following criteria
    1. Different delivery dates for line items.
    2. Different ship to parties for line items.
    3. Different routes for line items.
    But in your above case the issue is regarding truck capacity for which the system doesn't have any information.  So you can manually create a new delivery by adjusting the existing one or if you feel the issue is going to repeat for different items in future also then you can go build a custom logic in the system to address the delivery split using a user exit.
    Thanks,

  • Split the Delivery based on Storage location

    HI all,
    How to Split the Delivery based on Storage location when creating delivery.  is  there any functional setting ?
    Thanks
    Krupali

    Hi KR and Lakshmipathi,
    I am having exactly the same requirement.  My requirement is that i need to split one Sale Order line into multiple line items in delivery based on the stock in a particular storage location at the time of delivery creation.
    Eg.
    Line item 10 in Sale order for quantity 100.
    Storage location stock  in the priority
    ST01 = 40
    ST02 = 25
    ST03 = 2000
    I wish to have 3 line items in delivery like
    Line item           Storage Location             Qty
    10                     ST01                                40
    20                     ST02                                25
    30                     ST03                                35
    I was able to do the same in the BADI LE_SHP_DELIVERY_PROC ~ SAVE_DOCUMENT_PREPARE
    But i am facing problems regarding the inconsistency in delivery document such as Picking status update etc
    Suggest if there is any better method to do.
    Thanks in advance.

  • Item categories are re-determining based on batch split during delivery

    Hello All,
    During delivery item categories of bill of materilas are changing based on batch split.
    Scenerio: item level bill of materials configured.
    Ex: COMPUTER is main item and item category group is LUMP and item category is TAP
    but it is relevent for billing as per client requirement
    key board, cpu and moniter are bills of materilas item category group is NORM and item category is ZZTA
    These above items are relevent for delivery and not relevent for billing
    Problem: During batchsplit in delivery item category determining as "TAN" for item category ZZTA
    That can be shown when we click on batch split button for sub line item (moniter, cpu) category ZZTA
    all batch split line items are copied to billing and getting account determination pricng error because of TAN is relevent for billing
    Could you suggest me to prevent the TAN item category for batch split in  delivery
    Should TAE item category to be maintained for delivery item categories
    currently delivery item categories are configured as shown  below
    del doc type=zlf , item cat. group=lumf, higher level item cat.=tap, No default item catgory
    Thanks & Regards

    Hi
    In the asign item cateogories use usage CHSP (Batch split) for norm and assign default item category as ZZTA.  This will get determined your item category when you use batch split.
    Spro --> Sales --> Sales document Item --> Assign item categories

  • Delivery split for STO based on Material Loading Group

    Hello, I want to split the Delivery created from STO based on material loading group. I checked SAP Note:166397 and it requires copying routine. But this solution is not accepted and looking for other solutions. Please help with any user-exit or badi which can solve the purpose. Delivery needs to be created from VL10B transaction.
    Edited by: ananthula sumanth on Aug 6, 2010 9:12 AM

    The copy routine is designed for this purpose - it's not clear why the client does not allow the use of it. In my opinion you should find the root casue of their resistance and offer an acceptable solution (if it is possible).
    If you want to solve it in another way I guess you should go into a big development and develop your own copy routine functionality which could mean much more work (for you) and money (of your client) - instread of modifying a copy routine (maybe within few minutes).

  • Split delivery based on partner type

    Hi Forum Colleagues
    I have a scenario where in I need to split delivery based on partner type at line item level.
    I am aware I need to look into copy control routine to be able to address this concern, however I am unable to find the solution.
    Could someone guide me.
    Regards
    Kalpesh
    Edited by: Kalpesh Mirchandani on Mar 31, 2009 7:07 AM

    Hi
    I am getting the following error
    Item 000002: delivery split due to conflicting header data (Function Y2: Partner Number: 5100001701 <-> 5100001154)
    I have created new delivery type in which I have checked "Delivery Split Part" which should ideally address this issue but it is not.
    I would like to create delivery for each line item having different partner number. I am unable to locate the routine in which I could include the logic to separate the deliveries based on line item.
    Pls guide.
    Regards
    Kalpesh
    Edited by: Kalpesh Mirchandani on Mar 31, 2009 2:01 PM
    Edited by: Kalpesh Mirchandani on Apr 1, 2009 6:59 AM

  • TO split from one customer return delivery based on storage type

    Hello,
    How TO can be split from one customer return delivery based on storage type?
    For example,
    If I have 3 storage type,  ST1, ST2, ST3 then and how can I divide the items in to three different TOs of respective storage types from one customer return delivery? Can I use u201Ccontrol for performance data configuration? If yes then provide detail steps.
    Thanks,
    Milind

    Hello,
    Any thoughts/ideas?
    Thanks
    Milind

  • How can I split an Orders05 iDoc into multiple iDocs?

    Hello,
    Can one of you experts please tell me how I can split an ORDERS05 iDoc into multiple iDocs based upon Delivery addresses? 
    For example, if the iDoc contains 3 different Delivery Addresses then I need to split it into 3 iDocs.
    It has been suggested to me that I can Create a custom function module. In this custom fm split the idoc into 3 based on the delivery address and create it using the FM MASTER_IDOC_DISTRIBUTE.
    Problem is I don't know how to do this.  Any help is greatly appreciated.  Thanks.
    Dan

    Hi Dan Avis
    Write a Custom  Z program .
    1 get order05 idoc number....
    2 get the segment details...(Based on you condition...)
    3 In a loop  send the data to the FM MASTER_IDOC_DISTRIBUTE  (Based on you condition...)
    4 IDOC will generated,,,every loop and
    5 Change the status of original idoc .
    or
    Create Function module and use the FM as process code to create 3 idocs...and processs...new generated idoc and block original idocs...
    Call me if you have questions  @ 302 290 5677
    Thanks
    Ramesh

  • Freight posting in MIRO based upon multiple goods receipt.

    Hi
    In one of the companies they are requesting the freight charge to be broken into multiple lines (based upon multiple goods receipt)  instead of one consolidated balances in the invoice (MIRO).  Right now each time we do a MIGO against the same PO the system creates a seperate material document and the entry is (and that is correct) :
    Inventory  -      XXXX
    GR/IR (Cost)- XXXX
    GR/IR (Freight) XXXX
    PPV                  XXXX
    for example if migo is done 3 times against the same PO the system posts 3 seperate material document and everything is correct. 
    When we do a MIRO the system generates 3 seperate lines for GR/IR (Cost) but it consolidates GR/IR(freight) and posts the entire value in one line. 
    Requirement is : We want the system to break freight cost into 3 seperate in the invoice. 
    Did anyone come across this issue before.
    Thanks
    Joseph

    Hi Joseph,
    I guess you can use MIRO 3 times, and post separated delivery costs into 3 freight invoices.
    During each time, you can choose only 1 line to carry out the posting.
    Thanks and regards,
    Polly

  • Splitting a concatenated string to multiple cells in a row in BIP Reports

    Hello Experts,
    Let me how to split a concatenated string into multiple cells in BIP reports rtf.
    Ex:
    string: acg;ghdf;tesrlkjj;hvfffda
    has to placed in multiple cells like
    string1: acg
    string2: ghdf
    string3: tesrlkjj
    string4: hvfffda
    Appreciate your quick reply.
    Please drop in the pseudo code.
    Thanks & Regards
    Syed

    The report is based on a standard sql query such as
    select item1, item2, item3, item4, item5, item6, item7
    from mytable
    order by item1Wanted to put that in as I am not using an interactive report.
    Thanks
    Wally

  • Multiple IDOCs based on multiple fields in File to IDOC mapping

    Hello Experts,
         I have a requirement to create multiple IDOCs based on multiple fields.
         Earlier my requirement is to create IDOCs based on ShipID (i.e., for every ShipID new IDOC...I achieved this).
         But now the requirement was to create IDOC based on two more fields like
    Source:
         ShipID1
         FieldA with value1 
         FieldB with value1
    Target :
         1 IDOC to create
    and If
    Source:
         ShipID1
         FiledA with Value2
         FiledB with Value2
         ShipID1
         FiledA with Value1
         FiledB with Value2
    Target:
         2 IDOCs based on FiledA
    Like wise IDOC should create for every change in FiledA and FieldB.
    If FiledA and FiledB has no changes then create IDOC based on ShipID
    please help me in achieving this as this is an urgent requirement.

    Hi Prasad -
    Just concat all the three fields - shipID1, FieldA and FieldB and
    remove contexts
    split by value (value changed)
    collapse contexts
    This way whenever there is a change in any of the above fields you'll have separate IDOC..

  • Splitting a file based on the payload field - multimapping

    HI Everyone,
    I have a requirement of splitting a file based on the field .
    e.g When I am a file as :
    row1  David    US
    row2  Cindra   US
    row3   Peeru   CA
    row4   Jay       CA
    Then, I have to split the file into two files, one file with the US rows and  another file with the CA rows.
    There can be many countries in the input file, so number of target files need to be generated is not fixed.
    I have gone through the below links :
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible   ( in the blog we know that there are two receivers but in my case I dont know that )
    https://bond.newellco.com/irj/scn/,DanaInfo=www.sdn.sap.com,SSL+thread?messageID=6449801#6449801
    ( Everyone is providing JAVA mapping as a solution....)
    Is Java mapping the only option to resolve the problem case I have ?
    Thx
    PEERU IN

    Hi Peeru,
    I don't have access to the any FTP or file server of XI to check the file adapter as i am travelling right now(I am 100% sure that the file adapter splitting will work as i have done this for one of my requirement).
    Coming to your requirement:
    I wrote an java map which will read the XML file and create the multiple recordset based on number of different country exists in the file, then i am printing the final structure in an multi mapping layout (please see the attached input file Country.xml and out put file which the java map generated Final.XML) if we do this i think the file adapter will create the different files based on the number of recordset we have as you can see the output file is generated with the 3 recordset (<Country>) tag each country tag has its own records, now if i give the filename in variable substuition pointing to region then i think i should get 3 files with names
    us.xml
    us01.xml
    us02.xml
    i think by using the multi mapping i can generate 3 files and by using the variable substution i can give the 3 different names from the payload of each file and also can add the timestamp for each of the file, again i didn't have access to the file adapter in the project i am working on so i couldn't verify in XI server, but if you still looking for solution then let me know i will give the map details.
    Input File: Country.xml
    <?xml version="1.0"?>
    <check>
         <order>
              <name>Nisar1</name>
              <region>US</region>
         </order>
         <order>
              <name>Nisar2</name>
              <region>US</region>
         </order>
         <order>
              <name>Nisar3</name>
              <region>US</region>
         </order>
         <order>
              <name>Nisar4</name>
              <region>US01</region>
         </order>
         <order>
              <name>Nisar5</name>
              <region>US01</region>
         </order>
         <order>
              <name>Nisar6</name>
              <region>US01</region>
         </order>
         <order>
              <name>Nisar7</name>
              <region>US</region>
         </order>
           <order>
              <name>Nisar8</name>
              <region>US</region>
         </order>
           <order>
              <name>Nisar8</name>
              <region>US02</region>
         </order>
    </check>
    Output File : Final.XML
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
         <ns0:Message1>
              <country>
                   <Order>
                        <name>Nisar1</name>
                        <region>US</region>
                   </Order>
                   <Order>
                        <name>Nisar2</name>
                        <region>US</region>
                   </Order>
                   <Order>
                        <name>Nisar3</name>
                        <region>US</region>
                   </Order>
                   <Order>
                        <name>Nisar7</name>
                        <region>US</region>
                   </Order>
                   <Order>
                        <name>Nisar8</name>
                        <region>US</region>
                   </Order>
              </country>
              <country>
                   <Order>
                        <name>Nisar4</name>
                        <region>US01</region>
                   </Order>
                   <Order>
                        <name>Nisar5</name>
                        <region>US01</region>
                   </Order>
                   <Order>
                        <name>Nisar6</name>
                        <region>US01</region>
                   </Order>
              </country>
              <country>
                   <Order>
                        <name>Nisar8</name>
                        <region>US02</region>
                   </Order>
              </country>
         </ns0:Message1>
    </ns0:Messages>
    regards
    Nisar Khan

  • How to produce different outbound delivery based on different schedule line

    Hi,
    I want to create different outbound delivery based on different schedule line time,but system automatically create a combining delivery document with a sum number.
    For example,
    schedule line
    date               goods issue time   qty
    2011.08.24     08:00:00                1
    2011.08.24     10:00:00                1
    when I create the outbound delivery, system create only one document with quantity 2.
    But I need two documents with quantity 1 in every document.
    How to solve this requirement?
    Thanks.

    Hi,
    I viewed the item requirement in VOFM, found that they are status check for the copy control, not the split control.
    Could you please give me a example?
    In the copy control--header--conditions----order requirement ( or combination requirement )
    They are like this :
    (001)
      bp_subrc = 0.
    Check that reference document is an order (if not, issue error)
      if cvbak-vbtyp cn vbtyp_auft.        "Auftrag?
        perform message_handling in program (programmname)
                                           using cvbap-posnr
                                             '003'
                                             'E'
                                             'VL'
                                             cvbak-vbeln
                                             space
                                             space
                                             space.
        bp_subrc = 1.
        check 1 = 2.
      endif.
    Check the status of the Fonds-Management
      IF CVBUK-FMSTK EQ 'A'.
        PERFORM MESSAGE_HANDLING IN PROGRAM (PROGRAMMNAME)
                                           USING CVBAP-POSNR
                                             '889'
                                             'E'
                                             'VL'
                                             CVBAK-VBELN
                                             SPACE
                                             SPACE
                                             SPACE.
        BP_SUBRC = 1.
        CHECK 1 = 2.
      ENDIF.
    Check that order is not blocked by the automatic credit check
      if cvbuk-cmgst ca 'B' and
         cvbuk-abstk ne 'C'.
    Credit check is irrelevant for correction deliveries
        if v50agl-sofauftrag eq charx       and
           tvak-lisof       eq space       and
           likp-lfart       eq tvak-korli.
        else.
          perform message_handling in program (programmname)
                                             using cvbap-posnr
                                               '060'
                                               'E'
                                               'VL'
                                               cvbak-vbeln
                                               space
                                               space
                                               space.
          bp_subrc = 1.
          check 1 = 2.
        endif.
      endif.
    Check the user status from the order header
      if not cvbak-objnr eq space.
        call function 'SD_STATUS_VBAK_CHECK_INTERN'
          exporting
            i_objnr              = cvbak-objnr
            i_vrgng              = vrgng_sddn
          exceptions
            allowed_with_warning = 01
            not_allowed          = 02
            object_not_found     = 03
            others               = 99.
        if sy-subrc ne 0.
    Fehler nicht bei MODKZ = '2' (Erlaubt mit Warnung)
          if sy-subrc gt 1.
            bp_subrc = 7.
    Else ist nötig, da Routine mit "changing sy-subrc" gerufen wird
          elseif sy-subrc eq 1.
            bp_subrc = 0.
          endif.
    Check Global delivery flags
    line deleted: "n_911988
            perform message_handling in program (programmname)
                                               using cvbap-posnr
                                                     sy-msgno
                                                     sy-msgty
                                                     sy-msgid
                                                     sy-msgv1
                                                     sy-msgv2
                                                     space
                                                     space.
    Bei Fehler: Bedingung verlassen
          check bp_subrc ne 7.
        endif.
      endif.

  • How to update storage location & batch split on delivery items?

    Any idea how to perform the following using a BAPI or function call with regards to updating a Delivery (VL02/VL02N)?
    1) Enter or update a storage location on a delivery item?
    2) Batch split a delivery item to give multiple batch    numbers. For example if delivery item is '101' then    after batch split additional delivery items with batch number assigned will appear as '900001', '900002', '900003', etc Entering a single batch number is straight forward and can be done using WS_DELIVERY_UPDATE/_2
    Do not wish to use BDC or call transaction. Any help appreciated.

    hi sailatha..
    im doing BDC for VL01N transaction.. how can i pass multiple storage locations for picking quantity..  my requirement is  if the material is not there in the specified storage location it should search in the other storage locations for delivery.
    how can i solve this issue bcoz in the VL01N screen i can pass only one storage location.
    this is urgent requirement..
    kindly revert me back if u can help.
    thankx
    helpful answer will be rewarded.

  • Split a pdf based on text?

    Hello,
    We'd like to split a large pdf (1200+ pages) into multiple files. We have Acrobat X Pro and in this instance, have thousands of records in the initial pdf with each record ending in 'End of Record'.
    1.) Can we split the initial pdf into multiple files by simply telling Acrobat to create a new file each time it sees 'End of Record'?
    2.) Can we (batch) insert top-level bookmarks after each 'End of Record' then use the Split Document command to create multiple files?
    Any help is appreciated!

    Possible with JavaScript, but it will be a fair amount of coding.
    First you need to read each word on each page and search for the words "End of Record". This assumes that the string "End of Record" will not appear elsewhere in the text of the pages being extracted. It also assume that the word string "End of File" appears in retrieval of getting Nth word. The words are not returned in the reading order but in the order that that text was placed or plotted on the electronic page.
    You could also just extract the pages based on finding the words "End of Record".
    getPageNthWord
    extractPages

Maybe you are looking for

  • Computer problems after upgrading to Mavericks

    SO many problems. I cleared out a ton of old stuff that I saw might be causing problems, and I've verified and repaired the disc, and uninstalled and reinstalled a couple of programs that I was seeing problems with in the console, but now I'm just fl

  • HP Officejet Pro 8000 Wireless - Override depleted ink reporting

    I have an HP Officejet Pro 8000 Wireless which uses the HP 940 ink cartridges. I've replaced my black ink once and the yellow once.  The cyan and magenta have reported low for a week or so. I changed the printing setup to only print in black and whit

  • ESS - Bank Details - Payment method field

    In the ESS --> Bank Details --> Payment method field , we would like to restrict the drop down values that are shown. In R/3 we (IT 0009) we have different values such as Direct deposit, Check , Cash etc.. but on the ESS we want only direct deposit t

  • Data Blocks Based on Stored Procedures

    Is it possible to to create a data block based on a stored procedure, and create a dynamic list as a drop down box? I have a form that runs successfully that has a data block based on a stored procedure. I add my trigger to create and populate the re

  • Javac - exception Privileged instruction

    Hi, I just installed jdk1.1.6 on my computer. The examples work fine but I can't compile. I get 2 different errors: 1) When I try the 1.1 example: D:\dev\jdk1.1.6\demo\demo\Animator\1.1>d:\dev\jdk1.1.6\bin\javac animator.java => The exception Privile