While trying to change a BOM with transaction CS02, a runtime error appears

While trying to change a BOM with transaction CS02, a runtime error appears.
In intial screen he entered material ,plant BOM usage and date valid from  after executed then id displayed item list in that he wantu2019s delete one item, he has been deleted selected item after that when he was saving he is getting runtime error
Developer trace
ABAP Program SAPLKED1_WRITE_CE4_BPS1                 .
Source LKED1_WRITE_CE4_BPS1U01                  Line 30.
Error Code SAPSQL_ARRAY_INSERT_DUPREC.
Module  $Id: //bas/640_REL/src/krn/runt/absapsql.c#17 $ SAP.
Function HandleRsqlErrors Line 775.
RABAX: level LEV_RX_STDERR completed.
RABAX: level LEV_RX_RFC_ERROR entered.
RABAX: level LEV_RX_RFC_ERROR completed.
RABAX: level LEV_RX_RFC_CLOSE entered.
RABAX: level LEV_RX_RFC_CLOSE completed.
RABAX: level LEV_RX_IMC_ERROR entered.
RABAX: level LEV_RX_IMC_ERROR completed.
RABAX: level LEV_RX_DATASET_CLOSE entered.
RABAX: level LEV_RX_DATASET_CLOSE completed.
RABAX: level LEV_RX_RESET_SHMLOCKS entered.
RABAX: level LEV_RX_RESET_SHMLOCKS completed.
RABAX: level LEV_RX_ERROR_SAVE entered.
RABAX: level LEV_RX_ERROR_SAVE completed.
RABAX: level LEV_RX_ERROR_TPDA entered.
RABAX: level LEV_RX_ERROR_TPDA completed.
RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
RABAX: level LEV_RX_END entered.
RABAX: level LEV_RX_END completed.
RABAX: end RX_RFC
In sm21
Perform rollback
Run-time error "SAPSQL_ARRAY_INSERT_DUPREC" occurred
     Short dump "090618 110101 donalda 11557 " generated
Runtime Error          SAPSQL_ARRAY_INSERT_DUPREC
Exception              CX_SY_OPEN_SQL_DB
       Occurred on     18.06.2009 at   11:01:01
The ABAP/4 Open SQL array insert results in duplicate database records.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLKED1_WRITE_CE4_BPS1" had to be terminated because
one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure
"RKE_WRITE_CE4__BPS1" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
How to correct the error
The exception must either be prevented, caught within the procedure
"RKE_WRITE_CE4__BPS1"
"(FUNCTION)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
Use an ABAP/4 Open SQL array insert only if you are sure that none of
the records passed already exists in the database.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
"SAPLKED1_WRITE_CE4_BPS1" or "LKED1_WRITE_CE4_BPS1U01"
"RKE_WRITE_CE4__BPS1"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
   To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
   To obtain this, call the system log with Transaction SM21
   and select the "Print" function to print out the relevant
   part.
3. If the programs are your own programs or modified SAP programs,
   supply the source code.
   To do this, you can either use the "PRINT" command in the editor or
   print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
   or which actions and input led to the error.

Hi ,
you are getting beacuse u are trying to do mass update to database.
Please check that below note are applicable to your system.
Note 453313 - DBIF_RSQL_ERROR_INTERNAL for mass insert
Note 869534 - AFS MRP doesn't work properly with all BOM item categories
Thanks Rishi Abrol

Similar Messages

  • Error while trying to Change an Infosource

    I get the following error while trying to change an Infosource. I am not able to get to the change screen and it displays the following message 'Infoobject MPVPOPR not available in the Active Version'.
    I did the following to try and debug the issue...but with no luck..
    1) I checked for the Infoobject MPVPOPR and did not find it anywhere (Metadata, Transport Connection, Infobjects)
    2) I am able to load the data using an infopackage into the ODS.
    3) Communication structure and all is Active...
    I just cannot get to the Change Screen for this Infosource and it displays the error 'Inobject MPVPOPR not available in the Active Version'.
    Please provide any Suggestions
    Thanks and Regards
    Andy

    Andy,
    For the confirmation whether your infosource contains MPVPOPR or not.
    Just goto RSA1 >  InfoObjects > search MPVPOPR > double click on found > there is an option "Where used" , just click and check whether your infoobject is present in the infosource or not.
    And let me know for the solution.
    Thanks
    Ramu

  • Why am I receiving an error message while trying to change my phone number?

    So I have been trying to change my phone number for a few days now and every single time I get this error message, before i even start, "The activity you are trying to perform is currently unavailable. Please try again later."  I was hoping to circumvent the 15$  fee of doing it over the phone. Finally, I decided to do an online chat, the associate did not know why the error was occurring but informed me in order to change my number over chat, i would STILL have to pay the 15$ fee. Something struck me as so wrong there, so conveniently the change features and phone number part of the website was not working, however the view/pay your bill part was always working properly, never received any error messages there. I understood it was not the associates fault however. Still that is wrong. If it was not urgent I would wait. Yes I could have tried the number block, that section was not working either, but having to renew which numbers you want blocked every couple of months makes no sense to me, if I want something blocked, i want it blocked permanently not just for 90 days.  Yes I tried call/SMS blocker apps from the app store but they're faulty in that they still give you notifications of when the blocked person/number called/text or do not always block everything all the time. But when it came down to it, even the associate encountered the error message while trying to change my number. So why is this happening. Verizon is expensive but the reception is better however theirs always issues when I need to fix something. Its frustrating

    Verizon was having a problem on their end, perhaps a server down for some repair or updating. However you were already aware that there was an on-going problem in your own posting and you decided to continue on.I can understand you wanting this done and trying to save the $15.00 fee.  However I would have waited a bit longer until the Verizon issue had been corrected. Yes it is frustrating but again you know in advance of a problem , I can understand that this is most upsetting for you but never try to perform any change when a problem is there and I also do not like to do business on a weekend with no live tech support available.  I'm sure this will all work out for you if given some time.  Sorry. 
    So I have been trying to change my phone number for a few days now and every single time I get this error message, before i even start, "The activity you are trying to perform is currently unavailable. Please try again later."     

  • C++ exception in upgraded file while trying to change display to Always On

    I got the unknown exception while trying to change the display from off to always on of an image.

    The patch (EA 2014.1.1) with the fix is live now.
    Regards,
    Vivekuma
    Edge Animate Team

  • While trying to change password getting ora-00600 [4842] - Plz help

    while trying to change password getting ora-00600 [4842] - Plz help
    database : 9.2.0.4
    o/s : Linux

    Hi,
    when getting an ORA-600 you always should contact Oracle support please ;-)
    To diagnose an ORA-600 the stack trace will be necessary - see the trace file mentioned in the alert.log when the ORA-600 did happen.
    But FIRST OF ALL you should definitely apply patch set 9.2.0.8 and see if this error happens again (metalink.oracle.com ==> PATCHES ==> Quick Links ==> <your platform>). Support will ask you to do the same before they start diagnosing anything in this case.
    And please keep in mind that 9.2.0 has reached end of Premier Support more than 1 year ago.
    Kind regards
    Mike

  • HELP! Downloaded LR5 and when open it shows an error message saying error while trying to change from modules and I can not even import photos. Am I doing something wrong?

    HELP! Downloaded LR5 and when open it shows an error message saying error while trying to change from modules and I can not even import photos. Am I doing something wrong?

    I have the same problem, and the solutions in   Error changing modules | Lightroom do not work.  Even uninstalling and reinstalling a new copy did not solve the problem.  As anyone got an idea what other lingering files might be causing the problem?

  • Mass changes of BOM with ECM

    Hi
    I wanted to change into BOM by Cs20 Mass changes into BOM with ECR Number which is created throgh CC31 .
    but system is not allowing me to do the same , pl tell me where is GAP.
    Rgds
    Pankaj Agarwal
    Edited by: Csaba Szommer on Dec 28, 2011 10:43 PM

    Hi Mario
    For ECR i have done the same and even that is Released and also Status with ECO. but still System is showing the same.
    Mario one more thing i have written on SDN pl have a look on Followup material , i have read about your post MRP-MPN.
    we are also having the scenario of alternate Material Within the Bom and also wnat to be correct the Procurement Proposal.
    how it will be helpfull by the MPN-MRP Set function.  i am also searching the same thing into Follow up Material . pl have a look on that.
    yours reply will be highly appericiable...
    Rgds
    Pankaj Agarwal

  • Tried to install iTunes 10.5 this morning but an error appeared saying "problem with windows installer package. A program required for this install to complete could not be run." Can someone please help

    I tried to install iTunes 10.5 this morning but an error appeared saying "problem with windows installer package. A program required for this install to complete could not be run." Can someone please help

    Firstly, are you installing iTunes for the first time or are you updating your current version of iTunes?
    If you're installing iTunes for the first time have you tried redownloading the installer package? Perhaps the file you downloaded originally is corrupted...
    http://www.apple.com/itunes/
    If you've tried that, then try installing iTunes as your computer's administrator. To do this right-click the install package and choose "Run as administrator".
    If you're updating iTunes to the most recent version try repairing the Apple Software Update program on your computer. It's under the add/remove programs.
    1. Open the control panel
    2. Open Add/Remove programs (called "Programs and Features" in Windows 7)
    3. Navigate to "Apple Software Update" in the list and click on it
    4. Click on "Change" then select "Repair" (or just select the repair option in Windows 7)
    Once you repair this, try running iTunes and the update again.
    Fingers crossed!

  • While trying to access  i phone through pc (windows 7 ) showing error 'you do not have permission to access this device '

    while trying to access  i phone through pc (windows 7 ) showing error 'you do not have permission to access this device '
    And while trying  to unlock screen after lock , slide not working 'slide to unlock'

    Hello there, charialji.
    The following Knowledge Base article offers some great steps for troubleshooting your issue:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    Resolution
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • While trying to opening Video link in IE6 browser a white screen appears and the screen hangs.

    Added a video as an internal link to a news article.
    The flash player version we are using is 7.0.0.0. This video opens fine in all the browsers except for IE6 browser.
    While trying to opening this link in IE6 browser a white screen appears and the screen hangs.
    Please find the link below :
    http://www.abnamroprivatebanking.com/global#global/au-news/global/14241
    When we try to open any videos in the above link using IE6 browser white screen appears.
    Could you please provide a solution as what can be done to resolve this issue.

    if you're using an flvplayback component, you need to use fp 8 or better.  or, use the netstream class with fp 7.

  • How to change a connection with the database in Runtime?

    How to change a connection with the database in Runtime?
    My connection was made using ADF Business component (ApplicationModule).
    ADF Swing.
    JDeveloper Studio 11.1.1.4.0.

    When deploying ADF applications with database connection, you should be using JDBC data sources configured in the weblogic server.
    You could change the JDBC data sources to a different DB instance or location - by changing the JDBC data source and restarting the weblogic server.
    For more details, check
    http://techiecook.wordpress.com/2010/12/02/oracle-weblogic-adf-datasources/
    Thanks,
    Navaneeth

  • I must re-install HDD, when tried to install application DVD with iPhoto,there was a error message, could not instal it again, I have LION 10.7.3. How can install application DVD again?

    I must re-install HDD, but when tried to install application DVD with iPhoto,there was a error message, could not instal it again,
    I have LION 10.7.3.
    How can install application DVD again?
    thanks
    Dimitar

    I've asked the hosts to move this post to Lion.
    Here is a better place for you Lion posts.
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion?view=discussi ons
    What is HDD?
    How to install most applications from DVD.
    Place dvd in dvd drive.
    Double click on dvd image if a folder didn't appear.
    Double click on application icon in drive folder.
    follow instructions.
    Robert

  • Making ECR No. Compulsory While Changing Material BOM (T. Code CS02)

    Hi,
    In our business scenario, we want to make ECR No. compulsory while changing BOM using transaction code CS02. Process which we are looking at would be as below.
    1)     Default initial status of BOM will be set as u20182u2019 (Inactive) through customizing.
    2)     ECR No. should not be compulsory for transaction code CS01.
    3)     When BOM creation is completed, status of BOM will be changed to u20181u2019 (Active With History Requirements) by user.
    4)     When user goes to transaction code CS02 for changing BOM,
    a.     If BOM status is u20181u2019 & ECR No. is not entered, system should give error message (Message No. 29045) & should not allow user to go further.
    b.     If BOM status is u20182u2019, system should allow user to change BOM without entering ECR No.
    5)     Once BOM status is set to u20181u2019, system should not allow to change it.
    Please guide me how this process can be achieved.

    Dear Abhijit,
    If my understanding is correct then it seems you want to make change number as mandatory for CS02 alone.
    apart from the configuration settings in OS27,setting the correct value for the authorization object C_STUE_NOH,normally it will be
    made for all the T.Codes CS01/CS02.In your case you want to make it mandatory only for CS02 alone,So check in this way.
    In this case you may have to create 2 different roles,one containing the authorization only for CS01 and for authorization object
    C_STUE_NOH with Yes.
    The other role for CS02 alone for the authorization object C_STUE_NOH with value set for No.
    The same user should not be containing both these roles.(for Roles creation check with your admin consultant).
    check whether this can help you.
    Regards
    Mangalraj.S

  • Error while trying to remove an object with dsrm command

    hello,
    i get an error while trying to delete an object computer with the command line tool, DSRM. i get this view:
    actually, it's a one of hundreds of commands, that help cleaning the active directory of the obsolete objects. it is saying : "Access Denied" (in french, accès refusé). i say that the account used to execute this command, is a member of domain
    admins group, and enterprise admins group too. so i cannot believe it's a mater of some missing rights... :/
    thanks in advance, for your help,
    regards
    Lotfi BOUCHERIT

    Hi,
    I was able to reproduce your issue when using a non-elevated command prompt in a 2008R2 box. So please try to elevate your command prompt and your command will most likely go through.
    In addition to above, I'd suggest you look in to PowerShell instead, which in most cases is more effective.(and doesn't need to run in an elevated prompt to make AD-Changes)
    The same as above could be done with the powershell cmdlet Remove-AdComputer.
    Remove-AdComputer -Identity "Distinguishedname"
    Hope this helps you!
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

  • I give up: Trying to change to app with In App Purchase

    This should be such a simple process and procedure.
    I have an app priced at .99 in iTunes.
    I have been trying to change it to a free download, first 7 pages of app free preview, with an In App Purchase of .99 to view the rest of the app.
    Have followed all these instructions to the letter:
    http://www.adobe.com/devnet/digitalpublishingsuite/articles/free-article-preview.html
    iTunes rejects the IAP because they don't see the IAP after the 7th page.
    I have the first 7 pages of the app set as Free in the folio producer and the rest are marked as Protected. I update the folio with the status Public and Free.
    I assume the problem is that I have the app priced at .99 still in iTunes, but if I change it to free while waiting for Apple's approval it generates hundreds of downloads a day and I end up having to purchase another folio bundle. Not exactly ideal.
    I have gone through weeks of this with iTunes/Apple trying to get the IAP approved. It should be such a simple process/procedure but at this point I'm ready to give up and let my folio count run out and my Professional subscription expire.
    Unless anyone has experience with this problem and can offer some specific advice/solutions?
    Thanks!

    Thanks Bob
    Apologies for the confusion on terminology.
    The app is currently priced at .99
    Problem is, if I set it to free while I wait for Apple to approve the IAP, which has taken a minimum of 7 days the last three go arounds, so many folios are downloaded that I have to purchase another bundle. Which on the one hand is great that so many users want to use my app, but then again, it isn't exactly in my budget to be purchasing extra bundles of folios.
    But apparently that is the cost of doing business, I guess.
    I did have the app published as Public and Retail. The first 7 articles were set as Free, the rest of the articles set as Protected. I have selected the "Enable Article Preview" also.
    This resulted in the bug error message from Apple, which basically says there was no content available to download. This is the same folio that has been working fine, I just changed the settings to Pubic & Retail, etc. so can't imagine it is a real "bug" so to speak? Here's the message (the screen shot they attached was basically a blank screen):
    We found that your app exhibited one or more bugs, when reviewed on iPad running iOS 7.0.2, on both Wi-Fi and cellular networks, which is not in compliance with the App Store Review Guidelines.
    Specifically, your app launched to the attached screen. Not content was available.
    For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. Please be sure to:
    - include the complete details of your rejection issues
    - prepare any symbolicated crash logs, screenshots, and steps to reproduce the issues for when the DTS engineer follows up.
    For information on how to symbolicate and read a crash log, please see Tech Note TN2151 Understanding and Analyzing iPhone OS Application Crash Reports.
    If you have difficulty reproducing this issue, please try testing the workflow as described in <https://developer.apple.com/library/ios/qa/qa1764/>Technical Q&A QA1764: How to reproduce a crash or bug that only App Review or users are seeing.
    Thanks for the feedback, much appreciated. Starting over yet again...

Maybe you are looking for

  • Imovie 11-I can't get rid of the filmstrip in the full screen viewing?

    I'm using I-movie 11 on a Macbook pro 2011.  I can't get rid of the filmstrip when viewing the video I made in full screen mode.

  • How to make long text disabled in me51n ?

    hello friends, my requirement is, for tcode ME51N the CMP Remarks long text field should be mandatory. please check the picture. best regards, santanu nayek

  • Create Outgoing Payment

    Hi, Here's a newby question I guess. I'm able to create an Incoming Payment by the use of SAPbobsCOM.Payments Payment = (SAPbobsCOM.Payments)oCompany.GetBusinessObject(BoObjectTypes.oIncomingPayments); but I didn't find any object to use for an Outgo

  • Need Report in which using PC/CC , planned order could be found out.

    Hi All, Is there any standard report to find a Plan report for 2009 using which one could see the orders planned for respective department and where we can book time. Any report ( if any) in which using profit center or cost center the planned orders

  • Scope of "user" in jsp

    Hi. here is some code for a jsp to pull some data out of an HTML form. <jsp:useBean id = "user" class="collect.CollectData" scope = "session"/> <jsp:setProperty name = "user" property="*"/> <%@ page import="java.util.*,java.sql.*,javax.naming.*,javax