How to create correction delivery in schedule agreement

Hi all -
I am loading legacy data into SAP and am creating schedule agreements.  I create the agreement using SD_SALESDOCUMENT_CREATE, then COMMIT, then update the schedule lines using BAPI_SALES_DEL_SCHEDULE_CREATE also followed by a COMMIT. This works, and creates the schedule agreement with schedule lines.
At this same time, or even in another BAPI or function call if need be, I need to create a CORRECTION DELIVERY for this schedule agreement.  I am populating the CORR_***_QTY_IN and CORR_***_QTY_INX in BAPI_SALES_DEL_SCHEDULE_CREATE  with values in every field, and the return tells me 'CORR_CUMQTY_IN has been processed successfully', but when I look at the schedule agreement in VA32, there is no ***. issued qty or ***. delv qty, and no correction delivery has been created.
What am I missing??
Thanks so much...
Sharon

Hi Shyam -
I am calling the BAPI_TRANSACTION_COMMIT function right after the BAPI_SALES_DEL_SCHEDULE_CREATE function.  When I call that create function, I am adding schedule lines, so my return table has all of the other successful messages you would expect -
ORDER_HEADER_IN has been processed successfully
CORR_CUMQTY_IN has been processed successfully
DEL_SCHEDULE_IN has been processed successfully
SCHEDULE_IN has been processed successfully
Sched. Agr. w/ Rel. 1030000058 has been saved.
It even says the corrective *** qty was successful....but when I open the schedule agreement, and go to the Forecast Delivery Schedule tab on the line item, the Cml. iss. qty and Cml. dlv. qty fields are blank, and there are no deliveries associated with the order.
Do I have to use a seperate BAPI to create the correction delivery?  I've looked at BAPI_OUTB_DELIVERY_CREATE_SLS, but I don't see how to specify that this is a correction delivery and not a 'regular' delivery.
Thanks,
Sharon

Similar Messages

  • Unable to create Correction Delivery for Sales Agreement

    We are having the issue of not being able to create correction deliveries for ceartain Scheduling Agreements.  I enter in a valid scheduling agreement number into transaction VA32, click the "JIT DlSch" button, click "Corr. Delivery" button and then enter in a date and quantity.
    After I hit "Save" button, I am taken back to the initial VA32 screen and see the following message...
    Sched. Agr. w/ Rel. ####### has been saved (no delivery created)
    Message no. V1261
    Does anybody have any insight to why this is happening?  Thanks in advance.
    Mike

    Hi,
    What is the Correction Delivery Type that you used? Please check in the definition of Sales Document VOV8 (Scheduling Agreement) in 'Corr. delivery type' field under 'Scheduling Agreement' section.
    And also, please refere to the links below. These may provide you with some additional information:
    http://help.sap.com/saphelp_45b/helpdata/en/4b/3f4486a38a11d194e900a0c9306794/content.htm
    http://help.sap.com/saphelp_46b/helpdata/en/35/b0e85787a62488e10000009b38f9b7/content.htm
    Regards,
    Raja

  • Unable to create single delivery through scheduling agreement - MM37

    Dear All,
    In our scenario, we are creating scheduling agreement with tcode - ME37 for multiple material and for each material we create multiple delivery creation date schedule with past date (ME38).
    Then we create delivery with VL10D, we put scheduling agreement number in purchase order tab - purchase order field & Execute.
    It creates multiple deliveries but we want to have single delivery.
    We implemented SAP note - 377501 , but is is still not working.
    Kindly advice,
    Regards,
    Bhushan.

    Dear Lakshmipathi,
    Thanks for your reply.
    Yes, I searched the forum & got list of reasons for delivery split but wasn't able to identify exact reason.
    But first I want to confirm,
    1. Whether is it correct process to create delivery through VL10D for scheduling agreement (ME37) ?
    2. Also to overcome delivery split, we implemented SAP note - 377501 but did not worked.
    Therefore I am thinking to implement SAP Note -  386340, Kindly advice.
    Regards,
    Bhushan.

  • MRP  supplier consignment create delivery for  Scheduling Agreement

    Hello,
    We have a situation where MRP is used to calculate for a material which is subject to supplier consignment and also to scheduling agreement. When we run the MRP generates purchase requisitions for the consignment material , but it does not find the scheduling agreement for the material. We expected that it would create deliveries for the scheduling agreement.
    The question is, is it possible to obtain deliveries from the MRP for the scheduling agreement?
    Thanks a lot
    Ignasi

    Yes, it seems the problem was in Quota Arrangements which was not  well defined for consignment material.
    Thanks.

  • Inbound Delivery For Scheduling Agreement Lines using LSMW

    Hi,
    We need to create inbound deliveries for scheduling agreements. Our scheduling Agreements are too big with 200 lines. But the vendor used to send only few discrete lines in his ASN. Is it possible to create inbound deliveries for the Scheduling agreement using LSMW? Is there any standard BAPI or IDOC available to handle this in LSMW? Has anyone done this before?
    Our requirement is as follows.
    1. Create Inbound Delivery for few lines of the Scheduling Agreement
    2. The delivery quantity of the inbound delivery will be a partial quantity of the Scheduling Agreement
    3. Materials are batch managed and the batch number for each inbound delivery item need to be captured.
    4. Vendor's ASN Number and its item number need to be captured at inbound delivery header and item level respectively.
    Note: Delivery Schedule of the Scheduling Agreement is not used in the above scenario.
    If you have any input, it will be really appreciated.
    Regards,
    SP0526

    Hi,
    You can give your scheduling agreement number in the field Purchase Order.
    If you want select from the list, you can click on PO tree (just under create inbound delivery). There selet document category as "L". You will get the scheduling agreement list.
    Regards,
    Prabu

  • How to create inbound delivery for items with no confirmation control key.

    hi Please help me with this..
    are there any user exits to create an inbound delivery for scheduling agreement items with no confirmation control key.
    my req is
    i have 12 items (me33 transaction) of them three have confirmation control key populated and out of those three 2 will be deleted so only one item is left for inbound delivery creation, but i need to have all this possible for all items with or without confirmation control key.
    thank you

    hi
    for inbound delivery there is BAdi called LE_SHP_DELIVERY_PROC... in there is method called ITEM_DELETION... in this u can flag the item to delete or not..
    this will be triggered for inbound as well as oubound delivery..
    you can check confirmation status for the PO in the table EKES... in this table there is filed called EBTYP.. using this field u can check the PO item confirmation status..
    I hope above information is helpuful for u

  • How to block large number of scheduling agreements?

    How to block large number of scheduling agreements (Purchasing doc type 'LPA') ?

    Hi
    You can use T.code MASS and choose scheduling agreement and you see field LOEKZ there (deletion indicator) You can mark it for deletion and it can be undelete if you want in future.
    If you want to block it with source list, you need to do LSMW or BDC for ME01 and for your agreement block it in a validity period for a plant
    Regards
    Antony

  • BAPI Create delivery from scheduling agreement

    Hello,
    Does anyone have code to create a delivery referencing a scheduling agreement?  
    Thanks,
    Evan

    I dont think there is a BAPI to create delivery from the schedule lines .
    You can get the details of schedule lines from the VBEP  table and use the FM BAPI_OUTB_DELIVERY_CREATE_SLS.
    This becomes very cumbersome in case there are partial deliveries per schedule line.

  • Correct usage of Scheduling Agreements?

    Hi Experts!
    One of my groups is using scheduling agreements, however I do not think they are using it the way SAP had intended. 
    Example:  They use Scheduling agreements, similar to a blanket order.  However, the blanket order quantity is fluid and the order can remain open even when the initial quantity has been fulfilled.  These Scheduling Agreements will contain many items, sometimes around 30-40 line items.
    The staff basically conducts two activities for these customers:  enter new scheduling agreements with updated validity dates and expedite releases with a less than two week time frame.  These expedites are communicated by the customer via email. 
    The customers submit a 16 week forecast via EDI as well as a firm 2 week JIT.  Most scheduling agreement activity occurs systematically, although there are daily expedites for each customer for a few parts.
    Initially, when entering a scheduling agreement, the staff does not indicate the JIT schedule.  However, they do enter into the Forecast delivery schedule, basically just to activate and allow communication from customer.
    My concern is should scheduling agreements contain that many items?
    Also, the staff makes many changes in the scheduling agreements and when it reaches the time when the period for the scheduling agreement, what ever material they did not get to ship, they ship it to the customer in one bulk.  Are you suppose to do that with scheduling agreements?
    In addition, sometimes the staff allocates some of the materials promised to the customer on the scheduling agreements to another customer, then just re-allocates it back at a later time...should this be done or is it bad business practice?
    What are good business practices for usage of Scheduling Agreements?  Any information will be greatly appreciated.  Thank you for your time in advance!
    WC

    My concern is should scheduling agreements contain that many items?
    Also, the staff makes many changes in the scheduling agreements and when it reaches the time when the period for the scheduling agreement, what ever material they did not get to ship, they ship it to the customer in one bulk. Are you suppose to do that with scheduling agreements?
    <b>you should not do that the reason is SA is use full for the JIT and promise to deliver things</b>
    In addition, sometimes the staff allocates some of the materials promised to the customer on the scheduling agreements to another customer, then just re-allocates it back at a later time...should this be done or is it bad business practice?
    <b>It's depent on the company bussiness policy - not rgiht process but if bussiness want to do then what else you can do?</b>
    What are good business practices for usage of Scheduling Agreements? Any information will be greatly appreciated. Thank you for your time in advance!
    <b>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 following graphic shows the document flow for scheduling agreements.
    The same functions are at your disposal for processing scheduling agreements as there are for the sales order, including pricing and availability checks.
    In addition to the standard scheduling agreements you can also manage scheduling agreements for the component supplier industry, with their special features that include:
    Working with scheduling agreements with EDI output
    Entering scheduling agreements in a forecast or just-in-time (JIT) delivery schedule
    Using different types of cumulative quantities
    Taking into account the automatic fiscal year change used by the component supplier
    Managing engineering change statuses
    Storing packing proposals
    Creating correction deliveries for the scheduling agreement
    Working with external service agents</b>

  • Create correction delivery

    Hi,
    I need help at creating a correction delivery.
    To create a correction delivery manually go to transaction VA32, select a scheduling agreement and go to the forecast delivery schedule view. Here you can press the button "Corr. delivery". Enter a date and an amount and submit. After saving the scheduling agreement the correction delivery can be found in the document flow.
    This process (create a correction delivery) I want to do automatically. Do you know a BAPI or something else for this process?
    I try different function modules for creating an outbound delivery without success. Also it is not possible to create a correction delivery (type LFKO) manually in transaction VL01N.
    Thanks
    Andrea

    Hi,
    thanks for your reply.
    The WS_DELIVERY_* function modules have no input parameter to change the cumulative delivered quantity or to create a correction delivery with reference to the scheduling agreement.
    The function modul BAPI_OUTB_DELIVERY_CREATENOREF I canu2019t use because I need the reference to the scheduling agreement.
    When I try function module BAPI_OUTB_DELIVERY_CREATE_SLS I get the error
    E V50R                 051 Fehlende Daten in der BAPI-Schnittstelle: VBAK VBTYP E (Missing date in BAPI interface)
    because the type of the scheduling agreement (E) is checked. This function is not allowed for type E and F.
    (Standard Code u2013 Program SAPLV50R_CREA Form DCS_CHECK_SO_VS_INTERFACE Line 72+)
    * any order types which are not allowed? -------------------------
      loop at ix_sd_orders-vbak assigning <ls_vbak>
                                where vbtyp ca 'EF'.
        clear ls_mess.
        ls_mess-msgid = 'V50R'.
        ls_mess-msgno = '051'.
        ls_mess-msgty = 'E'.
        ls_mess-msgv1 = 'VBAK'.
        ls_mess-msgv2 = 'VBTYP'.
        ls_mess-msgv3 = <ls_vbak>-vbtyp.
        append ls_mess to ct_mess.
        if 1 = 2. message e051(v50r) with space space space space. endif.
        cf_subrc = 1.
        exit.
      endloop.
    Any other ideas?
    Thanks!

  • Outbound delivery and schedule agreement

    Hi,Gurus.
    I face a problem.
    we have lots of schedule agreement in SD and we create outbound delivery as per SA.
    We have a lot of materials to delivery to  a same customer and we have to create  an outbound delivery  for some SA which they had same devliery date.
    Which should I do?could you give me some suggestions.
    thank you in advance

    Hello,
    With reference to sales order  :::
    Schedule lines are the details in which SAP stores information about how much quantity will be delivered to customer from the complete order quantity & by what date it will be delivered.
    Line item is one material entry from a sales order which contains order from customer for various materials & clubbed together in one order.
    For more info  plase check following link :
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fb20545a11d1a7020000e829fd11/content.htm
    Hope this helps.
    Thanks..
    Mark points if helpful

  • Problem in Delivery of Scheduling Agreement

    Dear Senior's,
    ->I have created a scheduling agreement for material XYZ of 100 Boxes
    Settings for forecast delivery schedule are
    Date              Time    Order Qty   SLT  CML released qty  Open qty  Confirmed qty   Delivery Block   Bomexp    SL Category
    17.12.2009 ;  00:00    10              1         10                        10                 10                      -                          -                 CN   
    20.12.2009 ;  00:00    25              1         35                        25                 25                      -                          -                 CN
    25.12.2009 ;  00:00    20              1         55                        20                 20                      -                          -                 CN
    02.01.2010 ;  00:00    15              1         15                        15                 15                      -                          -                 CN
    07.01.2010 ;  00:00    30              1         45                        30                 30                      -                          -                 CN
    JIT Delivery Schedule
    No entries
    Planning Delivery Schedule
    Date              Time    Order Qty   SLT  CML released qty  Open qty  Confirmed qty   Delivery Block   Bomexp    SL Category
    17.12.2009    00:00    10              1         10                                             10                      -                          -                 BP   
    20.12.2009    00:00    25              1         35                                             25                      -                          -                 BP
    25.12.2009    00:00    20              1         55                                             20                      -                          -                 BP
    02.01.2010    00:00    15              1         15                                             15                      -                          -                 BP
    07.01.2010    00:00    30              1         45                                             30                      -                          -                 BP
    Now whenever I create a delivery for date 17.12.2009 with reference to Sch. agreement, delivery had selected directly 100 boxes instead of 10 and it shows an error in notes Schedule lines were rejected due to differing delivery date/time
    I've done settings in delivery type for referencing sales order(i.e. scheduling agreement) with default order type.
    Kindly solve my problem as I have been stucked here from last 3 days.
    Regards,
    Anand Malu
    Jr. SAP SD Consultant
    Edited by: genius_anand on Dec 14, 2009 7:08 AM

    Problem in posting this thread
    trying to post it again

  • Over Delivery on Scheduling agreement affect next GR in MIGO

    hi sir/madam,
    i have tried the following scenario with problem:
    Day 1, MRP generate SchLine for Mat# A, Qty 5 pcs
    vendor delivered 7 pcs instead, so i MIGO it with 7 PCS
    Day 2, MRP generate SchLine with 2 pcs
    i go to MIGO, system prompted "there is no selectable item".
    then i try to change the qty in SchLine from 2 to 3 pcs
    in MIGO, it gives me open Qty is 1 pcs.
    i suspect the system reduce the qty in MIGO against the cumulative qty in SchAgreement.
    is that standard SAP? if that is the case, i can't receive over delivery from vendor as it will affect the next good receive. hope anyone can give me some idea. thanks!
    Matthew

    Hi,
    I hate saying this, but unfortunately that is the way that it works in SAP.
    Even though you are creating schedules for specific dates, the system just sees the whole scheduled qty regardless of dates and every over delivery is assumed to be a delivery from a later schedule happening early.
    I have always tried to avoid scheduling agreements wherever possible, because of this and other "features".
    The solution is to consider using Contracts instead, if you can. At least with a contract you have an individual PO call-off that can specifically control what happens for that individual delivery.
    If you cannot change to using contracts (I would be interested to here the reason why you cannot change) then  you are stuck with this "feature".
    Also check that you have no, or very low delivery tolerances. You seemed to indicate that the 7 were received BEFORE the later schedule had been added. this would indicate that you have a delivery tolerance and that allowed the 7 to be posted instead of the 5. But if you wanted to have this tolerance you are still going to find that it assumes that it is just an early delivery of a future schedule.
    Sorry
    Steve b

  • Unable to create Goods Receipt for Scheduling agreement

    Hi,
    I am have setup Scheduling agreement. When i try to create the Goods receipt on MIGO by entering the agreement #, I get an error : Purchase Order not yet released.
    Please help, I couldn't find similar issue reported on this forum.
    Thanks
    Ramya

    Release SA by T-code ME35L , If it's PO Release by ME29N

  • How to create outbound delivery

    Hi gurus,
    How to create oubound deliver what are the prerequsite for it?,
    plz give me step-by-step procedure
    with regards,
    Thambe

    Hello,
    Your question is very general and a book can be written explaining the same. Please be more specific so ur question gets answered in an apt way.
    Outbound delivery can be created from the transaction code VL01N. It is always created against the shipping point(Place where all the shipping activities happen).
    Delivery has three process
    Picking, Packing, Post Goods Issue.
    U pick the goods, pack them and send them out of the factory premises(i.e., PGI).
    You can either create a delivery in reference to an order or with a sales order. 99 percent of the times, its against the sales order.
    When you create the delivery against the sales order, it picks all those line items which have same shipping point, Delivery Due date(calculated using availablity check), same incoterms, same route etc.
    Ask if u require any more information...
    rgds,
    Pavan P.

Maybe you are looking for

  • Disabling 802.11 b clients on a 5508 WLC version 7.0.116.0

    Hi, We have a rquirment to disable WLAN access to B clients. I believe the best way to do this is to change data rates in - Wireless >802.11b/g/n > network > Data Rates diable 1,2,5.5 and 11. Mandatory 6 Supported 9,12,18,24,36,48,54 A suggestion mad

  • Import/Export Legal Regulation Control w/ One Legal Regulation

    Hi, In a separate thread, Dhillipan helped me configure a legal regulation using Country/Country Group (config activity: Activate Legal Regulations at Country/Country Group Level) which was very helpful to restrict Sales Orders / Deliveries from a sp

  • I accidentally erased iOS from iphone 3gs. How to reinstall iOS onto the phone

    While trying to erase info on my iphone 3gs, I accidentally erased even the iOS. How to reinstall the iOS ?

  • Administrator (Configuration Wizard)??

    Hello all, I was doing the BI configuration wizard step and came to an error in the task. This error came with a link, that I assume went to some configuration portion that was concerned with whatever that step was trying to do. After clicking on the

  • MacBook ne démarre pas

    Mon MacBook (13-inch - Late 2007) ne s'allume plus.  J'ai fais toutes les vérifications indiquées sur le présent site et appliqué les diverses formules de démarrage mais mon MacBook reste mort ! Ce pourrait-il être la PRAM battery ou autre chose ?