BAPI Error: No schedule lines due for delivery up to the selected date

Hi,
I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
After execution I get the error: No schedule lines due for delivery up to the selected date
Please help.
Thanks in advance!!!
Regards,
Sriram

hi,
this is to inform you that,
please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
here,  for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
the same thing is happening in uploading case also.
so please check the date.
because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
regards,
balajia

Similar Messages

  • No schedule lines due for delivery up to the selected date

    Dear Experts,
    My order has no block. i tried with 3 months in selection date in VL01N.
    My schedule line in order has 0 confirmed quantity,
    Kindly confirm if error in VL01n No schedule lines due for delivery up to the selected date because of 0 confirmed qty
    Thanks
    Siva

    Hi,
    I think you should use the " Back order process". Using backorder processing, you can list sales documents relevant for requirements for particular materials and confirm them manually. You can assign available-to-promise (ATP) stock to
    Outstanding order quantities. In addition, you can withdraw already confirmed quantities and reassign them to different items. The stock may be reserved for other sales order. You can reassign the stocks to your sales order material.
    To do this, go to Co06 (Back order processing) , enter the Material number, Plant and the checking rule.
    Select any sales order and choose --> Edit --> Change confirmation. Make sure the confirmed quantity is "0".
    Then select the unconfirmed sales order, then choose --> Edit --> Change confirmation. Now you can enter the "Delivery quantity manually ".
    Now you can create the delivery document.
    Hope this can help you .
    Regards
    M. Lakshmi Narasimhan

  • Error "No schedule line due for delivery upto the selected date"

    Hi Experts,
    I am getting an error while creating outbound delivery for sales order.All items have same item cat and schedule line category,same customer.
    The sales order have three items with delivery date of 18.09.2008.the material stock is available for all three material and there is no planned issue for these material.
    In sales order schedule lines for all three items is confirmed on 18.09.2008. When I create a delivery on 04.09.2008(before the chedule line),it allows to create delivery for the two items but when I create delivery for material 3 on 04.09.2008(before the chedule line),it is giving error "No schedule line due for delivery upto the selected date" .on going to help it gives information that check whether the order item to be delivered contains confirmed schedule line.I checked the confirmed schedule line is on 18.09.2008 (though we have availbe stock on 04.09.2008).
    Kindly guide me how to resolve the issue,here I want to create delivery prior to the delivery/Schedule line date in Sles order.for 2 items it works but for third it is giving error.
    Is it something to do with Material group 5 in material master sales view for the 1 and 2nd mtrl it is 14 days for for the third it is 7 days?
    Sarvesh
    Edited by: Sarvesh Vashist on Sep 5, 2008 5:31 AM

    Hi Experts,
    I am getting an error while creating outbound delivery for sales order.All items have same item cat and schedule line category,same customer.
    The sales order have three items with delivery date of 18.09.2008.the material stock is available for all three material and there is no planned issue for these material.
    In sales order schedule lines for all three items is confirmed on 18.09.2008. When I create a delivery on 04.09.2008(before the chedule line),it allows to create delivery for the two items but when I create delivery for material 3 on 04.09.2008(before the chedule line),it is giving error "No schedule line due for delivery upto the selected date" .on going to help it gives information that check whether the order item to be delivered contains confirmed schedule line.I checked the confirmed schedule line is on 18.09.2008 (though we have availbe stock on 04.09.2008).It allows to create a OBD either I change the delivery date in sales order to 04.09.2008 or create a delivery with delivery date 18.09.208.
    Kindly guide me how to resolve the issue,here I want to create delivery prior to the delivery/Schedule line date in Sles order.for 2 items it works but for third it is giving error.
    Is it something to do with Material group 5 in material master sales view for the 1 and 2nd mtrl it is 14 days for for the third it is 7 days?
    Sarvesh
    Edited by: Sarvesh Vashist on Sep 5, 2008 5:31 AM

  • Schedule line blocked for delivery

    Hi Friends,
    Can you please tell what does Schedule line blocked for delivery ( LIFSP )  means?can you please explain the business process involved in this?
    Regards.
    Dinesh

    At schedule line level, the following are some important prerequisites must be fulfilled, else the same would be set as blocked:
    1. The schedule line must be due for shipping on the specified selection date.
    2. The schedule line is due for shipping as the material availability date or the transportation scheduling date is reached.
    3. The schedule line is not blocked for delivery.
    4. The delivery quantity must be greater than one.
    5. The items in the order must be fully processed.
    6. The product status of the material must permit delivery.
    7. No credit check are pending.
    Regards,
    Gauravjit
    Reward Points if solution is helpful.

  • No schedule lines due

    Hi Forum colleagues
    Scenario:
    I have created sales order with requirement class type ELVV (M.T.O), MRP was run based on sales order, production order is created, GR has been done.
    Goods have finally come in stock.
    Now when I try and do the delivery, it is giving me an error “No schedule lines due for delivery up to the selected date”
    Also in schedule line tab in sales order confirmed qty is showing as 0.
    I have a delivery date as 26.03.2008, however, I would like to carry out test run and do a delivery today.
    Could someone help me as what I am missing?
    Thanks
    Kalpesh
    **Points will be rewarded to suitable answer.

    Hello Padmanabhan
    Pls check the following:
    1) The ATP Rule i.e., Checking Rule + Checking group.
    While you are doing the ATP check the system will populate a screen showing the stock availability position. Here the confirmed qty will be zero.
    here pls click on the Scope of check button and check the ATP Rule. here you might have clicked the button " DO not check RLT" button.
    If u do this then the system will not calculate the next available date for the product and there fore the confirmed qty is always zero.
    the system will confirm the qty only if sufficient stock is available during the time of the sales order creation only.
    So pls Un mark this button ( if you have marked this ) and try and let us know the result.
    If this has solved your question. Close the Thread and reward
    points .
    With Best Regards
    Srini

  • No Schedule Lines due erro however Selection date exist in Sales  Order

    Hello Experts,
    I'm in process of creating a Delivery document for my sales order. I've provided Delivery date under "Schedule Lines" tab.
    Now when i enter the same date in VL01N, selection screen in Requested Delivery date field along with Shipping Point and Sales Order No SAP still says
    No schedule lines due for delivery up to the selected date
    Message no. VL248
    Anybody will know why?
    Many thanks in advance.

    Hi,
    Display your sales order. select the line item. Click on 'Schedule lines for item' button given below the item lines. It will show you the schedule line for the item. So, create delivery document for the delivery date given in the schedule line. Your delivery document will be created.
    The error doesn't mean that the plant have no stock to deliver. Even the plant have enough stock, the delivery will be done as per the schedule.
    Regards,
    K Bharathi

  • Updation Error in Schedule line category using 'BAPI_SALESORDER_CHANGE'

    HI ,
    I am using BAPI_SALESORDER_CHANGE to Update schedule line category for an order.But the issue is...the entries are updated if it is having single schedule line item,but if more than on item it is giving error in Last Record.
    15192625   000200 0001 2.608.596.065               130,000  21.09.2009 ZX CP
    *15192625   000200 0002 2.608.596.065                 0,000  04.02.2010 ZX CP
    *EV1                  335System error: Schedule line 0002 for item 000200 does not exist
    EV4                  219Sales document 0015192625 was not changed
    i have written the code like below:
    loop at i_ma4_etenr.
              i_salesdocument = i_ma4_etenr-vbeln.
             i_order_header_inx-updateflag = 'U'.
            r_schedule_lines-itm_number = i_ma4_etenr-posnr.
            r_schedule_lines-sched_line = i_ma4_etenr-etenr.
            r_schedule_lines-sched_type = i__ma4_etenr-ettyp .
            APPEND r_schedule_lines TO i_schedule_lines.
            CLEAR : r_schedule_linesx.
            r_schedule_linesx-itm_number = i_y16v_ma4_etenr-posnr.
            r_schedule_linesx-sched_line = i_y16v_ma4_etenr-etenr.
            r_schedule_linesx-updateflag = 'U'.
            r_schedule_linesx-sched_type = 'X'.
            APPEND r_schedule_linesx TO i_schedule_linesx.
    endloop.
            CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
              EXPORTING
                salesdocument               = i_salesdocument
                order_header_inx            = i_order_header_inx
              TABLES
                return                      = i_return
                schedule_lines              = i_schedule_lines
                schedule_linesx             = i_schedule_linesx.
    Thanks in Advance,
    Sateesh Kumar.

    Hi,
    As you are facing error , so check wheather in VA02 schedule line fields have been uploaded or not initially.
    If they are not uploaded then you will be facing the error.
    Otherwise check:
    Did you pass the X fields for the schedule lines properly. As you are changing only the schedule lines, Just pass the SCHEDULE_LINES , SCHEDULE_LINESX Internal tables.
    Please also check whether anything is passed to ORDER_ITEM_INX- UPDATE field. it should be blank.
    May it helps you.
    Regards,
    DS.

  • Regarding Schedule line category for Reverse delivery

    Can any one pls let me know what will be the schedule line category for reverse delivery after cancellation of invoice?

    FYI-
            reversal of delivery only reverse the stock & accounting doc's. To do this seperate mov type is used which is linked with the actual Goods issue mov type i.e. 601 ( ref: Tx-OMJJ)
    for every mov type there is reversal mov type is assigned to reverse the transaction.
    for reversal no schedule line category is required.
    Regards,
    Reazuddin MD

  • Items due for delivery as per available stock

    Hello Gurus,
    May i know if there is report which gives me a visibility if all sales order items are available to create a delivery.
    I know the report VL10H & VL10C gives the items due for delivery, these are reports that gives the as per the schedule line.
    As you all know a sales order may get confirmed due to some production order and purchase orders are expected, if in case a production order is delayed and items are in no stock, we will not be able to completely deliver all the items.
    thank you

    Hi Verada
    To know which orders can be delivered; a fresh ATP-check are required.
    An idea could be to run the backorderprocessing (report sdv03v02) and use the resultlog and/or create your own report.
    Kind regards
    Søren Nielsen

  • ATP check on Sales order items not due for delivery?

    All,
    In our Sales order, we have a number of dummy material lines. Now, when I use the normal sales order ATP check button, SAP does nothing. However, we have a custom program that does an ATP check, and it returns a zero qty.
    My question is, how do we know if a material is due for delivery, before an ATP check is done? The only suggestion I have is to look at the schedule line, and see if there is a material movement behind it.
    Any other ideas?

    Mark
    This is a classic SD Professional's dilemma, though it manifests differently at different clients. Mostly customers crib about future requirements stopping current sales orders from being delivered or Scheduling agreements with future delivery dates 'stealing' stock from Sales orders.  Another manifestation is production orders usurping components from sales orders for spares and so on. ATP functionality in SAP is pulled in various directions by conflicting demands and it is difficult to satisfy everyone. Companies with chronic probelms often end up with negative ATP which is perhaps the most serious stage of the prognosis.
    Your solution lies in:
    1) Availability check control settings : Sales documents vs. deliveries  : For the delivery, don't include 'Sales Requirements'  and for the sales orders, do include 'Delivery Requirements and so on.
    2) Performing nightly rescheduling (V_V2) with Delivery priority and delivery date as key sort criteria. If the volumes are not high, you can try using manual confirmation via CO06.
    Take a look at this OSS note and the ones mentioned within:
    36520 - Availability check for delivery

  • Error in schedule line

    i am facing the error in schedule line
    As discussed with you we are maintaining the schedules in JIT for the making the ASN delivery. But today we are not able to make delivery, but the schedule has been maintained . Pl find the attached screen shots for the error message. Pl let me know how to resolve this issue.

    Error message V1 248 - Delivery/transportation scheduling cannot be carried out,
    clearly states,
    NA V1248
    Short Text
    Delivery/transportation scheduling cannot be carried out
    &CAUSE
    During delivery and transportation scheduling, while attempting to calculate a date, the system came across an error that prevented scheduling.
    System Response
    Scheduling is terminated. All dates are set to the start date for scheduling.
    Procedure
    First check whether the factory calendars for the shipping point and the route exist and are valid,
    and whether the entry dates ( order date or material availability date ) are within the times defined in both calendars.
    Then contact SAP because this must involve an error which was not known at the time of programming. Specify the environment of SD delivery and transportation scheduling as well as the calendar functions of the SAP library of functions.
    Regards
    JP

  • Schedule Line Item 100001 delivery date is missing

    Hello Sirs,
    After created a sales order in ECC and transferred to TM via XI, the queue remains with STOP status. Entering in transaction /SAPPO/PPO2 I’m facing the error “Schedule Line Item 100001 delivery date is missing”. The delivery date is filled in ECC side.
    Is there something that I need to check in TM regarding delivery date?
    Thanks.

    Please try to edit the PO[Change date] and process it again. This issue happens when we use a conversion program to create PO instead of creating it from UI.

  • Link between schedule Line Number and Delivery

    Is there a link between Schedule line Number and Delivery number ?
    Eg. Line item 10 with quantity 100. 
    has 5 schedule lines..with 5 different delivery dates.
    1 .  quanity 40
    2.   quantity 30
    3.   quantity 20
    4.   quanity  6
    5    quantity  4
    For schedule line 1, 2 deliveries were created,
    one      with quantity 20
    another with quantity 15
    quantity 5 is still not delivered.
    also schedule lines 2,3,4 and 5 are fully delivered.
    Is there any table, FM etc in SAP which will give me the link between the schedule line and delivery number ?
    Total deliveries created : 6. - But which delivery corresponds to which schedule line ?
    Please dont tell me to look VGBEL and VGPOS.. that will just give line item number 10.. I need to get the schedule line number.
    Also, RV_SCHEDULE_CHECK_DELIVERIES --> will give me the delivered quantity against each schedule line.
    My purpose is to create an ontime delivery report .
    a report which list each schedule lines, and tell, how many shipments were late/ontime/early etc..
    and for Late ones, how many days late has to be found.
    this is where i need the delivery.
    No. Of days Late = Actual GI Date - Planned GI Date.
    Actual GI date is in the delivery.
    Any suggestions ?
    Thank you in advance.

    Hi,
    Check in the below link.
    relation between VBEP-ETENR and LIKP-VBELN
    Thanks,
    Sree.

  • What is the direct link between Schedule Line item and Delivery line item?

    Hi SAP SD Gurus,
    The question is simple.  I would like to calculate the Open order quantity for a particular month based on the Schedule Line Date.
    I am taking all the Schedule lines falling below the running date of the month and sum up that and look for the deliveries happened for that Schedule lines.
    I am unable to link that Schedule line with that Delivery line item.
    The only link is Schedule Line Number in VBEP table which is not available in LIPS.  I would like sum up the Schdule line Quantities and Subtract the sum of the Delivery quantities which will give me the Open orders for the particular day of the month.
    Can anyone help me to link this VBEP table to LIPS table to connect the Schedule line number with the Delivery line item?
    Thanks in advance for your help..
    Augustine

    Anuj,
    I am aware of the Functional Modules. 
    I wanted to know for this Schedule Line, this is Delivery document created.
    Where in SAP through Tables it is linked?  Because, I need to source the Tables to calulate the open orders by way of external report through Business Object.
    The table link from VBEP to LIPS is not directly linked.  It is linked from Sales order line item level.  Because we are capturing all the Sales order Line tiems through the Delivery Status which is not equalled to C. But if there are partial deliveries against the Scheuld Line item level, we need to identify.  The only common joint should be Scheldule line number which is not available in LIPS.
    If we are developing report inside SAP, we can use the said Functional Modules to capture through Structures VBEPD.  Since it is a external reporting , we need to give correct tables and the joints.  Hence I am looking for any other way to solve this.
    Thanks
    Augustine Ponraj

  • In MS64(Copy version), No schedule lines exist for the reference

    Hello, experts.
    I have some trouble using MS64.
    Source Version 00 (M)2010.01   AAA  100
    Target Version  M1 (M)2010.01  AAA 100
    Above action has no problem.
    But,
    Source Version 00 (W) 03.2010   AAA  100
    Target Version  M1 (W) 03.2010  AAA 100
    Above action is not possible now.
    The error message is "No schedule lines exist for the reference"
    Please, help me.

    >
    Jong-Moon Cho wrote:
    > Hello, experts.
    >
    > I have some trouble using MS64.
    >
    > Source Version 00 (M)2010.01   AAA  100
    > Target Version  M1 (M)2010.01  AAA 100
    >
    > Above action has no problem.
    >
    > But,
    > Source Version 00 (W) 03.2010   AAA  100
    > Target Version  M1 (W) 03.2010  AAA 100
    >
    > Above action is not possible now.
    >
    > The error message is "No schedule lines exist for the reference"
    >
    > Please, help me.
    Jong-Moon Cho ,
    Please check the selection dates you have used in the Intial screen of MS64, see that the to date should be greater than week 03.2010.
    Regards,
    Prasobh

Maybe you are looking for

  • No Contact Name On New SMS

    I never noticed till I seen another post about not being able to see who sent me a sms text.  I have looked in the other options from the previous post but my 8530 does not apear to have those settings any other ideas?  Carrier is Us Cellular if that

  • Upgraded from 10.6.1 to 10.6.2 now I can't ssh into my Mac

    After the upgrade I can no longer ssh into my Mac from any other host on my local network. The connection simply hangs, and ssh -vvv does not provide any hints as to what is going on. I can, however, ssh from my Mac back into my Mac. I've increased t

  • Using fm RKD_WORD_WRAP

    hi all ,    can anyone help me out with this function module how to use it,"RKD_WORD_WRAP " .actually i have a text field in my line item sgtxt and i have taken a internal table in my print program, i have used column in my sap script i want to wrap

  • 'RP-PROVIDE-FROM-LAST IT0377'

    Greetings, I have encountered a problem in that we have an interface from SAP to UNIPAY and this interface selects all the paydata from employees and then converts it so that it can be payed via UNIPAY. Now this in itself may sound fairly simple but

  • Need to disable the insert edit in Timeline.

    I'm piecing together a video to music right now and am finding that, when I drop and drag clips from the viewer to the timeline, I accidentally use the insert edit, only to find later on that some of my clips have been unknowingly moved around. Is th