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

Similar Messages

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

  • 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

  • Schedule Delivery Date in Sale Order

    Dear All,
    I have an order on 03.11.2009 (today) and its last delivery date is 15.11.2009. It means that I have to deliver the complete order on or before 15.11.2009.
    So where can I put this date in Sales Order?
    Regards,
    Vishal

    Hi Vishal,
    Your Last Delivery Date can be entered in the "Requested Delivery Date" field in the sales order.
    By doing so, the system will give us a confirmation that whether the delivery can be made possible on the Requested Delivery Date or NOT (The status can be seen by going in to the Schedule Line Level of your line item).
    The system also gives us the NEXT POSSIBLE DELIVERY DATE with the confirmed  Quantity as a Second Line item in the Schedule line level.
    The System considers mainly the Material Available Date to come to a conclusion on the Delivery Date of the goods. Also, there are other activities (Loading Time, Transporation Planning Time etc) for which some time will take and that also need to be considered (The same can be seen by going in to the Schedule Line Level of your line item and then click the Shipping button).
    Your Scenario: In your case, the delivery can happen ON OR BEFORE the Last Delivery Date.
    So for that follow the steps:
    Step 1: Put the Last Deliv Date in to the "Requested Deliv Date" field in Sales Order.
    Step 2: After enetering the other necessary details in the sales order then Save it. Now go the Schedule Line level of your line item and look for the Confirmation of the Delivery Quantity on the Requested Delivery Date.
    If Yes: Then its your wish that you can Prepond the Delivery Date by giving the required Delivery date during your delivery document creation.
    If No:
    Then you have look for the Next Possible date. OR Make sure that you can manage all your other activities like Loading, Transporation Planning etc. in 10 - 12 days time and make your material Availabilty today and do the delivery.
    Reagrds

  • How to fetch post goods issue date and sales order creation date

    Hi All,
    How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
    Please let me know the solution .
    Thanks in advance.

    Hi,
    Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
    after saving ur sales order...when u raise the Delivery using VL01n  w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
    You can the fetch the values using tables-  Use T code   SE12  or SE16
    Vbak-----order header
    Vbap-----order item
    Vbek-----order schedule line
    Likp-----Delivery header
    Lips----Delivery item

  • Delivery date and sales order creation date

    Dear all
    Can you please explain the relation between delivery date and sales order date. In my case i can create delivery with delivery date as before the sales order date... how it is possible that i can create delivery before the sales order date.??
    Please explain.........
    Warm Regards
    Inder Pal

    Hi,
    Sales order date: Date on which the customer officially places an order to your company.
    All the commitment and product allocation counting starts with reference to this date.
    e.g. customer says that the goods are required from 20 days of placing order, then from this date the calculation starts.
    Delivery date: Date on which after the system goes through material availability date, replenishment time, calculates the date on which physically the goods can be delivered to the customer.
    e.g. customer orders 100 qty of material X in 15 days, you will hve to check this delivery date through availability check which can be done in sales order and also delivery.
    payment date is based on this delivery date.
    regards,
    Siddharth.

  • 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

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

  • 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

  • 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

  • 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

Maybe you are looking for

  • How to open saved files using 'read from text file' function

    Hi everyone, I am having a hard time trying to solve the this particular problem ( probably because I am a newb to lanbview ). Anyway , I am able to save the acquired waveforms by using the 'Write to text file' icon. I did manually modify the block d

  • Dunning Notice Sapscript form test

    Hi, I'm doing a Z style dunning notice form from F150_dunn_01 and want to test it in F150. But I don't find any account have overdue to test it. Could any expert tell me how to fake an overdue balance in a customer account to show the dunning notice?

  • Unable To Delete A Music File From iPhone 4S

    There is a music file on my iPhone 4S that I can not delete via the phone or via iTunes (iTunes does not recognize the file but I can play it via the phone directly).  When I pull up the file in my "music" folder there is no "delete" option.  Any ide

  • Is it possible upload data using BDC for creation of Quotation

    Dear All , Scenario is such that details in teh quotaion is entered in three steps by three departments, weh ave planned that  all three departments would work on single excel sheet enter the details over there and when it is ready  we will create qu

  • Canon Camera Raw 5.2 solution for Lightroom 1.4.1

    A photographer I work with has Lightroom 1.4.1. He has a Canon 5D Mark II which produces Camera Raw 5.2 files. He cannot view them in his copy of Lightroom. Besides upgrading to version 2 of Lightroom, is there another way such as a plugin to work wi