Update Contract Schedule lines using BAPI_CUSTOMERCONTRACT_CHANGE

Dear All,
I want to change the schedule line of a Sales Contract using the BAPI, BAPI_CUSTOMERCONTRACT_CHANGE however i do not find any table parameter to do the same as is available in the Quotation & Sales Order change BAPIs.. I checked OSS but did not find any note in this regard.. Kindly let me know if there is any way this can be done apart from using the EXTENSIONIN parameter for this BAPI.
Thanks for your help.
Cheers
Nitesh

Dear Dipak,
Is it possible to update the schedule lines without using the EXTENSIONIN parameter for this BAPI ?? If so kindly let me know.
Cheers
Nitesh

Similar Messages

  • BAPI for VA02 to check availability & update the Schedule lines

    Hi Experts,
    Is there a BAPI which can 'check item availability' & update the Schedule lines for the same order?
    I have checked 'RV_AVAILABILITY_CHECK' 'BAPI_MATERIAL_AVAILABILITY' 'SD_BACKORDER_UPDATE'
    but it is not solving the purpose.
    Kindly give your suggestion for the same.
    Thanks.

    Hi,
    Please let me know if you were able to achieve this functionality. I have a similar requirement wherein I need to check for the material availability and update the schedule lines in the scheduling agreement. I checked the FM SD_BACKORDER_UPDATE, but it doesn't seem to be helpful.
    Regards,
    Dawood

  • Reschedule does not update the schedule line

    Dear All expert,
    After upgrade to ECC6.0, the reschedule does update the schedule lines eventhough it list all the required to be update in the list.
    As I checked , it update the ekpo successfully but does not update the eket.
    Is there any suggestion ?

    Hi,
    On the initial screen of V_V2
    Remove tickmark of SIMULATION, Then it will update schedule lines in sales document
    Kapil

  • Update of schedule line in PO using BADI 'ME_PROCESS_PO_CUST'

    Hi,
    I have a scenario where my PO has one line item with quantity 10 but there is more than one schedule line (05 Nos.) under the tab 'Delivery Schedule'. First 3 lines have same Delivery Date, same Stats. Del. Date & same Committed Date. Next 2 lines have different Delivery Date, different Stats. Del. Date & different Committed Date.
    The requirement is to conver the first three lines into one with same Delivery Date, Stats. Del. Date & Committed Date and the quantity will be summed up in one row.
    Can I use the above mentioned BADI for the same. If yes then how & If no then which other BADI can be useful?
    Thanks

    Hi Vinay,
    Can you please let me know how did you solve this?
    I have a requirement, I need to send delivery date in the output corresponding to the Schedule line after each GR posting of that day.
    I couldn't find any link between EKET and PKPS.
    Please help.
    Thanks
    Lakshmi

  • Change schedule lines using bapi salesorder_change

    Hello,
    I am using 'SD_SALESDOCUMENT_CHANGE' to change sales order. schedule lines are not changed.
    I get an express inbox message saying :
    ===================================================================
    Update was terminated
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    ======================================================================
    I don't know what to do.
    any body solved this problem? what is wrong in the way I wrote it?
    Thanks in advanced ,
    Sara
    I populate schedule lines this way:
          lv_schedule-itm_number = svbap-posnr.
          lv_schedule-sched_line = '0001'.
         lv_schedule-req_qty    = svbap-kwmeng.
          lv_schedule-req_date   = im_vbak-vdatu.
          move im_vbak-vdatu to: lv_schedule-tp_date,
                                 lv_schedule-ms_date,
                                 lv_schedule-load_date,
                                 lv_schedule-gi_date.
          append lv_schedule to et_schedule.
      * schedule lines X
          lv_schedulex-itm_number = svbap-posnr.
          lv_schedulex-sched_line = '0001'.
          lv_schedulex-updateflag = 'U'.
          lv_schedulex-req_qty    = 'X'.
          lv_schedulex-req_date   = 'X'.
          move 'X' to: lv_schedulex-tp_date,
                      lv_schedulex-ms_date,
                      lv_schedulex-load_date,
                      lv_schedulex-gi_date.
          append lv_schedulex to et_schedulex.

    Hi,
    The function I use is the one used in the BAPI CHANGE.
    Online changing the delivery date changes the date in the schedule lines.
    I can't understand why it is not updated.
    Sara

  • Fields update in "Schedule Lines for FRC sched." in a scheduling agreement

    May I know how the following fields in the "Schedule Lines for FRC sched." section in a scheduling agreement are being updated?
    We have already a new inbound delivery with goods receipt (last June 1, 2010) but the following fields still show the previous inbound delivery details:
    For example:
    Date of last del. 08.10.2009
    Last d. note no. 91011
    Last GR 21.10.2009
    Last GR qty. 54.500
    I wish I can show some screenshots here.
    Thanks a lot in advance for your answers.

    Hi Sravan,
    As per my view point, this is standard SAP behaviour. System will generate PR only in case of external operation.
    If you go to OPL8 (Order type dependent parameters) for your respective order type & plant combination you have option of maintaining setting related to PR only and there is no option of using scheduling agreement or generating schedule lines.
    I don't see any possibility to use scheduling agreement using to have schedule lines for external operation.
    Regards,
    Tejas

  • Delivery date not updated in Schedule line

    Hi friends,
    We are trying to update the delivery date of a schedule line in a sale order item through BAPI_SALESDOCUMENT_CHANGE. This goes well for all the cases except when the last sale order item is fully delivered. When the last sale order item is fully delivered, the BAPI is unable to update the delivery date for any of the other schedule line items in the same sale order.
    While debugging standard SAP program SAPMV45A, we found that the XVBUP item always points to the last sale order item (FM: SD_FIELD_INPUT_CHECK) and as this is fully delivered, it says that the order is completely delivered and hence delivery date EDATU cannot be changed.
    Could anyone please help to resolve this issue?
    Thanks,
    Sharmila
    Edited by: Sharmila Subramanian on Mar 17, 2011 8:17 AM

    Use following function  and update  schedule_lines  and    schedule_linesx  table.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument     = p_vbeln
        order_header_in   = s_order_header_in
        order_header_inx  = s_order_header_inx
        behave_when_error = 'P'
      TABLES
        return            = it_return
        order_item_in     = i_order_item_in
        order_item_inx    = i_order_item_inx
        schedule_lines    = i_sched
        schedule_linesx   = i_schedx.

  • FM to Update delivery schedule lines in transaction ME38

    Hi All,
    Please let me know the Function Module to update Schedule agreement, Delivery schedule lines in the transaction ME38.
    Thanks,
    Swamy Mantha

    Hi Swamy,
    Try BAPI_CONTRACT_CHANGE.
    Regards,
    Chester

  • Update Schedule line Delivery date using Bapi_po_Change

    Hi all,
    I am using Bapi_po_change to Update the Schedule line Delivery date(EKET-EINDT) for the PO based on the Item and the Schedule line.
    I am passing the PO number, Po header, Item structure, Schedule line Structure.
    But the Date is not getting updated in the Eket table.
    Please suggest.

    Hi Sukriti,
    Thanks for the Response, yes i have used the Bapi Transaction Commit Also .
    The point is I am able to Update the Statistical Delivery Date in the Same EKET table using BAPI_PO_Change .I have Checked all the Ways to update the EKET-EINDT(Delivery Date)but no Unable to do it.

  • Create a schedule line in sales order using Bapi

    Hi Guys,
    Here the requirement is automating the process of creating the schedule lines using Bapi.
    I am using the bapi BAPI_SALESORDER_CHANGE for the same.
    I could able to create a schedule line but the problem is,its not updating the CONFIRMED QUANTITY and COMMITTED  QUANTITY on
    sales order schedule line tab,its updating ORDER QUANTITY and ROUNDED QUANTITY.
    the structures and tables parameters i have updated are:
    IMPORT PARAMETERS: SALESDOCUMENT,ORDER_HEADER_INX-UPDATEFLAG= 'U'(change sales order).
    TABLES:SCHEDULE_LINES(ITM_NUMBER,REQ_DATE,REQ_QTY,DLV_DATE)
                   SCHEDULE_LINESX(ITM_NUMBER,UPDATEFLAG='I',REQ_DATE,REQ_QTY,DLV_DATE).
    Please help me out if i need to fill up any other parameters or anything am missing out here.
    Would appreciate your help.
    Thanks in Advance
    Ramu

    Dear Ramu ,
    Any solution to this Issue i have the same Requirement and faceing the very same problem.
    Thanks in advance for reply .
    Thanks alot.
    regards
    Prashant Singh

  • Schedule line wrongly updated in SO

    Hi expert,
    When updating AB confirmation line in PO it updates an corresponding Schedule line in SO after calculating GR processing time.In my scenario user done confirmation first for full quantity and then split the  quantity into two confirmations. Then processing the first confirmation upto billing and then again split the quantity in Second confirmation. Please guide me to solve this issue.
    Eg:
    1) AB Confirmation in PO
    Delivery date     Quantity        Quantity reduced
    23.01.2012       50000              0
    Schedule line in SO
                             order qty   Rounded qty    Confirmed qty        Delivered qty           
    25.01.2012     0                  0                       50000                    0
    2)  Split the quantity in AB confirmation
    Delivery date     Quantity        Quantity reduced
    23.01.2012         25000            0
    25.01.2012         25000             0
      Schedule line in SO
                             order qty   Rounded qty    Confirmed qty        Delivered qty
    25.01.2012      0                    0                   25000                      0
    26.01.2012      0                    0                   25000                      0
    3) Processing the first confirmation line upto billing then it updates the schedule line like this
    Delivery date     Quantity        Quantity reduced
    23.01.2012         25000            25000
    25.01.2012         25000             0
      Schedule line in SO
                             order qty   Rounded qty    Confirmed qty        Delivered qty
    25.01.2012      0                    0                   25000                     25000
    26.01.2012      0                    0                   25000                      0
    4) Now user again split the quantity for second confirmation in PO
    Delivery date     Quantity        Quantity reduced
    23.01.2012         25000            25000
    25.01.2012          10000            0
    During updation Schedule line in SO the result like this
      Schedule line in SO
                             order qty   Rounded qty    Confirmed qty        Delivered qty
    25.01.2012      0                    0                   35000                     25000
    Its gets updated in already processed schedule line without calculating GR processing time.I debug the process and find out that two schedule line gets deleted and then restoring into XVBEP. Actual result will be
                             order qty   Rounded qty    Confirmed qty        Delivered qty
    25.01.2012      0                    0                   25000                     25000
    26.01.2012       0                    0                    10000

    Ganesh,
    There is no fixed relationship between a MTO Production order and a Sales order schedule line.  The link is only 'logical' (eg, "this production order probably will support this schedule line").  What you see in MD04 is reevaluated and re-calculated every time you re-execute MD04.
    MTO Production orders are only relevant to a  Sales Doc item and not the sales doc item schedule.
    Best Regards,
    DB49

  • Schedule lines are not in sink for PO

    Hello Everyone,
    We are using ECS.
    So we create PO in SRM with some schedule lines and transfer it to the ECC system.
    But sometimes the schedule lines are not in sink on both the sides because buyer update the schedule lines on SRM side.
    So we need to check that is schedule lines in SRM and Basic quantity in SRM are same or not?
    So is there any OSS note to check this?
    Regards,
    Khushbu.

    Hi,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.

  • Schedule line date change in VA01/VA02

    Hi,
    My requirement is to update the schedule line date taking the lead time from purchasing info record.
    As per SAP standard it takes the factory days into consideration while generating the confirmed delivery date.
    But we have to update the date taking the working days into conideration.
    The material has multiple vendors.
    The actual vendor proposed by the sstem and the corresponding info record details are not available at the time of saving the sales order.
    I am populating this details from exit EXIT_SAPLMEQR_001 inside FM ME_SEARCH_SOURCE_OF_SUPPLY which is triggered before creating the purchase requisition.
    USEREXIT_MOVE_FIELD_TO_VBEP cannot be used because this is triggered at the very early stage before the FM is triggered.
    Can some one please guide me who has worked on the similar situation to solve this problem.
    Many Thanks.
    Regards,
    Babul.

    Use the form routine "USEREXIT_SAVE_DOCUMENT_PREPARE" in 'MV45AFZZ".  Modify the field "edatu" in strucutre "xvbep"
    Regards
    Vinod

  • How to Change Schedule line Quantity in BADI 'ORDER_SAVE'

    Hi,
    I need to change the Schedule line quantity While Order saving. I am writing the code in ORDER_SAVE BADI. Using the Header guid i am reading the details and changing the quantity in Schedule line structure. How can i pass those values in to Memory so that order quantity will change. I try to Use CRM_ORDER_MAINTAIN but not able to change the quantity. Can an

    Hi,
    You need the One Order Function Module - CRM_ORDER_MAINTAIN to update the Schedule line value. So, you need to have a look at all the fields that are necessary to fill using the Tables and Structures. If you have the header guid, then you can probably pass the guid to CRM_ORDER_READ to read the values and then fill in the entries necessary to make the changes.
    You can also debug the order code to get a feel of the necessary changes.
    Hope this helps.
    Thanks,
    Samantak.

  • Delivered quantity for each schedule line

    Hi,
    Our scenario is that we have an order for each order's each item we can have multiple schedule lines, when any of the schedule line is delivered the delivered quantity colum is updated, the schedule lines table in VBEP but the thing is it doesnot have the delivered quantity, system calculates it at runtime or may be it is keeping it in some other table.
    I hope some body can help in this regard.
    Thanks
    Khusro Habib

    It is a calculated value, not a value of a table field. Also, it may lead to wrong results if you don't pay attention to this description of the field here under in bold.
    Delivered quantity in sales units
    The quantity from the schedule line that has already
    been delivered.
    Use
    When there is more than one schedule line for an item,
    the system distributes the total delivered quantity for
    the item across the schedule lines according to the
    sequence of their delivery.
    Example
    A sales order item has three schedule lines, each with
    an order quantity of 50 pieces. You make two subsequent
    deliveries: the first for 20 pieces, the second for 60
    pieces. The delivered quantity for the first schedule
    line is 50 pieces, for the second 30 pieces, and for the
    third zero.
    If you delete the first delivery (20 pieces), the
    delivered quantity for this schedule line is still 50
    pieces. However, the system reduces the delivered
    quantity for the second schedule line to 10 pieces.

Maybe you are looking for

  • Back up on iCloud doesn't work...

    I tried several times to back up my iphone, but it doesn't work... the space on iCloud is enough and the back up begins but and it seems to go on well but before the end it stops and says "it's impossible to complete the back up"... why??? thanks

  • Showing content in another region on the same page using url

    Hello Experts, I have a page with two region, say region A and region B. Region B is a sql based report that shows rows of information about a set of files with the first column rendered as an URL for the actual file itself. On clicking this url the

  • No 'Viewer' view in fullscreen only Browser and Split

    I'm not sure if I am doing something stupid here. I installed the 3.1 update and launched Aperture and I have lost the full screen 'Viewer' view. Pressing V toggles between Browser and Split view. All three views are selectable in the non full screen

  • HT204053 my apple id email which is an yahoo address will not allow me to sign in

    I tried to set up an icloud account. The instructions direct me to the login where it ask me for my apple ID which is my yahoo.address.  So how can I set it up if I cant even log in?  Any advice is appreciated. Thanks in advance!

  • Restricting access to vi with password

    I'm trying to modify the VI that was posted here: http://forums.ni.com/t5/LabVIEW/how-to-create-login-and-password-for-my-application/td-p/787166/high... One of the things that I want to do but am having trouble with is when you actually successfully