Delivery schedule line number in sales order is not populated  in productio

Hi all,
i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated in production order.
please give your valuable suggestion .
i would be highly thankful to u
Regards
Kumaraguru

Hi Kumar,
Some changes done in your PRD server.If yes then contact abap consultant regarding the same.
Because these type of problem comes when you do transport or changes done in the system.
Regards,
Anil

Similar Messages

  • Delivery schedule line number in sales order is not populated in production

    Hi all,
    i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated in production order.
    please give your valuable suggestion .
    i would be highly thankful to u
    Will reward points.
    Regards
    Kumaraguru

    Hi Kumar,
    Some changes done in your PRD server.If yes then contact abap consultant regarding the same.
    Because these type of problem comes when you do transport or changes done in the system.
    Regards,
    Anil

  • Delivery schedule line number in make to order

    Hi all,
    i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated and delivery date is not picking correctly in production order.
    please give your valuable suggestion .
    i would be highly thankful to u
    regards
    piyush

    Hi
    When you do the MRP Run at MD02, maintain the Delivery Schedules as 3 (schedule lines), so when ever you do the MRP Run, it will run along with the delievry date.
    reward if it helps
    Regards
    Prasanna R

  • Adding Schedule lines to a sales order

    Friends,
      We have a requirement to clear the old un-delivered scheduled lines from a sales order and then add new schedule lines from a EXCEL file.  We were able to clear the old by putting in a new location.  Then, when we go to enter the new schedule lines, it clears the location, marks the Fixed date and Qty, and enters the delivery dates and confirmed quantities.  We tried using BAPI_SALESORDER_CHANGE, but the schedule_lines table only has the required quantity so when used it increases the order quantity, which is not good.  Is there any Function module that we can call to insert new schedule lines without increasing the order quantity other than using a BDC?  Thanks!

    Pasted below is the BAPI documentation for this parameter.
    "Check Table for Schedule Lines
    Description
    This parameter completes the following two tasks:
    Controls processing functions with the value in the UPDATEFLAG field (change indicator).
    The following entries are available:
    ' ':   Create new schedule lines
    I:     Create new schedule lines
    U:     Change existing schedule lines
    D:     Delete existing schedule lines
    Controls the field entry with check fields
    If the UPDATEFLAG field has been activated, the system only copies those fields to the data parameter that have been filled with 'X'."
    Nabheet

  • Want to automate process of adding schedule lines to a sales order

    Hi Experts,
    I want to change the schedule line data in sales order.So I Found a BAPI_SALESORDER_CHANGE.Is it ok if I go with this BAPI or is there some other way?
    Thanks in advance!!!!!!!!!!

    HI
    Yes it's ok, another solution can be to create a BDC program, but it's better and easier to use that BAPI
    Max

  • Schedule line date in Sale order for backward sched.

    Dear Experts,
    In my MTO Scenario, I want to Use Backward Scheduling, so as any change in Schedule line dates in Sale order shall take effect at least in planned order Stage, i.e in output of MRP,
    But not happening so..
    I  have customized OPU5 and checked OPU3 as well,
    Please suggest...
    Regards
    Raghu

    HI Mario,
    Thanks for reply,
    I have not worked in this strategy but will try,
    What i found was, in Planned orders detailed scheduling tab, the Scheduling type appeares to be Forward, but when i convert it to Production order it shows backward scheduling.
    This duel behavior is difficult to understand.
    Regards
    Raghu

  • Schedule lines combined in sales order

    Dear All,
    We have a sales order item with say 2 schedule lines as below
    Date                  Order Qty      Rounded Qty     Conf. Qty     Delivered Qty
    05.10.2010        60                  60                      0                  0
    18.11.2010        0                    0                        60                10
    Now, if we want to unconfirm the undelivered quantity and to do this we make the order qty = delivered qty and then change back the order qty to original qty, all this with ATP check off.
    We expect it to be ...
    Date                  Order Qty      Rounded Qty     Conf. Qty     Delivered Qty
    05.10.2010        60                  60                      0                  0
    18.11.2010        0                    0                        10                10
    It works but in some cases Sometimes, we notice that SAP moves old delivered  lines to first schedule line. Hence, we loose the schedule line information.
    Date                  Order Qty      Rounded Qty     Conf. Qty     Delivered Qty
    05.10.2010        60                  60                      10                  10
    Does anyone have an idea why SAP does this and how can we avoid this. This is really important for us, any help will be greatly appreciated.
    If anyone could also suggest a better way to unconfirm undelivered qty from schedule lines also.
    Best Regards,

    You can try to use delivery block at header level. Copy the delivery block credit limit and create a Z-block(t.code OVLS The path is SPRO->Logistics execution->shipping->deliveries->define reasons for blocking in shipping). When this block is assigned the confirmed quantities will be removed. Once  business approves, the block can be removed so that the remaining quantity will be confirmed. Just test first using the credit limit block in test system and if the results are OK, then you can create a new block.
    PS: Please close threads once those are answered. There are old threads still with open status and you action to close those are appreciated.
    Regards,

  • Scheduling Agreement - Delivery schedule line number

    Hi,
       I am developing a report to show the Goods receipt postings for each delivery schedules of Schedule agreements.
    I am not able to find Delivery Schedules line(EKET-ETENR) in Material document table(MSEG).
    How do we exactly link the GR quantity to Scheduling agreement Delivery schedules.
    We have line item number but not delivery schedules.
    GR quantity may be posted to different delivery scheules and for some SAs when the MRP Runs it is positng randomly.
    Is there function to find the link,
    Searched EKBE, EKET, MSEG  and other tables also.
    Appreciate your help <offer removed by moderator>.
    Satya
    Edited by: Thomas Zloch on Jan 18, 2011 2:44 PM

    Hi Shravan,
        Thanks for answering, I checked those two tables EKEH, EKEK are release tables. We have some SAs without release documentation. I have to find the delivery schedules using the GR document to which delivery schedules the qty it is delivering.
    It is not posting the qty from top of schedules, for some SAs it posted randomly.
    Any other ideas or any function modules,
    In BW it is possible using extractor but we need in R/3
    Thanks,
    Satya

  • In V_V2 the role of Sort Item by date of creation and Sort by delivery date of earliest schedule line for the Sales Orders when Material is out of Stock.

    Hi All,
    Good Morning,
    I am working on once Incident for Re-Scheduling Program V_V2 where the user has requested us to change the criteria for determining the priority of Sales Document based on Sort Item by date of creation. Currently they are using the Sort by delivery date of earliest schedule line in the Variant.
    I would like to know the role these both options play in the Re-Scheduling program V_V2. I would like to know the impact of both of them and the kind of testing I need to perform to study the behaviour of Sales Orders especially when the material is out of stock?
    Please explain with help of examples.
    Thanks
    Farhan.

    This is not that simple that an example would explain how this transaction works but I'll give you some examples.
    Material A has SO1 and SO2 of 10KG each, stock is 20KG so both quantities are confirmed at today. A stock recount determines a reduction to 5KG. This program would change confirmed quantity of SO1 to 5KG and SO2 to 0KG if:
    Creation date of SO1 is older then SO2 in strategy 1
    1st delivery date of SO1 is smaller then SO2 in strategy 2
    Material B has SO1 and SO2 with 10KG each but no quantity confirmed, stock is 0KG. A prodution adds 15KG to stock. The program would change confirmed quantities of SO1 to 10KG and SO2 to 5KG if:
    Creation date of SO1 is older then SO2 in strategy 1
    1st delivery date of SO1 is smaller then SO2 in strategy 2
    I'm assuming a specific configuration, there are many other scenarios possible.
    regards,
    Edgar

  • Delivery quantity is greater than schedule line confirmation quantity (sales order)

    I am creating a sales order with 30 Mt. I confirmed 10 Mt (partial confirmation and based credit block) in schedule line Now I am going to create the delivery system automatic taking 10 Mt but when I am going to change the delivery means when I increase the delivery quantity (20 Mt) then system allowing to do the further process.
    As per my understanding system should not allow to increase the delivery quantity m     ore the sales confirm quantity.
    Please suggest how I can restrict.
    Thanks & Regards
    Sujit

    Thanks for your reply,  As you suggest "B" is there. But its not working.  For ref. screen shot is attached.
    For reference I am providing some more details:
    => We are using "Make to order" process. After creation of sales order we assign the stock to sales order using T-code MB1B , Movement type 412E, 
    => Auto credit check applicable
    => Confirmed quantity in schedule line based on credit limit.(Auto credit check at Sales order level)
    => Avail. Check is 02 and check. rule is "AE" .
    Thanks and Regards
    Sujit

  • Delivery block with confirm. block on schedule line level in sales order

    We customized a new delivery block with confirmation block.
    When using it in sales order header, it is working correctly: the availability check in APO gATP is executed; but as soon as I save the sales order, the confirmation quantity is set to zero.
    We now need to use this on schedule line level, not on header level. It is not working. Even after saving the confirmed quantity stays as filled by gATP availability check.
    What is wrong? SAP help / documentation officially describe that delivery block with confirmation block either works on header level or on schedule line level.
    Thanks in advance.
    Edited by: Schmidt on Aug 13, 2008 4:47 PM

    Please see if OSS notes 21584 and/or 19488 might help.
    Regards,
    Anisha.

  • Problem in Schedule line data in sales order creation

    Hi,
    I am using the BAPI_SALESORDER_CREATEFROMDAT2 to transfer the sales order from one system to other. My problem is that the Schedule line data is not created in the new system and because of that order quantity is not appearing in the item level data.
    I have populated both order_schedules_in and order_schedules_inx... 
    but still its not getting transfered.
    Somebody help me..
    Thanks & Regards,
    Martin

    HI Martin
    Please check that you are using the right Delivery Date. Am not sure, but might be problem if we try to pass the delivery date in past... Please check on the same.
    Also, if you can post your code that can help for better advices.
    <u><b>Additional Info:</b></u>
    Below are the parameters that you have to pass to change the schedule lines:
    SALESDOCUMENT - Sales Document Number
    ORDER_HEADER_INX
    -- UPDATEFLAG = 'U'
    SCHEDULE_LINES
    --ITM_NUMBER
      SCHED_LINE
      REQ_DATE
      REQ_QTY
    SCHEDULE_LINESX
    --ITM_NUMBER
      SCHED_LINE
      UPDATEFLAG = 'U'
      REQ_DATE = 'X'
      REQ_QTY = 'X'
    Kind Regards
    Eswar

  • Restriction of addition of Schedule lines to a sales order/scheduling agrmt

    Dear Gurus,
    I need to restrict addition of new schedule lines to a scheduling agreement till all the goods in the previous schedule line have been delivered.
    I tried applying a delivery block at the SL line level ( in the SL category). But to my surprise, the system allows the user to add SL lines to the scheduling agreement. after this the user is free to create deliveries even though the delivery block is still active on the SL line.
    I'll try explaining this on numbers:
    0n 30.01.2010 i created a SL line for say 100 qtys. The system automatically applies the SL block to this. This Delivery block is removed by the concerned authority.
    Now I create a delivery of say 99 QTY for this SL line. The scheduling agreemnt status is as follows:
    order qty is 100, *** rel qty is 100, open qty is 1 and confirmed qty is 100.
    Now suppose the user enters another Sl line for 100 qty's for which the delivery block is till active and not released.
    In this case the user can create delivery for upto 101 qty's. Ideally I want the system should allow the user to create a delivery for only 1 more Qty ( Delievery block for the new SL line is still not removed).
    How can we do this? Please help!
    Warm Regards
    Prashant Joshi.

    Hi,
    If u adding 100 more quantity in same schedule line then system will create delivery for 101 not for the 1
    becauze u adding qty in existing SL,
    If u want to deliver first 1 qty,then
    Add another schedule line of 100 & block it.
    Create delivery, now system will create delivery onely for qty 1, Not for 100 becauze it is blocked.
    If your Block is not working properly
    Then on initial screen of delivery creation put from to item Number as 10 in both and deliver it
    Kapil
    Edited by: Kapildev Farakte on Feb 3, 2010 5:11 PM
    Edited by: Kapildev Farakte on Feb 3, 2010 5:13 PM

  • Schedule lines & TOR in Sales order

    Hai Experts,
    ( in Sales order - VA01 ) How Schedule lines is related with TOR.
    Kindly explain me in detail
    Regards,
    Geetha

    Hi Geetha
    To deliver an Item you need to have a schedule line.
    In the Sales order, an Item can have one or more schedule line, but to be delivered atleast one schedule line must be there.
    During Sales order processing a 'requirement transfer" is sent to the "Materials planning " department for the schedule line ,which a communication between SD and MM department (SD-MM interfac).
    From this "Transfer of Requirement", Materials Planning comes to know,How much quantity of which material SD needs to deliver and on which date.
    Accordingly, they may go for Production or Procurement as applicable to make the goods available for SD to meet the schedule line.
    Schedule line contains the information about Delivery date, delivery quantity aswell as information about requirement transfer and goods movement.Schedule line is controlled by "Schedule line category".
    So, in the Schedule line category we configure, whether Tranfer of Requirement is relevant or not, beacuse all schedule lines are not relevant for Transfer of Requirement.
    For example,
    when we create a Standard order for a normal material, it has got a schedule line and its schedule line is relevant for "Requirement Transfer".
    But, when our faulty goods comes back from the customer, we create a Return order, which also has a schedule line so that the goods will come in, but this schedule line is not relevant for "Requirement Transfer".
    So, if you will go for the "Schedule line category in Return" (DN), you will find the Requirement transfer field is blank, beacuse when my faulty goods are coming back, why should I put a requirement to Materials planning.It is not relevant.
    I hope now you are clear about the relation of Schedule line and Requirement transfer.

  • Schedule Line Issue in Sales order...

    Hello,
    While creating sales order in schedule line two schedule lines are getting created. fisrt line the date of creation of the sales order with out confirm quantity and the second line which is two days later with confirm quantity. When material is available then why schedule line is showing confirm quantity in later days. How to rectify this? please let me know the all possibilities.
    David.

    Eventhough material is available today , it doesnt means that the material can be delivered by today itself. There are other dates also which will affect the delivery date like Transportation planning, availability of truckts to send the materials, based on these transportation plannign and transportation leadtimes, the Goods Issue date and thus the final delivery date will be decided.
    If you want to finetune this functionality
    1. If your route determination is enabled, then you have to configure your transportation lead time for the relevant route.
    2. If routes are not enabled, then you have to define these things in shipping point in logistics execution
    Hope this helps you to solve the problem

Maybe you are looking for