Error ODS activation - sql error when accessing a table.

Hi,
sometimes occurs an error by activation ODS. I have proces chain and when is loaded second packet an error occurs. In monitor>>
-RSMPC 128, datapacket 3 is wrong, with status number 9
-RSMPC 131
-RSDRO 108 - communcation error (sql error when accessing a table)
In sm21>
-sql error when accessing a table
-The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was  
either                                                      caught nor passed along using a RAISING clause, in the procedure <b>"UPDATE_ATAB"</b>   "(FORM)"                                                                    
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:                                             
  The database system recognized that your last operation on the database      
  would have led to a deadlock.                                                
  Therefore, your transaction was rolled back                                  
  to avoid this.                                                                       
  ORACLE always terminates any transaction that would result in deadlock.      
  The other transactions involved in this potential deadlock                   
  are not affected by the termination.
I have BW 3.5.
Thank You very much.

There are a few different scenarios that I can think of where this might come up that all involve what might resulting in parallel (concurrent)processes:
Loading packets in parallel - that is there are X number of processes loading packets concurrently. This could be set in your IMG settings system wide or in the InfoPackage for just this datasource.   You seem to indicate that you don't have this.
Database parallel processing - RSAMDIN - ORA_PARALLEL_DEGREE ( there was a different RSADMIN parm for older versions - forget what SP the change came with).
You have multiple InfoPackages for the datasource, each loading what should be a different range of data, and they run atthe same time.
You could be loading from two different datasources to the ODS at the same time.
If any of these are true, I would look at bumping the INITRANS setting up.  Your DBA will probably need to do this for table and its indices.  There is a Note - 831234 that allows you to create a parameter in RSADMIN that will specify a INITRANS value (e.g. 20) rather than using the default. The ODS would need to be activated to pick this new setting up for the table to be altered. 
You could also look at the Processing settings for the InfoPackage and change to PSA first, then target to see if that helps. 
Or if you are loading from two different datasources at the same time, you might adjust your schedule so that doesn't happen.
Pizzaman

Similar Messages

  • SQL error in the database when accessing a table.

    Hi,
    I got below error at production server. Please suggest how to reslove this error.
    <br>
    <br>
    <br>
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    <br>
    Exception              CX_SY_OPEN_SQL_DB
    <br>
    Date and Time          02.01.2011 15:55:06
    <br>
    <br>
    <br>
    <br>
    <br>
    Short text
    <br>
    SQL error in the database when accessing a table.
    <br>
    <br>
    <br>
    How to correct the error
    <br>
    Database error text........: "[10054] TCP Provider: An existing connection was
    <br>
    forcibly closed by the remote host.
    <br>
    [10054] Communication link failure"
    <br>
    Internal call code.........: "[RSQL/INSR/SWFCNTBUF ]"
    <br>
    Please check the entries in the system log (Transaction SM21).
    <br>
    <br>
    If the error occures in a non-modified SAP program, you may be able to
    <br>
    find an interim solution in an SAP Note.
    <br>
    If you have access to SAP Notes, carry out a search with the following
    <br>
    keywords:
    <br>
    <br>
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    <br>
    "CL_SWF_CNT_FACTORY_SHMEM======CP" or "CL_SWF_CNT_FACTORY_SHMEM======CM001"
    <br>
    |    "ADD_INSTANCE"         
    <br>
    <br>
    <br>
    Information on where terminated
    <br>
    Termination occurred in the ABAP program "CL_SWF_CNT_FACTORY_SHMEM======CP" -
    <br>
    in "ADD_INSTANCE".
    <br>
    The main program was "SAPMSSY1 ".
    <br>
    <br>
    In the source code you have the termination point in line 16
    <br>
    of the (Include) program "CL_SWF_CNT_FACTORY_SHMEM======CM001".
    <br>
    The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
    <br>
    procedure "ADD_INSTANCE" "(METHOD)", but it was neither handled locally nor
    <br>
    declared
    <br>
    in the RAISING clause of its signature.
    <br>
    <br>
    The procedure is in program "CL_SWF_CNT_FACTORY_SHMEM======CP "; its source
    <br>
    code begins in line
    <br>
    1 of the (Include program "CL_SWF_CNT_FACTORY_SHMEM======CM001 ".
    <br>
    <br>
    <br>
    <br>
    Source Code Extract
    <br>
    <br>
    Line
    SourceCde
    <br>
    <br>
    1
    METHOD add_instance .
    <br>
    2
    <br>
    3
    data: ls_id type swfcntbuf.
    <br>
    4
    <br>
    5
    check buffer method - store in local buffer if necessary
    <br>
    6
    retcode = cl_swf_cnt_factory=>add_instance( ibf_por = ibf_por instance = instance ).
    <br>
    7
    <br>
    8
    CHECK m_buffer_method EQ mc_buffer_shared.
    <br>
    9
    <br>
    10
    append key to list of tasks to add stored in database table SWFCNTBUF
    <br>
    11
    will be evaluated by build process for shared memory area (UPDATE_BUFFER method)
    <br>
    12
    <br>
    13
    ls_id-mandt = sy-mandt.
    <br>
    14
    ls_id-id    = ibf_por.
    <br>
    15
    <br>
    >>>>>
    INSERT swfcntbuf CONNECTION r/3*wfcontainer
    <br>
    17
    FROM ls_id.
    <br>
    18
    <br>
    19
    IF sy-subrc EQ 0.
    <br>
    20
    Commit seems to be necessary always, even if INSERT has failed, to get rid of
    <br>
    21
    database locks
    <br>
    22
    COMMIT CONNECTION r/3*wfcontainer.
    <br>
    23
    ENDIF.
    <br>
    24
    <br>
    25
    ENDMETHOD.
    <br>

    duplicate here SQL error in the database when accessing a table.
    Do not post the same question in more than on forum.

  • DBIF_RSQL_SQL_ERROR with SQL error in the database when accessing a table.

    dear all,
      i have done a system copy from production server into quality server. quality was scrapped and freshly installed with SAP then used the DB flush method to carry out the system copy. i had to change the DBS_ORA_SCHEMA in environment variables to SAP<SOURCE SID> from SAPSR3. the sap version is ECC6.0,DB is ORACLE10.2 on WIN NT.
      after MMC opened, i get "SQL error in the database when accessing a table" error is coming. in SM21, I am getting "Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000 )
    Database error 8103 at SEL access to table TBTCO
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    Database error 8103 at FET access to table TBTCP
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130339 sibqty_Q TY_00 " generated
    Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
    > Short dump "081018 130339 sibqty_Q TY_00 " generated
    Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
    Delete session 001 after error 023
    Database error 8103 at DEL access to table TMSALOGAR
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130432 sibqty_Q TY_00 " generated
    Database error 8103 at FET access to table SNAP
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130432 sibqty_Q TY_00 " generated
    Transaction Canceled SY 002 ( SQL error in the database when accessing a table. )
    Database error 8103 at FET access to table TSP02"
    please find the st22 DUMP:
    ow to correct the error                                                                          |
    Database error text........: "ORA-08103: object no longer exists"
    Internal call code.........: "[RSQL/READ/TBTCO ]"
    Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "SAPMSSY2" or "SAPMSSY2"
    "INITIATE_JOB_START"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "INITIATE_JOB_START" "(FORM)", or its possible occurrence must be declared in
    the
    RAISING clause of the procedure.
    |   
    please do me this favor if you know to avoid this problem..
    thanks a lot..

    Hello Anuj,
    This is because the COUNT(*) is returning a value which is longer than the INT4 data type it is expecting. If you restrict the selection by introducing a WHERE clause, then you won't get the dump:
    DATA: dyn_from    TYPE string,
          dyn_where   TYPE string,
          gx_sql_err  TYPE REF TO cx_sy_open_sql_error,
          gv_text     TYPE string.
    dyn_from  = `DD01L INNER JOIN DD02L ON DD02L~AS4LOCAL = DD01L~AS4LOCAL AND DD02L~AS4VERS = DD01L~AS4VERS`.
    dyn_where = `DOMNAME LIKE 'Z%'`.
    TRY .
        SELECT COUNT(*) FROM (dyn_from) WHERE (dyn_where).
        WRITE: / sy-dbcnt NO-GROUPING.
      CATCH:  cx_sy_open_sql_db             INTO gx_sql_err,
              cx_sy_dynamic_osql_semantics  INTO gx_sql_err,
              cx_sy_dynamic_osql_syntax     INTO gx_sql_err.
    ENDTRY.
    IF gx_sql_err IS BOUND.
      gv_text = gx_sql_err->get_text( ).
      WRITE: / gv_text.
    ENDIF.
    BR,
    Suhas

  • Error message in TRFC 'An SQL error occurred when accessing a table'

    Hi all,
    Can any one tell what this below error message is about in while go into TRFC
    'An SQL error occurred when accessing a table'.
    and please tell me how to solve this problem.

    Hi
    Try to see what all tables are accessed by data source. and see if there is any lock on that..
    If some other job is accessing that table - then there might be lock on that which is causing failure..
    1) Try looking at ST22 dump also..
    2) Try to do RSA3 in R/3 and if see if its is fetching any records or not..
    Hoep it helps
    --SA

  • DBIF_RSQL_SQL_ERROR: SQL error in the database when accessing a table

    Hi Gurus,
    Im getting DBIF_RSQL_SQL_ERROR: SQL error in the database when accessing a table error while I was importing support pack in the system. This is ERP 6.0 with EHP4 with MS SQL in back ground and I was applying the BASIS SP 04. It was in the TEST scenario and in the SPDD_SPAU_CHECK phase it threw the error.
    Short text
        SQL error in the database when accessing a table.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    How to correct the error
        Database error text........: "[601] Could not continue scan with NOLOCK due to
         data movement."
        Internal call code.........: "[RSQL/FTCH/E071 ]"
        Please check the entries in the system log (Transaction SM21).
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
        "SAPLSVRT" or "LSVRTU01"
        "TR_LAST_IMPORT_OF_OBJECT"
    SPAM  is ending with the above short dump. I have checked the space availability and it is OK.
    Kindly help.
    Renju Aravind.

    Hi,
    this error is very often seen in case of a database corruptions. Please follow note 142731 and perform a complete database check. Send the results when they show errors.
    Best regards
      Clas

  • Getting error "SQL error in the database when accessing a table."

    Hi All,
    We are getting Dump Error SQL error in the database when accessing a table for the batch job EISSD/REQUISITION 14 / which includes program AQ20FD==========A2============. Please reply. The Dump error details are as follows
    Short text
        SQL error in the database when accessing a table.
    How to correct the error
        Database error text........: "ORA-01555: snapshot too old: rollback segment
         number 21 with name "_SYSSMU21$" too small"
        Internal call code.........: "[RSQL/FTCH/VBRK ]"
        Please check the entries in the system log (Transaction SM21).
    Thanks
    Padmakar Kudtarkar
    Edited by: Rob Burbank on May 19, 2011 9:38 AM

    The query where we are getting error in Standard program AQ20FD==========A2============ for Job
    EISSD/REQUISITION 14 / is as follows:
    select VBRKBUKRS VBRKFKART VBRKFKDAT VBRKFKTYP VBRKGJAHR VBRKKUNAG VBRKKUNRG VBRKKURRF VBRKVBELN VBRKWAERK VBRP~AUBEL
           VBRPAUPOS VBRPFKIMG VBRPKVGR2 VBRPKZWI1 VBRPMATNR VBRPMWSBP VBRPNETWR VBRPPSTYV VBRPVBELN VBRPVGBEL VBRP~VGPOS
           VBRPVKBUR VBRPVKGRP VBRPVRKME VBRPWAVWR
    into (VBRK-BUKRS , VBRK-FKART , VBRK-FKDAT , VBRK-FKTYP , VBRK-GJAHR , VBRK-KUNAG , VBRK-KUNRG , VBRK-KURRF , VBRK-VBELN
         , VBRK-WAERK , VBRP-AUBEL , VBRP-AUPOS , VBRP-FKIMG , VBRP-KVGR2 , VBRP-KZWI1 , VBRP-MATNR , VBRP-MWSBP , VBRP-NETWR
         , VBRP-PSTYV , VBRP-VBELN , VBRP-VGBEL , VBRP-VGPOS , VBRP-VKBUR , VBRP-VKGRP , VBRP-VRKME , VBRP-WAVWR )
    from ( VBRK
           inner join VBRP
           on VBRPVBELN = VBRKVBELN )
           where VBRK~BUKRS in SP$00004
             and VBRK~FKDAT in SP$00001
             and VBRK~KUNAG in SP$00002
             and VBRK~VBELN in SP$00006
             and VBRP~MATNR in SP$00003.
      %dbacc = %dbacc - 1.
      if %dbacc = 0.
        stop.
      endif.
      check SP$00004.
      check SP$00001.
      check SP$00002.
      check SP$00006.
      check SP$00003.
      add 1 to %count-VBRK.
      %linr-VBRK = '01'.
      extract %fg01.
      %ext-VBRP01 = 'X'.
        extract %fgwrVBRP01.
    endselect.

  • Root cause of "SQL error in the database when accessing a table. "

    Dear experts,
    I meet this dump "SQL error in the database when accessing a table" when executing a sql.
    Sql:
        SELECT sesssessno poscrm_serplan_id poscrm_ser_h_id poscrm_ser_i_id
               possolution_id sessbundle_id sessdbid sessinstno pos~crm_ordered_prod
               sessdbid sessinstno
          INTO CORRESPONDING FIELDS OF TABLE et_sess_list
          FROM dsvassessadmin AS sess JOIN service_posn_sm AS pos
            ON possession_id     = sesssessno
          FOR ALL ENTRIES IN lt_contractno
          WHERE sess~contractno = lt_contractno-contract_no
           AND sess~status IN lt_status_range
           AND bundle_id IN lt_bundle_id
           AND pos~solution_id GT 0
    This sql works well in dev system SD7, however, it causes dump in another dev system "SMV".
    Can anyone give me any ideas?
    Thanks

    Hi Jovito,
    This is info from ST22
    Short text
        SQL error in the database when accessing a table.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    How to correct the error
        Database error text........: "SQL0101N The statement is too long or too
         complex. SQLSTATE=54001"    Internal call code.........: "[RSQL/OPEN/DSVASSESSADMIN ]"
        Please check the entries in the system log (Transaction SM21).
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
        "CL_AGS_SERVICE_SERV===========CP" or "CL_AGS_SERVICE_SERV===========CM018"
        "GET_OVS_SESSION_LIST"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which
        actions and input led to the error.
        The exception must either be prevented, caught within proedure
        "GET_OVS_SESSION_LIST" "(METHOD)", or its possible occurrence must be declared
         in the
        RAISING clause of the procedure.
        To prevent the exception, note the following:
    It seems that after translation the native sql is too long. But I think this can be solved.

  • Inbound-Queue SYSFAIL: SQL error in the database when accessing a table

    Hi,
    we send around 80 IDoc simultaneously, there 15 are stuck.
    They all have SYSFAIL in SMQ2 with message: SQL error in the database when accessing a table
    I already unlocked the queues and try to resend. Nothing happend!
    I ran RSQIWKEX for the single queus but now there are new queues in Status SYSFAIL.
    I already checked some entries in forum and blogs, but nothing worked out yet!
    Can someone help?! it's urgent!!
    br

    Hi, well as mentioned i searched and found this already.
    But in ST22 i got error concerning
    Laufzeitfehler         DBIF_RSQL_SQL_ERROR
    Ausnahme               CX_SY_OPEN_SQL_DB
    So i guess it's something more serious.
    Any more ideas?!
    Can i simply delete the stucked queues and reporcess them?!
    br

  • Internal error when accessing a table  -

    Hi,
    The program which is running as background was running for last 1 year, last two days the RFC call in the program is dumping.
    In DUMP its showing Internal error when accessing a table
    Error : DBIF_RSQL_SQL_ERROR
    I checed the size of the table its quite huge for the application.
    So there is no issue with table.
    Please advise what causes these sort of error.
    System is ECC 6.0
    With SQL server 8.0
    Regards,
    Thomas

    These are the system log i got it from SM21. For this error logs are as below
    Very High Priority error
    Details Page 2 Line 9 System Log: Local Analysis of onsaprp1                  1
    Time
    Type
    Nr
    Clt
    TCode
    Grp
    N
    Text
    15:43:09
    DIA
    009
    300
    AB
    0
    Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
    Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
    Details
    Recording at local and central time........................ 11.02.2011 15:43:09
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    03084
    Dialog work process No. 009
    TOM
    1
    SAPMSSY1
    T
    Transaction Problem
    SABP
    Further details for this message type
    Module nam
    Line
    Error text
    absapsql
    0786
    HandleRsqlErrors
    Documentation for system log message AB 0 :
    The specified runtime error has occurred in the system.
    Parameter
    abcdefghijklmnopqrstuvwxyz .. DBIF_RSQL_INTERNAL_ERROR
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    119
    618840
    l
    Error (Module, Row)
    AB
    0
    HandleRsqlErrors                                    absapsql0786
    High Priority error
    Details Page 2 Line 18 System Log: Local Analysis of onsaprp1                 1
    Time
    Type
    Nr
    Clt
    TCode
    Grp
    N
    Text
    15:44:07
    DIA
    009
    300
    SMEN
    BZ
    Y
    Unexpected return value 8 when calling up
    Unexpected return value 8 when calling up
    Details
    Recording at local and central time........................ 11.02.2011 15:44:07
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    03084
    Dialog work process No. 009
    TOM
    om-blr-l
    1
    SMEN
    SAPLSMTR_NAVIGATION
    K
    SAP Web AS Problem
    SBAC
    Further details for this message type
    Module nam
    Line
    Table Name
    Field Name
    dbrepolo
    172
    8
    Documentation for system log message BZ Y :
    When calling a function within the database interface, a return
    value which cannot be processed by the calling function was
    provided.
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    120
    11160
    h
    Database Error (Non-SQL)
    BZ
    Y
    8                                                   dbrepolo172
    Edited by: Thomas Paul jr on Feb 14, 2011 6:36 AM
    Edited by: Thomas Paul jr on Feb 14, 2011 6:38 AM

  • SM58 : Internal error when accessing a table

    Hi there,
    We have just upgraded from R/3 4.7 to ECC 6.0. After the upgarde we face many "Internal error when accessing a table" in sm58. Is there any table mapping mismatched happened during unicode conversions? How to check the details? Most of the errors are SWW_WI_EXECUTE_INTERNAL_RFC, SWW_WI_CREATE_VIA_EVENT_IBF and etc which are workflow modules.
    can you help?
    Thanks.
    Regards,
    Thava

    Hi
    Have u checked this thread?
    problem in TRFC
    Error while executing Workflow: User is locked.
    /message/5804053#5804053 [original link is broken]
    Regards
    Sridhar Goli

  • When signing in i get the following error  message --- activation server error -- code:E_Auth_not_ready - can someone help?

    when signing in i get the following error  message --- activation server error -- code:E_Auth_not_ready - can someone help?

    Please follow the instructions in the link below:
    https://helpx.adobe.com/digital-editions/kb/error-e_act_not_ready.html
    I hope this will help.
    -Chirag

  • Error ODS activation.

    Hi,
    I have problem with activation ODS 0FIGL_O02 (General Ledger - BSEG, BKPF). I process init delta - about 5 mil. records, all is OK but activation is wrong with status 9. Monitor in infopackage is green but in ODS is red and says - error activation. I fill 2 ODS with this infosource (0FIGL_O02 - standard and second is enhanced some fields from BSEG). In ST22 occur many dumps:
    An SQL error occured when accesing table.
    Modul - activate_ods_package
    1889 * INSERT 20020426 (AS-SP08) (IF-insertonly-     else)           
    1890       IF l_insertonly = rs_c_false                          
    <b>>>>>         INSERT /BI0/AFIGL_O0200 FROM TABLE   l_t_insert_req.</b>      
    1892         IF sy-subrc = 0. 
    All tests RSRV are OK.
    In new data table /BIC/..240 are all extracted records but in active data table /BIC/..200 are only about 3 mil records. I try active these ODS separately but it is always wrong. Is this infopackege more big?
    Thanks for any idea, zd.

    Dump occurs here:
    *if datapackage or request changes - mass INSERT
        IF <l_s_insert>-data-request   = l_s_insert-data-request AND
           <l_s_insert>-data-datapakid = l_s_insert-data-datapakid.
          MOVE-CORRESPONDING <l_s_insert>-data TO l_s_adata.
          APPEND l_s_adata TO l_t_insert_req.
          l_s_insert = <l_s_insert>.
        ELSE.
        mass-INSERT from internal table
    INSERT 20020426 (AS-SP08) (IF-insertonly-else)
          IF l_insertonly = rs_c_false.
            <b>INSERT /BI0/AFIGL_O0200 FROM TABLE l_t_insert_req.</b>        IF sy-subrc = 0.
              l_no_inserts = sy-dbcnt.
            ELSE.
              l_no_inserts = -1.
            ENDIF.
            CLEAR l_s_dbops.
            l_s_dbops-requid    = l_s_insert-data-request.
            l_s_dbops-datapakid = i_log_package.
            l_s_dbops-inserts   = l_no_inserts.
            APPEND l_s_dbops TO c_t_dbops.
          ELSE.

  • SP 2010 - Getting "An unexpected error has occurred. " message when accessing Sharepoint site after windows update - Windows 7 Home Premium

    Hi,
    I am new to SP 2010. I have installed Share point 2010 server (trial version) on my Windows 7 Home Premium Laptop by following the below link.
    http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx
    Everything went fine and was able to see the new sharepoint site after completing configuration wizard. SP2010 Central Admin also worked fine.
    However, after windows update, sharepoint site is not working. I was able to see the site working for more than a day before windows update. SP2010 Central Admin is still working. Executed "PSCONFIG" after
    update but still no good.
    I saw a warning "The Security Token Service is not available" in Central Admin and did some research to fix the issue but nothing worked. 
    Hotfix
    I believe I have all hotfixes mentioned in the forums. Here is the list.
    Windows6.1-KB976462-v2-x64
    Windows6.1-KB982307-x64
    Synchronization
    Windows6.1-KB974405-x64
    MSChart
    SQLSERVER2008_ASADOMD10
    381569_intl_x64_zip
    Windows6.1-KB976462-v2-x64
    Event Viewer
     I can see following log in Event Viewer when accessing site home page.
    Event ID:      8306
    Task Category: Claims Authentication
    Level:         Error
    Website response
    http://localhost:32843/ - "HTTP Error 503. The service is unavailable." 
    http://localhost:32843/Topology/Topology.svc - Works fine
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc - Returns following error. I am unable to see windows authentication in both Windows Features (under IIS -> WWW services -> Security) and IIS website (SharePoint Web Services
    -> IIS -> Authentication).
    HTTP Error 500.0 - Internal Server Error
       Module "WindowsAuthenticationModule" could not be found
    I even tried to uninstall Sharepoint and re-install the same. It worked even second time until it went thro' windows update. App pools are running and Websites are up and running in IIS.
    Can anyone please help me to fix this issue? 
    Thanks

    Hi Henrik,
    Here is the log info.
      <EventID>8306</EventID> 
      <Version>14</Version> 
      <Level>2</Level> 
      <Task>47</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x4000000000000000</Keywords> 
      <Execution ProcessID="8436" ThreadID="8812" /> 
      <Channel>Application</Channel> 
      <Security UserID="S-1-5-20" /> 
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024
    bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.5 Detailed Error - 500.0 - Internal
    Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;}
    pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 40px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px
    4px 10px;margin:0 0 0 -12px;} legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;f'.
    I would like to let you know that I am getting following message when accessing the below link.  I am unable to see windows authentication in both Windows Features (under IIS -> WWW services -> Security)
    and IIS website (SharePoint Web Services -> IIS -> Authentication).
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc
    HTTP Error 500.0 - Internal Server Error
       Module "WindowsAuthenticationModule" could not be found
    Regards

  • Abap import error DbSl Trace: ORA-1403 when accessing table SAPUSER

    hi all
    I am installing ERP  6.0 (ABAP) on win2003 cluster, oracle 10g, I have error at database instance intallation. here some logs
    DD03L.log
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20090812102157
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#18 $ SAP
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Apr  3 2009 09:03:56
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (RTF) ########## WARNING ###########
         Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    (TPL) ERROR: unknown template variable "tablespace"
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20090812102157
    import_monitor.log
    ERROR: 2009-08-12 10:21:57 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process 'I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
    For mode details see 'DD03L.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2009-08-12 10:22:25
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-08-12 10:22:25
    1 error(s) during processing of packages.
    INFO: 2009-08-12 10:22:25
    Import Monitor is stopped.
    sapinst_dev.log
    ERROR      2009-08-12 10:22:25.718
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    TRACE      2009-08-12 10:22:25.718 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2009-08-12 10:22:25.734 [sixxcstepexecute.cpp:951]
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP ERP 6.0 Support Release 3 > SAP Systems > Oracle > High-Availability System > Based on AS ABAP > Database Instance( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/HA/ABAP/DB. </p> </body></html>
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    sapinst.log
    WARNING 2009-08-12 10:22:25.718
    Execution of the command "C:\j2sdk1.4.2_21-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2_21"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_21-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_21-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
    Loading of 'DD03L' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.
    ERROR 2009-08-12 10:22:25.718
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2009-08-12 10:22:25.734
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    any idea
    Regards
    ABH

    hi
    All logs are above (include import_monitor.log and java)
    thanks

  • Error in assignment (SQL-22005) when using SQLParamOptions and SQL_C_CHAR

    I am getting "Error in assignment" when I use SQLParamOptions to bulk insert rows to a numeric data type (INTEGER, NUMERIC, REAL, etc) with a C type of SQL_C_CHAR. Based on the ODBC specs it should do the conversion for me, but TimesTen pukes. Oddly it works fine id you are only inserting one row, and it does work fine if you store the value as a SLONG and insert it into an INTEGER.
    Basically, I am working on adding bulk insert into the DBD::TimesTen driver, VARCHAR's work fine.

    Doesn't seem to work, here is a test case:
    1. Create table:
    CREATE TABLE tt_test1 (
    tcol1 INTEGER NOT NULL
    2. Save code as bulktc1.c
    /* BEGIN bulktc1.c */
    #include <stdio.h>
    #include <string.h>
    #include <timesten.h>
    CREATE TABLE tt_test1 (
    tcol1 INTEGER NOT NULL
    int dump_dberror (HENV, HDBC, HSTMT, char *);
    #define SQL_ok(x) (x == SQL_SUCCESS || x == SQL_SUCCESS_WITH_INFO)
    int main (int argc, char **argv)
    HENV henv = SQL_NULL_HENV;
    HDBC hdbc = SQL_NULL_HDBC;
    HSTMT hstmt = SQL_NULL_HSTMT;
    RETCODE rc;
    char szConnStrOut[2048];
    SQLSMALLINT cbConnStrOut;
    char statement[2048];
    #ifdef USE_INTEGER
    SQLINTEGER **values;
    SQLLEN **values_len;
    #else
    char ***values;
    SQLLEN **values_len;
    #endif
    int i, j;
    if (argc < 1)
    fprintf (stderr, "No args.\n");
    exit (1);
    rc = SQLAllocEnv (&henv);
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLAllocEnv");
    exit (1);
    rc = SQLAllocConnect (henv, &hdbc);
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLAllocConnect");
    SQLFreeEnv (henv);
    exit (1);
    rc = SQLDriverConnect (hdbc, 0, argv[1], strlen(argv[1]), szConnStrOut,
    sizeof (szConnStrOut), &cbConnStrOut,
    SQL_DRIVER_NOPROMPT);
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLDriverConnect");
    SQLFreeConnect (hdbc);
    SQLFreeEnv (henv);
    exit (1);
    else if (rc = SQL_SUCCESS_WITH_INFO)
    dump_dberror (henv, hdbc, hstmt, "SQLDriverConnect");
    rc = SQLSetConnectOption (hdbc, SQL_AUTOCOMMIT, SQL_AUTOCOMMIT_ON);
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLSetConnectOption");
    SQLFreeConnect (hdbc);
    SQLFreeEnv (henv);
    exit (1);
    rc = SQLAllocStmt (hdbc, &hstmt);
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLAllocStmt");
    SQLFreeConnect (hdbc);
    SQLFreeEnv (henv);
    exit (1);
    sprintf (statement, "INSERT INTO tt_test1 (tcol1) VALUES (?)");
    rc = SQLPrepare (hstmt, statement, strlen(statement));
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLPrepare");
    SQLFreeStmt (hstmt, SQL_DROP);
    SQLFreeConnect (hdbc);
    SQLFreeEnv (henv);
    exit (1);
    int param_count = 1;
    int exe_count = 50;
    #ifdef USE_INTEGER
    values = (SQLINTEGER **)malloc (param_count * sizeof (SQLINTEGER *));
    memset (values, 0, param_count * sizeof (SQLINTEGER *));
    #else
    values = (char ***)malloc (param_count * sizeof (char **));
    memset (values, 0, param_count * sizeof (char **));
    #endif
    values_len = (SQLLEN **)malloc (param_count * sizeof (SQLLEN *));
    memset (values_len, 0, param_count * sizeof (SQLLEN *));
    for (i=0; i<param_count; i++)
    #ifdef USE_INTEGER
    values[i] = (SQLINTEGER *)malloc (exe_count * sizeof (SQLINTEGER));
    memset (values, 0, exe_count * sizeof (SQLINTEGER));
    #else
    values[i] = (char **)malloc (exe_count * sizeof (char *));
    memset (values[i], 0, exe_count * sizeof (char *));
    #endif
    values_len[i] = (SQLLEN *)malloc (exe_count * sizeof (SQLLEN));
    memset (values_len[i], 0, exe_count * sizeof (SQLLEN));
    for (j=0; j<exe_count; j++)
    #ifdef USE_INTEGER
    values[i][j] = i*j;
    values_len[i][j] = sizeof (SQLLEN);
    #else
    values[i][j] = (char *)malloc (sizeof (char) * 128);
    sprintf (values[i][j], "%d", i*j);
    values_len[i][j] = strlen(values[i][j]);
    #endif
    SQLLEN cbValue = 10;
    SQLLEN cbColDef = 10;
    SQLLEN ibScale = 0;
    #ifdef USE_INTEGER
    rc = SQLBindParameter (hstmt, i+1, SQL_PARAM_INPUT, SQL_C_SLONG,
    SQL_INTEGER, cbColDef, ibScale, values[i], cbValue,
    values_len[i]);
    #else
    rc = SQLBindParameter (hstmt, i+1, SQL_PARAM_INPUT, SQL_C_CHAR,
    SQL_INTEGER, cbColDef, ibScale, values[i], cbValue,
    values_len[i]);
    #endif
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLBindParameter");
    SQLFreeStmt (hstmt, SQL_DROP);
    SQLFreeConnect (hdbc);
    SQLFreeEnv (henv);
    exit (1);
    SQLROWSETSIZE irow;
    rc = SQLParamOptions (hstmt, exe_count, &irow);
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLParamOptions");
    SQLFreeStmt (hstmt, SQL_DROP);
    SQLFreeConnect (hdbc);
    SQLFreeEnv (henv);
    exit (1);
    rc = SQLExecute (hstmt);
    if (!SQL_ok (rc))
    dump_dberror (henv, hdbc, hstmt, "SQLExecute");
    SQLFreeStmt (hstmt, SQL_DROP);
    SQLFreeConnect (hdbc);
    SQLFreeEnv (henv);
    exit (1);
    int dump_dberror (HENV henv, HDBC hdbc, HSTMT hstmt, char *msg)
    RETCODE rc;
    UCHAR sqlstate[SQL_SQLSTATE_SIZE + 1];
    UCHAR errormsg[SQL_MAX_MESSAGE_LENGTH + 1];
    SWORD errormsglen;
    SDWORD nativeerror;
    while ((rc = SQLError (henv, hdbc, hstmt, sqlstate, &nativeerror, errormsg,
    sizeof (errormsg), &errormsglen)) == SQL_SUCCESS
    || rc == SQL_SUCCESS_WITH_INFO)
    fprintf (stderr, "%s (SQL-%s) %s\n", errormsg, sqlstate, msg);
    if (hstmt != SQL_NULL_HSTMT) hstmt = SQL_NULL_HSTMT;
    else if (hdbc != SQL_NULL_HDBC) hdbc = SQL_NULL_HDBC;
    else henv = SQL_NULL_HENV;
    /* END bulktc1.c */
    3. Save script as runtest.sh:
    #!/bin/sh
    ttisqlcs -connStr $* -e "truncate table tt_test1; quit;"
    echo "Trying with SQL_C_CHAR"
    gcc -o bulktc1 bulktc1.c -I$TT_HOME/include -L$TT_HOME/lib -lttclient -Wl,-rpath,$TT_HOME/lib
    ./bulktc1 $*
    ttisqlcs -connStr $* -e "select count(*) from tt_test1; quit;"
    echo "Trying with SQL_C_SLONG"
    gcc -DUSE_INTEGER -o bulktc1 bulktc1.c -I$TT_HOME/include -L$TT_HOME/lib -lttclient -Wl,-rpath,$TT_HOME/lib
    ./bulktc1 $*
    ttisqlcs -connStr $* -e "select count(*) from tt_test1; quit;"
    4. Set TT_HOME to point to the root install of TimesTen
    5. Run script ./runtest.sh <DSN=....>
    6. Results:
    Copyright (c) 1996-2006, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    All commands must end with a semicolon character.
    connect "DSN=testcs";
    Connection successful: DSN=testcs;TTC_SERVER=LocalHost_tt60;TTC_SERVER_DSN=test;UID=wagnerch;DATASTORE=/u01/app/timesten/TimesTen/tt60/info/DataStore/test;DURABLECOMMITS=1;AUTHENTICATE=0;PERMSIZE=16;
    (Default setting AutoCommit=1)
    truncate table tt_test1;
    quit;
    Disconnecting...
    Done.
    Trying with SQL_C_CHAR
    [TimesTen][TimesTen 6.0.4 ODBC Driver]Error in assignment (SQL-22005) SQLExecute
    Copyright (c) 1996-2006, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    All commands must end with a semicolon character.
    connect "DSN=testcs";
    Connection successful: DSN=testcs;TTC_SERVER=LocalHost_tt60;TTC_SERVER_DSN=test;UID=wagnerch;DATASTORE=/u01/app/timesten/TimesTen/tt60/info/DataStore/test;DURABLECOMMITS=1;AUTHENTICATE=0;PERMSIZE=16;
    (Default setting AutoCommit=1)
    select count(*) from tt_test1;
    < 0 >
    1 row found.
    quit;
    Disconnecting...
    Done.
    Trying with SQL_C_SLONG
    Copyright (c) 1996-2006, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    All commands must end with a semicolon character.
    connect "DSN=testcs";
    Connection successful: DSN=testcs;TTC_SERVER=LocalHost_tt60;TTC_SERVER_DSN=test;UID=wagnerch;DATASTORE=/u01/app/timesten/TimesTen/tt60/info/DataStore/test;DURABLECOMMITS=1;AUTHENTICATE=0;PERMSIZE=16;
    (Default setting AutoCommit=1)
    select count(*) from tt_test1;
    < 50 >
    1 row found.
    quit;
    Disconnecting...
    Done.

Maybe you are looking for

  • Report performance is very slow

    Hi all, I have a table with 25 million rows. I create a report on this table in which i need to use the following expression ifnull(abc_accr_int_val,0)+ifnull(xyz_mar_val_lcy,0) and this experession is group by asset description but the report output

  • Airport Utility won't open in Windows XP Pro after installation

    Hi I just bought Airport Express - AirTunes. I've installed enclosed software and updated with latest firmware by Apple Software Update. I've still problem to open Airport Utility. When I try to open the program I got a explorer failure. The failure

  • Jdeveloper toolbox -  links fail with "Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java"

    Hi, I'm running 12.1.3 in virtualbox and the OAF toolbox tutorials work after logging onto EBS. After installing jdeveloper (on windows 8) and doing the documented setup, even the "Hello World" test fails when run in jdeveloper. I've double checked t

  • Annoying problem with Pause in Mini Player

    I often use the "Mini Player" while playing music in the background. When I go out of the office for a break or for lunch I usually just click the pause button on the Mini Player - and, when I return I click it again to resume the song that was playi

  • Source in , source out not match

    hi , i have a little bug really boring problem with color , in fact with few plans of my edit color don't use the good in and out point , there are good on the timeline the plan is good sized , i colorise it and when i want to make a render i see tha