Change shipping dates/times for confirmed schedule line

Hi,
I am having a problem changing the confirmed schedule line in a Sales Order VA01.
I have added my code into the user-exit
*       FORM USEREXIT_MOVE_FIELD_TO_VBEP                              *
*       This userexit can be used to move some fields into the sales  *
*       dokument schedule line workaerea VBEP                         *
*       SVBEP-TABIX = 0:  Create schedule line                        *
*       SVBEP-TABIX > 0:  Change schedule line                        *
*       This form is called at the end of form VBEP_FUELLEN.          *
FORM userexit_move_field_to_vbep.
      vbep-ezeit  = '235900'.
      vbep-wauhr  = '235900'.
      vbep-lduhr  = '235900'.
      vbep-mbuhr  = '235900'.
      vbep-tduhr  = '235900'.
However, in the above code I manage to only change the first schedule line in case I choose a delivery proposal. I need to change the line with a confirmed quantity. Instead I change only the first shedule line without a confirmed quantity.
Question: Which user-exit can i use to change shipping times dates for all schedule lines or just confirmed schedule lines?
Thanx

Hi,
Use form routine "USEREXIT_SAVE_DOCUMENT_PREPARE" in MV45AFZZ.  Update VBEP as well as XVBEP Structures.
Regards
Vinod

Similar Messages

  • Date flexability while confirming schedule lines

    Hi Freiends,
    In MTS situation (Make to staock) the system confirms the schedule line date immediately since the material is available in stock and also there is no availablility check done.
    Now, I have a requirement where we want to have a flexability of confirming schedule line as per our dates.
    Note that since there is no availablity check hence we cannot put some time (dummy time) in Pick Pack in order that the confirm delivery date could be postponded.
    Is there any means to confirm schedule line data as per our requirments.
    Thanks & Regards in advance
    Nayan Shah

    Issue Resolved

  • Delivery date variance for multiple schedule lines in EKET

    Hi experts,
    can anyone tell me what dates  are used (from EKET, EKBE or any other table)  to calculate delivery date variances when there are multiple schedule lines in EKET table. I am able to match single schedule line POs but not POs having multiple schedule lines.
    thanks in advance,
    purvang

    can anyone provide input on this?

  • GR Date for Delivery Schedule line

    Vendor On-Time Delivery Report
    We have vendor On-Time Delivery report requirement, where we rate the
    goods-delivery of a vendor as "On-Time" or "Early" or "Late". The
    rating is given based on the difference between "Statistical Delivery
    date" and "GR date" (in the PO/Scheduling Agreement).
    In case of Scheduling Agreement (SA) we have to give delivery rating
    for each Delivery Schedule Line - Based on the difference
    between "Statistical Delivery date" and "GR date"
    The Goods Receipt is done at Schedule line item level and not at
    Delivery Schedule Item level, the GR date is not populated at Delivery
    Schedule Line level and we are not able to find the GR date for each
    Delivery Schedule Line.
    Once we get the "GR date" at SA Delivery Schedule line level, then from
    the difference between this date and "Statistical Delivery" date, we
    can rate the delivery of vendor as "On-Time" or "Early" or "Late".
    Is there any way that we can populate/get the GR date (GR creation date) for each delivery
    schedule line?
    Thanks in advance.

    Hi Rahul,
    I am working on the same requirement. Appreciate ur help on the same. The notes helps in understanding how quantities are distributed while GR. did u implemented any logic for this distribution or something else to compare the dates. I believe by checking the open quantity (EKET) (scheduled - GR quantity) we can see if there is open quantity for any schedule for the previous day then tht falls under the delayed quantity and if there is zero open quantity, it is on time delivery.
    thnx,
    Upender

  • VL10G is not creating delivery for some of the confirmed scheduled lines

    Hi, I was trying to find the reason why we are getting a very generic error message (Message type V50R ID 036 - The document could not be delivered.) for some of the confirmed schedule lines when executing VL10G in batch and no delivery document is created. Those orders have confirmed scheduled lines and inventory has confirmed to have stock. However, when the VL10G is executed in background, the sales order line items will be captured into the list but when creating delivery, the systems is showing the above error message.
    From debug, found out the message is generated from LV50R_VIEW43.
    We went through lots of OSS notes but nothing seem to ring a bell here. We are using ECC6, list type = index list.
    The error message is very inconsistent. The same documents will be dropped for delivery after several days without any change to any of the sales document or inventory level.
    Some of the note mentioned the parallel processing lock on ATP check for the material may be the reason for the error however we are not using any parallel processing in VL10G. We also checked the index table VEPVG has all correct entries and all the entries are being selected into the delivery due list. Error happens when the delivery is trying to be created.
    Any advice is appreciated.
    Thanks.

    Hi ALL,
    Any suggessiton on the below issue.
    We have batch jobs to process the DDL for the STOs, but some of the line items of the same STO is not picked up by batch job, (VL10B is assigned in the batch job, i checked the variant and configuration, everything seems to be fine, when i try to process the DDL through VL10B manually by giving the STO number only, the VL10B program is not picking the STO, but the same STO can be processed through VL10D, what could be the problem and why the VL10B program is not recogonizing the STO for the delivery creation.
    We are using ECC 6.0
    Regards,
    Rajesh.R

  • Confirmed Schedule Lines in Sales order on a Holiday

    HI Experts,
    I am seeing that I have a confirmed schedule lines on a Holiday though the Calender assigned to Shipping Point and Plant has been marked as holiday. I have not maintained any unloading point calender in Customer master and I do not think it is mandatory. However, ECC is connected to APO/GATP. Since The availability check is happening from GATP, Will it consider the factory calender in ECC or Should a Time series be maintained in Location Master so that The confirmed delivery date will not be on a holiday.
    Any inputs will be appreciated.

    Dear Prady Reddy,
    unloading point calendar is not mandantory.
    The ECC factory calendar will be transfered and considered in APO scheduling but you can also define other calendars in APO with time streams and you can assign it to locations.
    Hope this helps.
    Regards,
    Tibor

  • Delivery date determination in the schedule lines

    Hi,
           I have a question on the delivery date determination in the schedule lines of the sales order. If the goods issue date in the schedule line has been determined as 17th Aug 2009, and the transit time is 3 days. What should be the delivery date that will be proposed? Should it be 10 + 3 equal 20th Aug 2009, or it will be 21st Aug, which is the the following day of 10 + 3 ? I simulated in the sales order and it gave me 21st, my understanding was it should be just 17 + 3 = 20th Aug.
    hope anyone can shed some light on the above. TQ
    krt

    Hi ,
    This is what F1 help says
    Rounding-up period for delivery scheduling (in days)
        The amount of time that the system automatically adds as a safety margin
        to the estimated time required for processing a delivery.
    Use
        The system adds the rounding-up margin to the time estimates for a
        delivery, regardless of whether the system
        o   Calculates the times from data in the master records, or
        o   Simply uses the default times that apply to the relevant shipping
            point.
    This is F1 Help of rounding days and not my words..... you can also check in OVXD t-code.
    Thanks,
    Raja

  • Split delivery for each schedule line

    Hi,
    We have a requirement to split deliveries for each schedule line in the order.
    For example: I have an order with one line item which has 2 schedule lines. If the schedule line date on one is 01/29 & the other is on 01/31, and the delivery due list VL10A is run with a range 01/29 - 01/31, it picks both the schedule line & combines them into one delivery.
    Is there a way by which we can force them to create 2 different deliveries (as it would if the delivery due list was run for each day at a time).
    We created a data transfer routine (deliveries), and populating ZUKRL with schedule line date & that doesnt solve the problem since the routine is triggered once for each sales order line and not for schedule lines.
    SAP reverted back that this is standard SAP behaviour to cumulate all due schedule lines into one delivery, but I would like to know if anyone has any other solution ?
    Thanks in advance!

    First of all you have to use VL10E to create deliveries, since it creates one delivery item for each schedule line.
    Then play with your own delivery role copied from standard profile 0201:
    you can trigger 3 different flags to reach your goal:
    Cumul. Rule: Rule for calculation of quantity to be delivered
         There is a field that contains a cumulated quantity in delivery lists
         with item or schedule line views. The quantity at which the list line
         (document item or schedule line) is delivered is defined in this field
         when it is selected and the delivery process is started in the
         background. The value is a default and can be changed by manually
         processing the delivery list on the item or schedule line level.
    SplitSchedLine: Rule for creating one delivery item per schedule line
        In a delivery list in item view with multiple schedule lines, you can
        decide for the same document item whether you want to generate one
        delivery item per schedule line or whether you want to deliver the
        cumulated quantity of the last schedule lines selected.
    LimitSchedLine:  Allow constraints on schedule line level
         You can use this indicator to limit selection o
         delivery when
         o   Delivery due date and/or
         o   Planned goods issue date and/or
         o   Route schedule
         does not fall within selection range.
    This should help you to solve your problem.
    pls. reward points if helpful
    Regards
    Roberto

  • Availibility check "02" not generating a confirmed schedule line

    Hey Gurus,
    We can't figure out why when create a order using the availability check as "02" that the system will not create a confirmed quantity for the schedule line.  The material is available and we have also checked to see that the delivery time was reasonable for delivery of the product.  We run the availability check in the sales order and it still will not create a schedule line for us to create a delivery on. 
    Do you all have any suggestions of master data and configuration that we should check in order to try to get this to work?
    Sincerely,
    Nina

    Dear Nina,
    I think in your case - the stock may be allocated to some other sale orders which are already created and not yet delivered.
    Please check in CO09(Availability Overview) for that particular material.
    Though you can see the stock in MMBE, it might be allocated to some other order..
    Transaction:
    First check the requirement type assigned to your sale order in Procurement Tab of a sale order.
    OVZG(Req,. class) - Check Availablity Check indicator is checked
    OVZH(Req. Type) - Check Req. type has assigned to Req. class.
    In VOV6 - check Availability check indicator is checked for your schedule line category..
    Check in Material master - general / plant view .. Availability check is assigned for that material..
    If you have maintained all these settings properly, and still the order is not getting confirmed - then the stock might be assigned to some other sale order which is not delivered yet..
    Thanks,
    Venkatesh.S.P
    Edited by: venkatesh paulraj on Mar 12, 2009 5:32 AM

  • Create a single delivery for different schedule lines in the scheduling agr

    Hi
    I want to create a single delivery for different line items with different delivery dates in the scheduling agreement,  as Iam aware it is possible to combine different line items into one delivery through sales order.
    Need your inputs
    Aravind

    Hi,
    Try with below solution and see I am not confirm about this
    VL01N >>> Menu outbound delivery >>> Deliver sales order
    Here you put order number and selected date as your ANOTHER SCHEDULE LINE
    Kapil

  • Fix Date & Qty Field in Schedule Lines Sales Order

    Dear Friends,
    I want to understand the need and use of the Fix Date & Qty field check in the sales order -> Item -> Schedule Lines.
    Can anybody explain me the need of the same.
    Regards,
    Harsh

    If the availability check for an item determines that the item cannot be delivered fully on the requested delivery date, and, as a result one or more schedule lines have to be created for later delivery dates, the customer can decide whether to accept these delivery dates and quantities.
    You can record the customer's decision either by setting an indicator in the Fixed date and qty field or by leaving this field blank. The field is displayed both on the schedule line overview screen and on the availability screen.
    <b>Customer Accepts the Schedule Line Proposal</b>
    If the customer accepts the schedule lines which are proposed by the system, mark the Fixed date and qty field. The system then transfers the requirements for the schedule lines to material requirements planning.
    <b>Customer Requires Goods Earlier</b>
    If the customer requires the goods earlier than the date that the system can confirm after the availability check, leave the Fixed date and qty field blank. The system then only passes on the requirements for the requested delivery date and does not take the quantities and dates confirmed by the system after the availability check into account. In this case, it is assumed that the requested delivery date can be kept to because, for example, additional production capacity may become free. The system only confirms the sales order once the entire order quantity can be delivered on the requested delivery date. In the subsequent delivery processing, the sales order is only considered to be completed when the entire order quantity has been delivered or when all partial delivery agreements have been fulfilled.
    A fixed item is considered to be completed once the entire confirmed quantity (which can be smaller than the originally requested order quantity)has been delivered. Therefore, it does not make sense to fix the confirmed quantity to 0 as the item is considered to be completed from the start.
    During rescheduling, the fixed quantities and dates are no longer taken into account.
    The same info u can get easily from help.sap.com
    Message was edited by:
            sam masker

  • Delivery group 001: Item 000020 contains no confirmed schedule lines

    Hi,
    I am getting following error message when i try to save sale order
    "Delivery group 001: Item 000020 contains no confirmed schedule lines"
    The item is a BOM itam and when i checked Deliverygroup for all items in BOM, it is the same for all.
    Pls let me know how can i save sale order??
    Thanks in Advance
    Srikky

    hi srikky,
    delivery group stands for:
    for example you have entered a BOM item in line item 20.
    and it contains plenty of components in that BOM
    then if you assign these delivery group at transaction level then it will combine all the components material available dates and gives one single Material availability date basing on the components feasibility.
    so coming to your issue, here that delivery group's 001 is not having confirmed material availabilit date so it is throwing an error on schedule lines.
    i think you should go to OVZJ and check FIXED DATE AND QUANTITY against the salesarea.
    test and confirm the forum
    balajia

  • Changing shipping conditions in stock transfer scheduling agreements EKPV

    I am wondering if anyone has a solution or knows if SAP has any functionality enhancements to allow shipping data in stock transfer scheduling agreements to be changed. Currently we are on ECC 6.0 and are going to be applying EHP5 within the next few weeks. I see that SAP has made changes to stock transfer orders with EHP5 however, the shipping data does not appear to be changeable. Any help is appreciated.
    Stan Olszyk
    Allison Transmission Inc

    Check OSS  Note 303453 - User exits for shipping data determination in STO would help you.
    Regards,

  • How to delete confirmed schedule lines, without executing the ATP check?

    Sales and Distribution: Concerning ATP (product allocation)
    Situation:
    Step 1: An order is created with priority low. Quantities are confirmed for line items.
    Step 2: A second order is created with a higher priority. No confirmed quantities.
    Rescheduling program (SDV03V02) is then executed. This selects and sorts the orders in the correct order.
    The confirmed quantities for the first (low priority) order should now be freed up, to be able to allocate those quantities to the second (high priority) order.
    The problem I am facing is that the confirmed quantities are NOT released.
    We cannot use BAPI_SALESORDER_CHANGE or SD_SALESDOCUMENT_CHANGE to delete or modify the schedule lines, because these function modules execute the ATP check again. And when that happens, quantities are again confirmed and assigned.
    How can we get rid of the confirmed schedule lines, without executing the ATP check?
    Thanks,
    Edwin.

    Found a solution to the problem:
    In the Rescheduling program we export a parameter to the memory, to make it possible to delete schedule lines without executing the ATP check.
    Deleting of the schedule lines is done with a BAPI, which will call the ATP check automatically for ATP relevant materials. This we want to stop from happening (only when calling the BAPI).
    After the BAPI has been called we FREE the MEMORY ID.
    The parameter is imported again in Customer-Exit EXIT_SAPLATPC_001.
    Transaction.. SMOD
    Enhancement.. ATP00001
    Component.... EXIT_SAPLATPC_001,
    Include...... ZXATPU01.
    The customer exit is used in function AVAILABILITY_CHECK_CONTROLLER, just before calling function 'AVAILABILITY_CHECK'.
    Simply refreshing the ATP tables in the customer-exit, will prevent the ATP check from being executed (because we removed the list containing the materials for which the ATP check needs to be done). As a result, the function 'AVAILABILITY_CHECK' will not be processed.

  • Change session Date/Time

    Hi,
    How could I change the session Date/Time without changing server Date/Time?
    Cheers
    Soheil

    Using the nls parameters it is possible to change to a different calendar type but I believe you will have to run a utility to which you supply the calendar. There is also a parameter to set the sysdate to a fixed value for testing, fixed_date, but I believe that is instance wide.
    Here are the nls parameters from v$nls_parameters. You will need to pull the manuals for more information:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_CHARACTERSET US7ASCII
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_NCHAR_CHARACTERSET US7ASCII
    NLS_COMP BINARY
    Good luck -- Mark D Powell --

Maybe you are looking for