Schedule Line data problem

Dear Friends,
We need to create a back dated order, so after creating the sales order I have changed the document date in the header data, also changed the pricing date and required delivery date as past date.  Stock is available on that date (checked in MB5B with back date).
But the schedule line data system is showing that confirmed quantity as today's date.  But we want to despatch the quantity on back date. In this case system does not allow to deliver in the back date.
Can anybody suggest how to do back dated delvery.
Regards,
Sreehari

Hi Sreekanth,
Thanks for the solution,
But while doing PGI system is showing the below error:
Deficit of BA Unrestr. prev. 8.638 TO : 95109410111 TPST ST00 1
It is a batch material, availability check-KP(no check), material is available (checked in MB5B with back date), (here in the error 95109410111 is mateirl code, TPST is plant and ST00 is storage location and 1 is batch number)
Please give me solution how to overcome this error.
Regards,
Sreehari

Similar Messages

  • 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

  • Schedule line date change in VA01/VA02

    Hi,
    My requirement is to update the schedule line date taking the lead time from purchasing info record.
    As per SAP standard it takes the factory days into consideration while generating the confirmed delivery date.
    But we have to update the date taking the working days into conideration.
    The material has multiple vendors.
    The actual vendor proposed by the sstem and the corresponding info record details are not available at the time of saving the sales order.
    I am populating this details from exit EXIT_SAPLMEQR_001 inside FM ME_SEARCH_SOURCE_OF_SUPPLY which is triggered before creating the purchase requisition.
    USEREXIT_MOVE_FIELD_TO_VBEP cannot be used because this is triggered at the very early stage before the FM is triggered.
    Can some one please guide me who has worked on the similar situation to solve this problem.
    Many Thanks.
    Regards,
    Babul.

    Use the form routine "USEREXIT_SAVE_DOCUMENT_PREPARE" in 'MV45AFZZ".  Modify the field "edatu" in strucutre "xvbep"
    Regards
    Vinod

  • How to change the schedule line date in SO with reference to value contract

    Hi SD Guru's,
    I need to change the schedule line date in the sales order with reference to the value contract by using some algorithm that i will write. The problem that i can't find the suitable place to add the algorithm. I can't add it to the Copy control because there is no schedule lines in value contract and copy control for schedule lines does no exist.
    I can not add to user exit MV45AFZZ  , because order that was created with reference to the value contract, does not go through this user exit.
    Do you have some ideas where i can add it?
    Thanks and Regards
    Viky
    Edited by: Viky Sloutsky on Oct 20, 2010 12:43 PM

    Hello Viky
    How about using program MV45AFZB- USEREXIT_CHECK_VBEP or USEREXIT_MOVE_FIELD_TO_VBEPKOM
    or program FV45EFZ1- USEREXIT_CHANGE_SALES_ORDER
    Does the program go through these exits when an order is created with ref to a value contract??
    Also I am wondering why you need to change a Schedule line determined by Availability check and/or delivery scheduling?

  • GATP scenario and Rescheduling Schedule line dates

    Hi All,
    Can anybody tell me where and how can I reschedule the Schedule line dates available from a GATP check. My requirement is as follows:
    For a GATP material, after the GATP check, I need to push the Goods Issue date AHEAD based on the DAY and TIME maintained in the Route Schedule id (VL51, VL52, VL53) for the Route, Transportation Group, Customer, Shipping Point and Shipping conditions.
    I have presently coded my development in the Enhancement option after the FM RV_AVAILABILITY_CHECK in the include FV45VFMV_MVERF_PRUEFEN. Here I have called the FM APO_SCHEDULING to get the new set of Schedule line dates by passing the Goods Issue date that I calculate based on teh Route Schedule id.
    But the problem here is that the Schedule line dates that I get here have different time intervals from the Schedule line dates that I get normally in a GATP process in a standard process. Logically I feel, these time intervals should be the same while the Enhancement is in place or not.
    Please provide me inputs if anybody had faced this issue...
    Thanks in advance,
    Susanth Kumar

    Hi
    When I see the schedule line in the sales order where in the qty in the delivered qty column (second column from the confirmed qty column) is updated item wise irrrespective of the delivery done as per scheduleline date.
    It means though the delivery and PGI is not done for the date 15.12.2008, but the qty in the delivery qty column is updated and the balace to to be delivered shows for the last date.
    So here iam able to deliver only on the last date i.e. 25.01.2009 or at a later date for the schedule line date missing in between and not on the specific date.
    Is this how SAP standard works - I was wondering why i cannot deliver any schedule line qty and date later after delivering quantities of the subsequant schedule lines.

  • Schedule line data

    Hi gurus,
    How can we see the changes in schedule line data. i.e. all changes in delivery date in open sales orders.
    Thanks in advance.

    Hi,
    goto environment in Va02/Va03 and click on Changes.
    There enter your schedule line instead of item. You can see all the changes for the schedule line.
    Hope it helps.

  • Delivery before the schedule line date in scheduling agreement.

    Hi All,
    I have a situation where in I am using JIT delivery schedule for processing the delivery requirement from customer. In this, lets say, I have a schedule as 08/05/2009 for material A to deliver 1000 qty and the material is made available to me after production as of 07/05/2009 and I want to despatch the material on 7th only and not on 8th. The system does not allow me to do this.It allows me to make a delivery only on 08/05/2009.
    Is there any alternative to this and is this SAP standard behaviour.

    I think you can change the schedule line date in scheduling agreement itself and do the delivery.
    regards,
    Sudhir

  • Delivery Schedule line date customer receiving day dependant

    Hello Experts,
    We are working with transfers between plants with STO UB. Tha availability check is activated at storage location level and it works correctly. Now, some plants have a special day for receiving goods. Say, Plant A receives on monday, plant B receives on tuesday, Plant C receives on wednesday.,...
    We want to influence the delivery schedule line based on the goods receiving day of the requesting plant?
    ex : if the system determines delivery schedule line date on 31/01 but the receiving day of the plant is monday, so the system have to update this date to the next receiving day (04/02 = monday)
    Thanks for your help.
    Regards.
    A.

    Hello Experts,
    We are working with transfers between plants with STO UB. Tha availability check is activated at storage location level and it works correctly. Now, some plants have a special day for receiving goods. Say, Plant A receives on monday, plant B receives on tuesday, Plant C receives on wednesday.,...
    We want to influence the delivery schedule line based on the goods receiving day of the requesting plant?
    ex : if the system determines delivery schedule line date on 31/01 but the receiving day of the plant is monday, so the system have to update this date to the next receiving day (04/02 = monday)
    Thanks for your help.
    Regards.
    A.

  • Schedule Lines dates for sales order

    Our goal is this:  On the line item > Schedule Line tab there is the requested delivery date.  In the details of that schedule line there are five different dates:
    Delivery Date
    Goods Issue Date
    Loading Date
    Material Aval. Date
    Transportation Plan. date
    We need to be able to put in the customers requested date that is in the future on this schedule line, but if the parts were to be recieved in earlier then the date they requested, then we would want the parts to ship out early automatically.
    For Example:  Customer Requested date is 01/31/08  and the parts are confirmed to come in on 01/31/08.  The parts end up coming in on 01/20/08, so the next time the delivery list is run, we would like the parts to ship out right away.
    Is there a way to do this?

    Thank you for the quick response.  I understand that we can use the reschedule report to manually monitor the product whether is comes in or not, but was hoping to achieve having a static date on the schedule lines of when the customer requests the parts, and then the delivery date that activates the MRP and ATP checks would be an earlier date.  So when the parts come in, it would read from the delivery date.
    Not sure if this is even possible, or if SAP standard for the schedule line dates is to how only one active date per schedule line.

  • Schedule line date vs actual delivery date

    Hi All,
    Is there any standard report or work around available to compare customers schedule line date vs actual delivery date
    Thanks & Regards,

    Hi Abir,
    I think your talking about a "On time Delivery report" to track actual delivery against the quoted delivery.
    There is no standard report available in SAP for this.
    This is hard to track if you have maintained multiple schedule lines for a one single line item.
    (Where you maintain multiple delivery dates in schedule line level to quote  multiple delivery dates. If you have maintained multiple line items to quote multiple delivery dates, this would have been easy)
    Because you do your delivery based on your sales order line item. Not based on your schedule lines. Therefore in your delivery line item table (LIPS) you cannot see Schedule line number. Therefore you cannot compare quoted delivery against actual delivery date.
    Assuming you have maintained your multiple delivery dates in Schedule line level, this is how you have to proceed.
    - Use VL10E transaction to create delivery against schedule lines.
    - Create append structure in the LIPS table to accommodate to carry the schedule line item of sales order in each delivery document + Line Item combination.
    - Use this user-exit u2013include  MV50AFZ1. Can save the particular sales order schedule line in the LIPS, earlier created append structure field.
    Then you have the schedule line number available in the LIPS table, Now you can code your report to capture quoted delivery against actual delivery date.
    Hope this helps you !
    Anupa

  • How to get schedule line date copied to "First date" in sales order

    Dear forum
    I am creating a sales order as normal and put in a Requested Delivery Date (KETDAT) for the order.
    This requested delivery date is then copied to the "First date" (ETDAT).
    Now, the ATP is checked for each line item in the order and a Schedule line date / material availability date is calculated for each line item.
    My question is: Is there any way to have the "First date" field of the line item in the sales order populated by the first material availability date (calculated by ATP), instead of copying the Requested  Delivery Date? Any user exit? Any config?
    It would mean that every time I rerun ATP check in the sales order line item, the "First date" field would change if the material availability date change. If there is multiple material availability (multiple schedule lines) dates per line item, then the earliest date would be copied to the "First date" field.
    Is there such functionality? Or possibility to config/program?
    /Ola

    Kannan
    OK. Unfortunately reservations cannot be created at the serial number level. So the unsupported way of doing this is updating the mtl_serial_numbers tables. I hope you would know (by some means) which serial numbers you want to allocate to a specific sales orders. If you know, update group_mark_id column in mtl_serial_numbers table with your order_line_Id, This will avoid any one from picking the serial numbers (they will not come up in the LOV or will not be auto allocated).
    But you have to make sure to take it off when you actually want to pick this order line and allocate this serial number. So just before you pick release/ confirm this order line you need to update column back to null so that you can allocate that serial number.
    Thanks
    Nagamohan

  • Delivery Split based on Schedule line data

    Hi,
    Would need some help in determining how to proceed with splitting delivery based on Schedule line data (Date/Time).
    If S.A 1 has line item 10 with two schedule lines SL1 and SL2 which happened in different times of the day, how to split this S.A to two deliveries in delivery creation (thru VL10E).
    Please suggest.
    Thanks,
    Preema

    Hi,
    In copy control see which Split routine is there, with the help of abaper
    Copy that and create new one, an maintain your date criteria in newely created routine and assign that.
    T-code VOFM
    Kapil

  • Schedule Line Date Showing in future in Sales Order though the Stock is available in system on same date

    Hello All,
    Good Morning,
    We have received an Incident where in the Sales Order during the ATP Check we do user is getting the future schedule line date in future as enclosed in the screen shot below. User has created the Sales Order on 12052014 for 7 line items. For the Line Item 7 the Stock is available in the system on same day but still after ATP Check the date is shown in future.
    I wan to replicate the scenario in Quality to find the exact bug to fix the Issue but not able to replicate for same customer and material i am getting the current date as confirmed delivery date. please guide me if you can share some inputs so that i can go in right direct and fix the issue.
    Please respond it is critical Issue.
    Thanks,
    Farhan.

    Hello All Experts,
    Many Thanks for all the Inputs you have given.
    Finally we have replicated the Issue in Quality 2 Days Back and Indeed it was great Achievement.
    Finally We have given to Abaper to debug it find the root cause.
    Let me summarise the actual Issue.
    Issue : Sales Order Schedule Line showing future date for the Materials which are having Product Allocation even though the Stock is available and Allocation Qty also available in the PA Master Data we maintained..
    We created one Sales Order for Line Item A and B. Line Item A is having Product Allocation. When we created Sales Order for both Line Item A and B we got Schedule Line Date as 13.06.2014. Then we Schedule the Re-Scheduling Job in V_V2 and check the effect. For Line Item A the Schedule Line Date got changed to 01.07.2014 and Line Item B it was same as before.
    Would like to know is there any config setting at Schedule Line Level we have missed just want to cross check if there is any or something in Product Allocation Configuration.
    Please refer screen shots below for more details of Sales Order before and after effect in Re-Scheduling.
    Please provide your inputs on this.
    Thanks,
    Farhan.

  • 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

  • Delivery is not possible as per Schedule line dates

    Hi Gurus,
    The schedule lines insales order are for eaxample---
    01.12.2008  -   10 pieces (quantity)
    15.12.2008  -   10
    10.01.2009  -   10
    25.01.2009  -   10
    Tried to deliver the quantity 10 dated 15.12.2008 in the last after all the materials pertaining to other dates are delivered, but system is throwing error as no schedule lines for dated 15.12.2008. But when i checked, delivery is not done for 15.12.2008 and the rest are completed.
    But system allows to deliver the balance 10 quantity either on 25.01.2009 or on a future date but not on 15.12.2008 on which delivery was not done.
    What could be the reason????
    Thanks for your help
    MM

    Hi
    When I see the schedule line in the sales order where in the qty in the delivered qty column (second column from the confirmed qty column) is updated item wise irrrespective of the delivery done as per scheduleline date.
    It means though the delivery and PGI is not done for the date 15.12.2008, but the qty in the delivery qty column is updated and the balace to to be delivered shows for the last date.
    So here iam able to deliver only on the last date i.e. 25.01.2009 or at a later date for the schedule line date missing in between and not on the specific date.
    Is this how SAP standard works - I was wondering why i cannot deliver any schedule line qty and date later after delivering quantities of the subsequant schedule lines.

Maybe you are looking for