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

Similar Messages

  • 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

  • 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

  • Schedule lines combined in sales order

    Dear All,
    We have a sales order item with say 2 schedule lines as below
    Date                  Order Qty      Rounded Qty     Conf. Qty     Delivered Qty
    05.10.2010        60                  60                      0                  0
    18.11.2010        0                    0                        60                10
    Now, if we want to unconfirm the undelivered quantity and to do this we make the order qty = delivered qty and then change back the order qty to original qty, all this with ATP check off.
    We expect it to be ...
    Date                  Order Qty      Rounded Qty     Conf. Qty     Delivered Qty
    05.10.2010        60                  60                      0                  0
    18.11.2010        0                    0                        10                10
    It works but in some cases Sometimes, we notice that SAP moves old delivered  lines to first schedule line. Hence, we loose the schedule line information.
    Date                  Order Qty      Rounded Qty     Conf. Qty     Delivered Qty
    05.10.2010        60                  60                      10                  10
    Does anyone have an idea why SAP does this and how can we avoid this. This is really important for us, any help will be greatly appreciated.
    If anyone could also suggest a better way to unconfirm undelivered qty from schedule lines also.
    Best Regards,

    You can try to use delivery block at header level. Copy the delivery block credit limit and create a Z-block(t.code OVLS The path is SPRO->Logistics execution->shipping->deliveries->define reasons for blocking in shipping). When this block is assigned the confirmed quantities will be removed. Once  business approves, the block can be removed so that the remaining quantity will be confirmed. Just test first using the credit limit block in test system and if the results are OK, then you can create a new block.
    PS: Please close threads once those are answered. There are old threads still with open status and you action to close those are appreciated.
    Regards,

  • Restriction of addition of Schedule lines to a sales order/scheduling agrmt

    Dear Gurus,
    I need to restrict addition of new schedule lines to a scheduling agreement till all the goods in the previous schedule line have been delivered.
    I tried applying a delivery block at the SL line level ( in the SL category). But to my surprise, the system allows the user to add SL lines to the scheduling agreement. after this the user is free to create deliveries even though the delivery block is still active on the SL line.
    I'll try explaining this on numbers:
    0n 30.01.2010 i created a SL line for say 100 qtys. The system automatically applies the SL block to this. This Delivery block is removed by the concerned authority.
    Now I create a delivery of say 99 QTY for this SL line. The scheduling agreemnt status is as follows:
    order qty is 100, *** rel qty is 100, open qty is 1 and confirmed qty is 100.
    Now suppose the user enters another Sl line for 100 qty's for which the delivery block is till active and not released.
    In this case the user can create delivery for upto 101 qty's. Ideally I want the system should allow the user to create a delivery for only 1 more Qty ( Delievery block for the new SL line is still not removed).
    How can we do this? Please help!
    Warm Regards
    Prashant Joshi.

    Hi,
    If u adding 100 more quantity in same schedule line then system will create delivery for 101 not for the 1
    becauze u adding qty in existing SL,
    If u want to deliver first 1 qty,then
    Add another schedule line of 100 & block it.
    Create delivery, now system will create delivery onely for qty 1, Not for 100 becauze it is blocked.
    If your Block is not working properly
    Then on initial screen of delivery creation put from to item Number as 10 in both and deliver it
    Kapil
    Edited by: Kapildev Farakte on Feb 3, 2010 5:11 PM
    Edited by: Kapildev Farakte on Feb 3, 2010 5:13 PM

  • 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.

  • Delivery quantity is greater than schedule line confirmation quantity (sales order)

    I am creating a sales order with 30 Mt. I confirmed 10 Mt (partial confirmation and based credit block) in schedule line Now I am going to create the delivery system automatic taking 10 Mt but when I am going to change the delivery means when I increase the delivery quantity (20 Mt) then system allowing to do the further process.
    As per my understanding system should not allow to increase the delivery quantity m     ore the sales confirm quantity.
    Please suggest how I can restrict.
    Thanks & Regards
    Sujit

    Thanks for your reply,  As you suggest "B" is there. But its not working.  For ref. screen shot is attached.
    For reference I am providing some more details:
    => We are using "Make to order" process. After creation of sales order we assign the stock to sales order using T-code MB1B , Movement type 412E, 
    => Auto credit check applicable
    => Confirmed quantity in schedule line based on credit limit.(Auto credit check at Sales order level)
    => Avail. Check is 02 and check. rule is "AE" .
    Thanks and Regards
    Sujit

  • Schedule lines & TOR in Sales order

    Hai Experts,
    ( in Sales order - VA01 ) How Schedule lines is related with TOR.
    Kindly explain me in detail
    Regards,
    Geetha

    Hi Geetha
    To deliver an Item you need to have a schedule line.
    In the Sales order, an Item can have one or more schedule line, but to be delivered atleast one schedule line must be there.
    During Sales order processing a 'requirement transfer" is sent to the "Materials planning " department for the schedule line ,which a communication between SD and MM department (SD-MM interfac).
    From this "Transfer of Requirement", Materials Planning comes to know,How much quantity of which material SD needs to deliver and on which date.
    Accordingly, they may go for Production or Procurement as applicable to make the goods available for SD to meet the schedule line.
    Schedule line contains the information about Delivery date, delivery quantity aswell as information about requirement transfer and goods movement.Schedule line is controlled by "Schedule line category".
    So, in the Schedule line category we configure, whether Tranfer of Requirement is relevant or not, beacuse all schedule lines are not relevant for Transfer of Requirement.
    For example,
    when we create a Standard order for a normal material, it has got a schedule line and its schedule line is relevant for "Requirement Transfer".
    But, when our faulty goods comes back from the customer, we create a Return order, which also has a schedule line so that the goods will come in, but this schedule line is not relevant for "Requirement Transfer".
    So, if you will go for the "Schedule line category in Return" (DN), you will find the Requirement transfer field is blank, beacuse when my faulty goods are coming back, why should I put a requirement to Materials planning.It is not relevant.
    I hope now you are clear about the relation of Schedule line and Requirement transfer.

  • Schedule Line Issue in Sales order...

    Hello,
    While creating sales order in schedule line two schedule lines are getting created. fisrt line the date of creation of the sales order with out confirm quantity and the second line which is two days later with confirm quantity. When material is available then why schedule line is showing confirm quantity in later days. How to rectify this? please let me know the all possibilities.
    David.

    Eventhough material is available today , it doesnt means that the material can be delivered by today itself. There are other dates also which will affect the delivery date like Transportation planning, availability of truckts to send the materials, based on these transportation plannign and transportation leadtimes, the Goods Issue date and thus the final delivery date will be decided.
    If you want to finetune this functionality
    1. If your route determination is enabled, then you have to configure your transportation lead time for the relevant route.
    2. If routes are not enabled, then you have to define these things in shipping point in logistics execution
    Hope this helps you to solve the problem

  • Schedule line issue in sale order

    Hi,
    We've removed the availability check from 02 to KP in material master for all the materials.
    Also removed the availibility tick from VOV6 for schedule line cat. CP
    But even then while creating the sale order,schedule line is activate for few materials.
    Pls help to resolve the issue.
    Harsh

    For that first go to material master MRP2 view and see what strategy group is maintained.
    Next go to OPPS and see for that Strategy group, what Requirement Type is assigned.
    Next go to OVZH, select that Requirement Type and see what Requirement Class is assigned.
    Finally, go to OVZG, select that Requirement Class and untick the box "Availability" on top left.
    But before doing this change, you should take concurrence with your PP guys.
    Last but not least, I only wanted you to understand how you should respect forum members time and never expected points from anybody.  Since in all your previous threads, you had closed without proper updation, I had to caution you.
    thanks
    G. Lakshmipathi

  • Question on Schedule Line category in Sales Order not relevant to MRP

    Hi experts,
    I want to know whether the sales order having any schedule line category like CP, CN, etc will not be relevant for MRP. In other words, If I do the MRP run for the Sales Order Requiremnt having any Schedule Line Category in particular will not generate any procurement proposals like Planned order/ Purchase Requisitions. Please advice me on the same.
    Regards
    Brijesh

    Dear Brijesh,
    Please find some info related to scheduled lines below,
    The various schedule line categories are controlled in different ways:
    The schedule line AT in inquiries is used only for information.
    No requirements are transferred and no availability check is carried out for the schedule lines BN and CN.
    Requirements are transferred and the availability of the material is checked for the schedule lines BP and CP.
    No stocks are managed for the schedule line categories BT, CT and CX. No goods issue is posted for the categories BT and CT. However, goods issue is posted for CX.
    The schedule line categories BV and CV are controlled in the same manner as the categories BN and CN. However, requirements can be passed on for analysis purposes.
    Goods receipt is posted for the schedule line DN in a returns document.
    The schedule line categories CN, CP, CT, and CV are relevant for delivery; the other schedule line categories are not.
    *Control Elements for Schedule Line Categories
    Different schedule line categories are permitted according to the sales document type and item category you are using. You can use control elements to tailor the schedule line categories to meet the special demands of your installation. You can also define new schedule line categories.
    Hope this helps.
    Thanks
    Murtuza

  • Schedule lines in a sales order

    Hi All,
    Its a very rare case I hoipe.
    Some times i see the deliver date in schedule lines tab in a sales order as 08.01.0001. Iam very much surprised about year 0001.
    Have you ever faced such issue.
    kindly provide me the root cause and solution
    Thanks and regards,
    satyaprasad

    Hi Satya
    please speak to your Basis people. The date he is maintaing for the system is by mistaken something else.I hope once the SAP system date / Client date is changed to today's date it will get rectified.
    Thanks
    Sushant

  • Delivery schedule line number in sales order is not populated in production

    Hi all,
    i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated in production order.
    please give your valuable suggestion .
    i would be highly thankful to u
    Will reward points.
    Regards
    Kumaraguru

    Hi Kumar,
    Some changes done in your PRD server.If yes then contact abap consultant regarding the same.
    Because these type of problem comes when you do transport or changes done in the system.
    Regards,
    Anil

  • Delivery schedule line number in sales order is not populated  in productio

    Hi all,
    i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated in production order.
    please give your valuable suggestion .
    i would be highly thankful to u
    Regards
    Kumaraguru

    Hi Kumar,
    Some changes done in your PRD server.If yes then contact abap consultant regarding the same.
    Because these type of problem comes when you do transport or changes done in the system.
    Regards,
    Anil

  • In V_V2 the role of Sort Item by date of creation and Sort by delivery date of earliest schedule line for the Sales Orders when Material is out of Stock.

    Hi All,
    Good Morning,
    I am working on once Incident for Re-Scheduling Program V_V2 where the user has requested us to change the criteria for determining the priority of Sales Document based on Sort Item by date of creation. Currently they are using the Sort by delivery date of earliest schedule line in the Variant.
    I would like to know the role these both options play in the Re-Scheduling program V_V2. I would like to know the impact of both of them and the kind of testing I need to perform to study the behaviour of Sales Orders especially when the material is out of stock?
    Please explain with help of examples.
    Thanks
    Farhan.

    This is not that simple that an example would explain how this transaction works but I'll give you some examples.
    Material A has SO1 and SO2 of 10KG each, stock is 20KG so both quantities are confirmed at today. A stock recount determines a reduction to 5KG. This program would change confirmed quantity of SO1 to 5KG and SO2 to 0KG if:
    Creation date of SO1 is older then SO2 in strategy 1
    1st delivery date of SO1 is smaller then SO2 in strategy 2
    Material B has SO1 and SO2 with 10KG each but no quantity confirmed, stock is 0KG. A prodution adds 15KG to stock. The program would change confirmed quantities of SO1 to 10KG and SO2 to 5KG if:
    Creation date of SO1 is older then SO2 in strategy 1
    1st delivery date of SO1 is smaller then SO2 in strategy 2
    I'm assuming a specific configuration, there are many other scenarios possible.
    regards,
    Edgar

Maybe you are looking for

  • Transferring Music from Macbook pro to iphone

    So I just bought my new macbook pro and I have already transferred all my music from my iphone onto the computer itself. However, throughout the day I have been dowloading music from the internet using a youtube converter site. They dowloaded onto th

  • Consuming and Providing Web Service with JD Edwards ERP system

    Hi, I would like to create web services with c++ or java OR any other easier way . I need to use that web services to use in Share point to interact with JD Edwards ERP system . Pls Note : Since not having license for JD Edwards, I need to create and

  • MacBookPro vs PowerBook Capturing Working w/HDV - CardBus vs no ExpressCard

    I have seen the benchmarks and the posts here, and it is clear, but for the issues below, I should be getting a MacBook Pro now that my older PowerBook has run into issues. Once footage is captured it seems to be a no-brainer (This thread http://disc

  • Windows L&F JFileChooser

    My entire application needs to use the Metal L&F except for the JFileChooser. How can I create a JFileChooser using the Windows L&F, while leaving the L&F for the other parts of my app the same?

  • Syncing  to same but also different files. ?

    Here is the situation that I find myself in.  While traveling I added some .CR2 files to an .lrcat on a laptop. Some of the pics were edited or deleted in various ways.  After arriving home I took duplicate .CR2 files from a second B/U drive and impo