Error while listing tables using OMB script

Hi All,
I'm just trying to list certain tables in OWB that contain a specific column but the following script I wrote is not working:
foreach tablename [OMBLIST TABLE TMP*] {
set columnlist [OMBRETRIEVE TABLE '$tablename' GET COLUMNS];
if {[lsearch $columnlist 'ID'] != -1} {
puts "Table: $tablename";
It returns the next error message:
OMB01036: Object type must be plural.
I've been searching for any documentation about this error but haven't found anything.
Any help would be highly appreciated as I'm starting to learn about OMB scripts.
Regards,
Mauricio

I tried that before and I got this error:
OMB00001: Encountered TMP* at line:1 column:16. Was expecting one of: <EOF> <QUOTED_STRING>...
It is strange because I wrote the code based on oracle documentation examples (Introduction to OMB Plus).
I also tried removing the "TMP*" just to see if that worked, even though I only want to check for tables which name start with TMP, and at least it doesn't return any error but It doesn't list any table either (and I'm pretty sure there are tables that satisfy the conditions). The script right now is:
foreach tablename [OMBLIST TABLES] {
set columnlist [OMBRETRIEVE TABLE '$tablename' GET COLUMNS];
if {[lsearch $columnlist 'ID'] != -1} {
puts "Table: $tablename";
I guess the solution must be simple but I can't see it. Any help?

Similar Messages

  • Error while generating ear using ant script in weblogic workshop 10

    In my application I have to create a ear file which should have the war file inside.
    I have created the build.xml for both ear application and web application, workshop.xml using weblogic workshop option
    File->export->WorkshopAntScripts
    I have been using the following command to execute the build.xml in EARApp(ear application)
    set the environment variables by running
    D:\bea\wlserver_10.0\common\bin\commEnv.cmd
    then
    D:\Source_Code\EARApp>ant clean build archive -Dworkspace="D:\Source_Code"
    I am getting the following error,
    Buildfile: build.xml
    init.env:
    check.versions:
    init.typedefs:
    init:
    clean:
    init.env:
    check.versions:
    init.typedefs:
    init:
    clean:
    [delete] Deleting 53 files from D:\Source_Code\WebApp\.apt_src
    [delete] Deleted 14 directories from D:\Source_Code\WebApp\.apt_src
    [delete] Deleting 218 files from D:\Source_Code\WebApp\build\classes
    [delete] Deleted 42 directories from D:\Source_Code\WebApp\build\classes
    [delete] Deleting directory D:\Source_Code\WebApp\build\assembly\.src
    [delete] Deleting directory D:\Source_Code\WebApp\build\weboutput
    [mkdir] Created dir: D:\Source_Code\WebApp\build\weboutput
    init.env:
    check.versions:
    init.typedefs:
    init:
    build:
    init.env:
    check.versions:
    init.typedefs:
    init:
    build:
    [apt] [web.content.root]|[D:\Source_Code\WebApp/\WebContent]
    [apt] [web.source.roots]|[D:\Source_Code\WebApp/src]
    [apt] Compiling 113 source files to D:\Source_Code\WebApp\build\classes
    [apt] warning: Annotation types without processors: [java.lang.SuppressWarnings, org.apache.be
    ehive.controls.system.jdbc.JdbcControl.ConnectionDataSource, org.apache.beehive.controls.system.jdbc
    .JdbcControl.SQL, com.bea.control.annotations.TransactionAttribute]
    [apt] 1 warning
    [apt] warning: Annotation types without processors: [java.lang.SuppressWarnings]
    [apt] 1 warning
    [apt] [web.content.root]|[D:\Source_Code\WebApp/\WebContent]
    [apt] [web.source.roots]|[D:\Source_Code\WebApp/src]
    [apt] Compiling 53 source files to D:\Source_Code\WebApp\build\classes
    [apt] warning: Annotation types without processors: [java.lang.SuppressWarnings]
    [apt] 1 warning
    [javac] Compiling 113 source files to D:\Source_Code\WebApp\build\classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 53 source files to D:\Source_Code\WebApp\build\classes
    [delete] Deleting directory D:\Source_Code\WebApp\build\weboutput
    [mkdir] Created dir: D:\Source_Code\WebApp\build\weboutput
    [copy] Copying 1 file to D:\Source_Code\WebApp\build\weboutput\WEB-INF
    [copy] Copying 1 file to D:\Source_Code\WebApp\build\weboutput\WEB-INF
    init.env:
    check.versions:
    init.typedefs:
    init:
    stage:
    [delete] Deleting directory D:\Source_Code\EARApp\.staging
    [mkdir] Created dir: D:\Source_Code\EARApp\.staging
    [copy] Copying 7 files to D:\Source_Code\EARApp\.staging
    init.env:
    check.versions:
    init.typedefs:
    init:
    stage.to.ear:
    init.env:
    check.versions:
    init.typedefs:
    init:
    stage:
    init.env:
    check.versions:
    init.typedefs:
    init:
    generated.root.init:
    assembly:
    [mkdir] Created dir: D:\Source_Code\WebApp\build\assembly\.src
    [assemble] Assembly failed - Control Assembly process failed
    [assemble] Caused by: info
    BUILD FAILED
    D:\Source_Code\EARApp\build.xml:189: The following error occurred while executing t
    his line:
    jar:file:/D:/bea/WLSERV%7e1.0/workshop/lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antl
    ib.xml:92: The following error occurred while executing this line:
    D:\Source_Code\EARApp\build.xml:201: The following error occurred while executing t
    his line:
    D:\Source_Code\WebApp\build.xml:351: The following error occurred while executing thi
    s line:
    D:\Source_Code\WebApp\build.xml:177: The following error occurred while executing thi
    s line:
    D:\Source_Code\WebApp\build.xml:424: Assembly failed.
    Some one help me solve this problem.
    Thanks in advance.

    --> some error on posting please refer to the next post...
    From the error logs we can trace it out to the web project's Build.xml file ....I was getting a similar error and by commenting out the following lines in the web project's Build.xml I am able to run the build script correctly and get a EAR file. The lines are
    <!--
    <assemble
    moduleDir="${generated.module.root}"
    moduleName="${project.name}"
    srcOutputDir="${assembly.src}"
    appRootDir="${ear.root}">
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
    <classpath refid="assembly.classpath" />
    <fileset dir="${project.dir}">
    <include name="**/*.controls.properties" />
    </fileset>
    </assemble>
         -->
    Please check it now, also if any one can let us know the function or role played by the above lines it would be great. Also if there would be any future or unseen problems by commenting out these lines please do let us know...
    Thanks
    -MiM
    Edited by prodigymonish83 at 10/22/2007 5:56 AM

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

  • Error while Loading Budgets Using AMG

    Error while Loading Budgets Using AMG
    Dear All,
    I am trying to load Budgets into ORACLE Projects using AMG API's..
    I have developed PL/SQL which uses below procedures of pa_budget_pub package.
    init_budget;
    load_budget_line;
    execute_draft_budget;
    baseline_budget;
    Procedure execute_create_draft_budget fails with following error message.
    error message: Please enter a valid product code for this project.
    error message: You entered an invalid API parameter.Please enter valid parameter and try again. Parameter Name: Resource List Parameter Value: 1446
    error message: Project: AC044. Please specify a valid resource list.
    error message: Project: AC044. Please specify a valid resource list.
    Could somebody explain me how to resolve this error message and load the budget lines.
    Thanks in Advance.
    Afsal Basha.

    What I'm saying is, verify the column name. Dont post if not possible.
    Example follows, with one table intentionally "hidden".
    SQL> create table "tEsT" ("MaxNumber" float, "MaxnumbeR" number);
    SQL> select table_name,column_name from user_tab_columns where table_name like 't%';
    TABLE_NAME                     COLUMN_NAME
    tEsT                           MaxNumber
    tEsT                           MaxnumbeR
    teST                           iD
    teST                           MaxNumberHth,
    Fredrik

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIBD0BILBLK_DL_TEXT'

    Hi All,
    I am getting a error"Error while creating table 'EDISEGMENT' entry", when running the program RS_Transtru ActivateAll to activate the transfer rules as we had reconnected our source system,
    we are on 2004s server and on SP level 17, I understand that this issue is created as the transfer rules are using IDOC as transfer method, and I Cannot manually change the transfer method to PSA and activate  as the number of transfer rules with this  issue are huge in number.
    Please suggest the suitable solution
    Thank you in advance
    krishna
    Edited by: krishna dvs on Feb 17, 2009 1:24 PM

    Hi,
    Please check the note 493422. The reports listed in the note
    should correct the inconsistencies and afterwards you can re-import the
    request and it should then work.
    Regards,
    Srikanth

  • Setting PREFIX for DIMENSION_TABLE using OMB Scripting

    I'm trying all day to find a way to set PREFIX for DIMENSION_TABLE
    using OMB script without success and I'm a little confused now.
    First of all Scripting Reference does not mention about PREFIX
    property so maybe there is no way to achieve what I want. Consequently
    it would mean that GUI interface is "stronger" than OMB Scripting.
    Secondly I don't understand why when I issue following command in OMB
    Plus:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTY_DEFINITIONS
    I get nothing (empty output, no errors) and when I execute:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTIES
    (STEREOTYPE, IS_ABSTRACT, DESCRIPTION)
    I get:
    class false {}
    First result suggests that there are no properties for DIMENSION_TABLE
    and second proves that there are at least three.
    Is there some type/properties inheritance here?
    Can someone explain me this and tell how can I:
    1. find all valid types (I would like to set prefix for LEVEL,
    LEVEL_ATTRIBUTE, etc. too)
    2. find all properties for these types
    regards
    Tomasz Gajewski

    You misunderstood me. I don't want to rename DIMENSION_TABLE. When creating DIMENSION_TABLE with gui I set NAME and PREFIX for each DIMENSION_TABLE and LEVEL.
    PREFIX for level is used later during deploy to distinguish attributes from different levels.
    Example. If I have a level named LEVEL_NAME with prefix LN and an attribute of it named ID than table generated for this contains column LN_ID.
    When I create DIMENSION_TABLE using OMB Script prefix is set same as name (default behaviour that I can't change) and it is to long to use.
    Scripting Reference doesn't mention about PREFIX property. Should I assume that the only way to change these values are through OWB GUI?
    regards
    Tomasz Gajewski

  • Error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR

    While loading master data for 0PLANT, its giving me following error.
    "error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR"
    Please help me out.
    Thanks

    steve,
    Can you give the solution you used to correct this problem?
    This error occurred in BW during import.
    Raj.

  • Error while creating stock using tcode: MB1C

    Error while creating stock using tcode: MB1C
    The Error is: Check table T004F:entry G006 does not exist

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

  • Error while runnig OIM task purging script OIM_TasksArch.sh

    Error while runnig OIM task purging script OIM_TasksArch.sh
    ## Enter date in YYYYMMDD format
    (All the task data for users which have been disabled/deleted on or before the entered date would be archived) :
    ## All the task data for users which have been disabled/deleted on or before TODAY's date would be archived,
    Do you want to continue [y,Y,n,N]? :
    y
    Calculating the number of records that would be archived,
    this may take some time, please wait...
    ERROR ==> An error has occurred during the process
    Please check logs created at /export/home/oracle/Purging_Task/Err_Arch_tasks_2012_11_05_16_51_22.log and try again
    ./OIM_TasksArch.sh: test: argument expected
    bash-3.00$ cat /export/home/oracle/Purging_Task/Err_Arch_tasks_2012_11_05_16_51_22.log
    -- Task Archival Execution Status
    Task Data Archival Summary
    ORA-00942: table or view does not exist

    In this link you resolved this issue by giving all privileges to DEV_OIM...
    Re: Getting error while running OIM in built purging script OIM_ReconArch.sh
    Now if again this ORA-00942: table or view does not exist is coming, possibility is that there is no issue regarding privileges as you already have given all privileges to DEV_OIM...
    Anyway try again giving full permissions to it just in case for some reasons permissions might have reset...
    Now the only option is to study OIM_TasksArch.sh and figure out which tables or view it wants to refer to and is not available to it..
    *./OIM_TasksArch.sh: test: argument expected*
    The above line means that this sh file needs some arguments... Please study a bit more to figure out those arguments.. It will work...
    *23.2.1 Understanding the Task Archival Utility*
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/archival_utilities.htm#OMADM3033
    Following Parameters i.e. Arguments  are needed
    # File : OIM_TasksArch.sh
    # Purpose : To archive data from active task tables to archival task
    # tables and to delete data from active task tables.
    # Arguments : 1 --> Location of the Oracle Home(ORACLE_HOME)
    # 2 --> Oracle Identity Manager Database Name
    # 3 --> Oracle Identity Manager Database User Name
    # 4 --> Password for the Oracle Identity Manager Database User

  • Logical error in creating tables using db link in solaris

    Hi,
    While creating table using the syntax create table newtab...as select * from tab@dblink .. I am facing a problem. The newtab table created is having a structure different (from datalength point of view of varchar2 and char datatypes) from the source. The data length is getting tripled i.e. if a column a is varchar2(20) in tab then it is becoming --- a varchar2(60) in newtab. This is happening in solaris environment when the two databases are in 2 different servers. Please let me know if there are any patches to resolve the problem.
    Thanks
    Arnab

    ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
    The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link?

  • Error while creating table maintenance generator

    Hi,
    I am getting below error while creating table maintenance generator.
    Screen SAPLZtest   0002 could not be generated.   In DYNPFIELD_ATTR field LENGTH has the invalid value 241.
    Reason for that error might be:
    In the table I have a field with a dataelement(customized) of type Char and length 241.
    But in the other table Iam using the standard data element(standard) of same type(241 char).In this table Iam able to create table maintenance generator without any errors.
    And the domain Iam using is same for both the tables.
    Please help me to solve this.
    Thanks in advance,
    Sravanthi

    Hi,
    you can go to transaction se51 and go your screen. active it.. you can find thesolution.
    refer these links..
    Error in table control
    Error while creating table maintainence generator !
    Thanks and Regards,
    Ahamed.

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIAC0CLASS_NUM_TEXT'

    Hello,
    I get the error message:
    "Error while creating table 'EDISEGMENT' entry '/BIC/CIAC0CLASS_NUM_TEXT'"
    when trying to activate my inactive transfer structure for 0CLASS_NUM_TEXT..
    Many other transfer structures work fine, but this one is really problematic.
    Has anyone seen it before? What do i do to solve it?
    Regards,
    F C

    Hi,
    Please check the note 493422. The reports listed in the note
    should correct the inconsistencies and afterwards you can re-import the
    request and it should then work.
    Regards,
    Srikanth

  • INVALID_QUEUE_NAME :  Error while scheduling message using qRFC

    Hello SDNers
    We are currently performing our PI 7.1 upgrade and one of our scenario uses a Sender SOAP of the type EOIO. We tried executing this scenario in PI 7.1 XID environment and in it worked fine without any errors but in our PI 7.1 QA environment it is giving the following errors
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Message Split According to Receiver List
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SCHEDULE_ERROR</SAP:Code>
      <SAP:P1>XBQOC___*</SAP:P1>
      <SAP:P2>INVALID_QUEUE_NAME</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error while scheduling message using qRFC (queue name = XBQOC___*, exception = INVALID_QUEUE_NAME)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can you please exaplian what could be the issue we are facing.
    Thanks.
    Kiran
    Edited by: Kiran Sakhardande on Oct 22, 2008 4:08 PM

    HI Kiran,
    Have gone throgh the following link?
    INVALID_QUEUE_NAME
    Regards
    Sridhar Goli

  • Html error while downloading table entries to Excel.

    Hi,
    I am getting an error while downloading table entries from webdynpro to excel. After some entries below error script comes and  this is not comming all the times.
    Is this because of large size?Can anyone please suggest me on this?
    <u>Here is the dump:</u>
    [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>                                   
    <head>                                   
         <title>Error Report</title>                              
    <style>                                   
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}                                   
    A:link                                    
    A:visited                                    
    A:active                                    
    </style>                                   
    </head>                                   
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">                                   
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">                                   
    <tr bgcolor="#FFFFFF">     
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  500   Internal Server Error</b></font></td>     
    </tr>     
    <tr bgcolor="#3F73A3">     
        <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>     
        <td height="23"><img width=1 height=1 border=0 alt=""></td>     
        <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/6.40 </b></font></td>     
    </tr>     
    <tr bgcolor="#9DCDFD">     
        <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>     
    </tr>     
    </table>     
    <br><br><br><br><br><br>     
    <p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  Application error occurs during processing the request.</b></font></p>     
    <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b> Details:</b></td><td valign="top"><PRE><pre>com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been committed.     
         at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:792)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:780)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:768)
         at com.sap.tc.webdynpro.serverimpl.core.url.WebDynproExchangeHandler.responseCachedWebResource(WebDynproExchangeHandler.java:98)
         at com.sap.tc.webdynpro.serverimpl.core.url.WebDynproExchangeHandler.doExchange(WebDynproExchangeHandler.java:189)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doExchangeProcessing(DispatcherServlet.java:164)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:119)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    </pre></PRE></font></td></tr></table></font></p>     
    </body>     
    </html>[/code]
    Thanks,
    Sanjeev

    Hallo Sanjeev,
    How do you exactly "download the table entries from Web Dynpro to Excel?"
    I wrote a new <b>Wiki Code Tutorial </b>which demonstrates how to download an Excel file from a Web Dynpro <i>Table </i>UI element <b>on-demand</b>. In this scenario the resource gets re-created on every request. The solution is based on re-initializing the context with a new  0-byte resource object within the calculated context attribute getter method.
    See <a href="https://wiki.sdn.sap.com/wiki/display/Snippets/ExportingTableDatainWebDynproJava-SAPNetWeaver04s">Exporting Table Data in Web Dynpro Java - SAP NetWeaver 04s</a>
    Regards, Bertram

  • Error while trying to use '{' in the query

    Hi,
    The below mentioned query is giving Error while trying to use '{'
    Query:
    select s,x from table(SEM_MATCH(
    '{?s rdf:type <http://www.cs.com/sbip/dwh/mdm/data_modeling#Base_Term> .
    ?s ?p ?x}',
    SEM_Models('foundation'),
    SEM_RuleBases('OWLPRIME'),
    SEM_ALIASES(SEM_ALIAS('dm','http://www.cs.com/sbip/dwh/mdm/data_modeling#'),
    SEM_ALIAS('owl','http://www.w3.org/2002/07/owl#')), null, 'INVALID'))
    where regexp_like(x,'Customers','i');
    Error details:
    ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.TokenMgrError: Lexical error at line 1, column 1. Encountered: "{" (123), after : ""
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 178
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 67
    ORA-06512: at line 4
    I am unable to use Option, Filter in query.
    Any solution?
    Please let me know do i need to apply any patch?
    Note: I am using Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    Regards,
    Kavitha.

    Hi,
    For OPTIONAL support in 11.1.0.7.0, you need the following patch
    Patch 7600122: CURLY BRACE SYNTAX,VIRTUAL MODELS, NETWORK INDEXES AND HINTO FRAMEWORK SUPPORT
    Support for SPARQL FILTERs in SEM_MATCH is not available for 11.1.0.7.0. You will need version 11.2.0.1.0 or later for FILTER support. With 11.2.0.1.0, we recommend that you apply our latest patch set:
    Patch 9819833: SEMANTIC TECHNOLOGIES 11G R2 FIX BUNDLE 2
    All of the above patches are available through My Oracle Support.
    Thanks,
    Matt

Maybe you are looking for