CAPI on shared table definition

Hi,
By default you cannot select shared table definitions in the parameter of the utility 'Create CAPI definition'. However, by changing the parameter it is possible to change the parameter and run the utility for a shared table definition. The utility runs and creates a CAPI definition in the repository.
So at first sight it looks like there are no problems to create CAPI's on shared table definitions. But before I continue my testing I would like to know if there are known problems for creating CAPI's on shared table definitions in this or other utilities?
Regards,
Michiel Jonkers
null

Michiel,
The utility 'Create CAPI Definition' not only creates/maintains a PL/SQL Definition for the CAPI package of one or more tables, but it also updates the table definition itself (see also the online help of the utility). It adds TAPI/Trigger logic, and it updates the Notes of columns that are used in the Exists_Row and Aggregate_Value services.
So I would not recommend running the utility for shared tables. If you tested it, and you did not encounter any problems updating the TAPI/Trigger logic and/or the Notes of Columns, then I suppose that technically it is possible. For Designer 6i it will be different, because the whole concept of shared tables has changed. In Designer 6i you would have to run the utility in a workarea which contains both application systems, but Headstart Utilities 6i do allow you to create the PL/SQL Definition in a different application than the corresponding table.
Hope this helps,
Sandra

Similar Messages

  • Exporting and importing just table definitions

    Hi,
    I have this production database that has a huge amount of data in it. I was asked to set up a test database based on the exact same schema as the live database. When I tried to do an export (from live) and import (to test), with the parameters rows=N and compress=y, the target (test database) data file will still grow enormously, presumably because of the huge number of extents already allocated to the table in the live database. My test database of course, has a limited hard-disk space.
    Is there a way to export and import the table definitions without having the target database experiencing a huge growth in the size of the tablespace?
    Thanks,
    Chris.

    If an export with compress=n is still creating initial extents that a too large, you can still build with the import file but it will take a little work.
    run imp with indexfile=somefile.sql
    when imp is finished, edit somefile.sql by:
    1. remove all the REM statements.
    2. remove all the storage clauses (tables and indexes)
    Make sure your tablespaces have a small (say 1k) default initial extent.
    run imp again with rows=n
    All your tables and indexes will be created with the default tablespace initial extent.

  • How to count number of Relational Table definitions?

    Hi,
    How can I get the number of tables existing in a particular container? some thing similar to 'select count(1) from tab'. Thanks,

    No, you don't have to be the repository owner or SYS (very bad idea to log in as SYS to do anything except things that ONLY SYS can do, like upgrade the database). You can be any user that has been granted access to the repository via the repository administration utility. With one caveat:
    Before you execute any queries on the CI views, you really ought to activate a workarea with jr_context.set_workarea (workarea_name). This will be GLOBAL_SHARED_WORKAREA if you do not use version control. You must be authorized for the workarea, and will only be able to count table definitions that are in the current workarea.

  • [[DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Column name or number of supplied values does not match table definition.]

    Hii ..
    need help on this ..
    This what I am doing ..
    I am using a DATAEXPORT function to export level0 data from my essbase 11.1.2.2 to Microsoft SQL 2008 tables.
    So what I did first I exported the level0 data to a flat file using DATAEXPORT and the created the SQL columns by the same  in that order only in my SQL table.
    When I run it fails with this error:
    ODBC Layer Error: [21S01] ==> [[DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Column name or number of supplied values does not match table definition.]
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021014)
    ODBC Layer Error: Native Error code [213]
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Error(1012085)
    Unable to export data to SQL table [dataexp]. Check the Essbase server log and the system console to determine the cause of the problem.
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021002)
    SQL Connection is Freed
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Warning(1080014)
    Transaction [ 0x1c50001( 0x51ee7d66.0x80342 ) ] aborted due to status [1012085].
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1012579)
    Total Calc Elapsed Time for [test.csc] : [1.44] seconds
    =============================================================
    I did a simple test on my Sample.basic application then ..
    loaded the calc data to it and then used the below script to export to a flat file
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET DATAEXPORTOPTIONS
                    DataExportLevel "Level0";
                    DataExportOverwriteFile ON;
                    DataExportColFormat OFF;
                    DataExportDimHeader OFF;
    FIX(
                "Jan",
                "Sales",
                "Actual"
    /*DATAEXPORT "File" "," "/home/hypadmin/samtest.txt";*/
    DATAEXPORT "DSN" "Abhitest" "sample" "sa" "welcome1";
    ENDFIX
    out put as below:
    "Sales"
    "100-30","California"
    "Jan","Actual",145
    Now In sql I created only 3 columns with name Jan/Sales/Actual and when I run this script again with comments removed .. I get the same error as what I have got in my first test case with other application ..
    but when I create the columns with same name as what its in export
    Sales/100-30/Califirnia/Jan/Actual
    It created the new rows successfully ..
    So with this I think the error which I am getting with my other application might be because of the same column issue  .. but then I have created all the columns by looking at the export file only as I did in sample ..
    Any idea would be helpful ..
    Thanks
    Abhishek
    I

    First make sure you add
    DataExportRelationalFile ON;
    to your set commands it is missing
    I alwats like to also add
    DataExportColHeader dimensionName;
    so I am sure what dimension is getting put into the columns.
    Then count the number of dimensions in your outline (exclude attribute dimensions). You need at least that many columns in your table  -1 + the number of  members you will be returning as columns in the export
    Taking your example Sample basic has 5 dimensions
    Measures
    Years
    Scenario
    Product
    Market
    Since you did not specify a dataexportcolheader it took the dense dimension Scenario as the columns. Your fix statement is limiting that to one member. Doing the math
    5 -1 + 1 = 5 columns in your table which is what you found works.  Suppose you fixed on bothe Actual and budget in scenario then you would need 6 columns 5 -1 +2

  • What are the LOV fileds in Oracle HRMS Shared Tables?

    Hi All,
    I want to prepare interface from third party HRMs software to Oracle HRMS shared tables. I need to know what are the important tables needs data to fullfill all requirements like Approval Hierarichy setup configurations. And also want to know the coulmns in tables which need further regular maintenence.
    Need Help
    Neeraj Bhtia

    Hi Avneesh,
    Thanks for you quick response.
    Ail has recommended only for per_all_People_F, but does it sufficient to cover to setup all type of approval hirearchy like, I-Expense, Po Approval, AR-Collectore, AR -Salesperson selection etc.
    Does it need any other table like, PER_ALL_assignment_F?
    Regards,
    Neeraj Bhatia

  • Troubles creating table definition in new repositiory

    hi there,
    we installed a designer 6i repositiory on a linux 8.1.7.2 ee server database, all worked fine. installation of the same repositiory version under on a windows 2000 pro system with a 8.1.7.4 ee server database works fine, too. but when trying to create objects in the windows repos we keep getting errors concerning non existing repository objects. example: attempting to create a relational table definition fail with the following stack trace:
    Message
    RME-02105: Oracle error occurred...
    ORA-06550: line 2, column 11:
    PLS-00201: identifier 'CIOTABLE_DEFINITION.DATA' must be declared
    ORA-06550: line 2, column 11:
    PL/SQL: Item ignored
    ORA-06550: line 9, column 3:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 9, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 10, column 3:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 10, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 11, column 3:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 11, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 12, column 3:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 12, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 13, column 3:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 13, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 14, col
    Message
    RME-02124: Failed to execute SQL statement: declare
    pl1_el0 CIOTABLE_DEFINITION.data;
    utility varchar2(3);
    curr_el integer;
    begin
    savepoint rm_dispatch;
    rmmes.clear;
    curr_el := 0;
    pl1_el0.i.INDEX_ONLY_FLAG := true;
    pl1_el0.v.INDEX_ONLY_FLAG := :p2_el0;
    pl1_el0.i.COLUMN_PREFIX := true;
    pl1_el0.v.COLUMN_PREFIX := :p3_el0;
    pl1_el0.i.TYPES := true;
    pl1_el0.v.TYPES := :p4_el0;
    pl1_el0.i.IRID := true;
    pl1_el0.v.IRID := :p5_el0;
    pl1_el0.i.IVID := true;
    pl1_el0.v.IVID := :p6_el0;
    pl1_el0.i.NUMBER_OF_TIMES_MODIFIED := true;
    pl1_el0.v.NUMBER_OF_TIMES_MODIFIED := :p7_el0;
    pl1_el0.i.ALIAS := true;
    pl1_el0.v.ALIAS := :p8_el0;
    pl1_el0.i.ID := true;
    pl1_el0.v.ID := :p9_el0;
    pl1_el0.i.NAME := true;
    pl1_el0.v.NAME := :p10_el0;
    pl1_el0.i.JOURNAL_LOCATION := true;
    pl1_el0.v.JOURNAL_LOCATION := :p11_el0;
    pl1_el0.i.DISPLAY_TITLE := true;
    pl1_el0.v.DISPLAY_TITLE := :p12_el0;
    CIOTABLE_DEFINITION.INS(:p1_el0,pl1_el0);
    :errcnt := 0;
    exception when others then
    rmmes.get_error_state(utility,:excode);
    rmmes.get_product(utility,:exprod);
    :exutil := utility;
    :errcnt := rmmes.getsize;
    :sqlcod := SQLCODE;
    :sqlmsg := SQLERRM;
    :currel := curr_el;
    rollback to savepoint rm_dispatch;
    end;
    Message
    RME-00222: Failed to dispatch operation to Repository
    any help appreciated,
    greetings,
    friedrich.

    Hi,
    Actually the errors thrown here are not exactly non-existing database objects.These are Table and API definitions of the repository which are used when you create Database objects.
    You can try by checking if there are any invalid objects in the repository(Compile them first if there are any)and can give it a shot after running a full reconcile of the repository.
    If still the problem persists, can you give the details about which Designer Version you are using.
    Thanks
    Vishal Jain

  • Documents in the file sharing table in iTunes

    I have documents in the File Sharing table (in the apps button) which are coming up when the iPages app is selected. A lot of them I do not wish to sync with my iPad and therefore, I would like to delete them. However, I am not able to. Any ideas?

    Click on the file and press the Delete key on your keyboard.

  • UPPER() in external table definition

    Hi,
    Is it possible to apply the UPPER() function to character columns within an external table definition using the ORACLE_LOADER driver?
    I've tried myself and have looked through the documentation, and it seems like this is not possible ... just wanted to double-check before moving forward with a different solution.
    Thanks.
    - k r
    Message was edited by:
    kenny r.

    I've never seen an example of doing it nor do I see anywhere in the syntax that lends itself to such manipulation.
    Consider creating a view.

  • Substr in external table definition

    Hi Guys,
    I have an external table where I am loading a txt file. The issue being, in the txt file I have a column with a variable length. This column houses the application/website link that is not of a fixed length. My external table field width is 100, but the txt file value is more than that. Now, I want to only insert this field for the 100 characters.
    I tried using substr as shown in the example below, but it fails. Any idea what could be the alternative or if I am doing it right?
    Here's my external table properties (access parameters) and I am trying to use 'substr' on field4
    records delimited BY NEWLINE
    badfile BAD_DIR:'email_events%a_%p.bad'
    LOGFILE LOG_DIR:'email_events%a_%p.log'
    fields terminated by '\t'
    missing field values are null
    event_type,
    cm_timestamp,
    issue_id,
    cm_uid,
    field1,
    field2,
    field3,
    field4 "substr(:field4,1,100)",
    field5,
    field6,
    field7,
    field8,
    field9,
    field10,
    field11,
    field12,
    field13,
    field14
    )

    Just set your external table definition to query the full thing and then when you come to insert that data to a real table from the external table you can apply the substr in that query.

  • Extraction of data from shared tables

    Hello All,
        I have a scenario where I have two different software systems (SAP and xyz systems), where a intermediate table will be created in between the two systems that is shared. Data will be updated by the xyz systems into this shared table. Now, my questions regarding this shared table.
       1) Can we write some program or something to get the data from shared table to update the SAP?
       2) If possible send me the suggestions
       3) Please also send me the sample code to get the data from the shared table
    Thanks in advance,
      SDN powered

    Hi,
    1. Push mechanism
        Write a RFC  on SAP side to insert entries into the table.
        Call the RFC from xyz application passing the data you want to insert.
    2. Pull mechanism
        Write a ABAP Program, where you can somehow read the data of the xyz application and insert data into the table.
    3. Flat file
       Dump the data from xyz application into the file.
       Write a ABAP program to read the file and update the table.
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • Not allow changes to table definition

    Hi all,
         I need not to allow any changes to a specific custom table definition. I'm looking for something similar to the "lock editor" in se38 applied to SE11. Can anybody help me ?
    Thanks in advance,
        Gianluca

    Hello Gianluca,
    When you have created the table and the required entries have been made ..change the data browser/table maintainance view attribute in the 'Delivery and maintenace tab 'to either  'Display/Maintenance allowed with restrictions' or 'Display or maintenace not allowed' according to the requirement.
    hope this will resolve your issue.
    Regards,
    bhumika

  • Error running Table Definition (cktci) Repository Report in Designer 10G

    Hi
    There seems to be some internal limitation when running the Table Definition Repository Report (cktci).
    We have over a thousand tables defined in Designer and if I try to run the report for all tables it falls over with the reports.log saying
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-271504897: Error executing CA utility.
    REP-3335: Unhandled Internal CA Error.
    caxml 2
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-271504897:
    Not very useful information.
    If the report is run using a smaller subset of tables. For example if I use a parameter of A% for the table name then it works OK.
    I have been able to create reports up to about 600 pages but after that it falls over. So if I try to run the report with a parameter like S% it will fall over.
    Just wondering if anyone else has come across this issue and found a fix.
    There is the obvious workaround of running the report for smaller subsets of data but we would like it to be able to run for all tables if possible.
    Any feedback appreciated.
    Regards,
    Adrian

    Sorry for the slow reply. I've been trying a number of different things to get this to work.
    I reinstalled Developer as suggested but we don't have a patched version so there were no additional patches to apply. I re-ran the installer anyway to see if it would update anything.
    I couldn't find any reference to Developer patches that might fix this issue in metalink.
    I also tried messing with the JVM options to give it more memory etc but that didn't help.
    After using the Designer diagnostics trace I got the arguments it uses to run the same report from the command line.
    This resulted in the same issue. So at least it was consistent from Designer as well as the command line.
    This suggests it is a reports issue rather than Designer.
    Running the reports trace didn't provide any extra information. Found a bug that suggested changing any formula columns to not return NULL.
    Tried updating the report to fix that too but no joy.
    I will post here if I discover the solution.

  • Sharing tables between relational models

    Can I share (not copy) table between two relational models in SQL Developer Data Modeler? Something like sharing tables between application systems in Oracle Designer. I have one database schema for reusable kernel of many applications and I want to have one relational model for it. And I need to use tables from kertnel in other applications (database schemas). I need for example to make FK between application and kernel table. How can I do it?

    Hi,
    you can use drag&drop from browser to diagram of target model in order to do that. Table becomes read-only in target model. You can use "Synchronize remote objects" to get actual status of such "remote" table
    Philip

  • LTRIM in an External Table Definition.

    Hi,
    We're using Oracle 11.2.
    Seeing as there's little documentation on the Web about non-general External Table definitions, I want to put this question out there.
    How do I put an Ltrim function into an External table definition?

    Thanks,
    That's one way would be to use a view on an external table definition but I know there's way to so it in the definition of the external table.
           MISSING FIELD VALUES ARE NULL    
                REJECT ROWS WITH ALL NULL FIELDS     
            CLAIM_NUMBER                  CHAR,
      PATIENT_ZIP_CODE              CHAR  NULLIF "PATIENT_ZIP_CODE"= '!',                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Duplicate variable 'altova:table' definition

    I have a little class that I wrote to apply a XSLT file to a XML using Oracle XML Parser.
    Here is the code:
    XSLProcessor processor = new XSLProcessor();
    String sInputXSL = "d:/xsl.xsl";
    String sInputXML = "d:/xml.xml";
    File fXSL = new File(sInputXSL);
    URI uri = fXSL.toURI();
    URL url = uri.toURL();
    XSLStylesheet stylesheet = processor.newXSLStylesheet(url); (*)
    When I execute it, I get the following error on the line (*)
    XML-22050: (Error) Duplicate variable 'altova:table' definition.
    XML-22050: (Error) Duplicate variable 'altova:table' definition.
    XML-22050: (Error) Duplicate variable 'altova:table' definition.
    oracle.xml.xslt.XSLException: XML-22050: (Error) Duplicate variable 'altova:table' definition.
    at oracle.xml.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1848)
    The XSL file is a XSL file that was generated by Altova Stylevision.
    I opened the XSL to watch is content and there is in dead several declarations of altova:table variable:
         <xsl:variable name="altova:table">:
    The XSLT is valid because when I execute the transformation with java.xml.Transformer class it works.
    What can I do to solve the problem?

    Please don't cross-post your questions.

Maybe you are looking for