"CX_SY_OPEN_SQL_DB" ERROR  when modifying a custom table

Dear friends,
I get this runtime error "DBIF_RSQL_SQL_ERROR"
"CX_SY_OPEN_SQL_DB" excpetion raised while am trying to modify a custome table . says deadlock detected while waiting for resourcebelow is the code snippet please suggest solution on how to avoid the error. thanks for the help in advance.
kathy
*Get all packspec levels
  lt_levels                            =  iv_packspec_content-levels.
  loop at lt_levels into ls_levels.
    if ls_levels-hutyp is not initial.
      ls_zpackspec-guid                =  ls_levels-guid.
      ls_zpackspec-aennr               =  ls_levels-aennr.
      ls_zpackspec-total_quan          =  ls_levels-total_quan.
      ls_zpackspec-level_type          =  ls_levels-level_type.
      ls_zpackspec-/cfscmx/nest_fc     =  ls_levels-/cfscmx/nest_fc.
      ls_zpackspec-maxstack            =  ls_levels-maxstack.
      ls_zpackspec-unit_tw             =  ls_levels-unit_tw.
      ls_zpackspec-g_weight            =  ls_levels-g_weight.
      ls_zpackspec-unit_tv             =  ls_levels-unit_tv.
      ls_zpackspec-g_volume            =  ls_levels-g_volume.
      ls_zpackspec-trgqty              =  ls_levels-trgqty.
      ls_zpackspec-flg_minimum_ps      =  ls_levels-flg_minimum_ps.
      ls_zpackspec-creadat             =  sy-datum.
      ls_zpackspec-matid               =  iv_packspec_content-content-matid.
      ls_zpackspec-hu_create           =  ls_levels-hu_create.
      ls_zpackspec-unit_gw             =  ls_levels-unit_gw.
      ls_zpackspec-g_capa              =  ls_levels-g_capa.
      ls_zpackspec-unit_gv             =  ls_levels-unit_gv.
      ls_zpackspec-hutyp               =  ls_levels-hutyp.
      ls_zpackspec-block               =  ls_levels-block.
      ls_zpackspec-length              =  ls_levels-length.
      ls_zpackspec-width               =  ls_levels-width.
      ls_zpackspec-height              =  ls_levels-height.
      ls_zpackspec-unit_lwh            =  ls_levels-unit_lwh.
      ls_zpackspec-nest_ftr            =  ls_levels-nest_ftr.
      if not ls_elementgroup is initial.
        sort ls_elementgroup by guid.
        read table ls_elementgroup assigning <ps_el_group>
                                    with key guid = ls_levels-elementgroup
                               binary search.
        if <ps_el_group> is assigned.
          ls_elemgroup = <ps_el_group>-elements.
        endif.
        sort ls_elemgroup by hurelevant.
        read table ls_elemgroup assigning <ps_elem>
                                 with key hurelevant = 1
                            binary search.
        if sy-subrc eq 0.
          ls_zpackspec-hurelevant      =  <ps_elem>-hurelevant.
        endif.
      endif.
      append ls_zpackspec  to  lt_zpackspec.
      clear  ls_zpackspec.
    endif.
  endloop.
**Update Packspec data for each level in the table ZPACKSPEC.*
  *if not lt_zpackspec is initial.*
    *modify zpackspec from table lt_zpackspec.*
    *ev_zpackspec  =   lt_zpackspec.*
  *endif.*

Kathy - do you have duplicate entries for the same key fields in the internal table you are using for the update?
Rob

Similar Messages

  • Error when deleting a customer table

    Hi guys, im deleting a Z table with a loop, and the following error is displayed after 10 minutes.
    the log reads as follow.
    1. ORACLE storage space request failed.                                
        (ORACLE error 1547)                                                
    To execute this operation, the ORACLE instance needs more              
    storage space for a segment. This storage is                           
    managed by ORACLE in logical units known as extents.                   
    The size of an extent depends on the segment definition and            
    the current storage situation.                                                                               
    One segment (possibly more) is stored in one tablespace.               
    The storage space available for a tablespace must be explicitly        
    preallocated by the database adminstrator. If, in course of time, the  
    volume of data in this tablespace increases considerably, the storage  
    space may be filled up (in real terms or through fragmentation).       
    2. Maximum number of extents reached for rollback segment.             
        (ORACLE error 1556)                                                
    To execute this operation, the ORACLE instance needs more              
    storage space for a segment. This storage is                           
    managed by ORACLE in logical units known as extents.                   
    The size of an extent depends on the segment definition and            
    the current storage situation.                                                                               
    For each segment, the ORACLE instance can manage only a certain number 
    of extents. The maximum number for this                                
    segment has been reached.                 
    HERE THE CODE:
    DO 48 TIMES. " HASTA 4 años.
    DELETE FROM (p_ztable)
    WHERE perio = periodo.
    IF mes = '01' OR mes = '1'.
    mes = 12.
    anio = anio - 1.
    ELSE.
    mes = mes - 1.
    ENDIF.
    CONCATENATE ANIO '0' MES INTO PERIODO.
    ENDDO.
    any ideas?

    Looks like the temporary memory pages are overflowed.
    System hold the data in the temporary memory to enable ROLLBACK work.
    So, we need to either do the COMMIT WORK or ROLLBACK WORK after cretain number of data.
    Or, Reduce the number of loops and process smaller number of data at a time (before next COMMIT or ROLLBACK work).
    Regards,
    Naimesh Patel

  • Problems publishing a web-access on Sharepoint: Error when modifying list schemes

    Good afternoon.
    I have an application built with an access database with several forms and web macros which is published on Sharepoint 2010. Through this application - not too big not too complex (ca. 10 tables / less than 2000 records at most) - I receive updates
    that are loaded into external applications, mainly excel worksheets, ms project files and so on.
    I have been going through the cycle of developing and publishing new versions of the application on the same site for more than a year; suddenly, from severeal weeks ago on, I started receiving the following error affecting random tables (not always the
    same) which crashes the compilation and publishing:
    "Error when modifying lists schemes. Changing name to "ID" field on list XXXX failed"
    And each time the list is different. And of course I am no trying at all to change the name of any ID field !????
    Any clue of what might be happening?
    Thank you

    The article might have missed the step where the blogger might have missed the step. Read the following article and which confirms that you cannot use user controls in SB solutions.
    http://msdn.microsoft.com/en-us/library/gg615454.aspx
    If you are trying to build this in SharePoint 2013 then you must know that custom code is deprecated from SB solutions.
    Deprecation
    of Custom Code in Sandboxed Solutions
    For SP 2013 your best bet is to create an APP or create a farm solution (God please forgive me). :)
    Amit

  • ABAP Run time error when display the Customs Export declarations

    Hi,
    I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
    Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
    While debugging we found that Primary Key of the below structures are not the same
    lt_corpar                              type      /sapsll/corpar_t
    lt_corpar_ht       type      /sapsll/corpar_k02_ht
    Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
    Error message short details
    Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
         "/SAPSLL/CUHD_LOAD_SELECTION".
        The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
        In the source code you have the termination point in line 144
        of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
    We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
    Regards,
    Pradeep Maddi

    Hi,
    I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
    For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
    Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
    Proforma Invoice not transferred to GTS
    After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
    Error details
    Runtime Errors         ITAB_DUPLICATE_KEY
    ABAP Program           /SAPSLL/SAPLCUHD_SELECTION
    Application Component  SLL-LEG
    You tried to insert an entry into table  "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
    Regards,
    Pradeep

  • Error when reassigning a custom task process

    Hello!
    I have an error when reassigning a custom task process.
    That is what I see at the workflow history: Task assigned to xxx was delegated by xxx. Coments: xxx
    However in the second line of the history an error is shown with the following information:
    Event type: error
    User ID: System account
    Description: An error has occurred in nameofthetask
    No new task is created for the user who the task was reassigned to.
    Any help would be appreciated

    Hi,
    From the error message, I
    guess that you come across an OOTB Approval
    Workflow.
    When you define your workflow, there is a section "Enable content Approval Workflow Activities", where you can check "Update the approval status after the workflow is completed (use
    this workflow to control content approval)". If you check this option, and you do not have content approval enabled on the library level, you get the system account error message. If you do not check it, everything works fine.
    Or you can go to the document library settings and go to Versioning Settings Page, set "Require content approval for submitted items to?" to yes and everything should be fine.
    Refer to  the following blogs about the similar issue:
    http://mossnwss.blogspot.com/2008/10/workflow-error-system-account-error-has.html
    https://sharepointtechs.wordpress.com/2011/11/18/workflow-error-an-error-has-occurred-in-approval/
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/en-US/fff5ee1f-904b-4a95-989f-c5a079cdf666/workflow-error-system-account-an-error-has-occured-after-workflow-completed-moss-2007?forum=sharepointcustomizationlegacy
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error when executing statement for table/stored proc

    Hi All,
          I am getting this error when executing IDOC to JDBC (Stored Procedure) Scenario.
         In my stored procedure I have three insert statements to insert rows in to 3 tables.
        This stored procedure is working fine for two insert statements i.e, 
             For this I have created data type for stored procedure with 10 elements and executed the scenario and was successfully running.
        when I added 3rd insert statement to stored procedure ie., when i added 5 more elements to the datatype (totally 15 elements) it starts giving the bellow error in Message Monitoring.
    <i><b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
    <i><b>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
       Note:- I have run the stored procedure  with three insert statements in Sql Server, and also by calling an external program also, and was working fine.
    <i><b> Note : Is there any structure needs to be follow when working with IDOC to Stored procedure.</b></i>
    I am struck up with the error, can any body resolve this issue.
    Thanks in Advance,
    Murthy

    Hi narasimha,
                      This seems to be any error due to incorrect query formation.In your receiver jdbc channel set the parameter logSQLstatement = true.you can find this parameter in the advanced mode. Using this parameter you will be able to see the sql query which is generated at runtime in the audit log in RWB.
    Regards,
    Pragati

  • File to JDBC :Error when executing statement for table/stored proc.

    Hi,
    I am getting following error when i am trying to insert data into z-table using JDBC recr adapter.
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTEST' (structure 'STATEMENT'): java.sql.SQLException: <u>[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name '<b>ZTEST</b>'.</u>
    But the database table name 'ZTEST' exists in the system.
    XML structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
       <STATEMENT>
          <TEST action="INSERT">
             <table>ZTEST</table>
             <access>
                <ROLLNO>123</ROLLNO>
                <FIRSTNAME>ABC</FIRSTNAME>
                <LASTNAME>XYZ</LASTNAME>
             </access>
          </TEST>
       </STATEMENT>
    </ns0:MT_RECR>
    Regards,
    Srinivas

    Hi,
    I have changed my MT str but still getting the same error.Is it possible to insert/ update a z-table using JDBC adapter.
    XML str:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
       <STATEMENT>
          <ZTEST action="INSERT">
             <access>
                <ROLLNO>123</ROLLNO>
                <FIRSTNAME>abc</FIRSTNAME>
                <LASTNAME>XYZ</LASTNAME>
             </access>
          </ZTEST>
       </STATEMENT>
    </ns0:MT_RECR>
    Regards,
    Srinivas

  • Error when writing to interface table for HR

    We recently did a client copy from Production to our User Testing client. User was trying to enter time via transaction CAT2 but received the following message when attempting to save the timesheet:
    "Error when writing to interface table for HR"
    Does anyone have advice on how to resolve this issue?
    Thanks as always!

    Hi,
    We have the same problem.
    We tried to add many records to HR via a job but it result with en error message LR036 (Error when writing to interface table for HR)
    Did you find a solution since your problem appear ?

  • " Error when inserting in PSA table RSTSODSPART" when loading into PSA

    Hello,
    Did anyone encounter something similar, and found a solution ?
    BI 7.0 -  EnhP 1 - SP5
    When loading data from R/3 into PSA, we encounter following error message:
    " Error when inserting in PSA table RSTSODSPART"
    ===============================================================
    - the first datapackage is written successfully to PSA,
    but from the second datapackage onwards the error message pops-up
    " Error when inserting in PSA table RSTSODSPART"
    - The original dataselection in the infopackage is somewhere stored
    If the selection in the InfoPackage is reduced (e.g. only one document i.o. a period)
    it stil starts loading according the original selection (the month)
    - If we create a new InfoPackage and select very few data (only one datapackage)
    then we can load to PSA succesfully, but when we load to DSO we can't activate the DSO.
    - We remarked that:
    Two versions of the PSA exist for that datasource 0FI_GL_40:
    a Table(/BIC/B0000555000) in version 1 exists,
    a Table(/BIC/B0000555001) in version 2 exists
    Thanks in advance,
    Best regards

    Hello All,
    We had a problem similar to what Ilse Depoortere describes. The problem happens in our BW QA system a few days/weeks after it has been copied from Production. Data loads start failing with these two error messages:
    RSM2 851 - Error when writing in PSA (Caller 32)
    RSAR 130 - Error 7 when adding to PSA (Caller 70)
    We have just implemented the fix described in note 1340371 (replaced the LIB_DBSL with patch level 247), and the problem is gone. Failed data load process chains can be restarted and finish successfully.
    This has been a really useful discussion, thanks all! And thanks to my coworker Bob who found it.
    Vince Vajda

  • Error when executing statement for table/stored proc  DB2 - Data Truncation

    Hi,
      I have one call sp in XI with n parameters int and two parameters out.
       well, to implement the interface gives the following error
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SPSAPAR9' (structure 'Statement'): java.sql.SQLException: The number of parameter values set or registered does not match the number of parameters
    Thanks for your help
    Ximena
    Edited by: Ximena Gonzalez on Feb 19, 2008 11:50 AM
    Edited by: Ximena Gonzalez on Feb 20, 2008 12:17 PM

    My Error is change
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAPPRG.SPSAPAR9' (structure 'Statement'): java.sql.DataTruncation: Data truncation
    but de change DT SP
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns1:AlistReqDet2_MT xmlns:ns1="urn:proxl:tmuc:proxl01:AlistReqItems">
    <Statement>
    <SPSAPAR9 action="EXECUTE">
      <table>SAPPRG.SPSAPAR9</table>
      <ISAPNU1 isInput="TRUE" type="STRING">0080000353</ISAPNU1>
      <ISAPEM1 isInput="TRUE" type="STRING">'LU'</ISAPEM1>
      <ISAPC05 isInput="TRUE" type="STRING">15353</ISAPC05>
      <ISAPSEC isInput="TRUE" type="STRING">10</ISAPSEC>
      <ISAPLOT isInput="TRUE" type="STRING">'lats'</ISAPLOT>
      <ISAPCA1 isInput="TRUE" type="STRING">10</ISAPCA1>
      <ISAPCA2 isInput="TRUE" type="STRING">10</ISAPCA2>
      <ISAPKIL isInput="TRUE" type="STRING">10</ISAPKIL>
      <ISAPES1 isInput="TRUE" type="STRING">'T'</ISAPES1>
      <ISAPSW isOutput="TRUE" type="STRING" />
      </SPSAPAR9>
      </Statement>
      </ns1:AlistReqDet2_MT>

  • Error when executing statement for table/stored proc.  : ORA-00911

    Hi All,
    I am posting IDOC->XI->JDBC, approx 5000 Idocs.
    But few messages are giving following error in XI-_SXMB_MONI
    Can any one guide me what is the cause of error? I check whole Idoc data I am not able to see bad character? can any once guide me what are the bad character in XML to post data in oracle? so that i can search in XML and how to avoide this error.
    "com.sap.aii.af.ra.ms.api.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'HRP1001' (structure 'INSERT_PAD34'): java.sql.SQLException: ORA-00911: invalid character"

    > I am talking about following IDOC.<ZRMD_A06> ->
    > <E1PLOGI SEGMENT="1">-> <E1PITYP SEGMENT="1"> ->
    > <E1PAD34 SEGMENT="1"> -><PROZT>0.00 #</PROZT>.
    > Can we remove this # during message mapping in XI??
    sure you can remove it using Replace function or by writing UDF.
    as I am seing # is last character..<b>so remove # with " " (single space) and then use the TRIM fucntion.</b>
    Thanks
    Farooq.
    *<b>Rewards points if you find it useful*</b>

  • 11i Error when modifying account

    eBus 11.5.10.2, DB 10.2.0.4, OID 10.1.4.0.1, RHEL4
    Apps and OID on are on the same server, single instance, DB is on a seperate server.
    Recently when we try to modify the account of a user we experience an error when trying to save the changes.
    The pop-up error states:
    Unabled to call fnd_ldap_wrapper.update_user due to the following reason:
    ORA-20001: Unabled to call fnd_ldap_wrapper.update_user due to the following reason:
    An unexpected error occured. Please contact System Administrator.. (USER_NAME-XXXXXXX)
    I enabled logging for FND and got the following in the fnd_log_messages table:
    fnd.plsql.oid.fnd_oid_plug.get_realm_dn: LDAP SESSION closing in EXCEPTION BLOCK - START
    fnd.plsql.oid.fnd_oid_plug.get_realm_dn: LDAP SESSION closed in EXCEPTION BLOCK - END
    fnd.plsql.oid.fnd_ldap_wrapper.update_user: ORA-06503: PL/SQL: Function returned without value
    fnd.plsql.oid.fnd_ldap_wrapper.update_user: l_err_code :FND_SSO_UNEXP_ERROR, l_tmp_str :ORA-06503: PL/SQL: Function returned without value
    So it seems something returns without a value, but I am not sure how to track down what. I checked and the user account is in OID. It seems to be occuring to accounts that are linked via the "Customer" field on Define as opposed to "Person"
    What can I enable log wise or check to find the cause of this issue? I have searched metalink and all the documents I have found concerning Function not returning a value are for other items and not accounts.
    Thanks
    Edited by: Toolman21 on Sep 16, 2010 10:47 AM

    Just to update the forum post, I have finally discovered the issue. The Global User ID that was in eBus did not match that in OID, therefore it was returning not found.
    The solution was to update the GUID in APPS.FND_USER to match what OID contained. If the SSO link on the fly feature is used in provisioning you can simply set the USER_GUID column in APPS.FND_USER to null for that user and once they log in again it will be repopulated from OID. Alternatively you can use the script $FND_TOP/patch/115/sql/fndssouu.sql to change this for a user as well.
    @$FND_TOP/patch/115/sql/fndssouu.sql USERNAME
    Thanks for the help.

  • Error while deleting a customer table

    When I try to delete a customer table which is saved as a local object I get an error stating that the table is still used in ABAP Dictionary. It seems that the customer table is still used in a customer program, but the program is already deleted! I deleted the program earlier and thus no longer exist in our system. I cannot find any trace of the program, but am unable to delete the customer table now. Any suggestions?

    Program name would have been of the table maintenance generator and you deleted it manually.
    It should have been deleted from TMG .
    Your problem will be resolved if you will create Table maintenance of the database table and then delete it again.

  • Error when add a custom field to source 2LIS_12_VCHDR

    Hi Experts,
    I'm trying add a custom field to source 2LIS_12_VCHDR. The fields are in LIKP table's append. That are
    zz fields. I can see the fields in MCLIKP structure, but I can't see these fields in LBWE transacction when I try update the structure MCLIKP. I don't know if this last is important because when I replicate of the source the fields, they are visible in BW.
    The problem is when I try activate the transfer structure. I Can add the fields from the data source to the transfer structure but If try activate the source the error is:
    "Error when creating transfer structure /BIC/CCBA2LIS_12_VCHDR in source system XXXX"
    I'm forgetting some step?
    somebody know other way for do it?
    thanks for your help.
    Manuel.

    Hi
    May be the datasource is not active, do the following obviously in development
    goto LBWE and click on your datasource; system will ask you for a transport request number give it a name. now save the datasource.
    replicate and activate your t/r
    hope this helps
    Regards

  • Error while releasing the custom table

    Hi Everyone,
    Modified the User defined include files of a particular table for one of our requirements ( In the function group of the table maintenance generator ) and encountered an error while releasing the request to Quality server, the error disappeared after regenerating the table, this seem to be happening only when the user includes of a table maintenance is introduced/modified, why the release doesnt work when there is any change in the maintenance generator?,
    Rgds,

    Hi Sailatha,
    After modifying, you need to re-generate everything so that, the changes come in effect.
    Trying to release without re-generating will surely result in error.
    Regards,
    Raj

Maybe you are looking for

  • Cfquery insert error

    I am trying to use the attached code to insert records into a table. BUT, it gives me the following error: Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error (missing

  • ITunes non-responsive after upgrade

    My assistant has iTunes on her PC and it has all but stopped working completely. Upon clicking to launch it takes a good 10-15 seconds to do anything. Then, selecting anything again takes a good 10-15 seconds for a response... Is there any background

  • Cascading List of Values & Query Panel

    Hello all! ADF BC JDev 11 I should use Cascading List of Values in Search Query Panel. I build CLOV like in this sample http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html . But when i use it in Search Query Panel it does

  • New Vista machine says iTunes is not a valid Win32 application

    I am trying to install iTunes on my new Sony Vaio running Vista. When I try to install iTunes, it says iTunes is not a valid Win32 application. Can anyone help me...I have no idea what this means or what to do. Thanks!

  • Can't reset handset with bridge for MAC

    Everytime I connect my Sony Xperia Play R800, after I connect the device and I agree to data loss. The software begins to install / reset my phone and then crashes mid way through saying: (reason: UE communication failed (code 100, text: )) I am curr