Split Sales Order Line - by Delivering Plant ?

Hi there,
Does anyone know (config or ABAP) how to split a sales order line for this scenario:
1 Sales Org - SOrgA
3 Plants (PlantA, PLantB & PlantC)
Can fulfill SOrgA sales orders from all 3 plants
No WM
User enters MatA Qty 10 on sales order line item 1.
MatA has qty 5 in plantA and qty5 in PlantB.
System gives Qty 5 to line item 1, reduces qty requested to 5.
Stytem creates new sales order line & gives Qty 5 to new line item 2.
I am essentially trying to fulfill the sales order from multiple plants but so far in R/3 I do not see any way to do this with config. Alternative is to do this manually but business requirement is to automate it.
Any ideas?
Has anyone done something similar with ABAP?
Thanks,
Niall

Thanks for your comments Ashutosh,
My strawman schema is currently:
Biz Hours:
Orders created.
Nightly:
[No (minimal) orders being entered so allocation should be a non-issue or very minimal].
Backorder rescheduler job runs
Bespoke job runs to split lines if can fulfill from multiple plants
- it may be FIFO based on a combination of dates such as customer delivery date and delivering plant lead time (will be bespoke)
Delivery Due List runs
Currently our sales order lines have delivering plant (e.g. from customer master, CMIR or material). Against this plant ATP is run, even though the material may also be in another plant. The business issue is that sometimes, for some customers, we want to fulfill the order from a different plant or combination of different plants.
This is not for every order thankfully!
N.

Similar Messages

  • How to split Sales Order line as per partial availability of stocks?

    During scheduling of Sales Order line, if ATP window shows onhand stocks less then required quantity and balance quantity is promised as per CTP on dates falling outside request dates.
    1) Is there a functionality to split SO lines Automatically basis On Hand Availability?
    2) Can we write a rule to split a line so that staggered shipments can be scheduled in future for quantities promised as per CTP ? (i.e rather than promising 1 date, if capacities permit line quantity is split to start shipments at the earliest).
    Will appreciate for direct fitment or any workaround solution to resolve above issues.
    Thanks

    Hi,
    Try this out. Go to Logistics Execution-Warehouse Management-Activities-Transfers-Processing Performance Data / TO Split
    Step1:
    Define Profiles-Sort profile for TO splitting
    Here, create a new entry of sort profile for your warehouse with field "POSNR" as 1st sort field.
    Step2:
    Define Profiles-Profile for Transfer Order Splitting
    Here, create a new entry of  Profile for TO split for your warehouse & sort profile of step1.
    Step3:
    Control for Performance Data Processing / Define TO Split-Performance data control
    Assign Profile for TO split of step2 to your warehouse, MVT, Source & Destn st. types.

  • Need to Split Sales Order Line Item in VA01

    Hi,
      I have a requirement in which i have to split an order line item for KMAT materail number. system popup configurable screen, here all the required characteristic values have to be selected as per the customer requirement.
    After entering all the required customer specific characteristic values, system determines batch automatically. If characteristic values of the Batch matches with the characteristic values of configurable screen selected in the sales order
    Here also we have to check the sales Order Quantity (VBAP u2013 KWMENG) and order Confirmed quantity (VBEP u2013 BMENG), if the both the quantities are not same, consider order has partially confirmed.
    If Order quantity is partially confirmed, check for the batches with the same characteristic values of the quotation configurable screen and if batch found, system has to create a one more line item and new batch has to be assigned to create line item.
    Reduce the order quantity equal to the confirmation quantity in the first line item.
    Create a new line item in the quotation, copy all the remaining unconfirmed quantity from the first line item and also copy all the characteristics and properties (item category, schedule line category, business data, item data, and requirement type) and assign the batch to the new line item. System does the availability check automatically and confirms.
    In another scenario system doesnu2019t find batch, in this case capable to promise has to trigger directly.
    Here we have to check the Order confirmed quantity, if confirmed quantity is equal to zero.
    Change the item category of the line item, due to which system determines different Requirement type and schedule line category.
    Based on the Requirement type system triggers the capable to promise.
    I would lke to know which is the suitable user eixt or BADI to split the line items and what all the tables or structures i need to populate in order to create a new line item successfully.
    I have seen many post in sdn but no body gives the right user exit name where i can add new line item.
    Regards,

    Hi Amit,
      Thanks for your reply. In this scenario configurable material is involved. And first Make to Stock scenario is executed to check any material with customer entered characteristics are avialable. If its so it will determine its batch and assigned the quantity.
    If zero quantity is assigned or no quantity is assigned then I have to trigger the Make to Order scenario for rest of unconfirmed quantities in order.
    I have check it in USEREXIT_MOVE_FIELD_TO_VBAP but it was of no use. I even tried in USEREXIT_CHECK_VBAP but still no result. I am not sure what all the tables and structures i need to populate there.
    Regards,

  • Splitting sales ord line items to diff deliveries based on max line items

    Hi,
    I'm trying to split sales order line items to different deliveries based on the max line items on Sales Organization ( TVKO-MAXBI ) . I activated a new routing (copying standard 001 ) but an error is happening
    Item 000200: delivery split due to conflicting header data (ZUKRL: M106 <-> M1061)
    However the split does not work as expected. Does anyone have any ideas ?
    Pls help me
    The code is:
    data: ITEMNO        LIKE TVKO-MAXBI,
          BILLNO        LIKE TVKO-MAXBI.
    *}   INSERT
    FORM DATEN_KOPIEREN_601.
    *{   INSERT         MTDK905083                                        1
      LIKP-VKORG = CVBAK-VKORG.
      LIKP-AUTLF = CVBAK-AUTLF.
      LIKP-VSBED = CVBAK-VSBED.
      LIKP-FKARV = TVAK-FKARV.
      LIKP-TRAGR = MAAPV-TRAGR.
    Fill field ZUKRL with combination criteria
      LIKP-ZUKRL(2)      = CVBAK-VTWEG.
      LIKP-ZUKRL+2(2)    = CVBAK-SPART.
        IF NOT TVKO-MAXBI IS INITIAL.
          IF ITEMNO < TVKO-MAXBI.
            ITEMNO = ITEMNO + 1.
          else.
            LIKP-ZUKRL+4(2) = BILLNO + 1.
            ITEMNO = 1.
          endif.
        endif.
      LIKP-STAFO = CVBAK-STAFO.
      LIKP-STWAE = CVBAK-STWAE.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-KNKLI TO LIKP-KNKLI.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-GRUPP TO LIKP-GRUPP.
      MOVE CVBAK-SBGRP TO LIKP-SBGRP.
      MOVE CVBAK-CMWAE TO LIKP-CMWAE.
      MOVE CVBAK-WAERK TO LIKP-WAERK.                      "46C/note 184914
      MOVE CVBAK-CTLPC TO LIKP-CTLPC.
      IF LIKP-LFART = TVAK-KORLI.
        LIKP-KLIEF = CHARX.
      ENDIF.
      MOVE CVBAK-LIFSK TO LIKP-LIFSK.                           "45B
    Pick-up sheet number in delivery order processing is external dlv. no.
      IF CVBAK-VBKLT EQ VBKLT_AUSL_AUFT OR
         CVBAK-VBKLT EQ VBKLT_AUSL_AUFT_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    Consignment issue by service agent is external delivery number
      IF CVBAK-VBKLT EQ VBKLT_EDL_ENTN OR
         CVBAK-VBKLT EQ VBKLT_EDL_ENTN_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    *}   INSERT
    ENDFORM.

    hi friend i solved the problem.. was a mistake on my source... I send u the code to help u in advanced... thanks for your time
    data: ITEMNO        LIKE TVKO-MAXBI,
          BILLNO        LIKE TVKO-MAXBI.
    *}   INSERT
    FORM DATEN_KOPIEREN_601.
    *{   INSERT         MTDK905083                                        1
      LIKP-VKORG = CVBAK-VKORG.
      LIKP-AUTLF = CVBAK-AUTLF.
      LIKP-VSBED = CVBAK-VSBED.
      LIKP-FKARV = TVAK-FKARV.
      LIKP-TRAGR = MAAPV-TRAGR.
    Fill field ZUKRL with combination criteria
      LIKP-ZUKRL(2)      = CVBAK-VTWEG.
      LIKP-ZUKRL+2(2)    = CVBAK-SPART.
        IF NOT TVKO-MAXBI IS INITIAL.
          IF ITEMNO le TVKO-MAXBI.
            ITEMNO = ITEMNO + 1.
          else.
            BILLNO = BILLNO + 1.
            ITEMNO = 1.
          endif.
        endif.
      LIKP-ZUKRL+4(3) = BILLNO.
      LIKP-STAFO = CVBAK-STAFO.
      LIKP-STWAE = CVBAK-STWAE.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-KNKLI TO LIKP-KNKLI.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-GRUPP TO LIKP-GRUPP.
      MOVE CVBAK-SBGRP TO LIKP-SBGRP.
      MOVE CVBAK-CMWAE TO LIKP-CMWAE.
      MOVE CVBAK-WAERK TO LIKP-WAERK.                      "46C/note 184914
      MOVE CVBAK-CTLPC TO LIKP-CTLPC.
      IF LIKP-LFART = TVAK-KORLI.
        LIKP-KLIEF = CHARX.
      ENDIF.
      MOVE CVBAK-LIFSK TO LIKP-LIFSK.                           "45B
    Pick-up sheet number in delivery order processing is external dlv. no.
      IF CVBAK-VBKLT EQ VBKLT_AUSL_AUFT OR
         CVBAK-VBKLT EQ VBKLT_AUSL_AUFT_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    Consignment issue by service agent is external delivery number
      IF CVBAK-VBKLT EQ VBKLT_EDL_ENTN OR
         CVBAK-VBKLT EQ VBKLT_EDL_ENTN_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.

  • Splitting sales ord line items to diff deliveries based on sched ln date

    Hi,
       We are trying to split sales order line items to different deliveries based on the schedule line date. I have copied routine FV50C001( vofm -> data transfer -> deliveries -> routine 1)into a custom routine and added the schedule line date xvbep-edatu to the split criteria likp-zukrl. However the split does not work as expected. Does anyone have any ideas ?
    Regards.

    Hi Aravind,
    u said u ve copied the routine into a customised one..but did u chk whether ur customised routine is getting called from the transcation or not?? the routine has to be assigned in config so tbat it is triggered appropriately.. try putting a BP in ur routine n doin the transaction...
    Regards

  • How to split cost allocations for sales order lines?

    Has anyone here solved a requirement to split the cost of goods sold from a service request debrief.
    The scenario is -
    1.  A debrief of a service request is completed.
    2.  Material is issued and technical labor used and expenses incurred.
    3.  I am hearing that in Oracle Service, the material is only costed but not the technical labor and expenses.
    4.  No splitting can occur in any of the cases through standard Oracle?
    5.  We have gone down the path of creating sales order line types for each department (unique code combination) and then splitting the COGS in SLA.
    6.  This way, we have to create items for labor and expenses.
    Is this the only semi-standard way.
    Thanks for your thoughts in advance.

    Hi
    I have reverse the sales order settlement, PP order settlement to sales order and I have also done KB11N for transfering the cost to the new production order.
    The only problem is I was unable to transfer labour hour confirmation as cost element used for this are not for transfering cost. If I will reverse the confirmation in PP order system will reverse material movement also which I don't want any more. Can you please tell me how to I reverse the Labour hours with out affecting goods movement?
    Many thanks

  • OM: Sales order lines are cancelled automatically without backordering.

    Intercompany sales orders lines are being cancelled automatically on the delivery when a split line is shipped with a quantity of one remaining. This line should remain backordered. A quantity of 61 was entered and 60 was shipped and 1 remaining. This 1 should have been backordered but no new line was automatically generated and infact when I view the Additional information I can see that the quantity 1 is cancelled. The profile option OM: Under Shipment Tolerance is set to .5

    HI,
    You can cross check by running the AUDIT HISTORY REPORT in Order Management, which gives the in depth details of the sales order amendments.
    Thanks,
    Raghav

  • APO gATP vs R/3 ATP - To check sales order ATP across multiple plants

    Hi There,
    I am trying to evaluate gATP functionality for SD sales orders.
    The primary requirement is to have sales order ATP checking take place across multiple plants.
    E.G.
    Sales order line is entered for qty 100
    60 is available in plant A, 40 is available in plant B
    System checks both plants and creates 2 lines - one for delivery from plant A and one for delivery from plant B
    (we are currently heading down the road of writing ABAP to do this 'multi-plant' check in R/3 but the more complex the requirements get the more interested I am in understanding more about APO/gATP)
    I would like to understand the benefit of implementing APO / gATP as opposed to using standard R/3 ATP and perhaps writing custom ABAP code to search for inventory across multiple plants.
    I would appreciate any insight regarding what is required to setp gATP to perform such checking and any other feedback regarding this issue - especially if you have had to implement something similar at your company.
    I have looked here but not much clear help:
    http://help.sap.com/saphelp_scm50/helpdata/en/26/c2d63b18bc7e7fe10000000a114084/frameset.htm
    Thanks,
    Niall

    Hi Niall
    you are probably looking at RBATP (Rule based ATP). Look at transaction /sapapo/rba04 in APO where you develop your own location and product substitution rules. Going down an ABAP road in R/3 may work short-term but not long-term as the requirements may get more complex.
    Regards
    Srinivas

  • Not able to re-atp 1of the sales order line item

    Hi SAP PP Gurus,
    When I tried to re-atp 1 of the sales order line item it is giving error as mentioned below. Please let me know where this fix qty indicator in the sales order and how can I de-activate the same.  Thanks in advance....
    Item has no open quantity - Check fixed quantity ID
         Message no. V1 601
    Diagnosis
         The item does not have any open, confirmed quantities and the "fix
         quantity" indicator is activated. This means that the customer has
         agreed on a zero quantity and nothing is delivered.
    System Response
         The system issues a corresponding message.
    Procedure
         If you want the item to receive a confirmed quantity after all which can
         be delivered later, you should de-activate the fix quantity indicator.

    Hi Ritish,
    Strategy is MTO..
    I have triied to perform atp by using fix qty/date but still system in not proposing MAD. And it is giving below error screen.
    No. of components checked:                1
    Missing parts:                            1
    Overall confirmation date could not be determined
    Order : 1104739992
      Material           Plnt SLoc Reqmts q     Requirements  ATP/avai     Committ. d Material description M Bl
      NH524AA@@          32F2 F2WH   1.000      03.08.2009      0.000      99.99.9999 HP gt7725 PCI Expres X
    Thanks and Regards,
    SHARAN.

  • Copying text from CMIR (KNMT) to the Sales Order Line Item

    We need to copy text from the CMIR (KNMT) to the Sales Order Line Item with two steps in the access sequence. First to look up by the Ship to Partner Function.  If doesn't exist, then look up by Sold to Partner Function.  Have setup a new text id (ZPRN), a new access seq (9011).  The access seq has one seq =5 for KNMT, ZPRN, all languages and that saves fine.  When I set the Partner Function to be SH.  I get the following error msg:
    "The Language does not come from the partner function AG for MVKE".
    Any ideas?  This access seq does not reference MVKE. It only references KNMT.
    Thanks!

    Hi Lisa,
    Just stumbled on this post, as I am searching for something similar.
    What you are attempting to do isn't possible in config.
    This is because as standard Customer Material Info Records are not even considered for ship-to party in the sales order.
    They work for sold-to only.
    Therefore, this funny error message is SAP's way of saying, "Why are you trying to enter a partner here, because the data is determined for sold to only?"
    You can change this with development for other fields (ie, to determine delivery plant, tolerances etc at ship-to) by using
    the exit MV45AFZB with the USEREXIT_CUST_MATERIAL_READ form.
    However, even if you do this, Text Determination is still sold-to only and still doesn't behave.
    I am currently looking myself for a solution for this problem and I will let you know what I find.
    Cheers
    Chris

  • How to set Confrimed quantity as 0 in the sales order line item

    hi all
    i have a requirement that my user dont want to see confirmed quantity in the sales order line item.
    scenario is make to order.
    i have set strategy group is 20 -make to order
                                            MRP Type is PD
                                           Lot size -
    EX , still its showing confirmed quantity.
    could pls any one tell me how to set 0 quantity in the sales order line item
    thnx

    Dear Sateesh,
    If the availability check is carried out and stock is not there in our plant, then it will show the confirmed quantity as Zero.
    If you don't want to carry out the availability check,
    To achieve this,
    1. Remove the availability check in the transaction OVZG against your requirement class.
    You can find the requirement type assigned to the sale order in the procurement tab.
    In OVZH transaction, you can find the requirement class assigned to your requirement type.
    2. Remove the availability check for your schedule line category in VOV6.
    In the material master MRP3 view, you ll be having Availability check, there you need to specify the availability check..
    If you specify it as KP(No check), then it will confirm the qty, though the stock is not there in our plant..
    To meet your requirement, you have to prefer user exit.(Correct me if I am wrong)
    Thanks,
    Venkatesh.S.P

  • Quantuty on the Sale Order line item

    HI,
    Can anyone suggest how to control the Quantity on the sales order line item.
    Sale order line item should not be reduced below the delivered or invoiced quantity. For EX:Sale order line item 10 has 200kgs,delivery quantity created aganist that order is 100kgs, now the system should not allow us to change the sale order line item quantity below the delivery quantity i.e 100kgs.
    Thanks in Advance.

    In the transaction OVAH, for the message class V4 and message number 083, in the category column, change the entry from W to E. Then system will issue hard error when you change the order qty to below delivered qty.
    Regards
    Sai

  • Multiple production orders for sales order line item

    hello Guru's
    In our case Requirements are created in 2 ways
    Case 1:
    1)     Sales Orders are created at Plant level with schedule line category CP
    2)     Sales Orders are created at Depot level
    In the above mentioned 2 cases the requirements are taken as inputs and the process is carried at plant level 
    Step 1: Automated MDO3.
    Sales Orders are created if there is short fall of the Quantity at the Depot and Plant Sales Orders are raised against the plant for which the requirements are generated and MRP run is carried out at Single Item single level.
    Step 2:
    For the results of the step1 are then transferred and Production orders are created for the planned Orders.
    The issues is whenever there is change in confirmed quantity or change in confirmed  date the requirements are considered again as inputs and the multiple production orders are getting generated for the single requirement
    Actually we dont want this to have multiple production orders
    regards

    Hi,
    Can you let us know the strategy group used for this material ? If i understood the query correctly, each time there is a change in the sales order (i.e. increase in qty), there is a triggering of new planned orders to meet that demand.
    Regards,
    Vivek

  • Items are not getting displayed in Sales Order Lines 'Ordered Item' field

    Hi All,
    Ordered Item field in Sales Order lines is not getting values When trying to create a Manual Sales Order.
    When clicked on Ordered Item LOV, no values are getting displayed.
    Thanks,
    Chandra.

    879035 wrote:
    Hi,
    I was unable to select any item (nothing is getting displayed in Ordered Item field when the LOV is clicked) in Sales Order Lines.
    The Sales Order header information i was able to enter & generate the Order Number.
    R12.1.3 is the version i am using.
    Thanks,
    Chandra.Have you done all the required setup in OM??
    Like system parameters...Imp one would be Item Validation Organization
    Make sure item is also available in the price list which you are using in order
    Mahendra

  • My customer is looking for a comp. open (unbilled) sales order line report

    Hello:
    My customer wants a listing of open (unbilled) sales order lines.  List of everything they have ordered and do not have a bill for yet.  That seems to be spread between 'Open' Sales Orders - see VA05 (no outbound delivery created yet) AND outbound deliveries that have not yet been billed - see VL06O with Billing Status not completely processed.
    How can both of these be merged into one? 
    Is there something else that can show this TOTAL picture?
    Thanks.

    Hi,
    To show all picture you can go for z report
    Take data from table VBAK,VBAP,LIKP,LIPS,VBRK,VBRP,VBFA
    Kapil

Maybe you are looking for

  • Fields required based on a value in another field

    Hi, I am looking to have fields required (Annual Revenues and # of Employees) based on the value of another field (Ownership). Basically, if the value is Public the user is required to enter the Annual Revenue and Employees fields. I thought about us

  • Why is Encore not included in my Cloud package?

    I just realized that Encore is not in the cloud package I just subscribed to. I'm an AV person, I have to have Encore. Where is it? Why is it not in the package?

  • Previously downloaded files transfered from library to ipod

    My friend recently got an ipod with video capability and she want to put video files from my itunes library on to hers without erasing what she allready has on there. if anyone knows how to do so i would greatly appritiate it.

  • IT 1001 default value A012

    Hello, I want to have a default value, during creation, in the field Priority (PRIOX) when the relationship 012 is created between a position and an organizational unit. Does anybody knows how I can do that? Kind regards, Koen

  • PProHeadless Error

    I am trying to work on some projects and everytime I try to send the file from CS4 Premeire Pro to Encore using the Adobe Dynamic Link I get a error saying PProHeadless has encountered a error. [..\..\src\importerprocessclient.cpp-127] I used to get