Runtime Errors & Tables missing

Hello,
We have a strange problem:
We successfully installed the EHP4 upgrade for ERP 6.0 with the EHPinstaller on our central instance. We set up an distributed system, the database is on Linux with MaxDB.
After that I tried to logon with the SAPGUI on the SAP server, but I receive directly the message "SAP System Message: a table is unknown or does not exist." So a logon on the system IS NOT possible.
In the MMC Syslogs I see that there are 2 errors with starting the SAP server:
- SAP Basis System: Run-time error "DBIF_RSQL_TABLE_UNKNOWN                (ERROR)
- Database: Table D010ENH    does not exist in the database with ID R/3             (WARNING)             
These two errors are occuring several times in the syslogs. The server nodes in die SAPMMC are running all on green.
What can I do there? Any ideas? Haven't found any notes on this problem.
Regards,
Vermeer

Hello,
<br>
In the EHPI log file TABLOC.LOG are all tables listen, as well the D010ENH and at the and it says that "tp_exec_dbscript: 3 statement(s) successfully processed."
<br>
<br>
Here the dev_w0 log:
<br>
<br>
trc file: "dev_w0", trc level: 1, release: "701"
*  ACTIVE TRACE LEVEL           1
*  ACTIVE TRACE COMPONENTS      all, MJ
M sysno      30
M sid        GB1
M systemid   562 (PC with Windows NT)
M relno      7010
M patchlevel 0
M patchno    94
M intno      20020600
M make:      multithreaded, Unicode, 64 bit, optimized
M pid        3820
M

M Thu Sep 23 15:03:31 2010
M  kernel runs with dp version 244000(ext=110000) (@(#) DPLIB-INT-VERSION-244000-UC)
M  length of sys_adm_ext is 576 bytes
M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3820) [dpxxdisp.c   1349]
I  MtxInit: 30000 0 0
M  DpSysAdmExtCreate: ABAP is active
M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M  DpShMCreate: sizeof(wp_adm)          28032     (1752)
M  DpShMCreate: sizeof(tm_adm)          5912704     (29416)
M  DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
M  DpShMCreate: sizeof(slock_adm)          0     (104)
M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M  DpShMCreate: sizeof(file_adm)          0     (72)
M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
M  DpShMCreate: sizeof(gw_adm)     48
M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000B2C0050, size: 6612384)
M  DpShMCreate: allocated sys_adm at 000000000B2C0050
M  DpShMCreate: allocated wp_adm at 000000000B2C2270
M  DpShMCreate: allocated tm_adm_list at 000000000B2C8FF0
M  DpShMCreate: allocated tm_adm at 000000000B2C9050
M  DpShMCreate: allocated wp_ca_adm at 000000000B86C8D0
M  DpShMCreate: allocated appc_ca_adm at 000000000B8726D0
M  DpShMCreate: allocated comm_adm at 000000000B874610
M  DpShMCreate: system runs without slock table
M  DpShMCreate: system runs without file table
M  DpShMCreate: allocated vmc_adm_list at 000000000B8FB2A0
M  DpShMCreate: allocated gw_adm at 000000000B8FB320
M  DpShMCreate: system runs without vmc_adm
M  DpShMCreate: allocated ca_info at 000000000B8FB350
M  DpShMCreate: allocated wall_adm at 000000000B8FB360
M  rdisp/queue_size_check_value :  -> off
M  ThTaskStatus: rdisp/reset_online_during_debug 0
X  EmInit: MmSetImplementation( 2 ).
X  MM global diagnostic options set: 0
X  <ES> client 0 initializing ....
X  Using implementation view
X  <EsNT> Using memory model view.
M  <EsNT> Memory Reset disabled as NT default
X  ES initialized.
X  mm.dump: set maximum dump mem to 96 MB

M Thu Sep 23 15:03:32 2010
M  ThInit: running on host vmhsapgb01

M Thu Sep 23 15:03:33 2010
M  calling db_connect ...
B  create_con (con_name=R/3)
B  Loading DB library 'E:\usr\sap\GB1\DVEBMGS30\exe\dbsdbslib.dll' ...
B  Library 'E:\usr\sap\GB1\DVEBMGS30\exe\dbsdbslib.dll' loaded
B  Version of 'E:\usr\sap\GB1\DVEBMGS30\exe\dbsdbslib.dll' is "700.08", patchlevel (0.93)
B  New connection 0 created

C  DBSDBSLIB : version 700.08, patch 0.093 (Make PL 0.94)
C  MAXDB shared library (dbsdbslib) patchlevels (last 10)
C    (0.093) Unknown primary key (note 1459400)
C    (0.093) Connection table corrected (note 1466271)
C    (0.092) Improved overflow error handling (note 1463647)
C    (0.084) Use SCHEMANAME instead of OWNER for MaxDB 7.8 (note 1353266)
C    (0.082) Support of  MaxDB 7.8 (note 1353266)
C    (0.047) MVCC support for MaxDB (note 1332203)
C    (0.037) NUMC conversion corrected (note 1288313)
C    (0.024) Default value for max. input variables is 2000 (note 655018)
C    (0.024) Profile parameter to define max. input variables (note 655018)
C    (0.024) Switch SQLMODE after CREATE INDEX SERIAL (note 1267841)


C  Loading SQLDBC client runtime ...

C Thu Sep 23 15:03:34 2010
C  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 007-123-091-175
C  SQLDBC Library Version : libSQLDBC 7.6.5    BUILD 009-123-191-997
C  SQLDBC client runtime is MaxDB 7.6.5.009 CL 191997
C  SQLDBC supports new DECIMAL interface : 0
C  SQLDBC supports VARIABLE INPUT data   : 1
C  SQLDBC supports keepAlive indicator   : 0
C  INFO : SQLOPT= -I 0 -t 0 -S SAPR3
C  Try to connect (DEFAULT) on connection 0 ...
C  Attach to SAP DB : Kernel    7.7.04   Build 028-123-194-355
C  Database release is SAP DB 7.7.04.028
C  INFO : Database 'GB1' instance is running on 'vlhsapdbgb01'
C  DB max. input host variables  : 2000
C  DB uses MVCC support          : 0
C  INFO : SAP DB Packet_Size = 131072
C  INFO : SAP DB Min_Reply_Size = 4096
C  INFO : SAP DB Comm_Size = 126976
C  INFO : DBSL buffer size = 126976
C  INFO : SAP DB MaxLocks = 800000
C  INFO : Connect to DB as 'SAPGB1'
C  Command info enabled
C  Now I'm connected to SAP DB
C  00: vlhsapdbgb01-GB1, since=20100923150334, ABAP= <unknown> (0)
B  Connection 0 opened (DBSL handle 0)
B  Wp  Hdl ConName                        ConId     ConState     TX  HC  PRM RCT FRC TIM MAX OPT Date     Time   DBHost                       
B  000 000 R/3                            000000000 ACTIVE       NO  NO  YES NO  NO  000 255 255 20100923 150333 vlhsapdbgb01                 
C  INFO : SAP RELEASE (DB) = 701
M  db_connect o.k.
M  ICT: exclude compression: *.zip,*.cs,*.rar,*.arj,*.z,*.gz,*.tar,*.lzh,*.cab,*.hqx,*.ace,*.jar,*.ear,*.war,*.css,*.pdf,*.js,*.gzip,*.uue,*.bz2,*.iso,*.sda,*.sar,*.gif,*.png,*.swc,*.swf

Similar Messages

  • Runtime error saying missing iview after deployment

    Hi all gurus!
    A very irritating problem is annoying the hell out of me. The background: as an experiment I downloaded and took a copy for safety reasons of the com.portal.navigation.toolarea file. I then edited the jsp file in one of the copies and deployed the result into the portal and emediately got a runtime error. Not very clever to edit the SAP standard file but as I mentioned I took a copy for precaution and deployed that one back into the portal. But now for the problem: I still get the same runtime error!
    The error message is as follows:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/every_user/general/defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.toolAreaiView
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file
    It seems like some connections have been broken. What do I have to do in order to restore everything? I have checked at the repository at the portal server itself and the folder with the original content is to be found there, that is the jsp-file is the unedited one.
    Any ideas? I think it's just some standard procedure I have to do but I don't know what to be honest.
    Best regards
    Benny Lange

    Hi,
    As you have the original backed up par file do the following:
    1. Goto Administration Console and undeploy the project
    System Administration-> Support-> Portal Runtime-> Administration Console
    2. Do the offline undeploy as suggested below.
    3. Copy the backed up par file into folder ..\usr\sap\<SID>\<JC-->\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd
    4. Restart your server
    5. After restart, check in folder ..\usr\sap\<SID>\<JC-->\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd
    You should see that your par file is renamed to par.bak
    Offline undeployment:
    Here is the way you can undeploy your par file manually:
    Remove your par.bak files from:
    ..\usr\sap\<SID>\<JC-->\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd
    and
    ..\usr\sap\<SID>\<JC-->\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\temp
    Mostly the par.bak will be present either in pcd or temp folders but not in both.
    ex: C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd
    Greetings,
    Praveen Gudapati

  • Urgent: Regarding Runtime Error in FM

    hi,
    i had made a Function Module which will reterive the production order,but when i use it in the program it gives runtime error.Plzz help me how to solve this problem.
    1st i am pasting the code which i had written:-
    FUNCTION ZFIND_PRDORD.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(QP_CHARG) LIKE  CHVW-CHARG OPTIONAL
    *"     VALUE(P_AUFNR) LIKE  CHVW-AUFNR OPTIONAL
    *"  EXPORTING
    *"     VALUE(P_RETVAL) LIKE  CHVW-AUFNR
    DATA : BEGIN OF T_CHVW OCCURS 0,
                  XZUGA LIKE CHVW-XZUGA,
                  WERKS LIKE CHVW-WERKS,
                  MATNR LIKE CHVW-MATNR,
                  CHARG LIKE CHVW-CHARG,
                  AUFNR LIKE CHVW-AUFNR,
                  EBELN LIKE CHVW-EBELN,
                  MBLNR LIKE CHVW-MBLNR,
                  ZEILE LIKE CHVW-ZEILE,
                  BUDAT LIKE CHVW-BUDAT,
                  SHKZG LIKE CHVW-SHKZG,
                  BWART LIKE CHVW-BWART,
                  MENGE LIKE CHVW-MENGE,
                  MEINS LIKE CHVW-MEINS,
                  KZBEW LIKE CHVW-KZBEW,
              END OF T_CHVW.
    SELECT XZUGA WERKS MATNR CHARG AUFNR EBELN
    MBLNR ZEILE BUDAT SHKZG BWART MENGE MEINS KZBEW
    FROM CHVW INTO TABLE T_CHVW
    WHERE CHARG EQ QP_CHARG
    and XZUGA = ' '
    AND BWART = '101'
    and aufnr eq p_aufnr
    AND KZBEW = 'F' .
    P_RETVAL = T_CHVW-AUFNR.
    ENDFUNCTION.
    Now i am displaying the program for testing this FM which gives the runtime error:-
    TABLES : CHVW.
    SELECT-OPTIONS : P_CHARG FOR CHVW-CHARG,
                     P_AUFNR FOR CHVW-AUFNR .
    CALL FUNCTION 'ZFIND_PRDORD'
    EXPORTING
       QP_CHARG       = P_CHARG
       P_AUFNR        = P_AUFNR
    IMPORTING
       P_RETVAL      = P_AUFNR.
    WRITE : / 'SDSQDA' .
    Plzz help me out as how to solve this problem as i have to use it in 
    the main program.
    regards,
    ric.s

    HI SANTOSH,
    I had changed according what u said and it is not giving runtime error .
    but it is not giving the value as if i send the value of batch and the prd orderr. plz tell me how do it get the output.
    i had written the code of program like this:-
    TABLES : CHVW.
    Parameters : P_CHARG like CHVW-CHARG,
                 P_AUFNR like CHVW-AUFNR.
    DATA: PRD LIKE CHVW-AUFNR.
    CALL FUNCTION 'ZFIND_PRDORD'
    EXPORTING
    QP_CHARG = P_CHARG
    P_AUFNR = P_AUFNR
    IMPORTING
    P_RETVAL = PRD.
    WRITE : / PRD .
    PLZ HELPMEOUT HOW TO DO THIS.

  • Objects Runtime Error -- Missing Right Parenthesis

    I am getting a RUNTIME error when using objects "Missing right parenthesis". The same script runs in Oracle 8i but will not run in the newly installed oracle8 enterprise edition. Oracle closed the support track saying they no longer support this version of Oracle. Unfortunately we have a client that we support and must match their environment. Does anyone know what might be missing or wrong with our environment?
    This is the code and error:
    declare
         l_users gl_jointype := gl_joinType ( gl_JoinOBJECT ( 1,'test'));
    begin
    insert into t select * from TABLE ( CAST ( l_users as gl_JoinType ) );
    END;
    gives me the following RUNTIME error
    ERROR at line 1:
    ORA-00907: missing right parenthesis
    ORA-06512: at line 4
    We are running oracle: this is our SQL Plus blurb
    Connected to:
    Oracle8 Enterprise Edition Release 8.0.5.0.0 - Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.5.0.0 - Production
    This is the object and type creation:
    DROP TYPE gl_JoinType;
    CREATE OR REPLACE TYPE gl_JoinObject AS OBJECT
    ( NumberJoin NUMBER, -- Number for Dynamic Joins
    CharJoin VARCHAR(80) -- Varchar for Dynamic Joins
    CREATE OR REPLACE TYPE gl_JoinType AS TABLE OF gl_JoinObject;
    Create the table:
    CREATE TABLE t ( NumberJoin Number, CharJoin VARCHAR2(80));

    CAST and this use of TABLE are new features, not in 8.05 or 8.06 (I'm not sure when they were introduced, 8i I suspect.)
    I get the same error on my 8.06 instance:
    1 declare
    2 l_users gl_jointype := gl_joinType ( gl_JoinOBJECT ( 1,'test'));
    3 begin
    4 for x in (select * from TABLE ( CAST ( l_users as gl_JoinType ) ))
    5 loop
    6 dbms_output.put_line('x.NumberJoin = ' || x.NumberJoin);
    7 end loop;
    8* end;
    SQL> /
    declare
    ERROR at line 1:
    ORA-00907: missing right parenthesis
    ORA-06512: at line 4

  • Error while deploying web role - Invalid application runtime - a runtime component is missing:/base/x64/IISConfigurator.exe

    I have Azure SDK 2.5 installed and when I try and publish my web role from VS 2013, it fails. When I manually upload the package and config through the Azure Portal I get the error:  "Invalid application runtime - a runtime component
    is missing:/base/x64/IISConfigurator.exe".
    I have tried uninstalling and re-installing the Azure SDK with no change in the error.
    Any ideas how I can troubleshoot this?

    I uninstalled the SDK, and tried to create a new cloud servce using the WCF service project template. The new project still gives me the same error:
    The file provided is not a valid service package. Detailed error code: WCFServiceWebRole1 Invalid application runtime - a runtime component is missing:/base/x64/IISConfigurator.exe.

  • Runtime error while putting negative value in to table control field

    Hi Guys,
                  I am working on a Table Control which has Currency
    and quantity fields.In PBO when the program is trying put a
    negative value then It is going into a runtime error.
    The Error description is,
    Runtime errors         DYNPRO_FIELD_CONVERSION
                                                                                    Error analysis                                                                               
    The program flow was interrupted and could not be resumed.                                 
    Program "SAPMZDBPRJCTEDFIG" tried to display fields on screen 0100. However, an            
    error occurred while this data was being converted.                                                                               
    How to correct the error                                                                               
    A conversion error occurred while the program was trying to   display data on the screen.                                                                               
    The ABAP output field and the screen field may not have the   same format.                                                                               
    Some field types require more characters on the screen than                                
    in the ABAP program. For example, a date field on a screen needs                           
    two characters more than it would in the program. When attempting to                       
    display the date on the screen, an error will occur that triggers the                      
    error message.                                                                               
    Screen name.............. "SAPMZDBPRJCTEDFIG"                                
                  Screen number............ 0100                                               
                  Screen field............. "ZDB_PROJCTD_FIG-ZWORKDONE"                        
                  Error text............... "FX015: Sign lost."                                 Further data:                                                                               
    I have tried increase the screen field length to more than the ABAP program field length and the scrren field name is of data type which supports signed value.
    But still I am getting the error.the error is 'Sign is lost'.
    I would appreaciate if you can help me with this.
    Correct answer will be rewarded.
    Thank you in advance,
    Sanujit Acharya

    Check The Forum
    Re: PA-BN : "FX015: Sign lost." dump
    Kanagaraja L

  • Runtime error in Dynamic internal table with AMOUNT and Quantity Fields..

    Dear friends,
    I am attempting write a dymanic Select Statement (with joins).
    And the sleect query looks like this..
      SELECT (LT_SEL_LIST)
      INTO CORRESPONDING FIELDS OF
      TABLE <DYN_TABLE>
      FROM (LT_FROM_LIST)
      WHERE (LT_WHERE3).
    Here the into table is a dynamically created internal table..
    which is created by ...this
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = IT_OUTPUT2[]
        IMPORTING
          EP_TABLE        = DY_TABLE.
    the it_output2 contains the the fieldcatlog information of dynamically given fields :-
    like:-
           TABNAME
           FIELDNAME
           DATATYPE
           LENG
           INTTYPE
           ROLLNAME
           DECIMALS
           REFTABLE
           REFFIELD
    i mean the internal table is constructed with reference to all the bove metadata.
    Problem:- This query run fine with all the fields Except AMOUNT AND QUANTITY fields....
    When the selection list contain VBAK-NETWR or MSEG-MENGE..It throws a runtime error.
    "The data read during a SLECT access couldnt be inserted into the target field,either conversion is not supported for
    the target field's type or the target field is too short."
    after this I even tried to construct the dynamic table with CFILEDNAME and QFIELDNAME in the Fieldcatalog.
    so now my fieldcatlog looks like this:---
    LOOP AT IT_DD03L..
      IF IT_DD03L-DATATYPE = 'CURR'.
           TABLEFIELD-CFIELDNAME = IT_DD03L-FIELDNAME .
           ENDIF.
       IF IT_FIELDCAT3-DATATYPE = 'QUAN'.
           TABLEFIELD-QFIELDNAME = IT_DD03L-FIELDNAME .
      ENDIF.
           TABLEFIELD-TABNAME     = IT_DD03L-TABNAME.
           TABLEFIELD-FIELDNAME   = IT_DD03L-FIELDNAME.
           TABLEFIELD-DATATYPE    = IT_DD03L-DATATYPE.
           TABLEFIELD-INTLEN      = IT_DD03L-LENG.
           TABLEFIELD-INTTYPE     = IT_DD03L-INTTYPE .
           TABLEFIELD-ROLLNAME    = IT_DD03L-ROLLNAME.
           TABLEFIELD-DECIMALS    = IT_DD03L-DECIMALS.
           TABLEFIELD-REF_TABLE   = IT_DD03L-REFTABLE.
           TABLEFIELD-REF_FIELD   = IT_DD03L-REFFIELD.
    APPEND TABLEFIELD.
    CLEAR TABLEFIELD.
    ENDLOOP.
    Note:- this is a test code so ignore performance issues...
    Please help me with some code ...to avoid the Runtime erorr.
    Thanks,
    jeevan.

    Hi Jeevan,
    Why are moving only few fields from DD03L table to your field catalog? Why don't you use move-corresponding? The following code works for me in ECC6.0.
    data: it_dd03l type table of dd03l initial size 0,
          ls_dd03l type dd03l,
          lt_fldcat TYPE lvc_t_fcat,
          ls_fldcat TYPE lvc_s_fcat,
          ls_where(72) TYPE c,
          lt_where LIKE TABLE OF ls_where,
          lt_fld LIKE TABLE OF ls_where,
          lt_data_dy TYPE REF TO data.
    field-symbols: <ft_data> TYPE STANDARD TABLE.
    select * into table it_dd03l from dd03l
        where tabname = 'VBAK'
          and ( fieldname = 'VBELN' or fieldname = 'NETWR' ).
    check sy-subrc eq 0.
    loop at it_dd03l into ls_dd03l.
      move-corresponding ls_dd03l to ls_fldcat.
      append ls_fldcat to lt_fldcat.
      move ls_dd03l-fieldname to ls_where.
      append ls_where to lt_fld.
      if ls_dd03l-fieldname = 'VBELN'.
        clear ls_where.
        concatenate ls_dd03l-fieldname ' <> ''''' into ls_where.
        append ls_where to lt_where.
      endif.
    endloop.
    check not lt_fldcat is initial.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fldcat
          IMPORTING
            ep_table                  = lt_data_dy
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
        IF sy-subrc <> 0.
          RAISE no_configuration_data.
        ENDIF.
        ASSIGN lt_data_dy->*  TO <ft_data>.
    check sy-subrc eq 0.
    select (lt_fld) from VBAK into corresponding fields of table
        <ft_data>
        where (lt_where).
    Thanks
    Bala

  • Runtime error at select statement in RFC_READ TABLE FM

    Dear All,
       I have copied the standard FM RFC_READ_TABLE to incorporate the customer needs. Below is the select query which I have written in this FM.
    SELECT (po_search_text-column_text) INTO <wa> FROM ekko
          INNER JOIN ekpo ON ekko~ebeln = ekpo~ebeln
          INNER JOIN eket ON ekpo~ebeln = eket~ebeln AND ekpo~ebelp = eket~ebelp
          INNER JOIN lfa1 ON ekko~lifnr = lfa1~lifnr
          INNER JOIN lfm1 ON ekko~lifnr = lfm1~lifnr AND ekko~ekorg = lfm1~ekorg
          INNER JOIN lfb1 ON ekko~lifnr = lfb1~lifnr AND ekko~bukrs = lfb1~bukrs
          INNER JOIN t024 ON ekko~ekgrp = t024~ekgrp
          INNER JOIN zatscsng_status ON eket~ebeln = zatscsng_status~po_number
          AND   eket~ebelp = zatscsng_status~po_line
          AND   eket~etenr = zatscsng_status~po_sched_line
          INNER JOIN adrc ON zatscsng_status~delivery_addr = adrc~addrnumber
          WHERE (po_search_text-cond_text)
          ORDER BY (po_search_text-sort_text).
    Here, posearch_text-column_text_ will have the fields to be selected at runtime and posearch_text-cond_text_ is the where condition. It is running fine in this case.
    But when I try to select Item Category ( EKPO-PSTYP), if data is present for this category, it is returning the values but if data is not there for the particular item category in the where clause, it is giving a RUNTIME ERROR at the select statement.
    Here is the ERROR ANALYSIS:
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
      not caught in
    procedure "ZATSCSNG_RFC_READ_TABLE" "(FUNCTION)", nor was it propagated by a
      RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    The current ABAP program has tried to execute an Open SQL statement
    which contains a WHERE, ON or HAVING condition with a dynamic part.
    The part of the WHERE, ON or HAVING condition specified at runtime in
    a field or an internal table, contains the invalid value "<L_LINE>-PSTYP".
    Edited by: Rob Burbank on Mar 17, 2010 5:09 PM

    Now that's what I call a join statement...
    You probably have a bug in how you build po_search_text-cond_text, the content must be a syntactically correct where clause. It seems that in your example there is just "<L_LINE>-PSTYP" without a condition, so try omitting it altogether.
    Debug the content of po_search_text-cond_text before it hits the select statement.
    Thomas

  • Dynamic table runtime error

    Hi everyone.
    We are working on upgrading from 4.6c to ECC 6.0 and I've run into a programming problem.
    I have a class that I use to convert any internal table based on a dictionary structure to a comma-separated text file.  For the most part, I use the dynamic table techniques that are easy to find here and in other code forums.
    In 6.0 I can not get it to work.  The value assignment of the input table to the field-symbol for the dynamic table causes a "OBJECTS_TABLES_NOT_COMPATIBLE" runtime error.  So far what I can find on this error specific to dynamic tables is related to BW and/or PI.  And I can't seem to find any alternative ways of dealing with dynamic tables.  In debug I can see that decimal number fields in the dynamic table have a different length than what's in the dictionary.
    Any help or ideas would be greately appreciated.
    Here is part of the method that converts the itab to an dynamic internal table, then creates a csv record for each record (I've hilighted the line that causes the dump) :
    Get the structure of the table.
      ref_table_des ?=
          cl_abap_typedescr=>describe_by_name( i_structure ).
      idetails[] = ref_table_des->components[].
      loop at idetails into xdetails.
        clear xfc.
        xfc-fieldname = xdetails-name .
        xfc-datatype = xdetails-type_kind.
        xfc-inttype = xdetails-type_kind.
        xfc-intlen = xdetails-length.
        xfc-decimals = xdetails-decimals.
        append xfc to ifc.
      endloop.
    Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = ifc
                   importing
                      ep_table        = dy_table.
      assign dy_table->* to <dyn_table>.
    Create dynamic work area and assign to FS
      create data dy_line like line of <dyn_table>.
      assign dy_line->* to <dyn_wa>.
    put data into the dynamic table
    <dyn_table> = it_data[].    "<<==the runtime error happens on this line
      loop at <dyn_table> into <dyn_wa>.
        clear: l_fdata, l_data.
        do.
          l_index = sy-index.
          assign component l_index
             of structure <dyn_wa> to <dyn_field>.
          if sy-subrc <> 0.
            exit.
          endif.
          read table ifc into xfc index l_index.
          if xfc-inttype = 'D'.
    *etc...
    Thank you,
    - George

    Hi,
    For Dynamic internal table.u check SM30 Transaction.ther is one simple way to find the code in debugging.
    if not possible i will send code which is relatd to dynamic table .
    *&      Form  get_table_structure
    *       Get structure of an SAP table
    form get_table_structure.
      data : it_tabdescr type abap_compdescr_tab,
             wa_tabdescr type abap_compdescr.
      data : ref_table_descr type ref to cl_abap_structdescr.
    * Return structure of the table.
      ref_table_descr ?= cl_abap_typedescr=>describe_by_name( p_table ).
      it_tabdescr[] = ref_table_descr->components[].
      loop at it_tabdescr into wa_tabdescr.
        clear wa_fieldcat.
        wa_fieldcat-fieldname = wa_tabdescr-name .
        wa_fieldcat-datatype  = wa_tabdescr-type_kind.
        wa_fieldcat-inttype   = wa_tabdescr-type_kind.
        wa_fieldcat-intlen    = wa_tabdescr-length.
        wa_fieldcat-decimals  = wa_tabdescr-decimals.
        append wa_fieldcat to it_fieldcat.
      endloop.
    endform.                    "get_table_structure
    *&      Form  create_itab_dynamically
    *   Create internal table dynamically
    form create_itab_dynamically.
    * Create dynamic internal table and assign to Field-Symbol
      call method cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fieldcat
        IMPORTING
          ep_table        = dyn_table.
      assign dyn_table->* to <fs_table>.
    * Create dynamic work area and assign to Field Symbol
      create data dyn_line like line of <fs_table>.
      assign dyn_line->* to <fs_wa>.
    endform.                    "create_itab_dynamically
    Edited by: subrahmanyam24 on Nov 18, 2010 5:12 AM
    Edited by: subrahmanyam24 on Nov 18, 2010 5:15 AM

  • Runtime error when inserting rows in hrp1018 and hrt1018 tables

    Hi All,
    I have a requirement to insert row in hrp1018 and hrt1018 tables.These tables are interlinked.So, I have used FM 'RH_INSERT_INFTY'. The exact code which I have used is as follows.
    *****************************************code***************************************************************
    << Please post only the relevant portion of the code >>
    The runtime error which is coming is as follows:
    Error analysis
        An internal error in the database interface occurred during access to
        the data of table "HRT1018 ".
        The situation points to an internal error in the SAP software
        or to an incorrect status of the respective work process.
        For further analysis the SAP system log should be examined
        (transaction SM21).
        For a precise analysis of the error, you should supply
        documents with as many details as possible.
    Please let me know why this error is coming.I am not able to find out mistake in the FM and form used in the code.
    Thanks in advance,
    BBKrishna.
    Edited by: Rob Burbank on Jun 9, 2009 1:31 PM

    I am adding the code once again.Please let me know why the error is coming up.
    lv_mproj = 'BLDNG'.
      wa_p1018-mandt = sy-mandt.
      wa_p1018-otype = '9M'.
      wa_p1018-objid = '50009650'.
      wa_p1018-begda = '20090608'.
      wa_p1018-endda = '99991231'.
      wa_p1018-infty = '1018'.
      wa_p1018-plvar = '01'.
      wa_p1018-otype = '9M'.
      wa_p1018-istat = '1'.
      append wa_p1018 to it_p1018.
      repid = sy-repid.
    *Updating hrp1018 and hrt1018 tables
      CALL FUNCTION 'RH_INSERT_INFTY'
        EXPORTING
        FCODE                     = 'INSE'
        VTASK                     = 'D'
         AUTHY                    = ' '
          REPID                   =  repid
          FORM                    = 'FILL_TABS'
        TABLES
          INNNN                   = it_p1018
    EXCEPTIONS
       NO_AUTHORIZATION          = 1
       ERROR_DURING_INSERT       = 2
       REPID_FORM_INITIAL        = 3
       CORR_EXIT                 = 4
       BEGDA_GREATER_ENDDA       = 5
       OTHERS                    = 6
      IF SY-SUBRC <> 0.
        CALL FUNCTION 'BALW_BAPIRETURN_GET'
          EXPORTING
            TYPE                             = SY-MSGTY
            CL                               = sy-msgid
            NUMBER                           = SY-MSGNO
      PAR1                             = ' '
      PAR2                             = ' '
      PAR3                             = ' '
      PAR4                             = ' '
      LOG_NO                           = ' '
      LOG_MSG_NO                       = ' '
         IMPORTING
           BAPIRETURN                        = return_rec
    EXCEPTIONS
      ONLY_2_CHAR_FOR_MESSAGE_ID       = 1
      OTHERS                           = 2
        IF SY-SUBRC <> 0.
            lv_mproj = text-011
                      ELSE.
                      ii_return = return_rec.
                      CONCATENATE                  ii_return-type '-' ii_return-message
                      INTO lv_err_msg SEPARATED BY SPACE.
        ENDIF.
      ENDIF.
    *RHCD_TAB-PROZT
       FORM fill_tabs TABLES ins_tab
                   USING ins_set ins_index.
      DATA : BEGIN OF set.
              INCLUDE STRUCTURE wplog.
      DATA : END   OF set.
      DATA: BEGIN OF h_pt1018.             "to initialize INS_TAB
              INCLUDE STRUCTURE pt1018.
      DATA: END OF h_pt1018.
      REFRESH ins_tab.
      set = ins_set.
      CASE set-infty.
        WHEN '1018'.
          h_pt1018-posnr = lv_mproj.
          h_pt1018-prozt = '100.00'.
          IF NOT ( h_pt1018 IS INITIAL ).
            CLEAR ins_tab.
            ins_tab+36(8) = lv_mproj. "h_pt1018.
            ins_tab+134(5) = '100.00'.
            APPEND ins_tab.
          ENDIF.
      ENDCASE.
    ENDFORM.

  • ALV: Runtime error when calling only few columns of tables in ALV rpt

    Dear ABAP Gurus N Experts,
    I am new for ABAP.
    I am creating an ALV for fetching the data from ztable. It works fine, If I select all column than .
    SELECT * FROM zshipment01 INTO TABLE gi_zshipment01.
    But when I try to select only few column it gives an error. Runtime errors: DBIF_RSQL_INVALID_RSQL, Exception:  CX_SY_OPEN_SQL_DB
    SELECT container shipment_no bill_of_lad bl_date DATE_OF_PORT ARRIVAL_NO1 ED_TRUCKING
    FROM zshipment01 INTO TABLE gi_zshipment01.
    I am using following function:, which is called in program as PERFORM load_data_into_grid.
    FORM load_data_into_grid.
    SELECT * FROM zshipment01 INTO TABLE gi_zshipment01.
    Load data into the grid and display them
    CALL METHOD go_grid->set_table_for_first_display
           EXPORTING i_structure_name = 'zshipment01'
           CHANGING  it_outtab        = gi_zshipment01.
       ENDFORM.                    " load_data_into_grid
    Early response will be highly appreciated.
    With thanks,
    DSC
    Moderator Messge: Basic questions are not allowed. Search before you post.
    Edited by: kishan P on Feb 29, 2012 2:22 PM

    Hi Devendra,
    Try to use "corresponding" statement.
    SELECT field1 field1 etc FROM zshipment01 *INTO CORRESPONDING FIELD OF TABLE* gi_zshipment01.
    Regards,
    Dondi.
    Points unassigned
    Edited by: kishan P on Feb 29, 2012 2:22 PM

  • Runtime error using range table in select query

    I have to select tcodes from table tstc, based on the entries in ust12,
    the entries in ust12-von and ust12-bis, these contains wild charcters also,  and i have to selct all the tcodes  from von to bis.
    so ia m preparing a range table for the entries in ust12, and querying table tstc, then i am getting a runtime error with following description.
    'If the problem occurred because an excessively large table was used
    in an IN itab construct, you can use FOR ALL ENTRIES instead.'
    but how can i use FOR ALL ENTRIES here, because if von = A* and bis = AB*,then i ahve to read all the entries from AAAA till ABZZ (may be something like this),
    is there any way to write this query, with out runtime error.
    there are total 15000 entries in ust12, i am preparing range table for 3000 entries each and querying tstc.
    Thanks in advance
    Best Regards
    Amarender Reddy B

    Hi,
    first write a select on ust12 based on ust12-von and ust12-bis.
    eg: select von bis from ust12 into table gt_ust12
                               where von LIKE 'A%'
                                   and bis LIKE 'AB%'.
    now write another select for tstc for all entries in gt_ust12...
    Hope it helps
    Regards,
    Pavan

  • Query Designer, Execute fails with missing iView (Portal Runtime Error)

    Hi,
    I have followed all steps to integrate Sap NetWeaver 2004s BI into EP. Checks done so far indicate that all is well between the EP and BI.  From within the EP, I can execute the Bex Web Analyser iView and from there I can execute a query on the BI backend.  From the BI backend, executing the function module RSWR_RFC_SERVICE_TEST returns the 'BI test service' success message.  SSO is working fine as no user/passwords were prompted for. From the trace file, I can see no errors appear but I do see authentication success messages.  So far, so good
    But, when I execute a query from within the Query Designer, it calls the browser and then errors with the following error:
    <b><i>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex.
    Exception id: 10:06_03/03/06_0012_26285450
    See the details for the exception ID in the log file</i></b>
    Looking at the trace file, all it tells me is the same, that this iView is not found.
    If I logon to the portal and have a look at the iViews within the 'platform-add-ons/bi' folder, I can see the following 4 iViews:
    BEx Broadcaster (com.sap.ip.bi.bexbroadcaster)
    BEx Portfolio (com.sap.ip.bi.bexportfolio)
    BEx Web Analyser (com.sap.ip.bi.bexwebanalyzer)
    My Portfolio (com.sap.ip.bi.myportfolio)
    I cannot find the missing iView (com.sap.ip.bi.bex).
    Any ideas/suggestions would be appreciated.
    Thanks in advance.

    Hi Ashish,
    Thanks for the suggestions.  Here is what happened:
    1. I have run the deploy and change template again (BIPostInstall).  Step 10 failed but I am not too concerned as it does appear that SSO is working both directions.  Also, step 13 failed which is the 'Configure Repository Manager'.  The error I got here was USER_AUTH_FAILED: User account for logonid "" not found.  I am not sure where it is getting the blank userid from. 
    2. The 'com.sap.ip.bi.business_explorer_showcase' role suggestion looked very promising.   I found some doco on it and it does mention this role and when assigned, then you see the Business Explorer tab.  I assigned it to all users and to all groups.  When I went back into the portal, sure enough, the Business Explorer tab was visible.  From within there, I could run query which all worked fine.
    BUT, when executing a query from within the BEx Query Designer, I still got the same error:
    <i><b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex.
    Exception id: 11:25_05/03/06_0003_26285450
    See the details for the exception ID in the log file</b></i>
    Do you know if this is an actual iView that should exist in the portal content ?  If you have this working, can you see this iView in the portal?
    3. I had a look at this note (872043) but I could not get the sap download manager to work to get the zip files attached to the note download.  If you have it still, could you email it to me ([email protected]) and I will try that. Did you apply the zip file?
    I can't find any further trace information on why this missing iView error is happening.  I've amended the severity level on the areas which a SAP note detailed but the only information I get is that a missing iView was called.
    Function module RSWR_RFC_SERVICE_TEST still works fine and I can execute a query from the Web BEx Analyser iView.
    I just can't execute a query from the BEx query designer due to the missing iView.
    I don't know whether it is a communication problem even though SSO both directions seem to work OR whether I do have some content missing from my portal. 
    Regards

  • Runtime Error "Cannot find system in table file"

    I need assistance!
    I have a Blackberry Curve 8310 and have recently installed Version 4.5
    I am trying to setup my synchronization.  I have followed the steps to setup my calendar to Outlook 2007.  It tells me Congratulations! You have successfully configured the product. However, when I press Finish, I get a Runtime Error "Cannot find system in table file"
    I have uninstalled the program and reinstalled it - the same error appears. 
    Any help would be appreciated!
    Solved!
    Go to Solution.

    FIGURED IT OUT!!!  
    The following steps, which are posted on the RIM Support will work; however, I had to do it a different way.  In Step 1, it states that the ilxolkCompanion.fil is located in C:\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector path...however, when I searched for this file, it was actually located in C:\Program Files\Blackberry\Connectors\MS Outlook Connector.  (This could be because I upgraded from 4.2.2 to 4.5 w/o completing a clean uninstall...not too sure why)
    Once I located the file through the command prompt, I unregistered as per the instructions in Step 1.  I then followed step 2 exactly word for word...and VOILA!!!  I now have Version 4.5 working with MS Outlook 2007
     ResolutionIf the Connectors folder is still present in C\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector, follow these steps:
    Unregister the old Microsoft Outlook connector ilxolkCompanion.fil.
    Open the command prompt.
    Navigate to C:\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector.
    Type in the command regsvr32 -u ilxolkCompanion.fil.
    In Desktop Manager, Microsoft Outlook will no longer be listed as an available desktop application.
    Register the most current Microsoft Outlook connector.
    Navigate to C:\Program Files\Research In Motion\BlackBerry\IS71 Connectors\MS Outlook Connector.
    Type in the command regsvr32 msoutlookconnector.fil.
    In Desktop Manager, Microsoft Outlook will now be registered as an available desktop application.
    Once these steps have been completed, configure synchronization again.

  • Hash Table -Runtime error.

    Hi,
    i am defining internal table as hash table but it is giving runtime error like bolow. some times it is executing properly or giving dump.please give me some suggestions to come out of this problem.
    Ex:
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLZGIT_MED" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An entry was to be entered into the table
         "\FUNCTION=ZBAPI_GIT_MED_HD_BOTELLAS_RPT\DATA=T_THERAPY_INFO" (which should
         have
        had a unique table key (UNIQUE KEY)).
        However, there already existed a line with an identical key.
        The insert-operation could have ocurred as a result of an INSERT- or
        MOVE command, or in conjunction with a SELECT ... INTO.
        The statement "INSERT INITIAL LINE ..." cannot be used to insert several
         initial lines into a table with a unique key.
    Code: .....................................
    TYPES: BEGIN OF X_THERAPY_INFO,
                    GIT_THERAPY_ID     TYPE ZGIT_VBELN_GIT,
                    CHO_THERAPY_ID     TYPE VBELN,
                    SERVICE_ID         TYPE MATNR,
                    SERVICE_DESC       TYPE ARKTX,
                    FLOW               TYPE ZGIT_ZFLOW,
                    DURATION           TYPE ZGIT_ZDURATION,
                    GIT_PAT_ID         TYPE ZGIT_KUNNR_GIT,
                    CHORUS_PAT_ID      TYPE KUNNR,
               END OF X_THERAPY_INFO,
    DATA:
    T_THERAPY_INFO           TYPE HASHED TABLE OF X_THERAPY_INFO WITH UNIQUE KEY        GIT_THERAPY_ID,                " Internal table for extracting the therapy Informamtion
    Extract the Therapy Details
      SELECT   VBELN_GIT
               VBELN
               MATNR
               ARKTX
               ZFLOW
               ZDURATION
               KUNNR_GIT
               KUNNR
      INTO     TABLE     T_THERAPY_INFO
      FROM     ZGIT_T_VBAK
      WHERE    KUNNR_GIT   NE SPACE
      AND      KVGR2       IN TR_KVGR2
      AND      ZDOCTOR     IN TR_DOC_SEL_ID
      AND      ZHOSPITAL   IN TR_HOSPITAL_ID
      AND    ( ZSTATUS_ID  NE C_HIDDEN
      AND      ZSTATUS_ID  NE C_DISABLED
      AND      ZSTATUS_ID  NE C_OTHERS )
      AND      VBELN       IN TR_VBELN.
      IF SY-SUBRC NE C_0.
    Thanks in advance,
    Srinivas P

    When you are using hashed tables, you cannot have duplicate records (considering it's key). So DELETE ADJACENT DUPLICATES won't solve it. It will dump before that.
    Find if you are inserting records with the same fields you inserted in the key.
    Example.
    If your key is VBELN, you cannot make it like this:
    SELECT a~vbeln b~matnr
       INTO TABLE hashed_itab
      FROM vbak AS a INNER JOIN vbap as b
       ON a~vbeln = b~vbeln
    WHERE ...
    It will dump if your vbeln has 2 lines in vbap.
    Two solutions:
    1 - expand the itab key to VBELN and POSNR (for example) or
    2
    SELECT DISTINCT a~vbeln b~matnr
       INTO TABLE hashed_itab
      FROM vbak AS a INNER JOIN vbap as b
       ON a~vbeln = b~vbeln
    WHERE ...
    Regards,
    Valter Oliveira.

Maybe you are looking for