Force one schedule line with BAPI_SALESORDER_CREATFROMDAT2

Hi,
How can I force the BAPI BAPI_SALESORDER_CREATFROMDAT2 to create sales order with only one schedule line for some itmes ?
Remark : <i>I don't want to change the customer parameters</i>
Regards

If your schedule line category is relevant for availability check - it means that you can't say in advance will it be confirmed or not and how many sched.lines it's going to have, you can estimate by "order simulate" but it doesn't mean that your real order will fully match to simulation.
If you are not doing any availability check (your materials are always available) - then your item will get current material availability date... but stil the number of schedule lines will depend on whether or not your required delivery date can be met taking into account pick/pack time, transit time (route), calendars of shipping point, route & customer.... and you can't force one schedule line in this case unless you change your required date to a proposed delivery date based on simulation.

Similar Messages

  • More than one schedule line when 'Only complete delibery allowed'

    Hi guys!!
    I need your help to solve a problem with the shipping of our sales orders. We have a customer which has been set with 'C' 'Only complete delibery allowed' in the field 'partial delibery per item', but if a sales order is blocked because credit limit has been exceeded and we try to release the order, the system automatically set several schedule lines in the schedule lines tab of the sales order. I know afterwards the system will not allow us to delibery the order unless we ship the whole line, but Is there any way to avoid the system set more than one schedule line?
    Thanks in advance for your answers

    Hi
    How many schedules are created. Normally if the system couldn't confirm the stock on the Requested Delivery date, then it will create one schedule line with zero quantity for that requested del date. Since it is a complete delivery, it should have only one more schedule line. If you have only two schedule lines, then it is working fine. If not, pl check the sales order whether that complete delivery is determined or not.
    Thanks,
    Ravi

  • Schedule lines with no ordered quantity

    If a schedule line is not confirmed because of non-availability of stock on the customer requested delivery date, it creates another schedule line with confirmed quantity and new delivery date.  How can we link these two lines so that we know that the lines with no confirmed quantity has other schedule line with confirmed quantity.  Any response is appreciated.

    Hi Rajeev,
    It is the SAP standard behavior. Regarding the requested delivery date you entered, the system will check if it can be met, if yes, only one schedule line with confirmed quantity. if not, the system will use the forward scheduling to calculate a new earliest delivery date. then the second schedule line is generated with confirmed quantity. You can see all these lines at the sales order item schedule line view.
    Also you can find the information in table VBEP.
    Regards
    Jean
    Please reward points if helpful.
    Message was edited by:
            Jean Chang

  • Sales Order - Prevent user from creating more that one schedule line

    Hello,
    Is it possible to prevent users from adding lines (rows) in the schedule line tab of VA01/VA02 ? Our requirement is that one item will have one only schedule line, the quantity cannot be split into different dates.
    Regards,
    Joã

    Hi
    There are 2 schedule lines with different dates for a single line item in a sales order because of forward scheduling done by the system
    System does backward scheduling first and if it fails then it does forward scheduling and that is why you find 2 different schedule lines
    In configuration you can restrict the system to do only backward scheduling and stop after that
    I am not infront of SAP now to tell you exactly where is the configuration available
    I think it is  Logistics execution--delivery scheduling
    But This config is definately available in standard system to avoid 2 or more schedule lines for a single line item in a sales order
    But i am not able to understand what is the business logic for such a requirement because i feel it will create a lot of problems
    with this requirement
    Regards
    Raja

  • Schedule Lines with Firm

    Hi Gurus,
    I have an Issue in Schedule lines. Delivery schedules lying with in the firm zone has firm indicator 1(Firm zone) in ME33l. The same schedule line shows in MD04 with * Symbol as firmed. In some of the cases Delivery schedules push out from the Firm Zone does not have a Firm Indicator in ME33l but it is firmed in MD04 with * symbol.In which table & field I can Identify the Firmed schedule lines with * symbol in MD04.Please Help me.
    Regards,
    Senthil.K

    Delivery schedules lines are populated when MRP is Run.
    symbol indicates that you have done manual intervention in the purchase order mentioned.
    In MDO4 you can see * symbol
    Ganesh kumar

  • System to confirm in one schedule line

    Hi experts,
    Is there any way out system should confirm the sales order on the requested delivery date or There should be one schedule line. Even though the ATP is disabled and there are days  mentioned in scheduling in Material Master (MRP1).( Mrp type - vb,lot size hb).Donot want to copy the confirmed date to requested delivery date in order.
    thanks

    Hi,
    GO to MRP2 in material master and check the values for
    Planned Deliv. Time
    In-house production
    GR Processing Time
    also check the Tot. repl. lead time in MRP3 if RLP in unticked. i.e. on
    Thanks,
    Rasik

  • Schedule lines with null quantity deleted from EKET

    Hi All, I would understand if there is a logic that deletes schedule lines with null quantity from EKET.
    Sometimes it happens and sometimes not and I can't find the reason. I thought that it could depend from the transaction used (ME38 or MD43) but it's not so.
    thanks
    L

    Hi,
    This functionality was implemented after OSS Note was applied with release 4.0B.
    191898 - ME38: Delivery schedules w/ scheduled quantity zero

  • Collectively schedule line with quantity

    Dear all
    How to see collectively schedule line with quantity in SAP
    Rgds

    It can be seen if you have created a scheduling agreement, where in you have JIT schedule and normal Forecasting schedule lines.

  • Copy requitsitions into one PO line with many schedule lines

    Hello Experts,
    If you have two or more requisitions with the same material and the only difference is delivery date, is there a way where you can copy them into a purchase order and get one item in the po for the material but one scehdule line pr requisiton?
    rgds
    GAR

    Hi
    It is possible. Please try the below steps.
    1) Create the PO manually with the total qty of both PR.
    2) Go to the delivery schedule tab and there is button to split the delivery scedule, select and split with the required qty
    3) Assign the relevant PR to the respective schedule line.
    Also you can use the option suggested in the previous message.
    Now the PO will have 1 line item but 2 schedule lines
    Hope it helps.
    Thanks / Karthik

  • MRP - Unfix Fixed Schedule Lines with partial receipt

    Dear Experts,
    I am facing a problem that I haven't been able to solve using previous postings in the forum nor reading OSS notes.
    I have a Factory PL01 that needs some raw materials that are bought and received in a distribution center DC01 located in another city.
    Procurement data in material master MRP views:
    In PL01, this Raw materials have external procurement with special procurement key "transfer from DC01"
    In DC01 this Raw materials have external procurement witho no special procurement key (standar purchase order)
    To make things easier we have an LU Scheduling Agreement and also maintained source list to generate automatic schedule lines after running MRP.
    This is working ok.
    My problem comes here:
    When I create the delivery for schedule line (VL10G) the receipt becomes fixed in PL01. Lets say theorical quantity is 20.000 on schedule line but finally supplier can only deliver 18.000 to DC01 and DC01 can only transfer 18.000 to PL01.
    in MD04, plant PL01 There will be a fixed pending quantity of 2.000 for the schedule line that will not be overwritten by MRP runs.
    I would like to "Unfix" this fixed quantity but I can't. I read previous postings and many people say it's not possible and that quantity should be adjusted manually in schedule line to delete the fixed receipt.
    Does anybody knows how to manage this? Can the remaining quantity of schedule line be unfixed? If not: Is there a more efficient way than adjust one-by-one the schedule lines ?
    Please throw me a light about this.
    Best Regards,
    Sebastián Ligueros

    Sorry I cant help you in your question but, i think you can help me in  my.
    I need to use MRP to creade the schedule lines for an schedule agreement LU but even when the Info record is set, plants  are set witht the vendor and customers, MRP is not creating the Schedule lines automaticaly.
    Do you remenber what things are required to do it?
    I also set the source list with the Schedule Agreement and put it as relevant to MRP (2).
    Any help will be great thanks.

  • Schedule Line with Respect to PR only

    Dear All,
       I have one requirement that the user can create Schedule Line only from PR.I think this is possible with some User Exit or BADi. I have tried to search but could not found the right User Exit or BADi for Schedule Lines.
    Regards
    Sunil

    Go to SPRO > MM > Purchasing > Authorization Management > Define Function Authorizations for Buyers > Function Authorizations: Purchase Order > / OMET Here Create a Key for Function authorization: Schedule Agreement / Contract (For e.g. 01) by "New Entries" and maintain details like;
    Under "General Parameters"
    Select the Field Selection Screen as NBF or what evr you assigned to your SA / Contract document type.
    Under "Possible Ref Objects"
    Activate "Ref. to Contract" and also activate the other references for PO creation as per requirement.
    Do not activate "W/o reference"
    SAVE it.
    Then go to SU01, here under "Parameters" Tab Page, maintain this key "01" for Parameter ID EFB and save. This you have to assign to all users, whom you want to restrict.
    Then try to create PO w/o reference, it will give error message. PR will get mandatory for PO creation.
    Regards,
    Ashok

  • Schedule lines with no confirmed qty

    The client needs schedule lines generated with no confirmed quantity please assist if itss possible
    Regards
    Maddy

    Hi,
    you will have to create a project for the enhancement object ATP00001 through CMOD.... You can also explore the possibility of activating the availability check which will also set the confirmed quantity to zero.
    Regards,
    Murali

  • Schedule line with qty 0

    Hi
    When i enter qty as 0 in VA32  transaction , that schedule line disappears from the screen . i want to restrict this . i.e as soon as qty is made 0 then user should be prompted with a error message and control should go the line for reentering the qty.
    I have tried to find out the enhancement spot where this deletion is done , but still could not.
    Please help me with the procedure.

    Hi,
    Goto MD04, here you will find that whatever Goods Movements (inward & outward), based on the input selected at Material
    Master-> Sales: General/Plant Data.
    '02' Individual - Each Sales Order/PO(STO) from Sales. and Production order/PO for material inwards at respective Plant & material.
    '01' Daily - For respective day
    'KP' - It will show you nothing. (confirms quantity without checking any other requirements)
    Thank You,
    RB.

  • A new schedule line with net price zero but custom duty non-zero value

    Hello,
    I have a special requiremnet in MM scheduling agreement, for a specific type of scheduling agreement, I am copying a schedule line to a new schedule line. The new schedule line should have all the pricing and duty values from the old schedule line, except the net price of the new schedule line should be zero.
    I am able to make the net price zero in the new schedule line, but not able to copy the custom duty values from the old schedule line. Since my netprice is zero in the new line, it automatically set all other follwoing duty values also to zero.
    Say example a scheduling agreement: A has two line:
                                                                                    Condition Type           %                    Total Value
    scheduline line 1 -  with pricing values                  PB00                                                  200  USD                                                                               
    Cond1                         5                       10  USD
                                                                                    Cond2                        10                      20  USD
                                                                                    230  USD
    expectedd result i the new schedule line
    scheduline line 2 -                                                  PB00                                                  000  USD                                                                               
    Cond1                         5                       10  USD
                                                                                    Cond2                        10                      20  USD
                                                                                    30  USD
    I am trying to overwrite the condition values using the FM RV_CONDITION_COPY, but  I am not getting the desired result.
    Please let me know if you have any solution to my requirement.
    Best Regards,
    Amarjit Singh

    Hello Colleague;
                                                                                    In Standard the schedule lines cateogory CV is activated for 'Req./Assembly' and 'Availability'.                              
    Please, make this adjust and re-test you process.
    Regards
    Ruy Castro

  • Delete schedule line with BAPI_PO_CHANGE

    Hi. Has anyone ever been able to delete a schedule line from a PO using this BAPI?
    There are several threads about this but none have an answer in that has been marked as solving the problem.
    I have tried every combination I can think of to delete the schedule line but it never works. I often get a message back stating "Purchase Order Changed" but it is not actually changed. I am commiting work, other fields change fine at the same time.
    There is even an example in the function module documentation for this that I have copied, but it still does not work.
    Has anyone actually had this working? I am wondering if it is a bug?
    Regards,
    Dave.

    Hi. I finally got it working last week.
    You do need to set the deletion indicator to L.
    The data I finally got working was:
    POITEM-PO_ITEM = PO item number (eg 00010)
    POITEMX-PO_ITEM = PO item number
    POITEMX-PO_ITEMX = 'X'
    POSCHEDULE-PO_ITEM = PO item number
    POSCHEDULE-SCHED_LINE = schedule line number (eg 0001)
    POSCHEDULE-DELETE_IND = 'L'
    POSCHEDULEX-PO_ITEM = PO item number
    POSCHEDULEX-SCHED_LINE = schedule line number
    POSCHEDULEX-PO_ITEMX = 'X'
    POSCHEDULEX-SCHED_LINEX = 'X'
    POSCHEDULEX-DELETE_IND = 'X'
    Regards,
    Dave.

Maybe you are looking for