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.

Similar Messages

  • 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

  • SAP AFS - VL10B delivery from specified storage location

    Dear all,
    I have created STO for an AFS material.
    As this material is available in various storage locations of the supplying plant.
    Now I am trying to create delivery through VL10B, entered the Purchase Order, Plant and specific location in the material tab, but system is not generating any outbound delivery in the background.
    again, in VL10B, if I have not specified any storage location in the material tab, system is generating the Outbound delivery for multiple storage locations with reference to batch split.
    How come system is not picking the specified storage location in VL10B transaction.
    Can I specify the issuing storage location while creating the STO, so that during VL10B, automatically the system will pickup the same storage location.
    thanks in advance,
    urendra

    Dear Urendra,
    If you creating a delivery for an AFS material, system picks the stocks based on the allocation rule defined in the system. Hence first efine the allocation rule in the system.
    To achieve the functionality of issuing stock in case of a STO from a
    particular storage location kindly maintain the below customizing.
    1) Go to transaction J3AS -> arun detail -> define allocation logic ->
    stock sorting
    3) Here maintain a stock sort rule .
    5) To this sort rule you can assign fields in this case it would be
    LGONR with field values EW and QA
    6)Once that is done, give the priority to the storage location in
    accordance to your requirement.
    7) Assign this sort rule to the main Arun type following the
    path J3AS-> ARun type-> here select Arun type and then under allocation tab
    go to the allocation rule maintained , out here there is the option
    stock sorting.
    Once this is done the storage location picked would be in the order
    of the above mentioned priority.
    Only if there is no stock in storage location of higher priority
    will the stock be then picked from storage location of lower priority.
    I hope this helps.
    Regards,
    Rakesh

  • 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,

  • Display 0valstckval based on storage location (Inventory)

    Hi all,
    I need to display 0valstckval in webi report based on storage location. Now this valuated stock value comes from revaluations (2lis_03_um) and can be send at the report level based on plants but not on storage location. I know this is how the standard process is. Is there any way we can report the val stock value based on storage location in report?
    Thanks

    Hi
    You need Append the structure for the UM Datasources and you write the code and can retrieve based on STOR_LOC.
    BTW, are you not using Datasource BF-Material movements for Inventory?

  • ME21N: COST CENTER DETERMINATION BASED ON STORAGE LOCATION

    Hi,
    When creating a purchase order (ME21N) I need to determine the cost center based on storage location. How can I solve this problem?
    If the solution goes through creating an USER EXIT, please, have in mind that my knowledge about ABAP is really poor.
    Thanks in advance.
    Luis Álvarez.

    Hello Priyanka,
    first of all, thanks for your quick response.  By COA I suppose you mean Controlling Area.
    Secondly, isn't possible to implement something like this for purchase orders?:
    https://forums.sdn.sap.com/click.jspa?searchID=18930382&messageID=6494959
    Regards,
    Luis.
    Edited by: LUIS ÁLVAREZ on Nov 20, 2008 8:28 AM

  • 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

  • How to control print-out in GI Slip based on storage location

    Hi Experts,
    Presently my smartform - GI Slip is giving print out for each line item. But the requirement is: no. of print out will depend on no. of storage location, independent of line item. Since GI Slip is a collective slip hence its showing same details for each line item. The print out are first taken from MB1A and then MB90 is for reprocessing.
    How can I control the no. of printouts based on storage location
    Please help me in this issue...
    Thanks in Advance...
    Pinki.

    You have to modify your driver program,
    Ex: Loop at < internal table>
    AT NEW <storage location>
    <New-page>
    End at.
    End loop.
    The above syntax will help you to close the issue.
    Rgds,
    SR

  • Purchase Requisition Authorization based on Storage Location

    Hi MM Gurus,
    Our client has got a specific requirement to control the security of purchase requsition creation, change and release based on the storage locations. We have found the authorization object M_BANF_LGO which is to restrict the access of PR based on storage location in purchase requsitions.
    The issue is the purchase requsition BAPI does not check this authorization object as per standard SAP.
    Does anyone know how to handle the security of purchase requsition based on storage location?
    FYI - Our PR release strategy is at item level and not at document level.
    Thanks,
    Shekhar

    Thank you for the reply. In case of purchase requsition for cost center, you can still enter the value of storage location. The storage location comes into picture when the goods receipts are posted against this purchase. However, the storage location value can be entered at PR level.
    We have storage location field as "Required" field in all purchase requsitions as there is only one plant and each storage location represents the division.

  • MD04 - Display the stock on one storage location particulary.

    The transaction MD04 allows seeing the stock of the plant in the first line of the Stock/requirement list.(MD04)
    When the plant includes several storage location (e.g MAG1, MAG2, MAG3), we don't have the detail of the quantity one each storage location.
    We can use the filter (by using SETTINGS and FILTER ON) that controls the display of the MRP list and the stock/requirements list but this function don't allows seeing only the stock on one storage location particulary. We have to go the tcode MMBE in order to know the stock on each storage location.
    Thanks in advance for yours reply.

    What is your real problem?
    Display the stock storage location-wise is one thing and do MRP without certain storage location(s) (=exclude storage locations from MRP) might be another.
    If you only want to display stock of certain storage locations in MD04 but use all you stock for planning, I think there's no reason for it.
    If you really want to exclude certain storage locations, then you have to be aware that MRP won't consider that stock (for the plant segment). It will also have impact on ATP (atp won't use that stock too).
    So, there's a big difference between exclude a storage location from MRP and to exclude its stock from display.
    (You can exclude storage locations from MRP via material master --> MRP4 view --> you have to enter both plant/sloc as organisational level and you will see the suitable tab. It is also possible to control this indicator via config for to be created material masters - you can search and find threads)
    You should describe your exact requirement and maybe forum mebers can give you advice.

  • How to split the IDOCS based on document number change whit out BPM

    Hi all,
    Thanks,for giving the responce..
    Scenario:File to IDoc.
    Problum1 : How to Split the IDocs based on document number change in the source file with out BPM.My file contains document numbers like
    20000092
    20000092
    20000092
    50000050
    50000050
    50000065
    I want 3 IDocs in target system.i.e 1 for 20000092,20000092,20000092
                                                       2 for 50000050,50000050
                                                       3 for 5000006
    By using external definations i am getting 6 IDOCs insted of 3.
    Problum 2:Is there any chnges/modifications in Directory when we are using external definations.
    Could u plz provide me the step by step process(Repository/Directory) with using of external definations.
    Thanks in advance.
    Regards,
    KP

    HI,
    for this no need of BPM.
    You can think of Idoc bundling concept to acheive this-just you need to do the external definition to change the idoc occurence
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    to achieve for each document no, one idoc, you can write small user defined function in the mapping with context handling you an achieve this.
    For this e.g
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Regards,
    Moorthy

  • How to split the data based on one column

    Dear All,
    I have the table data like this.
    type quantity revenue_mny count country
    a 10           10          2 India
    a 20          12          3 India
    b 30          15          1 India
    a 35          20          2 US
    b 20          10          1 US
    b 60          15          1 US
    I woulkd like to split the date based on type column.
    For each country, for Type "a" get the sum of revenue count quanity ans same for b
    and all shuld come in on row for each country.
    output should be like
    country revenue_mny(For a) quantity(for a) count(For a) revenue_mny(for b) quantity(for b) count(For b)
    India 22 30 5 15 30 1
    US 20 35 2 25 80 2
    I tried the below query . its not splittng the date for each country in one row.
    select country,
    sum(case when type='a') then revenue_mny else 0 end ) revenue_mny_a,
    sum(case when type='b' then revenue_mny else 0 end ) revenue_mny_b
    sum(case when type='a' then quantity else 0 end) quantity_a,
    sum(case when type='b' then quantity else 0 end) quantity_b from
    test
    group by country
    Please need your helo

    Like this?
    with t as
    select 'a' type, 10 quantity, 10 revenue_mny, 2 cnt, 'India' country from dual union all
    select 'a', 20, 12, 3, 'India' from dual union all
    select 'b', 30, 15, 1, 'India' from dual union all
    select 'a', 35, 20, 2, 'US' from dual union all
    select 'b', 20, 10, 1, 'US' from dual union all
    select 'b', 60, 15, 1, 'US' from dual
    select country,
    sum(case when type='a' then revenue_mny else 0 end ) revenue_mny_a,
    sum(case when type='a' then quantity else 0 end) quantity_a,
    sum(case when type='a' then cnt else 0 end) cnt_a,
    sum(case when type='b' then revenue_mny else 0 end ) revenue_mny_b,
    sum(case when type='b' then quantity else 0 end) quantity_b ,
    sum(case when type='b' then cnt else 0 end) cnt_b
    from t
    group by country;result:
    COUNTRY  REVENUE_MNY_A QUANTITY_A CNT_A REVENUE_MNY_B QUANTITY_B CNT_B
    India    22            30         5     15            30         1
    US       20            35         2     25            80         2Or you can do it with a decode instead of case. The result will be the same:
    with t as
    select 'a' type, 10 quantity, 10 revenue_mny, 2 cnt, 'India' country from dual union all
    select 'a', 20, 12, 3, 'India' from dual union all
    select 'b', 30, 15, 1, 'India' from dual union all
    select 'a', 35, 20, 2, 'US' from dual union all
    select 'b', 20, 10, 1, 'US' from dual union all
    select 'b', 60, 15, 1, 'US' from dual
    select country,
    sum(decode(type,'a',revenue_mny,0)) revenue_mny_a,
    sum(decode(type,'a',quantity,0)) quantity_a,
    sum(decode(type,'a',cnt,0)) cnt_a,
    sum(decode(type,'b',revenue_mny,0)) revenue_mny_b,
    sum(decode(type,'b',quantity,0)) quantity_b,
    sum(decode(type,'b',cnt,0)) cnt_b
    from t
    group by country;(I changed tablename from TEST to T and columnname from COUNT to CNT, because you should not use reserved words as tablename or columnname.)
    Edited by: hm on 09.10.2012 06:17

  • Split the delivery line item?

    Hello All,
    I have a question. I want to split the delivery into batches. Can anybody tell me how to achieve this through abap program?
    Points will be awarded.
    Thanks,
    Sohil.

    Hi Abhisek,
    Actually i want to split the delivery into the batches. so the FM that you are talking about will not work.
    If you have any info. then please pass it to me.
    thanks,
    sohil,

  • Mandatory the Material Quantity and Storage Location Field in Order

    Hi Expert,
    Please advise. how can i set the Maintenance order,
    If Material field is Filled
    Then Mandatory the Quantity Field and Storage Location Field.
    Thank You
    Best Regards

    Hello,
    Please Use Below User Exits to get your Functionality
    IWO10009 --->PM Order Check for 'Save' Event
    CNEX0026--->general inspection of material
    Regards,
    Rakesh

  • To stock transfer  the RM to Production storage Location

    Dear All,
    I want to  stock transfer the RM from Store to production storage location after that I have to pick the material against Production Order from Production Storage Location.
    How I can carry out this scenario.
    I am trying through Pull list.
    please give ur valuable inputs.
    Thanks in advance
    Vijay Mankar.

    Hi Vijay,
      To tranfer the stock from store to Prod storage location , u can do in two ways,
    1.Pull list - By accesing the Pullist with the production order .if there is no enough stock to meet production qty at production storage location , system calculate the missing part and asks replenishment storage location. here u have to give your store as repl.storage location
    2. Enter tranfer posting.( MB1B)  - using this u can tranfer the stock dierctly from the store to prodution storage location. u have to use 311 Mvt type and define Rec storage location is store.
    3. Enter good issue MB1A -  u can pick the raw material with reference to your prodution order using 261 Movement Type.
    please reward if it helps
    regards
    pradeep

Maybe you are looking for

  • 0x2D becomes 0xAD after upgrade from 8.5 to XI 2

    We used to use Crystal 8.5 to create reports with embedded email commands for use in eDocPrinterPro, which converts the report to .pdf format and attaches the resulting .pdf document to an email, with an email address as specified in the embedded com

  • Change de default camera from the lock screen in iOS 5

    Is there a way to Change de default camera from the lock screen in iOS 5? There are way better camera apps (camera+) than de default in the lock screen in iOS 5, is there a way to change this?

  • Cannot change SQL 2008 R2 Service account from local System to any account

    Windows 7 64 Bit Developer Edition of SQL Server 2008 R2 Successfully changed SQL Server Agent, SQL Server Reporting Services, SQL  Analysis Services, SQL Server Integeration Services and SQL Full-Text Filter Daemon Launcher from Local System Account

  • TOC disappears after allow blocked content

    I have a Robohelp 9 project (single sourced through FrameMaker) I can compile the help and run. When I view it, I see the full help along with the "Allow blocked content" message. When I click Allow Blocked Content, my help appears but now the TOC is

  • Many problems with DINC2

    I traded in my Blackberry for this Droid and now I'm questioning my decision. So many issues with this new phone and how ironic that in today's LA Times, there's a two page full color ad for how fast the new Droids are. Right now, I don't care how fa