Nested tables.... Please help

Hi Friends,
I have some strange issues when I am trying to create a nested dynamic table with SAP DATA in Adobe Designer.
In the context, under the MAIN node
I had dragged the header table. Under the header table I had dragged the item table and had created a WHERE condition to link the HEADER and ITEM table.
Now my layout is pretty complicated..
I want to result to be as below:
header row.... with 0001 Customer name
item row with 0001 0010 price qty
0001 0020 price qty
0001 0030 price qty
header row... field4
(field4 from the header table has to be displayed after the item table has generated all the items and this process should repeat for all header data)
My design in layout is as below
subform1 for headerdata
( set as positioned and has set to 'Repeat form for each data item')
headerdata fields for subform1 (field1, field2, field3)
subform2 for itemdata
(set as folowed)
subform3 for itemdata
(set as positioned, 'Allow page breaks within content' and had set 'Repeat form for each data item')
itemdata fields in subform3
subform4 for headerrow field4
but when I activated and execute the form, the result was wrong.
The result should be like below...
|->field1, field2, field3
|--->field1 charge111
|--->field1 charge211
|-> field4
|->field2
|--->field2 charge122
|--->field2 charge222
|-> field4
but it is printed like below and field4 is overlapped with the item rows if the item rows are more...
DATA
|->field1 field2 field3
|--->field1 charge111 This inner table is overlapping the subform4 for each item
|--->field1 charge211
|
|->field1 field2 field3
|--->field1 charge121 This inner table is overlapping the subform4 for each item
|--->field1 charge221
2) If I have more item data, all the item rows are overlapped with the field4 (which I had explained in my layout) and the item rows are not moved to the next page, but still it is continued in the same page, meaning that if the page can fill 20 lines and my item row are more than 20 lines, 20 lines are printed and the remaining items are not moved to the next page... it is invisible...
How can I solve this issue?
Please help me
Thanks in advance.
Jaffer Ali.S

Hi Francois. Thank you very much for your reply, but it seems that i still get errors. So let me tell what i have done.
As you suggested me: i have done a block based on a sub-query for the nested-table:
'select courses from department where name= :department.name'.
In the master block(department) i have the when-new-record-instance trigger:
Declare
LC$Req varchar2(256);
Begin
LC$Req := '(select ns.courses from table
( select courses from department where name = ''' || :DEPARTMENT.name || ''' ) ns )';
Go_block('block11');
Clear_Block ;
Set_Block_Property( 'block11', QUERY_DATA_SOURCE_NAME, LC$Req ) ;
Execute_query ;
End ;
Now the errors i receive, this time in the runtime mode are:
- FRM-41380: Cannot set the blocks query data source
-FRM-41003: This function cannot be performed here.
Since it seems that you know how to work with the nested table i would really appreaciate your help. I am new in the nested table and if you could give an ex with my tables it would be great.
Thank you in advance.

Similar Messages

  • R/3- CRM- CDB- MAS Z-table, PLEASE HELP

    Hi CRM gurus,
    I'm new on CRM and we want to create a independent Z table at all systems
    and we want to transfer the datas in it. it's like a customizing table which
    chould be download manually to MAS every half year or similiar.
    PLEASE HELP US
    it's very urgent!! i appreciate your efforts and Award you points.
    thanks in advance
    Mike
    eMail:   [email protected]

    Hi Mike,
    I have sent you a middleware enhancement guide which will help you to acheave this.
    Reward points if helps!!
    Best regards,
    Vikash.

  • I needs to Display Tree With in the table, Please Help me

    I needs to display
    First Table, then inside the table tree, whenever I expand the tree then all the specified Childeren should display in another table.
    Please give me solution with example(code)
    this is simple Example
    A
    a1
    a11
    a12
    a13
    a2
    a3
    B1
    C1
    But I needs to display following format(that means with in the table)
    first step(Normal mode)
    A
    B
    C
    whenever I expand A(expand mode)
    A
    a1
    a2
    a3
    Whenever I expand a1 then(I needs to display this format) This is final Expand
    A
    a1
    a11
    a12
    a13
    a2
    a3
    B1
    C1
    Please Help me. This is very important for me. Because I am doing project. Please help me..with example

    maybe this,
    http://java.sun.com/products/jfc/tsc/articles/treetable1/index.html

  • Problem with xml table, please help

    hello everyone,
    can you help me please , i need to read an xml file from the sap directory into  an L_XML_TABLE  declared as follow :
    TYPES: BEGIN OF t_xml_line,
            data(256) TYPE x,
    END OF t_xml_line.
    TYPE-POOLS: ixml.
    DATA: l_ixml TYPE REF TO if_ixml,
          l_streamfactory TYPE REF TO if_ixml_stream_factory,
          l_parser TYPE REF TO if_ixml_parser,
          l_istream TYPE REF TO if_ixml_istream,
          l_document TYPE REF TO if_ixml_document,
          l_node TYPE REF TO if_ixml_node,
          l_xmldata TYPE string.
    DATA: l_elem TYPE REF TO if_ixml_element,
          l_root_node TYPE REF TO if_ixml_node,
          l_next_node TYPE REF TO if_ixml_node,
          l_name TYPE string,
          l_iterator TYPE REF TO if_ixml_node_iterator.
    DATA: l_xml_table TYPE TABLE OF t_xml_line,
          l_xml_line TYPE t_xml_line,
          l_xml_table_size TYPE i.
    when i try the READ DATASET of my file into the table it gives me the error message
    L_XML_TABLE cannot be a table,a reference, a string or contain any of this objects.
    is there a solution , it's important.
    thank you very much

    You know that READ DATASET reads a line at a time, not the whole table? 
    What code do you have for actually reading the file?

  • Issue in a table please help

    Guru,
    Please can you tell me i want to remove empty blocks and chain count from a table. What suppose i have to do.
    Here is the below details of emety block and chain counts.
    SQL> select EMPTY_BLOCKS,CHAIN_CNT from dba_tables where TABLE_NAME='RA_CUSTOMER_TRX_LINES_ALL';
    EMPTY_BLOCKS CHAIN_CNT
    18990 28643
    Thanks,

    If you shrink or move then you need to rebuild the indexes. If you export/truncate/import it will rebuild indexes for you.
    So .. depends on the database version, which we don't know yet.
    First I would like to see what percentage of blocks are empty, and what percentage of rows are chained, because maybe a table reorg won't be worth the effort.

  • Need assistance searching records from multiple tables - Please Help!

    Hi, I've been trying to solve this problem for several weeks now, and I have exhausted all of my knowledge and experience.  I need help, and I hope someone here can give me some direction.
    I am using VB 2008, and the CR that comes bundled with VS 2008 Pro.  My database is a SQL Server 2005 CE v3.5 (a *.sdf file).  I am connecting to the database through a dataset, and I am displaying the report in a CrystalReportViewer.
    My dataset consistes of two tables:
    1) tblCustomers which has a primary key "CustID", and contains only customer contact and personal information. 
    2) tblDateVisited which has a primary key of "VisitID", but it also has a column titled "CustID". Basically, every time a customer visits the business, details of that visit are recorded in tblDateVisited, and that record is associated with the customer by their CustID.
    Here's what I'm trying to accomplish:  I want to be able to display only Customer records when the customer has visited and that visit matches certain criteria.  Right now, I am trying to match visits from the "tblVisitDate.PlayerType" column.  If the customer has ever had a visit where they matched a particular player type, I want to see those customer records.
    I don't know what I'm doing wrong, though.  I can search a dataset if I am only querying one table and pulling records from that table.  However, whenever I try to add a second table and perform queries on that table to get records from the first table, I can't return any records. 
    If it helps, I am trying to use one CrystalReportViewer to display multiple reports (user choice) and here's how I'm loading the report into the viewer:
    Me.tblCustomersTableAdapter.Fill(Me.dsPlayerTypeReports.tblCustomers)
    Me.tblDateVisitedTableAdapter.Fill(Me.dsPlayerTypeReports.tblDateVisited)
    Me.ReportFile.SetDataSource(dsPlayerTypeReports.Tables(1))
    I am suspicious that my problem is in the Tables(1) method.  It confuses me that I can only assign one table as a datasource when I obviously need access to two tables to make this selection work. 
    Whatever the case, I'm at the end of my rope with this one.  I'm not prone to giving up, but I'm at a dead end currently. 
    Any attempt to assist me with this will be greatly appreciated, successful or not.
    Thanks in advance!
    -Will

    No, I am connected via ADO.NET.  I don't think SQL CE can connect through ODBC (or if it can, I haven't been able to figure out how, yet).  So this isn't a stored procedure.
    When I examine the link, I can only choose an Inner Join or a Left Outer Join.  Right Outer and Full Outer are not available.  Could this be a problem with the dataset I'm using?
    Could you explain what you mean by display all of the records and then choose the selection criteria?

  • DEFAUT SEQUENCE TABLE (Please Help !!!)

    Hi,
    kann somebody tell me what is better using:
    - Default sequence table
    or
    - Custom Sequence Table
    What is the difference.
    THX

    Both of these options will perform the same. The Default sequence table is simply a table schema based on TopLink defaults. The custom sequence table allows a developer to specify their own sequence table schema.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Advice for best way to do this dynamic table -please help

    Hello, I would like to create paginated recordsets without
    specifying the filename over and over again. For example, if I have
    folders of pictures with sequential filenames, is there anyway to
    get around manually entering them in the database? If not, what is
    the best way to go about doing this because I will have a great
    number of these "books" to create. Maybe there is a way to just
    auto-enumerate a 1.jpg, 2.jpg, 3.jpg, 4.jpg etc in the db and then
    I can just drop in the pictures since the path would be the same.
    I'm using php/mysql for the db end.
    Many thanks in advance!
    dwnoob

    Why not have a record ID# and have the code programatically
    generate the
    image name? That way you wouldn't need an image field at all,
    e.g.,
    <img src="/path/path/path/imagename -<?php echo
    $rs_recordset['recordID'];
    ?>.jpg"....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "dwnoob" <[email protected]> wrote in
    message
    news:ftrh3v$2a8$[email protected]..
    > Hello, I would like to create paginated recordsets
    without specifying the
    > filename over and over again. For example, if I have
    folders of pictures
    > with
    > sequential filenames, is there anyway to get around
    manually entering them
    > in
    > the database? If not, what is the best way to go about
    doing this because
    > I
    > will have a great number of these "books" to create.
    Maybe there is a way
    > to
    > just auto-enumerate a 1.jpg, 2.jpg, 3.jpg, 4.jpg etc in
    the db and then I
    > can
    > just drop in the pictures since the path would be the
    same.
    >
    > I'm using php/mysql for the db end.
    >
    > Many thanks in advance!
    >
    > dwnoob
    >
    >

  • How to have the check box fields in the table ...Please help me out.

    Hi
    can any one give me code save the checkbox field to save in the table.
    I have displayed the checkboxes using the loops from the table but when i am clicking the checkboxes and pressing the button save its not saving in the database table.
    please help me out. Its urgent .
    Thank you very much suneetha

    DOnt duplicate the thread...Reply to the below thread..
    Re: In the loop to display checkboxes.
    Raja T

  • PL/SQL add procedure with nested table - Duplicate Thread

    Hi,
    I am trying to do a procedure to input information for one order and another for 2 orders.
    The information I have so far is as follows:
    Drop table Orders cascade constraints;
    Drop type item_type;
    Drop type Item_nested;
    Create or Replace Type item_type AS Object (
    Cat_code Varchar2(6),
    Amount_ord Number(3),
    Cost Number(5,2) );
    Create or Replace Type item_nested as table of item_type;
    Create Table Orders (
    Order_no Varchar2(8) constraint pkorder primary key,
    Customer_name Varchar2(30),
    AddressLine1 Varchar2(20),
    AddressLine2 Varchar2(20),
    AddressLine3 Varchar2(20),
    Town Varchar2(20),
    Postcode Varchar2(10),
    Country Varchar2(20),
    Order_items item_nested,
    Order_date Date)
    Nested Table Order_items
    Store as nested_items return as locator;
    This has so far worked but I have not managed the insert procedure.
    I am using Oracle SQL*plus
    Thanks
    SG
    Edited by: user10689875 on 11-Jan-2009 03:39

    Duplicate thread ->
    PL/SQL add procedure with nested table
    Please remove it & marked it as duplicate.
    Regards.
    Satyaki De.

  • Hi please help me

    I am unable create the table please help me,
    I want create for TKT_CPN but I am getting the error below as
    SQL> create table TKT_CPN(iss_arln Number(4),
    2 doc_no Number(12),
    3 cpn_no Number(2),
    4 sect_no Number(2),
    5 cpn_seq_num Number(2),
    6 stopover_ind char(1),
    7 constraint PK_TKT_TAX primary key (iss_arln,doc_no,cpn_no),
    8 constraint FK_TKT_TAX foreign key (iss_arln,doc_no) references TKT_CONJ(iss_arln,doc_no));
    constraint FK_TKT_TAX foreign key (iss_arln,doc_no) references TKT_CONJ(iss_arln,doc_no))
    ERROR at line 9:
    ORA-02270: no matching unique or primary key for this column-list
    Table name Column Name     Data Type     Nullable     Constraints Refference Table Reference Column
    TKT_CPN     iss_arln     Number(4)          PK_TKT_TAX     TKT_CONJ      iss_arln
         doc_no     Number(12)          PK_TKT_TAX     TKT_CONJ     doc_no
         cpn_no     Number(2)          PK_TKT_TAX          
         sect_no     Number(2)                    
         cpn_seq_num Number(2)                    
         stopover_ind     char(1)     
    TKT_CONJ     iss_arln     Number(4)     PK_TKT_CONJ     TKT_MAIN     iss_arln
         doc_no     Number(12)     PK_TKT_CONJ     TKT_MAIN     doc_no
         serial_no     Number(2)          PK_TKT_CONJ          
         conj_doc_no     Number(12)                    
         cpn_status     char(4)
    I created table for TKT_CONJ like below,
    create table TKT_CONJ (iss_arln     Number(4),
    doc_no     Number(12),
    serial_no     Number(2),
    conj_doc_no     Number(12),
    cpn_status     char(4),
    constraint PK_TKT_CONJ primary key (iss_arln,doc_no,serial_no),
    constraint FK_TKT_CONJ foreign key (iss_arln,doc_no) references TKT_MAIN(iss_arln,doc_no));
    TKT_MAIN     iss_arln     Number(4)     N     PK_TKT_MAIN
         doc_no     Number(12)     N     PK_TKT_MAIN
         doc_type     Char(3)          
         issue_agent     Char(8)     N
    create table TKT_MAIN
    (iss_arln               Number(4)     not null,
    doc_no     Number(12)     not null,
    doc_type     Char(3),
    issue_agent     Char(8)     not null,
    constraint PK_TKT_MAIN primary key (iss_arln,doc_no));
    Please let me if u didn't understand my question.
    Regards,
    vijay,

    You cannot reference part of a composite primary key.
    SQL> create table TKT_CONJ (iss_arln Number(4),
      2  doc_no Number(12),
      3  serial_no Number(2),
      4  conj_doc_no Number(12),
      5  cpn_status char(4),
      6  constraint PK_TKT_CONJ primary key (iss_arln,doc_no,serial_no)
      7  );
    Table created.
    SQL> create table TKT_CPN(iss_arln Number(4),
      2   doc_no Number(12),
      3   cpn_no Number(2),
      4   sect_no Number(2),
      5   cpn_seq_num Number(2),
      6   stopover_ind char(1),
      7   constraint PK_TKT_TAX primary key (iss_arln,doc_no,cpn_no),
      8   constraint FK_TKT_TAX foreign key (iss_arln,doc_no) references TKT_CONJ(iss_arln,doc_no));
    constraint FK_TKT_TAX foreign key (iss_arln,doc_no) references TKT_CONJ(iss_arln,doc_no))
    ERROR at line 8:
    ORA-02270: no matching unique or primary key for this column-list
    SQL> create table TKT_CPN(iss_arln Number(4),
      2   doc_no Number(12),
      3   serial_no NUMBER(2), -- Column Added
      4   cpn_no Number(2),
      5   sect_no Number(2),
      6   cpn_seq_num Number(2),
      7   stopover_ind char(1),
      8   constraint PK_TKT_TAX primary key (iss_arln,doc_no,cpn_no),
      9   constraint FK_TKT_TAX foreign key (iss_arln,doc_no, serial_no) references TKT_CONJ(iss_arln,do
    c_no, serial_no));
    Table created.
    SQL> Your composite primary key column comprises of (iss_arln,doc_no, serial_no) columns in TKT_CONJ. Therefore any reference to this table should refernce all three columns.
    Regards,
    Jo

  • Radio button with javascript - - Please HeLP !

    Hi,
    I have the following code
    My question is:-
    Q : Clicking on Submit button. gives a javascript
    message "Please make a selection" even though when I selected a radio button
         I have haspmap which displays possible answers to a question in a radiobutton type. When submit is prssed, I like to check whether a selection is made or not. and if not, I want a message shown. And when selected. I want page to prcede to processSurveyInfo.do
    Please help
    <script language="javascript">
    function checkRBtn()
         var name = document.forms[getNetuiTagName("studentmultpChcform", this)][getNetuiTagName("rbtn", this)].value;
         if ((name==null) || (name=="Undefined")) {
         alert("Please make a selection");}
         else {
         document.forms[getNetuiTagName("studentmultpChcform", this)].method="POST";
         document.forms[getNetuiTagName('studentmultpChcform', this)].action="<netui:rewriteURL URL="/TrainingActivity/Administration/SurveyFile/processSurveyInfo.do" />";
         document.forms[getNetuiTagName("studentmultpChcform", this)].submit(); }
    </script>
    <table align="center">
    <tr>
    <td>
    <netui:button value="Next-->" type="submit" styleClass="commonButtons" onClick="checkRBtn(); return false;" tagId="nq"/> </td>
    <td>
    <netui:button value="Finish" tagId="finbtn" action="fwdfinish"/> </td>
    </tr>
    </table>
    <table align="center">
    <tr>
    <td>
    <netui:button value="Next-->" type="submit" styleClass="commonButtons" onClick="checkRBtn(); return false;" tagId="nq"/> </td>
    <td>
    <netui:button value="Finish" tagId="finbtn" action="fwdfinish"/> </td>
    </tr>
    </table>
    please help me out.
    Thanks
    -Raza-

    You need to write a custom script and it's location will depend upon when you want the script to execute.
    Radio Buttons and Check Boxes have a string value of "Off" when none have been selected and take the value assigned to the field when checked.

  • Adobe PDF forms using tcode SFP - Nested tables... Please help

    Hi Friends,
    I have some strange issues when I am trying to create a nested dynamic table with SAP DATA in Adobe Designer.
    In the context, under the MAIN node
    I had dragged the header table. Under the header table I had dragged the item table and had created a WHERE condition to link the HEADER and ITEM table.
    Now my layout is pretty complicated..
    I want to result to be as below:
    header row.... with 0001 Customer name
    item row with 0001 0010 price qty
    0001 0020 price qty
    0001 0030 price qty
    header row... field4
    (field4 from the header table has to be displayed after the item table has generated all the items and this process should repeat for all header data)
    My design in layout is as below
    subform1 for headerdata
    ( set as positioned and has set to 'Repeat form for each data item')
    headerdata fields for subform1 (field1, field2, field3)
    subform2 for itemdata
    (set as folowed)
    subform3 for itemdata
    (set as positioned, 'Allow page breaks within content' and had set 'Repeat form for each data item')
    itemdata fields in subform3
    subform4 for headerrow field4
    but when I activated and execute the form, the result was wrong.
    The result should be like below...
    |->field1, field2, field3
    |--->field1 charge111
    |--->field1 charge211
    |-> field4
    |->field2
    |--->field2 charge122
    |--->field2 charge222
    |-> field4
    but it is printed like below and field4 is overlapped with the item rows if the item rows are more...
    DATA
    |->field1 field2 field3
    |--->field1 charge111 This inner table is overlapping the subform4 for each item
    |--->field1 charge211
    |
    |->field1 field2 field3
    |--->field1 charge121 This inner table is overlapping the subform4 for each item
    |--->field1 charge221
    2) If I have more item data, all the item rows are overlapped with the field4 (which I had explained in my layout) and the item rows are not moved to the next page, but still it is continued in the same page, meaning that if the page can fill 20 lines and my item row are more than 20 lines, 20 lines are printed and the remaining items are not moved to the next page... it is invisible...
    How can I solve this issue?
    Please help me
    Thanks in advance.
    Jaffer Ali.S

    Hi Prakash,
    Thanks for your reply.
    I tried it..... but nothing came out...
    Is there any alternative for this...
    My Hirearchy is like this...
    Main Table (SubformA - MainSubform) set as flowed, repeat for each data item     
        Maintable-field1 Maintable-field2 (Subform) set as positioned
    Inner table (table subform) set as flowed
      Innertable-field1 Innertable-field2 (subform) set as positioned
    I linked the Maintable and the Innertable in the context in the 'Where Conditions' tab
    Kindly review the above hirearchy and reply...
    Guys please help me.... I am in an urgent state and need to complete this ASAP.
    I will give full points for all of u guys...
    Please.... please... please....
    Thanks in advance.
    Jaffer Ali.S

  • Public Synonyms for Nested Tables - Insertion Problem  - Please Help!!!!!

    Hi,
    we are facing a problem during implementation. Our DB set up
    is , we will be having two schema named OWNR and COPY.
    In the schema, OWNR we have to create all the tables,
    types,procedures, packages and obj.....This schema will have
    both DDL and DML privileges.
    In the schema, COPY we are not supposed to create any tables,
    objects. We have to create public synonyms for all the tables,
    types, procedures... in OWNR and grant ALL privilege to the
    schema COPY.The schema, COPY will have only DML privileges.
    The problem is we have some nested tables in our application.
    When I try to insert into the synonym which is created for the
    nested table, it is not allowing me to insert..The whole
    implementation is stucked..Please help.The scripts are given
    below.......
    We have a type name SITA_ADDRESS_TY which is used by the nested
    table SITA_ADDRESSES_NT.Script used for creating the Type,Nested
    table,Table, Public Synonym and granting all privilege to these
    types and tables are
    CREATE OR REPLACE TYPE SITA_ADDRESS_TY AS OBJECT (
    SITA_ADDRESS VARCHAR2(10),
    REMARKS VARCHAR2(100)) ;
    PROMPT SITA_ADDRESSS_NT...
    CREATE OR REPLACE TYPE SITA_ADDRESSES_NT AS TABLE OF
    SITA_ADDRESS_TY ;
    Using this nested table we have created the table,
    UMS_SITA_ADDRESS
    CREATE TABLE UMS_SITA_ADDRESS (
    COMPANY_CODE VARCHAR2 (6) NOT NULL,
    AIRLINE_CODE VARCHAR2 (6) NOT NULL,
    DESTINATION VARCHAR2 (6) NOT NULL,
    SITA_ADDRESS SITA_ADDRESSES_NT)
    TABLESPACE EKUMDAT
    PCTFREE 5
    PCTUSED 40
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    PCTINCREASE 0
    MINEXTENTS 1
    MAXEXTENTS 505
    FREELISTS 1 FREELIST GROUPS 1 )
    NOCACHE
    NESTED TABLE SITA_ADDRESS STORE AS UMSNT_SITA_ADDRESS ;
    PROMPT SYNONYM SITA_ADDRESS_TY...
    CREATE PUBLIC SYNONYM SITA_ADDRESS_TY FOR SITA_ADDRESS_TY
    PROMPT SYNONYM SITA_ADDRESSES_NT...
    CREATE PUBLIC SYNONYM SITA_ADDRESSES_NT FOR SITA_ADDRESSES_NT
    PROMPT UMS_SITA_ADDRESS...
    CREATE PUBLIC SYNONYM UMS_SITA_ADDRESS FOR UMS_SITA_ADDRESS
    Granting Privileges
    PROMPT SITA_ADDRESS_TY...
    GRANT EXECUTE ON SITA_ADDRESS_TY TO COPY
    PROMPT SITA_ADDRESSS_NT...
    GRANT EXECUTE ON SITA_ADDRESSES_NT TO COPY
    PROMPT UMS_SITA_ADDRESS...
    GRANT ALL ON UMS_SITA_ADDRESS TO COPY
    When I connect to copy and desc UMS_SITA_ADDRESS, the structure
    is
    SQL> desc ums_sita_address
    Name Null? Type
    COMPANY_CODE NOT NULL VARCHAR2(6)
    AIRLINE_CODE NOT NULL VARCHAR2(6)
    DESTINATION NOT NULL VARCHAR2(6)
    SITA_ADDRESS
    OWNR.SITA_ADDRESSES_NT
    Why is it so??. Even though I have a synonym for
    SITA_ADDRESSES_NT, it is not referencing the synonym but instead
    refer the OWNR.SITA_ADDRESSES_NT
    Because of this when I try to insert into ums_sita_address(in
    schema COPY), it is giving the following error,
    SQL> insert into ums_sita_address values
    ('EK','EK','DXB',SITA_ADDRESSES_NT());
    insert into ums_sita_address values
    ('EK','EK','DXB',SITA_ADDRESSES_NT())
    ERROR at line 1:
    ORA-00932: inconsistent datatypes
    But when the same connect to OWNR and try to insert with the
    same stmt, it is inserting...
    Our middle tier can connect only to COPY schema alone..Is there
    anything to be done in the DBA side to achieve this??.
    Please help from your valuabe experience...Or can you ask your
    collegues if they have got a soln to this probs..We are stucked
    with this...
    Thanks
    Priya

    Hi
    I am not sure but maybe you need to use this command:
    SQL> insert into ums_sita_address values
    ('EK','EK','DXB',SITA_ADDRESSES_TY());
    SITA_ADDRESSES_TY() instead SITA_ADDRESSES_NT
    Regards

  • Nested Tables and Advanced Queues- Please Help.

    How do i work with NestedTable type and Advanced Queue.
    I have done the following
    I have Oracle 8.1.7 enterprise edition.
    create type myType as TABLE OF varchar(32);
    create type myObject as OBJECT (
    id int,
    myt myType);
    DECLARE
    BEGIN
    dbms_aqadm.create_queue_table(
    queue_table => 'my_queue_table',
    multiple_consumers => TRUE,
    queue_payload_type => 'myObject',
    compatible => '8.1.3'
    END;
    The Nested Table and Object are created successfully.
    but the queue is not created.
    I get the following message.
    DECLARE
    ERROR at line 1:
    ORA-22913: must specify table name for nested table column or
    attribute
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2012
    ORA-06512: at "SYS.DBMS_AQADM", line 55
    ORA-06512: at line 3
    I know how to specify the nested table storage clause for
    create table statement, but there is no provision for
    it in the create_queue_table procedure.
    Any help will be greately appriciated.
    i have already created and tested aqs with simple data types,
    also i have created simple tables with nested table type
    elements.
    but the combo of Nested tables and AQ is not working.
    thanks in advance.

    Hi Francois. Thank you very much for your reply, but it seems that i still get errors. So let me tell what i have done.
    As you suggested me: i have done a block based on a sub-query for the nested-table:
    'select courses from department where name= :department.name'.
    In the master block(department) i have the when-new-record-instance trigger:
    Declare
    LC$Req varchar2(256);
    Begin
    LC$Req := '(select ns.courses from table
    ( select courses from department where name = ''' || :DEPARTMENT.name || ''' ) ns )';
    Go_block('block11');
    Clear_Block ;
    Set_Block_Property( 'block11', QUERY_DATA_SOURCE_NAME, LC$Req ) ;
    Execute_query ;
    End ;
    Now the errors i receive, this time in the runtime mode are:
    - FRM-41380: Cannot set the blocks query data source
    -FRM-41003: This function cannot be performed here.
    Since it seems that you know how to work with the nested table i would really appreaciate your help. I am new in the nested table and if you could give an ex with my tables it would be great.
    Thank you in advance.

Maybe you are looking for

  • Report from Grid Control:Monthly Growth of Each Database on Single Report

    Hi,I want to make the report from Grid Control for Monthly Growth of each Database for Capacity planning I can See under Report->Storage->Oracle Database Tablespace Monthly Space Usage But this is only for once database and I want to include all the

  • I cant update my ipod touch 4th generation 4.2.1

    I can't update my ipd touch 4th generation 4.2

  • List of Released Sales Order report development

    Hi Friends,                  As we already discussed that there is no exact report for Released of blocked Sales Orders.So,we would like to develop a report.Can any one help me functional speck like Customer/reason of blocking/how many times it got r

  • C3-01 Memory Card

    I purchased this phone 2 months ago and have had a problem with the memory from new.  I can only use the phone memory.  I tried 2 different memory cards 1gb and a 4gb (which was brand new).  The phone keeps telling me the cards are not formatted and 

  • Cd store vs iTunes

    Hi there, I'm a quite recent iPod/Tunes user, so I'm having this curiosity: Do experienced iPod-users actually stop buying cd's in the store around the corner? I'm asking this because on iTunes, albums are sometimes incomplete or inexisting... So doe