Error when changing a Scheduling Agreement

Hello experts,
When we change the quantity of an scheduling agreement in VA32 the error Update cancelled apperars. In ST22 there is a DUMP "The ABAP/4 Open SQL array insert results in duplicate database records".
We have already implement the SAP note  1484401 but the error still remains,
Can anybody help me?
Thanks
Laura

hi,
this is an SQL error:
in your case, this comes when already a scheduling agreement is there and system is trying to re enter the same number in data base.
please check with an ABAPER and DEBUGG IT to solve it.
balajia

Similar Messages

  • Error to change the scheduling agreement

    after creating the scheduling agreement, i tried to modify the scheduling agreement that does not have a Delivery Schedule using ME32L.  and I got an Error message FGV004 - "SYST:date 00.00.0000 is not expected".  however, if i updated the delivery schedule, i didn't get the error message when I modified the scheduling agreement.  any suggestion?

    Hi AP,
    the question is the smiliar, but I'm looking for notes in MM area, not FM area. 
    Elaine

  • Error generating release against scheduling agreement  (cause 6) in ME38

    Hello Experts,
    Need your inputs on the the below error getting generated in ME38
    Error generating release against scheduling agreement  (cause 6)
    Message no. 06857
    Diagnosis
    The function module for generating a scheduling agreement release (forecast delivery schedule or JIT delivery schedule) has run up against an error, causing processing to be terminated.
    In this case the cause of the error is 6.
    System Response
    The error may involve one of the following situations:
    1: The nature of the error cannot be specified precisely.
    2: The forecast delivery schedule or the JIT delivery schedule was generated but no message record could be generated.
    3: A document type for which the functions "Generate forecast delivery schedule" or "Generate JIT delivery schedule" are not defined may be involved.
    4: A material for which the function "Generate JIT delivery schedule" is not defined may be involved.
    5: A scheduling agreement that has not yet been released by all persons responsible may be involved.
    6: The factory calendar has not been maintained correctly.
    Procedure
    Error source 1:
    Check whether the vendor and plant shown in the PO actually exist in the system.
    Error source 2:
    Check the Customizing facility for message determination with respect to delivery schedules created under scheduling agreements (print operation '9').
    Error source 3:
    In Customizing, maintain the document types accordingly ( Define document types for scheduling agreement). Then create a new scheduling agreement with a document type for which release documentation is defined.
    Error source 4:
    Maintain the JIT delivery schedule indicator in the material master record.
    Error source 5:
    Have the scheduling agreement released by the person(s) responsible.
    Error source 6:
    If you are using a release creation profile without aggregation, you must maintain the factory calendar for the next 999 days
    Regards,
    Santosh

    Hello Mallinath,
    I referred the note and following are the observarion in the system.
    Step1:Run T-code SE16 (table T001W) to check the calendar ID of the plant.
    -----Referred the Calendor ID
    Step2: Check the JIT/Forecast delivery schedule of release creation profile in customizing. (T-code OLME -> Scheduling Agreement -> Maint. Rel. Creation Profile for Sched. Agmt. w. Rel. Docu.)
    Run T-code SCAL to adjust the period of the calendar ID which checked in STEP 1 according to the JIT/Forecast delivery schedule of the release creation profile which checked in STEP 2.
    (For example, if the JIT/Forecast delivery schedule of the release creation profile is "999" days, then the calendar should be extended for the next 999 days at least)
    ---------In this case factory calendor is valid till 2015 and according to note needs to change the factory calendor till 2018( or for 999 days) ?
    Waiting for your inputs.
    Thanking you,
    Santosh

  • Error in creating a schedule agreement

    hi friends
    i got an error in creating a scheduling agreement
    the error reads- 'zjk5(the output type ) is not defined'
    condition records,port definition,partner profiles everything is fine.
    another error that reads is 'No communication data is set for medium 6ie edi'
    please answer this problem.thanks is advance.

    Hi,
    Check the Output type was created or not for that Scheduling Afreement?
    check the table T685 for that Output type?
    And n the diocument have you configured the Output type with the correct medium (EDI  value 6) and have you assigned the same in NACE tcode?
    check
    reward points if useful
    regards,
    Anji

  • BAPI to change the Scheduling agreement Qty  in ME38

    Hello Sapiens,
    Is there a way by which I could change my scheduling agreement qty to my GR qty in t.code me38 . So that i make my open qty 0.
    this task has to be done to run the MRP.
    Is it possible using BAPI.
    Shanoj

    BAPI for BAPI_SAG_CHANGE

  • Mass-change in scheduling agreement

    Hi Gurus,
    today I wanted to do a mass change in scheduling agreements using transaction MASS.
    Unfortunately, it seems not to be possible to change these agreements with MASS. I found SAP Note # 483303 which tells us that MASS is only able to change documents with VBAK-VBTYP = 'C'.
    The scheduling agreements use VBAK-VBTYP = 'E' or VBAK-VBTYP = 'F'.
    Does anyone have a workaround for this? In the meantime I'll set up a LSMW, this should work fine.
    Thanks
    Ralf

    Yes you are correct, you can't use MASS to update scheduling agreements. As you mentioned, use LSMW or you can try using SCAT/BDC to update the documents.
    Regards,

  • Error generating release against scheduling agreement

    Need help in resolving the below error msg for Scheduling Agreement.
    ERROR message:
    "Error generating release against scheduling agreement  (cause 2)"
    "2: The forecast delivery schedule or the JIT delivery schedule was generated but no message record could be generated."

    Yes.. its solved now...
    problem areas:
    1: delivery date not matching GR date.
        solution: chng delvry date to GR date in ME38 and thn do GR.
    2: Release not hapnd properly incase if u hav used doc typ LPA for JIT/Forcasting.
        solution: in ME84, chk if the indicator for 'create release' is 'green' for ur SA#. In ME38, select the line and click on 'Release" icon. Select ur relevant delivery schudle line and click on JIT release or Forcast Release icon. See if the indicator is 'Green". If not, the issue is wit message output for the perticular delivry date. (use msg typ LPET process for output) MAKE SURE U SAVE THIS CHNG. Chk againg for the Release indicator for delivry line. If green thn.. its done..
    Let me know if it was hlpful... or need clarity

  • Function module for mass changes in Scheduling agreements in 4.7

    Dear All,
    Can any one tell me the function module for mass changes in Scheduling agreements in 4.7
    Regards
    MSR

    closing question

  • Error generating release against Scheduling agreement (Cause 2)

    dear Sap Experts,
    Please advise me that Error generating release against Scheduling agreement (Cause 2)
    As i have already used transaction code OMQP  and click print operation 9 for LPH1 & LPJI A,
    How can i sort this problem.
    Thanks
    mohit

    Hi,
    pls find below thread
    SA delivery schedule release problem
    you have to Maintain condition records for LPJ1 and LPF1 in NACE
    maintain condition record in transaction MN10 for schedule release. And Generally in the condition records will be maintained for LPH1 & LPJ1in MN10.
    Once you maintain that, you can go to ME84 and ME38 release the schedule
    the JIT indicator in MMR for your material.
    Check that and also you can maintain a release creation profile in VMR or ME31L.
    Regards
    Raj.

  • Sap Error generating release against scheduling agreement  (cause 2)

    Hi,
    Please help me on this issue
    Error generating release against scheduling agreement  (cause 2)
    Message no. 06857
    Regards
    Amey

    Hi,
    For EDI you might be missing settings in:
    1) Matrl Mng -> Purchasing -> Messages -> Output control -> Output types -> Define Message Types for Scheduling Agreement Release/Expediter -> Fine-Tuned Control: Forecast Delivery Schedule/Expediter (check one of the outputs for 9 and for A )
    2) WE20  - EDI settings for partner that is a vendor who should receive your release information  DELFOR / DELJIT (if you do not manage other EDI settings then also other WEDI setings should be maintained)
    Best Regards,
    Tomek

  • BAPI Function module to change the schedule agreement

    Hello Experts,
                             Can anyone tell me Bapi function module to change the scheduling agreement,
    my requirement is i will get the new AEDAT(Delivery date in schedule line)
    and WMENG(Quantity)  Every time customer sends me a flat file which has got
    revised schedule delivery date and Quantity. It needs to be updated in my system
    using a BAPI Functional Module.

    Hi Vivek,
    You must use the correct or most appropriate forum, so this thread will be moved from to .
    The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

  • Error in MIGO for Scheduling Agreement

    Dear All,
    I have created a Scheduling agreement in LP document type and saved with Net price.
    When i do the MIGO the error appears as below.
    Transaction cannot be posted due to errors in price determination
    Message no. ME573
    Diagnosis
    The error marked with 'X' occurred during the price determination process for purchasing document 5500000087 00010:
    [X] Net price is 0.
    [ ] Net price is negative.
    and/or there are no valid conditions or the duration of the
    contract has ended.
    [ ] Effective value is negative.
    [ ] Mandatory condition missing.
    [ ] Negative delivery costs.
    [ ] Delivery costs have been recorded although invoice
    receipts are not defined for the item.
    [ ] Error during quantity conversion
    [ ] Error during currency translation
    [ ] Field overflow
    [ ] A condition involving delivery costs exists without a
    transaction/event key.
    [ ]Error during maint. of delivery costs in master conditions
                  Delivery cost conditions in different validity  periods not identical
    System Response
    The transaction cannot be posted without successful price determination.
    Procedure
    Check the purchasing document and the associated conditions:
    Display purchase order
    Display scheduling agreement
    If the problem cannot be resolved in this way, contact your system administrator.
    The latter can check the Customizing settings for price determination in Purchasing under Conditions -> Define Price Determination Process
    When the foregoing steps have been carried out, try posting the transaction again.
    Kindly advice how to avoid this error.
    Regards

    Hi
    What type of document type are you using for Scheduling agreement? I think you are using time dependent conditions. (see it in document type definition config). If the tick mark is done for time dependent condition then in additional data of scheduling agreement line item pr.date category will be 5-GR date. So Your validity period for condition is not valid for today thats why you are getting error. You need to change validity period for your conditions. Then you will not get error.
    Regards
    Antony

  • Tracking the changes in Scheduling agreement delivery schedule

    With Scheduling agreements, when goods receipt is done at receiving, system will validate against the Scheduled qty and delivery dates. If there is excess qty received, they need to either change the qty or the date to receive the same.
    Now current process at one customer is the vendor evaluation is done based on his ability to send exact required qty on precise date. So if the required qty is shipped / received on the scheduled date, vendor gets 1 point, if not vendor gets zero points. So both qty & date have to be correct for vendor to get 1 point, if either is wrong he gets a zero point.
    Now in our SA scenario, we are saying that in case goods are received in excess or if goods are received a day earlier, in order to perform the goods receipt, change the qty/date in SA. If this qty/date is changed to receive the goods, how can we later go into system and see whether supplier shipped as per expected qty & date?
    My understanding is we can keep track of date change, by using Statistical date in delivery schedule, but how can we keep track of qty change ?
    Thanks
    Dinesh

    Hi dinesh
    I dont know exactly this helps you or not but pl try this to track the changes of your SA.
    1.Go in ME2m.
    2.Enter material,plant,po.
    3.In scope of list enter "RAHM"
    4.Then press "Choose" tab
    5.Only select SA.
    6.Execute.
    7.Select SA and press"changes":
    I think this will show you all changes made for your SA.
    regards
    ravi

  • Change in Scheduling Agreement

    Hi Experts
    Scheduling agreement is released through release indicator 1(No change possible) and also outputted. Now user wants to cancel the release but its throwing error as: "Document already outputted".
    Is there any wayout to cancell / change/release the SA. User does not want to keep the SA open in sys for long.
    Many thanks in Advance
    Basab

    Hello Basab,
      Even we had encountered the similar issue, for your kind information.
    1)Once the PO is ouputted, then the NAST table will be updated with processing status = 1. Once this entry comes in NAST table, then as a standard SAP feature, one cannot unrelease the PO/SA.
    2)Release(Changeability) indicator 1, is a different concept altogether. Here we cannot change any PO/SA doc without unreleasing the same if Changeability indicator is 1
    3)Even though changing the table entry is not recommended, here in this case, that is the only option which can be seen. That is, value in processing status field has to be changed from 1 to 0 in NAST table(i.e changing the table entry). This is the only way out, even though changing the table entries are not recommended).
    4)Changing this entry in NAST table, will not be having any other impact,for your kind information. After changing the table entry, it will definitely allow you to unrelease SA.
    Regards
    Mahesh

  • Net price could not be changed in Scheduling agreement

    Hi Gurus,
       It has been observed that from last few days we are not able to change the Net Price in the scheduling agreement.
    When we analysed the issue it was observed that system is fetching the condition type PB00.
    Earlier system was fetching the standard pricing procedure and the gross price condition fetched was PBXX. In this case the net price field is editable.
    There is no change in vendor schema group.
    Can anybody throw some light on this as what would have happened.
    Regards,
    Rajesh Satope

    It seems earlier for the line item the conditions was not maintained ,Due to this you are able to maintain the price for condition PBXX.
    Now PB00 condition is automatically comming means ,there should be some info record or contract is maintained for the sku.So system is picking the price from any one of master data.Check in conditions from there you will come to know from where is system is picking the price.Change the price in master data then it will pick changed price.

Maybe you are looking for

  • Superdrive no longer recognizes optical disks after upgrade to 10.5.5

    It was handing down my 2007 MacBook Pro 2.2 gHz with a Superdrive fully functional running 10.5.4 with all the security updates. We booted of the Leopard install DVD and did a clean install. Then allowed Software Update to install 10.5.5 as well as a

  • Shipping point and delivery creation date

    Hi : im selecting sales orders , items and schedule line from a custom table based on plant, shipping point and delivery creation date.  Is there any relation between Schedule lines and delivery creation date. For delivery creation date d_date = SY-D

  • Creating a transparent GIF in Photoshop CS4

    I am new to Photoshop CS4 and I'm finding it a bit of a 'challenge'. I would like to create a transparent GIF of my signature, so that I can put it into various documents. My signature is on a white background and is written using a blue ball point p

  • Gdm-20e20 monitor on sparcstation 20 and ultra2

    Hi. I'm using a Sun (sony) gdm-20e20 on a sparcstation 20 and ultra2. On both the monitor and server turns on, the orange led on the monitor flashes for a bit and then the green led turns on but nothing comes up on the screen. Does the same thing on

  • Can't keep desktop picture

    I have loaded a new background picture from iPhoto for a background. Each time I reboot the picture is not there and is replaced by a galaxy picture. How do I reset things?