Adding schedule agreement & schedule lines in one out put

Hi Friends,
Can we add schedule agreement & schedule lines in one out put. What settings to be done. I am using document type as LP.
I am in ECC 5.0 version.
Regards

Hi,
In std there is no possible .But still we can develop a Z- programme with the help of ABAP Person if you explanin the logic they will develop the same
Regards
Murugan J

Similar Messages

  • How to put schedule lines for one year  in a schedule line agreement

    dear all
    thanks for the support till now from the forum
    now i need some seetings by which the scheduling agreement will autoumatically take the schedule line for one year automatically
    in my client we are getting open PO so
    we have to make one agreement acording to that PO and thats for one year
    and this one yr will have same quantity to be produced everyday
    means 12nos of material every day for 12 month and this will be for every day
    and as per that it should generate a sales order.i need to put schedule line automatically not mannually one by one for each date.so wat is the settingand how to reffer this scheduling agreement we can produce sales order.
    please help
    subrat
    Message was edited by:
            subrat panda

    Dear Subrat,
    you cannot create a yearly schedule line in the scheduling agreement. It is not possible due to format restrictions of the date field. But what you can do is the follows (it is the modification, but it should work with the help of user-exits):
    1. You can split the year schedule line to the monthly schedule lines. There are two ways to do it. If you apply the DELINS IDOC, then you can do it already during transfer of the data to the application (itr is the best way). Here you can use, for example, user-exit USEREXIT_ZUORDNEN_IDOCS (include LVED4FZZ) or customer function EXIT_SAPLVED4_002, called from the subroutine USEREXIT_DYNPRO (Include LVED4F0U). Alternatively, you can use the user-exit USEREXIT_MOVE_FIELD_TO_VBEP (Include MV45AFZZ) within the call transaction, then it will work also in the dialog case.
    2. After getting the monthly schedule lines, you can create a planning delivery schedule, where you can split mothly schedule lines automatically to daily schedule lines according to the customer factory calender.The settings for generation of planning delivery schedules can be found under:
    Customizing SPRO: Sales and Distribution => Sales => Sales Documents => Scheduling Agreements with Delivery schedules => Maintain Planning Delivery Sched. Instruct./Splitting Rules
    It is the only ways, how you can reach your aim. I hope, this information will help you further.
    Kind Regards,
    Akmal Vakhidov
    Development Support SD, SAP, Walldorf/Germany

  • Combining AFS schedule lines into one Item

    HI,
    Due to certain reasons the item in an order splits into two schedule lines. When the order is delivered, each schedule line gets copied as separate batch item though they are of the same grid value. Is there a way where we can make the order schedule lines get copied into delivery as a single batch item if they are of the same Grid Value.
    Any help would be appreciated.
    Thanks & Regards,
    Vidya Sagar

    Dear VidyaSagar,
    In sale order - at the item overview screen - you ll be having an indicator named 'No duplicate'.
    If you check this indicator - it won't allow the system to enter double line for a same grid..
    Ex:
    Material:  Qty:   Date:
    XX-38       10      2/2/2009
    XX-38       10      3/2/2009
    If you check that indicator, system will throw a warning message - so that you can change the item to have only one line entry in the sale order which may prevent dual schedule line for same material..
    Another one option is to make use of the order scheduling in sale order..
    If you use the order scheduling S04 - it will change the delivery date of the material according to the division of the products..
    Ex:
    Material:  Division:  Qty:  Req.Dlv Date:
    XX-38       Apparel    10    2-2-2009
    XX-39       Apparel    10    3-2-2009
    If you run the order scheduling(Strategy S04) - it will change the delivery date of both items to 3-3-2009.
    (I assume in your case, you are having more than one schedule lines for a particular item..)
    And one more thing to consider:
    An item in sale order can have more than one schedule line.
    This can happen - if the customer allows partial delivery and on the requested delivery we don't have enough stock to deliver to the customer..
    At the time of ATP run, as per the option you have chosen(one time delivery, Full Qty, System proposal),
    the system will determine the delivery date..
    I am updating the things which I aware about AFS.. Make use of this - if it helps you..
    Thanks,
    Venkatesh.S.P
    Edited by: venkatesh paulraj on Mar 16, 2009 3:51 AM

  • 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

  • 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

  • Adding schedule line in GATP result

    Hi All,
    Requirement is after ATP check using RBA if the order line is filled less than 100%, add a schedule line for the un-confirmed quantity with confirmation date in future.
    I have observed availability check with replenishment lead time (checking horizon) confirms a line at the end of checking horizon and does not trigger RBA. This is undesirable. What is desired is order line should first check for substitute and then confirm the balance at the end of checking horizon.
    To achieve this I am exploring, set the material for RBA, let RBA occur. Before publishing the GATP result to ECC, if confirmed quantity is less than order quantity add a schedule line confirming at the end of checking horizon in the initial location at which ATP check was triggered.
    Appreciate quick input.
    Many Thanks,
    Bijit

    Thanks Michael and Alhad,
    Approach evolved:
    Don't use checking horizon, use 'Remaining quantity" field in check instruction, select - "Create Remaining Requirement for Source Location Product". This adds additional item for the unconfirmed quantity but with no confirmation quantity. Then use BADI /SAPAPO/IF_ATP_REQ_ITEM_CONF to change the confirmation quantity and the date.
    This is working fine for only product check and RBA. But not working for allocation check +RBA and forecast check + RBA.

  • From many input jars to one out put jar

    Hi,
    I want to read many jar files and generate one big jar file as output. The output file must contain all information from the input files. As all of them are .jar files I suppose I can't just copy the content from the input files to the output file, right. What would be the best approach to accomplish this task?
    Thank you in advance
    Best Regards
    crsschmi

    Quit trying to piece together a new jar containing bits and pieces from other jars. Just distribute all the required jars.

  • Delivery from sales scheduling agreement with one item per schedule line

    Hi all,
    I have a sales scheduling agreement where the same part number has 3 different JIT schedule lines and I need to create a delivery with 3 item lines: every item line of the delivery has to be referred to one schedule line of the scheduling agreement.
    When I create the delivery with transaction VL10E it has only one item line and its quantity is the sum of the 3 schedule lines of the sales scheduling agreement.
    I've tried to change the customizing of the User Role, choosing the Split Schedule Line = 2 ("One item per schedule line") but the delivery is created again with only one item line.
    How can I solve this issue?
    Thanks in advance for reply

    Dear Alex
    The SAP standard behaviour is that all schedule items with delivery date in the past have to be rescheduled anyway to one date and are combined therefore.
    Partially this behaviour can be influenced in VL10* by 2 parameters in
    the user role : Split per sched.line and Rule (delivery qty).
    Please find below informations about these different parameters
    "Split per sched.line propose you 3 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.
    About rule for delivery quantity, the following rules are currently
    implemented:
    1. No cumulation
    The open schedule line quantity to be delivered is the quantity at which
    the list line is delivered.
    2. Sum of all open schedule line quantities to be delivered that fall
    before the chronologically latest date in the to field (following the
    Deliv. creation date field) of the selection criteria.
    3. Sum of all open schedule line quantities to be delivered whose
    delivery creation date falls within the selection time frame (between
    the dates in the Deliv. creation date and to fields, respectively),
    making the calculation of the quantity to be delivered consistent with
    selection criteria. However, calculationof the quantities delivered with
    the order's schedule line quantities is not affected."
    Hope this helps.
    Regards
    Tonia

  • Schedule lines on scheduling agreement by MRP

    Hello,
    we use MRP to generate delivery schedules on a purchasing scheduling agreement. The vendor of the material has a limited capacity but when the need of our customer is very big MRP generates schedule lines on one date (too many for the vendor too handle).
    Is it possible to limit the amount of a schedule line per period (for example we allow to generate 100 tons per week, if the need is 500 tons it should be splitted into 5 schedule lines over 5 weeks).
    Thank you for your help!!!!

    Hello,
    the weekly lot size generates lots per week but this answers only a part of my problem.
    example: vendor can produce 50 tons per week
    need is 200 tons
    with a weekly lot size and a maximum lot size of 50 the system proposes 4 schedule lines of 50 tons on the same week and this is not what I want. I want 1 schedule line of 50 ton on the week and the rest on the weeks in the future.

  • Sales Order Stock - Problem with Schedule line

    Hi guru,
    I have a problem with my schedules line.
    We use the Sales order stock ( using MB1B with good movement  412/E) for some specific customers.
    Even if the sales order reservation works well, there is an issue with the schedule line in the order.
    Indeed when i enter the material in the order the schedule line display an availibily in 8 days even if the material is out of stock or available now....
    When i enter the same materila in a standard order(with item category without special stock E) the schedules line are good...
    What is it the most weird is that i have done the customizing by copying the standard item and i have just added the special stock E in the item category.
    If anyone can help me!!
    Thanks a lot

    hello Lakshmipathi,
    Thanks a lot for your reply.
    I tried to change the requierement class in order to put one with special stock E as you explained, but i still have my weird schedule line. When i put the item in the order it is 0 stock for today, but stock find in 12 days either if there is stock or no(unrestricted stock i mean).
    If i change the RDD in more than 12 days the stock is available for the date requested.
    If you have an idea of what could be wrong because on my case i want the schedule line to be at 0 while the sales order reservation has not been processed (via MB1B/412/E) and once the stock movement is done the schedule line has to be find.
    I dont know if im clear enought..
    To be more clear,  i want the schedule line based on the "sales order stock" and not on the "unrestricted stock".
    thanks for your help!
    Guillaume

  • Reg: Sale Order short close at Schedule lines level

    Dear Gurus,
    Requirement is to close all open schedule lines beyond one month.
    In detailed. User Enters Manual Schedule Lines as per the requirement of the customer say for 6 months.
    for Eg . Sale order entered on 1st of august to Dec with 500 qty, schedule 100 qty/Month, manually in sale order.
    Now if business delivers only 90 out of 100. they need to short close that particular schedule line only not the entire sale order or line item. I tried with Delivery block at schedule lines level. but it is not working.
    If any one has come across this scenario please share with me.
    Regards
    Praveen

    If we apply a delivery block the pending qty will automatically add to the last schedule date. Ex. if there is 3 dates in the schedule lines, and there is some 50 qty pending in second date, and if u apply delivery block it will carry forward that pending 50 qty to the third schedule line and adds up with it.
    But in my case i just want to close that pending 50 qty in second line item.
    Regards
    Praveen
    Edited by: Praveen_PG on Sep 15, 2011 1:28 PM

  • RE: Firming for Schedule Lines

    Hi MM Gurus,
    I have posted this question to ERP Manufacturing (PP) forum as I thought this is related to MRP settings.
    I am working with MRP creating schedule lines automatically, I need way to have firming indicator for the schedule lines that created out of MRP. I have checked the forums and did some research, all mentioned about the time zones
    Firm zone (zone 1) - Firmed
    Trade-off zone (zone 2) - Semi Firmed
    Planning zone (zone 3) - Forecast
    But checking my Scheduling Agreement, ITEM > MORE FUNCTIONS > ADDITIONAL DATA, in the scheduling control portion the FIRM ZONE field and TRADE OFF ZONE field are not modifiable. I have changed SA-->Define document type for SA type to ensure that the indicator for scheduling agreement release documentation is ON. And defined the scheduling control field as optional, but still the FIELDS are grayed out/unmodifiable.
    Is there any other configuration change I need to do in order to activate this?
    Thanks,
    Richard

    I think below link clearly explain your scenario have a look at it,
    [Firming the schedule lines from MRP|http://forums.sdn.sap.com/thread.jspa?messageID=9492313#9492313]

  • Firming for Schedule Lines

    Hi Everyone,
    I am working with MRP creating schedule lines automatically, I need way to have firming indicator for the schedule lines that created out of MRP. I have checked the forums and did some research, all mentioned about the time zones
    Firm zone (zone 1) - Firmed
    Trade-off zone (zone 2) - Semi Firmed
    Planning zone (zone 3) - Forecast
    But checking my Scheduling Agreement, ITEM > MORE FUNCTIONS > ADDITIONAL DATA, in the scheduling control portion the FIRM ZONE field and TRADE OFF ZONE field are not modifiable. Can you let me know if there's any other way where I can update this?
    Thanks in advance,

    Hi, In the config SA-->Define document type for your SA type ensure that the indicator for scheduling agreement release documentation is ON.
    The fields relevant for the doc.type are specified by the entry in the 'Fleld selection' field. (like LPA or LPL).
    Go to Define screen layout at document level.For the Field selection as above choose Scheduling control and double click on the above.
    I can only guess that as you are using a customised SA type, the entry is selected as 'Display' for the fields for a custom Field selection again(NOT EQ LPA or LPL).
    If yes, you can make it optional or Required.
    See if this sorts out your issue.
    Although it looks like a ordinary field control change, am not sure what impact inconsistencies/changes like this would bring.
    Better to check with MM consultants before making use of the changes.
    LP vs LPA: With LP the schedule lines are instantly transferred to vendor. With LPA you have the option to use a creation profile etc to transmit the data in your preferred time bucket at a later stage and then transmit it and not instantly like LP.

  • Delivery item per schedule line

    Hi all,
    Thank you for viewing my posting, I have the requirement as following:
    I have two SD schedule agreements, there are several schedule lines on JIT delivery Scheudle tab for each schedule agreement, these two schedule agreement are for same customer, have different material.
    What I want is:
    When I create delivery for these two schedule agreements in VL10A, these two schedule agreements are combined into one delivery note, but the delivery item per schedule line on the delivery note.
    E.g.
    one schedule agreement has 5 schedule lines
    the other has 4 schedule lines
    After I create delivery for these two delivery notes in VL10A, there should be 9 items on delivery notes, one item per schedule line.
    Do you have idea on this? I do not want to combine several schedule line into one delivery item.
    Thanks!
    Alex Lu

    Dear Alex,
    You try these copy control settings between Scheduling agreement and delivery document.
    Go to VTLA transaction select your document types
    First you go header level settings here you can find the check box field called Copy item number check this then try.
    If it is not full fill your requirement then go in to the item details here you can find the copying Routine maintenace field Item Data Under Data transfer Tab,this field will have 101 item Routine as per the standard,you take ABAPer help you copy this routine then change according to your requirement then assign new routine here.
    I hope this will help you,
    Regards,
    Murali.

  • Strange MRP behavior - creation of schedule lines we don't need

    We are having a very strange MRP issue that I'm hoping there's a solution for.  If MRP looks something like this (extremely simplified):
    04/16 SchLine 100
    04/17 DepReq  100
    05/16 SchLine 100
    05/17 DepReq 100
    06/16 SchLine 100
    06/16 DepReq 100
    06/28 --- Time Fence ---
    Now a requirement comes along that increases requirements by 50 on each of the DepReq lines.  MRP wants to increase each of the SchLine lines by 50, but must put them after the time fence.  So far everything still looks Ok.
    04/16 SchLine 100
    04/17 DepReq  150
    05/16 SchLine 100
    05/17 DepReq 150
    06/16 SchLine 100
    06/17 DepReq 150
    06/28 --- Time Fence ---
    06/29 SchLine 50 (reschedule message, 4/16)
    06/29 SchLine 50 (reschedule message, 5/16)
    06/29 SchLine 50 (reschedule message, 6/16)
    We can't put these where SAP wants them.  We combine them into one schedule line for 150 and put it just inside the time fence.  Now here's the problem.  When we re-run MRP, it RE-CREATES the schedule lines for 50 so it looks like this.
    04/16 SchLine 100
    04/17 DepReq  150
    05/16 SchLine 100
    05/17 DepReq 150
    06/16 SchLine 100
    06/17 DepReq 150
    06/27 SchLine 150 (the line we added)
    06/28 --- Time Fence ---
    06/29 SchLine 50 (reschedule message, 4/16)
    06/29 SchLine 50 (reschedule message, 5/16)
    06/29 SchLine 50 (reschedule message, 6/16)
    How can we prevent it from re-creating the schedule lines for 6/29?  We've already added 150 on 6/27.  We can increase that quantity on 6/27 to one million, delete the three lines on 6/29, and SAP will still re-create them the next time MRP runs.
    Thanks,
    Randy

    Hi,
    Depending on the MRP type you have defined , procurement proposals are firmed and scheduled within the planning time fence.
    Hope have defined a Time fence and MRP type P1 , the procurement proposals inside the fence are firmed automatically and hence to compensate for the shortage (new reqmts), new proposals will be created on the end of PTF.
    yopu can choose from the following firming types:
    0  -- Procurement proposals are not firmed automatically. No firming takes place with this firming type.
    1 -- Procurement proposals within the planning time fence are firmed automatically as soon as their date is at least one day before the end date of the planning time fence. The date of new procurement proposals created in the planning time fence is moved to the end date of the planning time fence. As a result, these new procurement proposals are not firmed.
    2 -- Procurement proposals within the planning time fence are firmed automatically as soon as their date is at least one day before the end date of the planning time fence. No new procurement proposals are created automatically within the planning time fence; that is, the shortage situation is not adjusted within the planning time fence.
    3 -- Procurement proposals within the planning time fence are not firmed automatically. All procurement proposals required to cover the requirements are moved to the end of the planning time fence.
    4 -- No procurement proposals are created automatically within the planning time fence; that is, the shortage situation is not adjusted within the planning time fence.
    Regards,
    Sheik

Maybe you are looking for

  • Error in Accessing the Report Server URL

    Hi All,           I am trying to access the Report Server URL in PowerPivot.But facing below issue .Can any one help me how can I solve the issue Thanks,   Sid

  • Lower half of my screen is green!

    Okay, now I'm frustrated. I've got my project all lined up and I click FILE -> BUILD. (My intent is to burn a VIDEO_TS folder in Toast, because DVD SP won't burn for me, but that's another discussion). Simulating my disc seems fine. However, when I b

  • Terminal echo is off after interrupting cvs password entry (:ext, ssh)

    situation: set CVSROOT=:ext:username@servername:/dir The "ext" is important. You can set up a local cvsroot dir, do a "cvs init" there and then use localhost as server. This bug occured to me on several servers so it is not server dependent. set CVS_

  • Cannot find CFIDE.adminapi.security

    hi, I am having problems logging to CF8 admin. During the CF 8 install I selected Apache server and chose to install CFIDE under /Users/user/Sites After the installation finished, it asked me if I would like to login to admin console. I clicked on th

  • Need help with Stacks

    Hi all, I'm writing a parser that reads a file, looks for tags and adds them to a stack when an opening tag is found, i.e. <html>. When a closing tag is found (i.e. </html>) I want to compare this tag with the tag at the top of the stack, and if they