Database adapter not importing table having data type as WF_EVENT_T

Hi All,
I have a requirement to import a table in the Database adapter. That table is having a column of data type “WF_EVENT_T”.
When I tried to import the table in database adapter I got the error as "The following tables are not supported in the Database Adapter and were not imported".
Then I modified the table by adding one more column with some other data type and tried to import that table.
It got imported successfully but I was not able to see the column with data type WF_EVENT_T in the table.
Any pointers to this would be of great help.
Thanks.

Hi Harish
Thanks for your response.
I can create the table with the data type 'String'. However, the problem is when I try to update the table from a program in SE38 or a Function Module in SE37.
When I try to activate the PROGRAM or FUCNTION, I GET A MESSAGE THAT I MENTIONED EARLIER.
Here is the simple program that I have created that I am not able to activate
==========================================
REPORT  ZTEST_STRING1.
tables: ztest.
ztest-zid = 2.
ztest-zstring1 = 'ABC'.
insert ztest.
===========================================
ztest has two fields
zid which is NUMC type
and zstring1 which is STRING type.
When I try to activate I get an error message as follows:
'ztest' must be a flat structure. You cannot use internal tables,
strings, references, or structures as components.
Edited by: Ram Prasad on Mar 20, 2008 6:08 PM

Similar Messages

  • Create List of Tables/Columns/Data Types

    I am new to Oracle (from SQL Server) and I am looking for a query that will create a list of tables, columns, data types, etc. (data dictionary) in an Oracle database -- one that I can import into, say, MS Access or use Crystal reports and create a report that shows the same.
    I had a query to do this in SQL Server -- but it was specific to SQL Server. Does anyone have one to do the same in Oracle? I'm hoping not to have to re-invent the wheel.
    Thanks!

    Hi user653145!
    The Data Dictionary has many queries to view informations. Some of these view are
    dba_tables
    dba_tab_columns
    dba_views
    etc.
    Look for the "Oracle Database Referenc" in the Oracle Onlinedocumentation at
    http://tahiti.oracle.com
    to get a full list of all data dictionary views.
    hope this helps!

  • Modify Table column data type

    Dear All,
    We have one user contains more than 100 tables(Production). I need to change some of table columns data types without affect data's.
    Please suggest me to do that.
    Thanks in advance,
    Moorthy.GS

    Dear Sybrand,
    Thanks for your reply.
    I tried below ways to modify the datatypes.
    1) Tried to modify datatype FLOAT to NUMBER while data is persists.
    2) Tried to take a export of that user and import the dump without data's and modify the datatype. After that, i tried to import the dump with rows=y option. But it failed due to constraint problems.
    Please advise...
    Cheers,
    Moorthy.GS

  • LOCID is not defiend for Order data type ORDR

    Dear All,
    I am trying to load data in to Order forecast details in Dynamic
    replenishment of SNC in the WEB UI, after entering the Product and
    Customer location, when I clicked on GO system is giving the below
    error.
    Time series error in class /SCF/CL_ICHDM_DEMANDMN_DATAAXS
    method /SCF/IF_ICHDMAXS_2_CNTL~SELECT
    Access error for time series type DFC01, key figure CORDEROR, ODM
    message: Parameter LOCID is not define for order data type ORDR
    Could you please help me out what to do in this case.
    I have re activated the following components mentioned, still system is
    giving the above problem.
    Activate Order Component
    Activate Order Data Type
    Activate Order Data Area
    and
    Activate Time Series Data Type
    Activate Time Series Data Area
    Thanks and Regards,
    T.Muthyalappa

    Hi,
    Make sure you have proper authorization.(sometime system does not display the error but user don't have authorization to create/update/modify table entries to be on safer side assign SAP_ALL profile to your ID if it is allowed as per your company security process).
    I think issue is with InfoObject 9ALOCID is not activated properly.
    You need activate  InfoObject 9ALOCID as mention i below step2 but it is better you follow below steps.
    1) Then force generate ODM.
    2)Go to transaction code:/N/SCA/TSDM09 enter time series DFC01 and select  Radio button Activate Planning object Structure.
    Regards,
    Nikhil.

  • How to call a stored procedure that has Table Of data types in VB6?

    Hi everyone,
    I need to call a stored procedure that has a Table Of data type as an input parameter (possibly even several Table Of input parameters). I can't seem to find any example of how to do this in VB6 using ODBC. Is this even possible?
    Thanks you!
    Steve

    Thanks,
    but I need to test stored procedures that uses type defined in the package.
    e.g.
    if I have s.p.
    PROCEDURE get_risultati_squadra
    ( in_squadra IN VARCHAR2,
    out_serie OUT tab_varchar2_5,
    out_tiporisultato OUT tab_varchar2_5,
    out_n_giornata OUT tab_varchar2_5,
    out_squadre OUT tab_varchar2_200,
    out_risultato OUT tab_varchar2_10,
    out_marcatore OUT tab_varchar2_50,
    out_punti OUT tab_varchar2_3,
    out_rimbalzista OUT tab_varchar2_50,
    out_rimbalzi OUT tab_varchar2_3,
    out_esito OUT tab_varchar2_2);
    I have to define every type external to the package, in this case five new TYPE !!
    Is there another way to solve this problem?
    Thanks

  • Database Adapter: cannot access table with complex record type as columns

    Hi all,
    I cannot perform any operations on a table that has columns with complex record type.
    I have created a table to store purchase order details.
    Sample script:
    CREATE type XX_CUST_INFO_TYP as object
    ssn VARCHAR2(20),
    rating NUMBER(15)
    CREATE type XX_ITEM_TYP as object
    item_name VARCHAR2(20),
    unit_price NUMBER(15),
    quantity NUMBER(15)
    CREATE table XX_PORDER (cust XX_CUST_INFO_TYP, porder XX_ITEM_TYP);
    When i try to access the table X_PORDER in jdev through a database Adapter, i receive the error as
    "some tables contains columns that are not recognized by the database adpter"
    1.) so in this case, how to include such tables that have complex types?
    Also, check out this scenario also..
    1. add a table through a database adapter
    2. drop the table in backend
    3. i can still see the table and its structure in the database adapter wizard even after restarting Jdeveloper.. How is it possible?
    These are some really interesting scenarios to experiment. Please suggest your ideas on this..
    Thanks All!

    Hi Hem,
    for a select you could select against a view. And for inserts you could create a stored procedure. They support complex types since 10.1.2. Complex types support in tables/views was added for 11 (next major release).
    You might be able to use PureSQL as a workaround too, i.e.
    insert into XX_PORDER values (XX_CUST_INFO_TYP(?,?), XX_ITEM_TYP(?, ?, ?))
    As for your other problem, in 10.1.2/10.1.3 the DBAdapter wizard sits on top of the Jdev Offline Tables and TopLink Mapping Workbench components. When you remove a table in the wizard it won't delete the Offline DB component. It was added by the wizard, but afterwards it is public to the entire Jdev project. You must remove it from Jdev yourself. This has been improved for the next major release too, no artifacts from underlying components are created.
    To remove it select:
    Offline DB Objects -> <schema> -> <table> and try File.. Erase From Disk.
    Thanks
    Steve

  • How to enter values to a database table with data type 'LCHR'?

    Hello All,
    I have created a database table with five fields, of which the last field is 'Value' field in which i have to enter text with a maximum of 1000characters. I have also specified a 'Length' field preceding the 'Value' field.
    The datatype specified for the 'Length' field is 'INT2' and for the value field is 'LCHR' with length 1000.
    When i tried inserting values to the table through a report, the report is giving an error that 'Literals that take up more than one line are not permitted', which means 255characters.
    Also, when i entered a short text which is less than 250 characters to the 'Value' field,, the report is working fine and the table entry is visible.
    Can anyone help me in this?
    It would be really helpful if you explain how to use 'LCHR' data type in tables and how to enter values to such a field with more than 255characters.
    Thanks in Advance,
    Shino

    Hi shino,
    Alternatively,
    you can use STRING instead of LCHR.
    I too have tried with LCHR and am facing the same issue.. i am not sure why its coming..
    i have tried STRING and its working perfectly.
    wa-key_field = 'IN4'.
    CONCATENATE  'Long text over 200 chars length '
                  'another Long text over 200 chars length '
                  'another Long text over 200 chars length '
                  INTO wa-long_text.
      wa-len = strlen( wa-long_text ).
      INSERT zshino_table from wa.
      SELECT * FROM zshino_table INTO table it.
      clear wa.
      LOOP AT it INTO wa.
          WRITE:/ wa-len, '  ' , wa-long_text.
      ENDLOOP.
    Also, remember to set the type of the database field as String.
    hope this was of some help,
    thanks and regards,
    Sagar.

  • Database fields importing as wrong data type

    I am using Crystal Reports 2008, connecting to an Oracle 9i database. 
    Some of our database tables have a field with data type of SDO_GEOMETRY.  I know this is an unsupported data type in CR, so the field list in the field explorer skips over it when I import tables using the Database Expert.  However, it doesn't skip over the data type, giving each field below the SDO_GEOMETRY field the wrong type.  To illustrate:
    Field Name     Type (Size)
    GEOLOC          SDO_GEOMETRY (1)
    ID          NUMBER (22)
    NAME          STRING (25)
    DESC          STRING (200)
    CR 2008 will skip GEOLOC, assign ID as String (2000)how it interpreted SDO_GEOM in ver. XIName as Number, and Desc as String (25).  I also noticed this behavior in CR XIR2.  Has anyone else run into this?  The workaround I've found is to write a SQL command; but is there a setting or hotfix out that fixes the bug?

    Hello,
    I would recomend using a stored procedure to connect to the data and assign a Crystal-valid data type to each field so that there won't be a chance for this sort of issue to happen when pulling in data.
    -Sean

  • Returned data from database field having data type CLOB

    hi..
    i hv table having CLOB field type ... having 12000 char length ... data is present in the field... but when i do select on that field it only returns the limited data from that field for any given row...
    pls let me know wuts may b the problem...
    cheeerrss..

    Are you running the select from SQL*Plus? If so check out the [SET LONG|http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12040.htm#sthref2800] parameter.
    HTH!

  • DB Adapter Re Import Table Not working (JDev 11.1.1.6.0)

    I am trying to refresh the DB adapter tables after a few columns were added. Here is what I did.
    Adapter configuration wizard --> Import Tables --> Query table --> Move the same table from Available section to Selected Section --> Click OK.
    A message pops up to confirm 'Re-Import Table'. Click Yes.
    At this point it is suppose to refresh the table and add the new columns. But when I click next, it says there are new columns available in the table. The new columns are not added to the DB adapter query.
    Has any one faced this issue? Please suggest any ideas or work around to add the columns.
    Thanks
    Ismail M.

    Re-Import table did not work for me even after lot of struggle. I tried tampering with jca, wsdl etc, re-installed the JDeveloper, tried on multiple machines but nothing worked. I finally gave up and recreated the DB adapter with 'pure sql query' option instead of tables. Re did the mappings etc. It was hard but I seem to have no other options. I will never use the table option again.
    Ismail-m

  • DB Adapter not importing SQL Svr tables

    Hi,
    Oracle Software:
    OS: Windows
    AS10g (10.1.2)
    BPEL GA Release
    10g DB (used for dehydration)
    SQL Server:
    Microsoft SQL Server 2000 - 8.00.760 (Intel X86) Dec 17 2002 14:22:05 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
    Issue:
    BPEL DB adapter is not generating a list of tables to import from a SQL Server connection.
    What I have done so far:
    In JDev, create a new DB connection to connect to the SQL Server and it works fine. I am able to see all tablesn and views by expanding the connection.
    In my BPEL partner link, I use the adapter wizard to select DB Adapter and then select the DB connection (SQL sver connection) I have created. All works well until I get to the import table screen where it does not generate a list of available tables to choose from.
    Any help would be greatly appreciated.
    Thanks!

    Hmmm ... Just to understand your problem correctly:
    - can you click on the "Import Tables" button successfully ? Meaning does this bring up another dialog titled "Import Tables" ?
    - If yes, are you able to select the tables to import ?
    - Subsequently, is the wizard not doing anything ? Is this right?
    Regardless, it would also help to run jdev via the following command: $ORACLE_HOME\integration\jdev\jdev\bin\jdev.exe [instead of the windows shortcut - JDeveloper BPEL Designer - which uses jdevw.exe]. This should launch the jdev along with a DOS window where you can see any stack trace if any being dumped by the UI code. When doing the "Import", I am sure you will see some stack trace that you could post back to this thread which would help us debug this issue further.
    Thanks.
    Shashi

  • Database adapter not returning error immediately in table space error.

    Hi,
    In my BPEL process I have an invoke activity to call Database adapter for a PL/SQL procedure invocation.
    The adapter received TABLESPACE error. The wiered thing is the error response we got after 3 hours? I am expecting immediately.
    How do I need to configure this?
    Here is more about my process.
    My BPEL process is an asynchronous process. Before and after the database adapter call I have a java embeded activity with checkpoint();
    retryIntervalValue is 60.
    Is there any thing I have to specify? Why it is taking 3 hours? is there a way to reduce this?
    -- Khaleel

    Hi. Is this still a problem or is it solved? As far as I know how BPEL works this can not really take 3 hours before erroring. You are the one that knows the application best so you can check some things. Maybe the time reported is from the database machine on which time is set different from BPEL machine? What database are you using? Is it Oracle? I guess so. What version? I assume the BPEL repository is in different database from DB Adapter? Can you confirm that checkpoint() is really done? What error is exactly thrown from DB Adapter? How does your BPEL process start? Is it adapter-driven and is the process XA-Transacted? In that case the whole process could be in retry for a longer period of time.
    Regards,
    Jos Baan

  • Database Adapter not working properly for more input parameters in OSM

    Hi,
    We are using OSM 7.0.0.3 and using design studio for development.
    Recently we are facing issue with the database adapter.In Studio,we have options for configuring the JDBC adapter.
    we have custom table in the database which has four columns with it.we are suppose to retrieve this table data using database adpater.
    so,whats happening here is,when we are sending two parameters as input to database adapter,we are able to retrive the table data properly.
    but,
    when we are sending morethan two parameters as input adapter,it is not giving right results.
    so,
    is there any constarint on how many parameters to be send as inut to adapter???
    any opinoin on first look at the issue??i will share the sample code if needed.

    Hi Naidu,
    OSM 7.0.0.3 is a very old version and they are many fixes on top of it. So request you to please use any of the latest versions of OSM 7.0.1/7.0.2/7.0.3 and retest the issue. We are not giving any patches on top of OSM 7.0.0. You can also raise a service request for further investigation and analysis.
    Regards,
    JP

  • Database adapter not returning all the records

    I've taken over a BPEL from a developer who left the organization and have been having an issue during our User Acceptance Testing. We are querying a table that will return the insurance enrollment information for employee's and their dependants. When an employee change plans, or adds people, the old plan is terminated and a new once is created. When this happens there will be two records on the database to show the old plan and the new plan.
    When we run the SQL thru JDEV or SQLDeveloper, the data comes out fine. When we run it through a BPEL Database Adapter we are only getting one of the rows returned.
    I have created a small tester BPEL that is easily modified and deployed to run the same query to try multiple configurations changes within the DBAdapter. What I have found is all the records are returned when the "Return single result set" box on the DBAdapter Wizard is unchecked. When it's checked then it only returns one record for the employees with an old and a new plan.
    Can someone explain what the "Return single result set" option does, and what the impact will be if it's unchecked?

    Hello,
    In same way i am using two parent-child(header-line) tables. they have one to many relationship.
    I want to generate XML which contains multiple line items under a child elements for header elements.
    I have tried it but i am getting only one line under that child item. i am using jdev10.0.3.3.0
    can u help me please.
    -regards
    satyendra

  • Need help :: how to search in nested table/varray data type

    I have the following structure...
    CREATE TYPE lang_con AS VARRAY(15) OF VARCHAR2(50);
    CREATE TYPE rel_con AS VARRAY(15) OF VARCHAR2(50);
    CREATE TABLE Country_n(
    "NAME" VARCHAR2(40 BYTE) CONSTRAINT "COUNTRY_NAME_NOTNULL_N" NOT NULL ENABLE,
    "CODE" CHAR(2 BYTE),
    "CAPITAL" VARCHAR2(40 BYTE),
    "PROVINCE" VARCHAR2(40 BYTE),
    "POPULATION" NUMBER,
    "AREA" NUMBER,
    "LANGUAGES" lang_con,
    "RELIGIONS" rel_con
    after inserting data from 3 different table (country, language, religion) the table looks like this....
    Cyprus cy Nicosia Government controlled area 775927 9250 VARCHAR(English,Greek,Turkish) VARCHAR(Greek Orthodox,Muslim)
    Czech Republic cz Prague Prague 10246178 78866 VARCHAR(Czech) VARCHAR(Orthodox,Protestant,Roman Catholic)
    Germany de Berlin Berlin 82424609 357021 VARCHAR(German) VARCHAR(Muslim,Protestant,Roman Catholic)
    Djibouti dj Jibuti Jibuti 466900 23000 VARCHAR(Afar,Arabic,French,Somali) VARCHAR(Christian,Muslim)
    Denmark dk Copenhagen Frederiksberg Kommune 5413392 43094 VARCHAR(Danish,Faroese,German,Greenlandic) VARCHAR(Evangelical Lutheran,Muslim)
    now I want to get the countries in which german language is being spoken. Actually I need to know how to search in this custom data type of mine....I also need to perform other operation further so really need to know how can I search in this custom data type...
    when I execute the following query....
    select * from country_n cn where cn.languages like '%German%' order by name
    I got the following error....
    Error starting at line 1 in command:
    select * from country_n cn where cn.languages like '%German%' order by name
    Error at Command Line:1 Column:33
    Error report:
    SQL Error: ORA-00932: inconsistent datatypes: expected NUMBER got AHMADM.LANG_CON
    00932. 00000 - "inconsistent datatypes: expected %s got %s"
    *Cause:   
    *Action:
    let me know please...looking forward to your replies....
    Thanks,

    Hi,
    Try this:
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL>
    SQL> SELECT t1.*
      2    FROM country_n t1,
      3         TABLE(t1.languages) t2
      4   WHERE column_value LIKE '%German%';
    NAME                                     CODE CAPITAL                                  PROVINCE                                 POPULATION       AREA LANGUAGES RELIGIONS
    Germany                                  de   Berlin                                   Berlin                                     82424609     357021 <Object>  <Object>
    SQL> Regards,

Maybe you are looking for

  • Help with error in invoicing tracking table

    I've figured out most of the formula to calculate the late fee based on the days past due.  However, I keep getting an error when the client actually pays on time.  I've tried dozens of different ideas, but either get a syntax error or there is one a

  • RE4000W Drops Connection

    I recently purchased a RE4000W and managed to get it up and running and the speeds are really nice, when it keeps a connection.  It seems that every 30ish minutes it will drop connection to my router and automatically reconnect.  Now, this is not an

  • Cisco Objects. Combine TEXT and GRAPHIC

    Hi, I'm using the CCM width 7970 Phones. Two simple questions. 1) How I can display an Image at left and a text description at right through cisco objects? Can I have an object that mix the CiscoIPPhoneText and CiscoIPPhoneImageFile? 2) In the CiscoI

  • Apple USB keyboard is not being recognized with my iMac, what do I do?

    When I startup my computer I am prompted with the 'there isn't a keyboard connected' message. I'm using an apple wired USB keyboard, it was working perfectly fine yesterday and it appears to still be operational as I can charge my iPhone from it. I'v

  • Firefox 3 crash when using an adobe interactive forms

    Hello, Because Firefox 2.0 isn't supported anymore by Mozilla, we plan to migrate to Firefox 3. When we display an Adobe Interactive Forms in Firefox 3, the browser crashes. We have reinstalled Firefox 2 and it works again. We tried with Adobe Reader