Dates and quantities copied from Scheduling Agreement to Delivery Order

Hi everybody,
we're experiencing a problem with copying control for dates/quantities between Scheduling Agreement and Delivery Order.
If we define a Forecast Delivery Schedule with more lines/dates into a Scheduling agreement, when I create a Delivery Order with reference to a specific date the system always copies the first forecast delivery schedule date, disregardful the date specified in the selection criteria for delivery creation and with the fact that this could have already been carried out.
Here's an example:
Forecast Delivery Schedule into Scheduling agreement:
(Date) 12.03.07   (Quantity)  10 TO
(Date) 13.03.07   (Quantity)  12 TO
(Date) 14.03.07   (Quantity)  15 TO
When delivery has to be created with reference to Scheduling Agreement, the system doesn't about the date specified in selection parameters (e.g. 14.03.07) and copies the quantity of the first forecast delivery schedule line (10 TO).
Does anybody knows how to maintain Copying Control for dates and quantities between Scheduling agreement to Delivery Order?
Thank you!
Luca

Dear Pattanaik,
check data transfer from copy controls.for this T-code is VTLA
here select your doc type and select details and check also item.check inside both types data trasfer wich is assigned change from this item to header.your problem may ve coming from here.
hope this will helps you
Prem

Similar Messages

  • Release date and release no of Scheduling Agreement

    Hi All,
    I have a problem with Scheduling agreement.
    I have created a scheduling agreement with long validity period.
    I maintained delivery schedules within that validity period.
    I have generated forecast schedules. then using ME84, creating a releases.
    the problem is occurs here.
    it was not updating the release no and release date for the schedule line.
    still it is showing a *yellow light* .
    where is the problem and why it was not updating.
    and can u please explain the process and significance of those lights.
    Thanks in Advance.
    Regards
    Kishore

    Verify the table T161M has the values
    kvewe = 'B'
    kappl = 'EL'
    druvo = 1
    kschl = LHPA
    as mentioned in the code.
    The solution is add in SPAD the

  • Scheduling agreement to delivery order

    Hi All
    Please suggest me on the below issue
    I am creating in t code VA01 a delivery order(order type TAM) with reference to a Scheduling Agrement (LZM).I have put reason for rejection for a line item in scheduling agrement order.But still it is copied to subsequent order ie TAM.
    Please suggest me briefly the possible configuration for copy control so that the rejected item should not be copied to subsequent order.
    And mail me the exact configuration of all the above sales document,item category and schedule line category  setting.
    Otherwise if any other reason is there please suggest.
    Thanking You
    Goutam

    Dear Pattanaik,
    check data transfer from copy controls.for this T-code is VTLA
    here select your doc type and select details and check also item.check inside both types data trasfer wich is assigned change from this item to header.your problem may ve coming from here.
    hope this will helps you
    Prem

  • Scheduling Agreement with Delivery Orders

    Hi,
    When i create (LZM)scheduling agreement(Qty 10) with Delivery orders, when i create deklivery schedule
    ie
    Date                Qty
    25.10.2008      1
    26.10.2008      1
    27.10.2008      1
    in MD04 for that particular material i can see only requirement for cumulative Qty i.e. 3, &  PP guy is not able to create planned order for those dates unless i create delivery Order(TAM) for the same
    whats the solution for this?
    Regards,
    Amol.

    Hi Suresh
    The *** issued qty gets updated when the PGI for the delivery happens. There is a field called *** received by customer and it gets updated when customer sends the *** back in the 830 or 862 as the case may be.
    The difference between the *** issued and the *** recieved is always shown in transit.
    If you do not want the schedule line to be opened up, then in *** recd change it to the *** issued or ideal option is populate the last delivery PGI'd on the delivery number field next to *** recd field. Hope this helps and let me know if you need any more informataion
    Regards

  • How are deliveries automatically created from scheduling agreement?

    How are deliveries automatically created from the schedule line of the scheduling agreement? Can anybody explain this step by step? Can we use the code VL10BATCH for this purpose? If we can, how is this code used?
    Thanks in advance.

    hi
    A customer scheduling agreement is an outline agreement with the customer containing delivery quantities and dates. These are then entered as schedule lines in a delivery schedule. You can either create schedule lines when you create the scheduling agreement or you can create them later.
    You fulfill a scheduling agreement by creating the deliveries in the schedule as they become due. You process deliveries for a scheduling agreement in exactly the same way as you process a normal delivery. After you have carried out the delivery, the system updates the Delivered quantity field in the scheduling agreement item with the delivery quantity.
    The scheduling agreement is used as a basis for delivering a material. The customer sends in scheduling agreement releases, referred to as delivery schedules, at regular intervals to release a quantity of the material.
    Document Types
    To configure document types for scheduling agreements, choose Sales -> Sales Documents -> Sales Document Header -> Define sales document types in Customizing for Sales and Distribution.
    The R/3 System contains the following document types for component suppliers:
    LZ - Scheduling agreement with delivery schedules (no external agents)
    LZM - Scheduling agreement with delivery orders
    LK - Scheduling agreement with delivery schedules (external agents)
    ED - Delivery by external agent (consignment issue)
    EDKO - External agent correction
    RZ - Scheduling agreement returns (no external agents)
    KAZU - Consignment pick-up for external agents
    KRZU - Consignment returns for external agents
    Item Categories
    To configure item categories for scheduling agreements, choose Sales -> Sales Documents -> Sales Document Item -> Define item categories in Customizing for Sales and Distribution.
    The system determines the following item categories for the related document types in
    documents containing materials with item category group NORM:
    Item category LZN for scheduling agreement type LZ
    Item category LZMA for scheduling agreement type LZM
    Item category LKN for scheduling agreement type LK
    Item category KEN for document type ED
    Item category EDK for positive corrections (or the manual alternative EDK1 for
    negative corrections) for document type EDKO
    Item category REN for document type RZ
    Item category KAN for document type KAZU
    Item category KRN for document type KRZU
    Schedule Line Categories
    To configure schedule line categories for scheduling agreements, choose Sales -> Sales Documents -> Schedule lines -> Define or Assign schedule line categories in Customizing for Sales and Distribution.
    The R/3 System contains the following schedule line categories for component suppliers:
    L1, BN, L2, and CN for item category LZN
    E4, E0, E5, and BN for item category LKN
    L2 for item category LZMA (standard for delivery order processing)
    Schedule Line Types
    To configure schedule line types for scheduling agreements, choose Sales -> Sales Documents -> Scheduling Agreements with Delivery Schedules -> Define schedule line types in Customizing for Sales and Distribution.
    Creating Scheduling Agreements
    To create a scheduling agreement with delivery schedules:
    1. In the Sales menu http://Ext. choose Scheduling agreement ->Create.
    2. Enter scheduling agreement type LK (standard) or LZ (external agents) and the
    relevantorganizational data.
    3. Choose ENTER.
    4. Enter the following data:
    Sold-to or ship-to party number
    Purchase order or closing number
    Material or customer material number
    You can use the Description field to identify the scheduling agreement. For
    example,
    you could enter the model year for a particular production series.
    The system allows up to 35 digits for a customer material number.
    Rounding quantity
    Usage
    Choose Goto -> Header -> Sales to enter the usage at header level, or Goto ->
    Item-> Sales A to enter it at item level. The system proposes usage S, for series, as default in both cases.
    Planning indicator
    Choose Goto -> Header ->Sales.
    Target quantity
    Mark an item and choose Goto -> Item -> Sales A
    Partners
    For scheduling agreements with external agents , choose Goto -> Header
    ->Partners to enter the external agent as forwarding agent and special stock partner
    on the partner function screen.
    5. Create a delivery schedule
    Mark an item in the scheduling agreement and choose Goto -> Item -> <Delivery
    schedule>. Enter:
    A delivery schedule number and date
    The cumulative quantity received by the customer
    The last delivery confirmed by the customer
    A schedule line with date, time, and quantity
    To enter additional data in the delivery schedule, choose DlvSch.Hdr (delivery schedule header).
    configuration:
    img->SD->Sales->sales document->scheduling agreements with delivery schedules->
    step1: define schedule line types
    schedule line types are not schedule line categories. Schedule line types are used for information purpose only.
    stds are 1. fixed date 2. backlog 3. immediate requirement
    4. estimate
    step2: maintain planning delivery sched. instruct/splitting rules
    The planning delivery schedule is an internal delivery schedule used to plan requirement s more efficiently.  It is sub divided into 3 parts
    2.1 delivery schedule splitting rules
    2.2 dly schedule instrusctions
    2.3 assign dly schedule splitting rules
    step3: define sales documents type
    step4 : define item categories
    step5: define schedule line categories
    step6: maintain copy control
    PROCESS
    step1:  create scheduling agreement
    VA31
    enter SP,SH valid from, valid to,
    goto ITEM OVERVIEW tab
    enter material, rouding qty
    select ITEM  click on FORECAST DLSCH
    enter different dly dates and qties
    save it.
    step2: create sales order with reference to above
    step3: create delivery
    step4: create billing
    regards
    krishna

  • Outline agreement or automatic schedule from scheduling agreement

    Hello Master's,
    Plz find the below workflow which will brief u abt the complete process;-
    1.User raises indent(me51n) and then releases(me54n) else as per our MRP, indent/PR gets generated automatically.
    2. Standard Practice is that we invite offers, negotiate and place order (me21n) else f we have rate contract for any item we go for direct ordering (me21n) and then get it released (me29n)
    For around 20-30k material codes we have rate contract finalized with various suppliers for a period of time.
    When we find any indent/pr falling into this category, we dont invite offer but go for ordering as per the finalized price. The price is maintained in excel or pdf format.
    Problem is we want to map material codes with vendor and rates associated with the contract.
    For this either we have to go for outline agreement(me31k) of scheduling agreement(me31l) so that whenever any indent/PR gets generated in this category, order/delivery schedule will be generated automatically in SAP.
    Points in which i need help from you:-
    1. How to generate automatic po from outline agreement or automatic schedule from scheduling agreement.
    2. complete understanding of the difference between outline agreement and scheduling agreement.

    Hi Nilson,
    The data contained within the global outline agreement is distributed as purchasing contracts or scheduling agreements to the backend systems of the release-authorized purchasing organizations of the relevant corporate group. These purchasing organizations can then use the purchasing contracts or scheduling agreements according to the terms agreed centrally within the global outline agreement.
    For more details.
    http://help.sap.com/saphelp_srm50/helpdata/en/42/f93dfd975f3ee6e10000000a1553f7/frameset.htm
    Nishant

  • Info record creation from schedule agree, with all conditions

    HI
    We wish to create Inforrecord from schedule agreements, When we used Info update indicator B its creating Info record but not copying conditions from schele agreement only order history is updated
    Is there any way we can copy all conditions from schedule agreement to info record?
    Thanks

    I realized, standard SAP behaviour is
    Info record does not exist
    Quotation
    Time-dependent conditions and their supplementary conditions are adopted
      Scheduling agreement
    Is set as last document; order price history is updated
      Contract
    Time-dependent conditions and their supplementary conditions are adopted
      Purchase order
    Is set as last document; order price history is updated
    IS THERE ANY OTHER WAY TO ACIEVE CPYING OF ALL CONDITIONS FROM SCHEDULE AGREEMENT TO INFORECORD
    Edited by: Sasi nagireddy on Jan 12, 2011 5:37 AM

  • Scheduling agreements with delivery schedule - Copy control

    Hi,
    I wonder, if it would be possible / would make sense to specify for sales document type "LZ - Scheduling agreements with delivery schedule"  a copy control for referenced documents like quotations.
    Is there anybody who already has experience in that field?
    Thank you in advance for your answers.
    Best Regards,
    Melanie

    Hi,
        It is obvious that, a schedule agreement needs to come with the fixed delivery qty and dates.
    Pls explain your requirement in detail so that you will get a clear solution.
    Rgds,
    Sivarajesh. j

  • Conversion failed when converting date and/or time from character string

    Hi experts,
    I'm trying running a query in Microsoft Query but it gives the following error message:
    "conversion failed when converting date and/or time from character string"
    when asks me the data I'm inserting 31-01-2014
    i've copy the query form the forum:
    SELECT T1.CardCode, T1.CardName, T1.CreditLine, T0.RefDate, T0.Ref1 'Document Number',
         CASE  WHEN T0.TransType=13 THEN 'Invoice'
              WHEN T0.TransType=14 THEN 'Credit Note'
              WHEN T0.TransType=30 THEN 'Journal'
              WHEN T0.TransType=24 THEN 'Receipt'
              END AS 'Document Type',
         T0.DueDate, (T0.Debit- T0.Credit) 'Balance'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')<=-1),0) 'Future'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=0 and DateDiff(day, T0.DueDate,'[%1]')<=30),0) 'Current'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>30 and DateDiff(day, T0.DueDate,'[%1]')<=60),0) '31-60 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>60 and DateDiff(day, T0.DueDate,'[%1]')<=90),0) '61-90 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>90 and DateDiff(day, T0.DueDate,'[%1]')<=120),0) '91-120 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=121),0) '121+ Days'
    FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode
    WHERE (T0.MthDate IS NULL OR T0.MthDate > ?) AND T0.RefDate <= ? AND T1.CardType = 'C'
    ORDER BY T1.CardCode, T0.DueDate, T0.Ref1

    Hi,
    The above error appears due to date format is differnt from SAP query generator and SQL server.
    So you need convert all date in above query to SQL server required format.
    Try to convert..let me know if not possible.
    Thanks & Regards,
    Nagarajan

  • STO Delivery Date is not copy from Allocation Table Site Date

    Hi,
    I have a problem when Stock Transfer Order created based on the Allocation Table, the delivery date is not copy from Allocation Table. E.g. In Allocation Table delivery date is 26.09.2009, but in STO delivery date is 06.11.2009.
    Check the configuration and also check the stock, there is stock available to be delivered on 26.09.2009.
    Can someone please give me a hint to find out what is missing or wrong, and how to fixed this?
    Greatly appreciate for your suggestion and sharing.
    Kind Regards,
    2tea

    I found the problem finally.

  • How do I get date and time component from a DATE object?

    Hi All,
    I need to get date and time separately from a DATE object, does
    anyone know what function I should call? GetDate()? GetTime()?
    I need this in a SELECT statement.
    Thanks in advance and looking forward to your early reply.
    Regards.
    Gladywin
    30/11/2001

    Hello,
    See following SQL.
    select to_char(sysdate,'dd/mm/rrrr') today_date,
    to_char(sysdate,'hh24:mi') now_time
    from dual
    Adi

  • How do you edit out the date and time stamp from a photo

    How do you edit out the date and time stamp from a photo

    You can blur it out with retouch
    The built-in "Retouch" brush in "Edit" mode should suffice, if the background is mostly uniform, and if you set the size of the brush to slightly wider than the bar width of the letters. For example, in this picture I removed the year from the date (in the lower right corner) by using the "retouch" brush and following the contours of the letters. (the screen shot is from iPhoto '11, but iPhoto 9 should give similar results).
    Regards
    Léonie

  • Error "Conversion failed when converting date and/or time from character string" to execute one query in sql 2008 r2, run ok in 2005.

    I have  a table-valued function that run in sql 2005 and when try to execute in sql 2008 r2, return the next "Conversion failed when converting date and/or time from character string".
    USE [Runtime]
    GO
    /****** Object:  UserDefinedFunction [dbo].[f_Pinto_Graf_P_Opt]    Script Date: 06/11/2013 08:47:47 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE   FUNCTION [dbo].[f_Pinto_Graf_P_Opt] (@fechaInicio datetime, @fechaFin datetime)  
    -- Declaramos la tabla "@Produc_Opt" que será devuelta por la funcion
    RETURNS @Produc_Opt table ( Hora datetime,NSACOS int, NSACOS_opt int)
    AS  
    BEGIN 
    -- Crea el Cursor
    DECLARE cursorHora CURSOR
    READ_ONLY
    FOR SELECT DateTime, Value FROM f_PP_Graficas ('Pinto_CON_SACOS',@fechaInicio, @fechaFin,'Pinto_PRODUCTO')
    -- Declaracion de variables locales
    DECLARE @produc_opt_hora int
    DECLARE @produc_opt_parc int
    DECLARE @nsacos int
    DECLARE @time_parc datetime
    -- Inicializamos VARIABLES
    SET @produc_opt_hora = (SELECT * FROM f_Valor (@fechaFin,'Pinto_PRODUC_OPT'))
    -- Abre y se crea el conjunto del cursor
    OPEN cursorHora
    -- Comenzamos los calculos 
    FETCH NEXT FROM cursorHora INTO @time_parc,@nsacos
    /************  BUCLE WHILE QUE SE VA A MOVER A TRAVES DEL CURSOR  ************/
    WHILE (@@fetch_status <> -1)
    BEGIN
    IF (@@fetch_status = -2)
    BEGIN
    -- Terminamos la ejecucion 
    BREAK
    END
    -- REALIZAMOS CÁLCULOS
    SET @produc_opt_parc = (SELECT dbo.f_P_Opt_Parc (@fechaInicio,@time_parc,@produc_opt_hora))
    -- INSERTAMOS VALORES EN LA TABLA
    INSERT @Produc_Opt VALUES (@time_parc,@nsacos, @produc_opt_parc)
    -- Avanzamos el cursor
    FETCH NEXT FROM cursorHora INTO @time_parc,@nsacos
    END
    /************  FIN DEL BUCLE QUE SE MUEVE A TRAVES DEL CURSOR  ***************/
    -- Cerramos el cursor
    CLOSE cursorHora
    -- Liberamos  los cursores
    DEALLOCATE cursorHora
    RETURN 
    END

    You can search the forums for that error message and find previous discussions - they all boil down to the same problem.  Somewhere in your query that calls this function, the code invoked implicitly converts from string to date/datetime.  In general,
    this works in any version of sql server if the runtime settings are correct for the format of the string data.  The fact that it works in one server and not in another server suggests that the query executes with different settings - and I'll assume for
    the moment that the format of the data involved in this conversion is consistent within the database/resultset and consistent between the 2 servers. 
    I suggest you read Tibor's guide to the datetime datatype (via the link to his site below) first - then go find the actual code that performs this conversion.  It may not be in the function you posted, since that function also executes other functions. 
    You also did not post the query that calls this function, so this function may not, in fact, be the source of the problem at all. 
    Tibor's site

  • SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)

    SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)
    SELECT    
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO AS T0 LEFT OUTER JOIN
                          VPM2 AS T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
         OVPM AS T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1 AS T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate>='[%0]' and T0.DocDate<='[%1]'

    Hi,
    Try this:
    SELECT   
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO  T0 LEFT OUTER JOIN
                          VPM2  T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry
    LEFT OUTER JOIN
         OVPM  T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1  T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate >= '[%0]' and T0.DocDate <='[%1]'
    group by T0.DocStatus,T0.DocDate ,
    T0.DocNum ,
    T0.NumAtCard,
    T0.TransId ,
    T0.Comments ,
    T0.CardCode,
    T0.CardName ,
    T0.WTSum ,
    T3.DueDate ,
    T3.CheckSum
    Thanks & Regards,
    Nagarajan

  • My iPhone 4s was stolen this weekend and I did the Remote Lock.  What exactly does that do?  Also, if i do the Remote Wipe will that erase all of my data and impede anyone from ever using the phone?

    My iPhone 4s was stolen this weekend and I did the Remote Lock.  What exactly does that do?  Also, if i do the Remote Wipe will that erase all of my data and impede anyone from ever using the phone?

    The remote lock locks the iphone with a passcode that you set. By remote wiping the device it will simply restore it and clear it of all its data, but by doing this it will prevent you tracking it and communicating with it (e.g. remote locking it) in the future

Maybe you are looking for

  • Mac Mini gets wifi connection for 3 seconds, then drops it.

    Hey all, Long time listener, first time caller. I'm running a 1.66 Mac Mini with 10.5.4 on it. My wifi network is based on a Comcast broadband connection and is broadcast through an 802.11g Airport Express. Also on the network are: a Macbook (3,1), m

  • How does one enter their personal password in the dashed format required?

    I am trying to log into my office imac remotely and cannot figure out how to input my "personal password" in the format provided. How do you use the dashed display that only offers places to input a couple of letters?

  • Why does Spotify stopped playing when i do something else like browse facebook, go see my messages?

    why does Spotify stopped playing whenever i do something else on my phone like browse facebook, or read my phone messages, or open a link to read something? some other music apps like Jango lets you do whatever you want, but it keeps playing ur playl

  • Leading zeros in excel

    Hi,      I am trying to load a flat file in .csv format but whenever I open the file I am losing the leading zeros. It is very cumbersome for me to do those changes in notepad. Does one know how to keep the leading zeros even when I open in excel and

  • Following error while deleting offline db tables

    Hello while I am deleting a offline DB table build out of a database view I am getting following error: java.lang.NullPointerException      at oracle.jdeveloper.offlinedb.browser.BaseSchemaObjectNode.getSchemaObject(BaseSchemaObjectNode.java:50)