Unable to retrieve data from a nested table in Oracle 8i from JSP

How do i retrieve data from a nested table in Oracle 8i from my JSP code?
When i try to execute the query , a general error is thrown.
Kindly advice as soon as possible.

How do i retrieve data from a nested table in Oracle 8i from my JSP code?
When i try to execute the query , a general error is thrown.
Kindly advice as soon as possible.

Similar Messages

  • Error :Unable to retrieve data from iHTML servlet for Request2 request

    I open bqyfile to use HTML in workspace.
    When I export report to excel in IR report.
    Then I press "back" button I get error"Unable to retrieve data from iHTML servlet for Request2 request "
    And I can not open any bqyfiles in workspace.
    Anybody gat the same question? Thanks~

    Hi,
    This link will be helpful, the changes is made in the TCP/IP parameter in the registry editor of Windwos machine. I tried the 32 bit setting for my 64 bit machine (DWORD..) and it worked fine for me..
    http://timtows-hyperion-blog.blogspot.com/2007/12/essbase-api-error-fix-geeky.html
    Hope this helps..

  • Unable to retrieve nametab info for logic table BSEG during Database Export

    Hi,
    Our aim is to Migrate to New hardware and do the Database Export of the existing System(Unicode) and Import the same in the new Hardware
    I am doing Database Export on SAP 4.7 SR1,HP-UX ,Oracle 9i(Unicode System) and during Database Export "Post Load Processing phase" got the error as mentioned in SAPCLUST.log
    more SAPCLUST.log
    /sapmnt/BIA/exe/R3load: START OF LOG: 20090216174944
    /sapmnt/BIA/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#20
    $ SAP
    /sapmnt/BIA/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 13 2007 16:20:31
    /sapmnt/BIA/exe/R3load -ctf E /nas/biaexp2/DATA/SAPCLUST.STR /nas/biaexp2/DB/DDLORA.T
    PL /SAPinst_DIR/SAPCLUST.TSK ORA -l /SAPinst_DIR/SAPCLUST.log
    /sapmnt/BIA/exe/R3load: job completed
    /sapmnt/BIA/exe/R3load: END OF LOG: 20090216174944
    /sapmnt/BIA/exe/R3load: START OF LOG: 20090216182102
    /sapmnt/BIA/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#20
    $ SAP
    /sapmnt/BIA/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 13 2007 16:20:31
    /sapmnt/BIA/exe/R3load -datacodepage 1100 -e /SAPinst_DIR/SAPCLUST.cmd -l /SAPinst_DI
    R/SAPCLUST.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "BIA20071101021156                                                                               
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "tinsp041                                                    
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "tinsp041"
    (GSI) INFO: release  = "B.11.11"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "9000/800"
    (GSI) INFO: instno   = "0020293063"
    (EXP) TABLE: "AABLG"
    (EXP) TABLE: "CDCLS"
    (EXP) TABLE: "CLU4"
    (EXP) TABLE: "CLUTAB"
    (EXP) TABLE: "CVEP1"
    (EXP) TABLE: "CVEP2"
    (EXP) TABLE: "CVER1"
    (EXP) TABLE: "CVER2"
    (EXP) TABLE: "CVER3"
    (EXP) TABLE: "CVER4"
    (EXP) TABLE: "CVER5"
    (EXP) TABLE: "DOKCL"
    (EXP) TABLE: "DSYO1"
    (EXP) TABLE: "DSYO2"
    (EXP) TABLE: "DSYO3"
    (EXP) TABLE: "EDI30C"
    (EXP) TABLE: "EDI40"
    (EXP) TABLE: "EDIDOC"
    (EXP) TABLE: "EPIDXB"
    (EXP) TABLE: "EPIDXC"
    (EXP) TABLE: "GLS2CLUS"
    (EXP) TABLE: "IMPREDOC"
    (EXP) TABLE: "KOCLU"
    (EXP) TABLE: "PCDCLS"
    (EXP) TABLE: "REGUC"
    myCluster (55.16.Exp): 1557: inconsistent field count detected.
    myCluster (55.16.Exp): 1558: nametab says field count (TDESCR) is 305.
    myCluster (55.16.Exp): 1561: alternate nametab says field count (TDESCR) is 304.
    myCluster (55.16.Exp): 1250: unable to retrieve nametab info for logic table BSEG   
    myCluster (55.16.Exp): 8033: unable to retrieve nametab info for logic table BSEG   
    myCluster (55.16.Exp): 2624: failed to convert cluster data of cluster item.
    myCluster: RFBLG      *003**IN07**0001100000**2007*
    myCluster (55.16.Exp): 318: error during conversion of cluster item.
    myCluster (55.16.Exp): 319: affected physical table is RFBLG.
    (CNV) ERROR: data conversion failed.  rc = 2
    (RSCP) WARN: env I18N_NAMETAB_TIMESTAMPS = IGNORE
    (DB) INFO: disconnected from DB
    /sapmnt/BIA/exe/R3load: job finished with 1 error(s)
    /sapmnt/BIA/exe/R3load: END OF LOG: 20090216182145
    /sapmnt/BIA/exe/R3load: START OF LOG: 20090217115935
    /sapmnt/BIA/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#20
    $ SAP
    /sapmnt/BIA/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 13 2007 16:20:31
    /sapmnt/BIA/exe/R3load -datacodepage 1100 -e /SAPinst_DIR/SAPCLUST.cmd -l /SAPinst_DI
    R/SAPCLUST.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "BIA20071101021156                                                                               
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "tinsp041                                                    
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "tinsp041"
    (GSI) INFO: release  = "B.11.11"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "9000/800"
    (GSI) INFO: instno   = "0020293063"
    myCluster (55.16.Exp): 1557: inconsistent field count detected.
    myCluster (55.16.Exp): 1558: nametab says field count (TDESCR) is 305.
    myCluster (55.16.Exp): 1561: alternate nametab says field count (TDESCR) is 304.
    myCluster (55.16.Exp): 1250: unable to retrieve nametab info for logic table BSEG   
    myCluster (55.16.Exp): 8033: unable to retrieve nametab info for logic table BSEG   
    myCluster (55.16.Exp): 2624: failed to convert cluster data of cluster item.
    myCluster: RFBLG      *003**IN07**0001100000**2007*
    myCluster (55.16.Exp): 318: error during conversion of cluster item.
    myCluster (55.16.Exp): 319: affected physical table is RFBLG.
    (CNV) ERROR: data conversion failed.  rc = 2
    (RSCP) WARN: env I18N_NAMETAB_TIMESTAMPS = IGNORE
    (DB) INFO: disconnected from DB
    SAPCLUST.l/sapmnt/BIA/exe/R3load: job finished with 1 error(s)
    /sapmnt/BIA/exe/R3load: END OF LOG: 20090217115937
    og (97%)
    The main eror is "unable to retrieve nametab info for logic table BSEG "  
    Your reply to this issue is highly appreciated
    Thanks
    Sunil

    Hello,
    acording to this output:
    /sapmnt/BIA/exe/R3load -datacodepage 1100 -e /SAPinst_DIR/SAPCLUST.cmd -l /SAPinst_DI
    R/SAPCLUST.log -stop_on_error
    you are doing the export with a non-unicode SAP codepage. The codepage has to be 4102/4103 (see note #552464 for details). There is a screen in the sapinst dialogues that allows the change of the codepage. 1100 is the default in some sapinst versions.
    Best Regards,
    Michael

  • Unicode Export - unable to retrieve nametab info for logic table BSEG

    Hi
    We are performing a unicode export (CUUC from 4.6C upgrade to ECC 6.0) and we have incurred this error.
            Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    Our OS is HPUX11.31 & Database is 10.2.0.2
    myCluster (63.21.Exp): 1610: inconsistent settings for table position validity detected.
    myCluster (63.21.Exp): 1611: nametab says table positions are valid.
    myCluster (63.21.Exp): 1614: alternate nametab says table positions are not valid.
    myCluster (63.21.Exp): 1617: for field 310 of nametab displacement is 1877, yet dbtabpos shows 1885.
    myCluster (63.21.Exp): 1621: character length is 1 (in) resp. 2 (out).
    myCluster (63.21.Exp): 1257: unable to retrieve nametab info for logic table BSEG      .
    myCluster (63.21.Exp): 8358: unable to acquire nametab info for logic table BSEG      .
    myCluster (63.21.Exp): 2949: failed to convert cluster data of cluster item.
    myCluster: RFBLG      *400**AT10**0000100000**2004*
    myCluster (63.21.Exp): 322: error during conversion of cluster item.
    myCluster (63.21.Exp): 323: affected physical table is RFBLG.
    (CNV) ERROR: data conversion failed.  rc = 2
    (DB) INFO: disconnected from DB
    /usr/sap/SBX/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/SBX/SYS/exe/run/R3load: END OF LOG: 20081102104452
    We checked the note 913783 as per the CUUC guide but the correction only for package SAPKB70004 to 6. but we are in package SAPKB70011.
    We had found two notes:
    1. Note 1238351 - Hom./Het.System Copy SAP NW 7.0 incl. Enhancement Package 1
    :Solution:
    There are two possible workarounds:
    1. Modify DDL<dbs>.TPL (<dbs> = ADA, DB2, DB4, DB6, IND, MSS, ORA) BEFORE the R3load TSK files are generated;
                  search for the keyword "negdat:" and add "CLU4" and "VER_CLUSTR" to thisline.
    2. Modify the TSK file (most probably SAPCLUST.TSK) BEFORE R3load import is(re-)started.
                  search for the lines starting with "D CLU4 I" and "D VER_CLUSTR I" and change the status (i.e. "err" or "xeq") to "ign" or remove the lines. "
    I tried the above solution by editing the file DDL*.TPL but it is skipping the table and marks it as completed but its not the good solution as we will be miss the data from the table RFBLG.
    2. Note 991401 - SYSCOPY EXPORT FAILS:SAPCLUST:ERROR: Code page conversion:
    Solution
    Activate the table.
    Then call the RADCUCNT report. Do not change the selected parameters, but ensure that 'Overwrite Entries' is selected.  Set the 'Unicode Length' to 2 and fill the last two fields 'Type' and 'Name' with TABL and TACOPAB respectively. Then select 'No Log' or specify a log name.
    Execute the RADCUCNT report and restart the export.
    We have not tried this solution, bcos SAP is still down and CDCLS job is still running.
    We would like to know whether you have faced any issues like the above one and what is your suggested approach and solution.
    Is it safe to start SAP now (when the CDCLS job runs) and then try to activate the table RFBLG?
    Regards
    Senthil
    Edited by: J. Senthil Murugan on Nov 3, 2008 1:41 AM
    Edited by: J. Senthil Murugan on Nov 3, 2008 3:36 AM

    Hi Senthil,
    If you have done your pre-conversion steps before upgrade and after upgrade successfully then you should not see the below errors. However changes to SPDD tables may some times also have some impact during conversion and throws nametab errors occurs. Program RADCUCNT runs in the end of upgrade to update nametab tables if any new changes happned during upgrade.
    You can do any no of exports to complete  jobs successfully.yeah When export running you shouldnt bring SAP up.
    The tables you have mentioned all are cluster tables and CDCLS being the biggest table it will take hrs to complete depending on your size of the database.
    Do not pay around with the .TSK file until if you are sure you want to re-execute it.Your first possiblility is skipped because there may be multiple same .TSK files present locally(where u r running distribution.monitor (or) sapinst ) and on the common directory. You may also look at the .TSK.bkp files because it get information and creates a new .TSK. This is not complicated but tricky.
    secound possibility is to update the changed tables(eg: RFBLG...)  to conversion tables.Follow the Note but make sure no R3load processes are running before you start SAP. If you dont want to wait long and sure to restart other processes which are running you can kill it and start SAP. Specify your error tables only and follow instructions given in the note.Once done bring down  SAP app. and restart the export process using ur sapinst or distribution monitor.
    Regards,
    Vamshi.

  • Unable to retrieve nametab info for logic table BSEG

    Hi
    We are performing a unicode export (CUUC from 4.6C upgrade to ECC 6.0) and we have incurred this error.
    Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    Our OS is HPUX11.31 & Database is 10.2.0.2
    myCluster (63.21.Exp): 1610: inconsistent settings for table position validity detected.
    myCluster (63.21.Exp): 1611: nametab says table positions are valid.
    myCluster (63.21.Exp): 1614: alternate nametab says table positions are not valid.
    myCluster (63.21.Exp): 1617: for field 310 of nametab displacement is 1877, yet dbtabpos shows 1885.
    myCluster (63.21.Exp): 1621: character length is 1 (in) resp. 2 (out).
    myCluster (63.21.Exp): 1257: unable to retrieve nametab info for logic table BSEG .
    myCluster (63.21.Exp): 8358: unable to acquire nametab info for logic table BSEG .
    myCluster (63.21.Exp): 2949: failed to convert cluster data of cluster item.
    myCluster: RFBLG *400**AT10**0000100000**2004*
    myCluster (63.21.Exp): 322: error during conversion of cluster item.
    myCluster (63.21.Exp): 323: affected physical table is RFBLG.
    (CNV) ERROR: data conversion failed. rc = 2
    (DB) INFO: disconnected from DB
    /usr/sap/SBX/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/SBX/SYS/exe/run/R3load: END OF LOG: 20081102104452
    We checked the note 913783 as per the CUUC guide but the correction only for package SAPKB70004 to 6. but we are in package SAPKB70011.
    We had found two notes:
    1. Note 1238351 - Hom./Het.System Copy SAP NW 7.0 incl. Enhancement Package 1
    :Solution:
    There are two possible workarounds:
    1. Modify DDL<dbs>.TPL (<dbs> = ADA, DB2, DB4, DB6, IND, MSS, ORA) BEFORE the R3load TSK files are generated;
                  search for the keyword "negdat:" and add "CLU4" and "VER_CLUSTR" to thisline.
    2. Modify the TSK file (most probably SAPCLUST.TSK) BEFORE R3load import is(re-)started.
                  search for the lines starting with "D CLU4 I" and "D VER_CLUSTR I" and change the status (i.e. "err" or "xeq") to "ign" or remove the lines. "
    I tried the above solution by editing the file DDL*.TPL but it is skipping the table and marks it as completed but its not the good solution as we will be miss the data from the table RFBLG.
    2. Note 991401 - SYSCOPY EXPORT FAILS:SAPCLUST:ERROR: Code page conversion:
    Solution
    Activate the table.
    Then call the RADCUCNT report. Do not change the selected parameters, but ensure that 'Overwrite Entries' is selected.  Set the 'Unicode Length' to 2 and fill the last two fields 'Type' and 'Name' with TABL and TACOPAB respectively. Then select 'No Log' or specify a log name.
    Execute the RADCUCNT report and restart the export.
    We have not tried this solution, bcos SAP is still down and CDCLS job is still running.
    We would like to know whether you have faced any issues like the above one and what is your suggested approach and solution.
    Is it safe to start SAP now (when the CDCLS job runs) and then try to activate the table RFBLG?
    Regards
    Senthil
    Edited by: J. Senthil Murugan on Nov 3, 2008 1:40 AM
    Edited by: J. Senthil Murugan on Nov 3, 2008 3:37 AM

    Dear Senthil
    I had faced this issue earlier.
    Table BSEG Requires activity in the ACT phase, like activation etc.
    If we do the ACT phase using the transports and not perform manual activation of this table, this issue arrives.
    Please share the relevant information--- seems some steps are missed out or not carried properly in the CU&UC phase.
    Otherways, we had applied the solution  Note 991401 - SYSCOPY EXPORT FAILS:SAPCLUST:ERROR: Code page conversion and it worked well..
    But you need to be sure, that this table was changed(activated etc) during the Upgrade till export phase.
    Issue is Nametab info is created during the Upgrade phase in CU&UC and if this table is touched, that nametab info is not getting it right as the runtime object is changed.
    With RADCUCNT the nametab info will be created again.
    All the Best
    Best Regards
    Deepak Dhawan

  • Producing nested xml with querying attributes from a nested table

    How can one produce nested xml querying columns from a nested table? Looking at the object documentation, I can readily unnest the tables. Using your examples in the book, unnesting is select po.pono, ..., l.* from purchaseorder_objtab po, table (po.lineitemlist_ntab) l where l.quantity = 2;
    what if I don't want to unnest and don't want a cursor. I would like to produce nested xml.

    Gail,
    Although you can use XSU (XML-SQL Util) in 8.1.7, I would recommend that you upgrade to 9i for much better support (both in functionality and performance) of XML in the database. For example, in Oracle9i there are:
    - a new datatype - XMLType for storing and retrieving XML documents
    - DBMS_XMLGEN package and SYS_XMLGEN, SYS_XMLAGG functions for generating XML document from complex SQL queries
    - A pipelined table function to break down large XML documents into rows.
    You can check out some examples using SYS_XMLGEN and DBMS_XMLGEN for your specific needs at http://download-west.oracle.com/otndoc/oracle9i/901_doc/appdev.901/a88894/adx05xml.htm#1017141
    Regards,
    Geoff

  • 6024E - Error 10846: Unable to retrieve data fast enough error?

    I am using a PCMCIA DAQ 6024E on a Dell Latitude C610 (1Ghz) - I'm trying to do Double buffered analog acquisition over 4 channels
    Whenever I try to run the application (VC++6) i get "Error 10846 - Unable to retrieve data from the backgound acquisition buffer fast enough..."
    I have tried the sample program "Double-Buffered Asynchronous Scanning in Microsoft Visual C++ with NI-DAQ" downloaded from the NI website - has the same result: Error 10846...
    I just need to sample 4 channels at 1kHz continuously, extracting the data every 250ms max - are the following settings sensible:
    i16 iChan = 0;
    i16 iNumChans = 4;
    u32 ulCount = 2000
    i16 iUnits = 0;
    f64 dSampRate = 4000.0;
    f64 d
    ScanRate = 1000.0;
    static i16 piBuffer[2000] = {0};
    static i16 piHalfBuffer[1000] = {0};
    Tried loads of different variations - as well as stopping all other apps running and removing everything from inside the acquisition loop - don't know what to try next. Can anyone help? Cheers!

    Hi,
    The error you are getting is due to the fact that your application is not emptying the PC buffer fast enough so new data overwrites old data before they are copied to the application allocated memory. You can try increasing the buffer size and/or reducing the Scan rate, whichever possible.
    Regards,
    RamziH.

  • Unable to retrieve data from a Associative Array (?)

    Hi!!!! :)))
    i've a problem!!!
    this is the oracle's code:
    Package GEST_REPORT
    IS
    type rec_url is record(
    TIBCDCON TBISD_30.TIBCDCON%TYPE,
    etc...
    SETDEL VARCHAR2(10)
    type tab2 is table of rec_url index by binary_integer;
    FUNCTION MAIN_SELECT
    ( CPLAS IN VARCHAR2)
    RETURN tab2;
    END;
    ...and a java code:
    String storedProcedure = "{? = call GEST_REPORT.MAIN_SELECT(?)}";
    String result = "";
    try{
    if (connection != null) {
    CallableStatement callableStatement = null;
    callableStatement = preprepareCall(storedProcedure);
    // preparo parametri di input.
    callableStatement.setString(2, "OM");
    callableStatement.registerOutParameter(1, oracle.jdbc.driver.OracleTypes.ARRAY, "tab2");
    and so on...
    In the last line of code throws an 'invalid name pattern'
    or
    "ORA-21700: object does not exist or is marked for delete"
    if registerOutParameter(1, oracle.jdbc.driver.OracleTypes.ARRAY, "ISDSV.GEST_REPORT").
    Where TAB2: IS THE MY ARRAY (OR NESTED TABLE?);
    GEST_REPORT: THE NAME OF PACKAGE;
    ISDSV: THE USER.
    do u have suggestion for retrieve data from TAB2 in JAVA??
    THKS!!!!!!

    Hi
    Use fully qualified type name: schema_name.type_name. For your case that would be "ISDSV.tab2"
    Cherrs :))

  • Unable to retrieve data from XML Type

    Hi All,
    I have table which has Column of type XMLType
    XML Data is loaded in the table.
    But when iam trying to extract not able to retrieve the data
    Following is the select query i am using
    SELECT CL.XMLDATA.EXTRACT('/ServiceType/entityName/text()').getStringVal() "entityname" FROM CL_DATA_SERVICE_TEMPLATE CL;
    Any help / pointer will help me a lot... Thanks in advance
    Sample XML File:
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <ServiceType xmlns="http://www.bmiasia.com/tBos/service_1_0">
    <entityName>bmiasia.app.irb.servicetemplate12</entityName>
    <systemVersion>4</systemVersion>
    <displayName>
    <bundle />
    <key>AG-EVC</key>
    </displayName>
    <description>AG-EVC GROUP: AG-EVC</description>
    <category entityName="bmiasia.app.service.category.ServiceRootCategory.AG_-_EVC_Services">
    <operation>ADD</operation>
    </category>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.NC_PRODUCT_ID">
    <type entityName="1"></type>
    </entityMetaInfo>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.NC_GL_PRODUCT_CODE">
    <type entityName="2"></type>
    </entityMetaInfo>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.NC_GL_PROFIT_CENTRE">
    <type entityName="3"></type>
    </entityMetaInfo>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.NC_SERVICE_CODE">
    <type entityName="4"></type>
    </entityMetaInfo>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.RSP_EU_CUST_REF">
    <type entityName="5"></type>
    </entityMetaInfo>
    <entityMetaInfo name="irbPkClass">
    <type entityName="com.convergys.geneva.j2ee.product.ProductPK"></type>
    </entityMetaInfo>
    <entityMetaInfo name="irbId">
    <type entityName="12"></type>
    </entityMetaInfo>
    <extensionProperty name="hasAddress" value="true"></extensionProperty>
    <parent>
    <itemkey>AllServiceTemplate</itemkey>
    <name>AllServiceTemplate</name>
    <targetEntity entityName="bmiasia.app.service.template.AllServiceTemplate"></targetEntity>
    <number>0</number>
    </parent>
    <group>NORMAL</group>
    <siu>
    <itemkey>L2_OPTION</itemkey>
    <operation>ADD</operation>
    <name>L2_OPTION</name>
    <required>true</required>
    <source>INTERNAL</source>
    <displayName>
    <key>L2 Option</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>L3_OPTION</itemkey>
    <operation>ADD</operation>
    <name>L3_OPTION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>L3 Option</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>QPEVPL_SERVICE_ID</itemkey>
    <operation>ADD</operation>
    <name>QPEVPL_SERVICE_ID</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>QP EVLP Service ID</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>QPEVPL_LAG_ID</itemkey>
    <operation>ADD</operation>
    <name>QPEVPL_LAG_ID</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>QP EVLP LAG ID</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>CO_NAME</itemkey>
    <operation>ADD</operation>
    <name>CO_NAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Aggregation Layer / Co Layer</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_SALUTAION</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_SALUTAION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation Salutation</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_LASTNAME</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_LASTNAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installlation Last Name</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_FIRSTNAME</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_FIRSTNAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation First Name</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_TELEPHONE</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_TELEPHONE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation Telephone</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_MOBILE</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_MOBILE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation Mobile</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_EMAIL</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_EMAIL</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installlation Email</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_NOTIFICATION</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_NOTIFICATION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation Notification</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_SALUTAION</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_SALUTAION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Salutation</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_LASTNAME</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_LASTNAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Last Name</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_FIRSTNAME</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_FIRSTNAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical First Name</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_TELEPHONE</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_TELEPHONE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Telephone</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_MOBILE</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_MOBILE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Mobile</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_EMAIL</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_EMAIL</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Email</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_NOTIFICATION</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_NOTIFICATION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Notification</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>SERVICE_ACTIVATION_PERIOD</itemkey>
    <operation>ADD</operation>
    <name>SERVICE_ACTIVATION_PERIOD</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Service Activation Period</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>REJECT_CODE</itemkey>
    <operation>ADD</operation>
    <name>REJECT_CODE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Rejection Reason</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>APPLICATION_ACCEPTED</itemkey>
    <operation>ADD</operation>
    <name>APPLICATION_ACCEPTED</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Application Accepted</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.BooleanCheckSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>APPLICATION_REJECTED</itemkey>
    <operation>ADD</operation>
    <name>APPLICATION_REJECTED</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Application Rejected</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.BooleanCheckSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>APPROVAL_CODE</itemkey>
    <operation>ADD</operation>
    <name>APPROVAL_CODE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Approval Code</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>PROCESSED_BY</itemkey>
    <operation>ADD</operation>
    <name>PROCESSED_BY</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Processed By</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>ACTUAL_RFS_DATE</itemkey>
    <operation>ADD</operation>
    <name>ACTUAL_RFS_DATE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Actual RFS Date</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.DateSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>DISCLAIMER</itemkey>
    <operation>ADD</operation>
    <name>DISCLAIMER</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Disclaimer</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>NC_PRODUCT_ID</itemkey>
    <operation>ADD</operation>
    <name>NC_PRODUCT_ID</name>
    <required>false</required>
    <source>EXTERNAL</source>
    <displayName>
    <key>NC Product ID</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>NC_GL_PRODUCT_CODE</itemkey>
    <operation>ADD</operation>
    <name>NC_GL_PRODUCT_CODE</name>
    <required>false</required>
    <source>EXTERNAL</source>
    <displayName>
    <key>NC GL Product Code</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>NC_GL_PROFIT_CENTRE</itemkey>
    <operation>ADD</operation>
    <name>NC_GL_PROFIT_CENTRE</name>
    <required>false</required>
    <source>EXTERNAL</source>
    <displayName>
    <key>NC GL Profit Centre</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>NC_SERVICE_CODE</itemkey>
    <operation>ADD</operation>
    <name>NC_SERVICE_CODE</name>
    <required>false</required>
    <source>EXTERNAL</source>
    <displayName>
    <key>EUC ID</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>bmiasia.app.irb.servicetemplate54</itemkey>
    <operation>ADD</operation>
    <name>bmiasia.app.irb.servicetemplate54</name>
    <required>false</required>
    <source>INTERNAL</source>
    <equalsProvider>bmiasia.app.service.spi.AddSvcSIUEqualsProvider</equalsProvider>
    <displayName>
    <key>CIR Per 250Mbps CoS A</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.AdditionalServiceSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAdditionalService"></mapping>
    <scope>SERVICE</scope>
    <outSvcAttr>true</outSvcAttr>
    </siu>
    <siu>
    <itemkey>bmiasia.app.irb.servicetemplate55</itemkey>
    <operation>ADD</operation>
    <name>bmiasia.app.irb.servicetemplate55</name>
    <required>false</required>
    <source>INTERNAL</source>
    <equalsProvider>bmiasia.app.service.spi.AddSvcSIUEqualsProvider</equalsProvider>
    <displayName>
    <key>CIR Per 250Mbps CoS B</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.AdditionalServiceSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAdditionalService"></mapping>
    <scope>SERVICE</scope>
    <outSvcAttr>true</outSvcAttr>
    </siu>
    <siu>
    <itemkey>bmiasia.app.irb.servicetemplate56</itemkey>
    <operation>ADD</operation>
    <name>bmiasia.app.irb.servicetemplate56</name>
    <required>false</required>
    <source>INTERNAL</source>
    <equalsProvider>bmiasia.app.service.spi.AddSvcSIUEqualsProvider</equalsProvider>
    <displayName>
    <key>CIR Per 250Mbps CoS C</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.AdditionalServiceSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAdditionalService"></mapping>
    <scope>SERVICE</scope>
    <outSvcAttr>true</outSvcAttr>
    </siu>
    <siu>
    <itemkey>bmiasia.app.irb.servicetemplate57</itemkey>
    <operation>ADD</operation>
    <name>bmiasia.app.irb.servicetemplate57</name>
    <required>false</required>
    <source>INTERNAL</source>
    <equalsProvider>bmiasia.app.service.spi.AddSvcSIUEqualsProvider</equalsProvider>
    <displayName>
    <key>CIR Per 250Mbps CoS D</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.AdditionalServiceSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAdditionalService"></mapping>
    <scope>SERVICE</scope>
    <outSvcAttr>true</outSvcAttr>
    </siu>
    <defaultWorkflowInfo>
    <workflow entityName="bmiasia.app.irb.servicetemplate12_Workflow"></workflow>
    <cancelFlow entityName="bmiasia.app.irb.servicetemplate12_CancelFlow"></cancelFlow>
    </defaultWorkflowInfo>
    <source>EXTERNAL</source>
    <additionalServices entityName="bmiasia.app.irb.servicetemplate54">
    <operation>ADD</operation>
    <name>CIR Per 250Mbps CoS A</name>
    </additionalServices>
    <additionalServices entityName="bmiasia.app.irb.servicetemplate55">
    <operation>ADD</operation>
    <name>CIR Per 250Mbps CoS B</name>
    </additionalServices>
    <additionalServices entityName="bmiasia.app.irb.servicetemplate56">
    <operation>ADD</operation>
    <name>CIR Per 250Mbps CoS C</name>
    </additionalServices>
    <additionalServices entityName="bmiasia.app.irb.servicetemplate57">
    <operation>ADD</operation>
    <name>CIR Per 250Mbps CoS D</name>
    </additionalServices>
    <defaultWorkflowDefinition>
    <installSoEntityName>bmiasia.app.template.serviceorder.Installservicetemplate12SO</installSoEntityName>
    <changeSoEntityName>bmiasia.app.template.serviceorder.Modifyservicetemplate12SO</changeSoEntityName>
    <removeSoEntityName>bmiasia.app.template.serviceorder.Removeservicetemplate12SO</removeSoEntityName>
    <workflow>
    <entityName>bmiasia.app.irb.servicetemplate12_Workflow</entityName>
    </workflow>
    <cancelFlow>
    <entityName>bmiasia.app.irb.servicetemplate12_CancelFlow</entityName>
    </cancelFlow>
    </defaultWorkflowDefinition>
    </ServiceType>

    Hi !!
    Now when iam extracting the data for the above xml, using the below query
    SELECT extractvalue(VALUE(p),'/itemkey/*') Name, extractvalue(VALUE(p),'/required/*') Required FROM CL_DATA_SERVICE_TEMPLATE w, TABLE(XMLSEQUENCE(EXTRACT(xmldata,'/ServiceType/siu','xmlns="http://www.bmiasia.com/tBos/service_1_0"'))) p
    I am expecting the output to be something like below
    Name | Required
    L2_OPTION | true
    L3_OPTION | false
    but iam getting the required number of rows but all blank
    Lets take it as O/P should be 20 Rows, then iam getting 20 Rows.... But all are blank
    What is wrong in the query ?
    Can some one point it out

  • How to select data from one nested table and into another nested table

    create or replace
    TYPE ctxt_code_rec as object
    ctxt_header varchar2(10),
    header_description varchar2(300),
    status varchar2(30),
    adjacent_code varchar2(300),
    adjacent_desc Varchar2(400),
    adjacent_flag varchar2(4000),
    adjacent_text_href varchar2(4000)
    create or replace
    type ctxt_code_table as table of CTXT_CODE_REC
    d_table ctxt_code_table ;
    v_tab ctxt_code_table ;
    Iam trying to select data from d_table to v_tab
    using and bulk collect into
    select m.*
    bulk collect into p_code_result
    from table(l_loop_diag_code_table1)m
    order by 1;
    Receiving error:
    ora 94007 : not enoughvalues
    Could you please let me know how to solve it?
    Thanks,
    in advance

    >
    create or replace
    TYPE ctxt_code_rec as object
    ctxt_header varchar2(10),
    header_description varchar2(300),
    status varchar2(30),
    adjacent_code varchar2(300),
    adjacent_desc Varchar2(400),
    adjacent_flag varchar2(4000),
    adjacent_text_href varchar2(4000)
    create or replace
    type ctxt_code_table as table of CTXT_CODE_REC
    d_table ctxt_code_table ;
    v_tab ctxt_code_table ;
    Iam trying to select data from d_table to v_tab
    using and bulk collect into
    select m.*
    bulk collect into p_code_result
    from table(l_loop_diag_code_table1)m
    order by 1;
    Receiving error:
    ora 94007 : not enoughvalues
    Could you please let me know how to solve it?
    >
    Not unless you provide the code you are actually using.
    There is no definition of 'p_code_result' in your post and you say you 'trying to select data from d_table' but there is no code that loads 'd_table' in what you posted.
    And the SELECT query you posted actuall selects from an object named 'l_loop_idag_code_table1' which isn't mentioned in your code.
    Post the actual code you are using and all of the structures being used.
    Also explain why you even need to use nested tables and PL/SQL for whatever it is you are really doing.

  • I want to insert data into a gta from a nested table

    Hi,
    I want to insert data into a global temporary table from nested table.
    How do i do it?

      cursor cc is select * from t1;
       TYPE temp_rec_tab IS TABLE OF temp_rec_tap_cur%ROWTYPE;
       TYPE rec_num_tab1 is table of temp_records_tap.record_num%type;
       v_test_tab     temp_rec_tab;
    ----   v_rec_num      num_tab;
       v_rec_num rec_num_tab1;  
       v_filename     temp_records_tap.file_name%TYPE;
       v_error_code   tap_reject.ERROR_CODE%TYPE;
       v_rej_value    tap_reject.field_rej%TYPE;
       v_count        NUMBER;
    BEGIN
       OPEN cc;
       LOOP
          BEGIN
             FETCH cc
             BULK COLLECT INTO v_test_tab LIMIT 1000;
             FORALL i IN v_test_tab.FIRST .. v_test_tab.LAST SAVE EXCEPTIONS
                INSERT INTO tt2
                     VALUES v_test_tab (i)
                  RETURNING       record_num
                BULK COLLECT INTO v_rec_num;
          EXCEPTION
             WHEN OTHERS
             THEN
          NULL;
          END;
          EXIT WHEN temp_rec_tap_cur%NOTFOUND;
       FORALL i in  v_rec_num.first..v_rec_num.last
       INSERT INTO record_num_session values v_rec_num(i); ------- v_num(i) INVALID IDENTIFIER ??????
       END LOOP;
    END;

  • Insert /delete data from SAP Z table to Oracle table and opposite

    Hi,
    Can u help me write this FM from the SAP side?
    So, I have two tables ZTABLE in SAP and Oracle table ORAC.
    Let's put three columns in each of them, for example
    TEL1
    TEL2
    ADRESS
    NAME
    where TEL field is primary from ZTABLE to ORAC...
    (in FM there shoud be abap code for writing data in ZTABLE after we press some pushbutton made in sap screen painter..)
    for example, when we write new record in ZTABLE
    00
    112233
    Street 4
    Name1
    this data shoud be inserted in Oracle table ORAC.
    when we write new record in Oracle table for example
    01
    445566
    New Street
    Name2
    this data shoud be inserted in ZTABLE.
    Field TEL1 can be only of two values 01 or 02, other combination is not valid...
    I must have all data from Oracle table ORAC in ZTABLE and opposite.
    It should be the same scenario for DELETE...
    And this communication should be online between sap and table in oracle database...
    Can u help me from sap side? and give idea how to configure on oracle side??
    Thanks a lot,
    Nihad

    I dont know if we can directly connect to a oracle database ( wait for the answers from others on this )
    but in XI we have the JDBC adaptor to insert and retrieve data.
    so for the outbound from SAP the flow can be something like this (with XI in landscape):
    1) You have a screen to maintain a new entry / delete an entry
    2) On save , this record gets saved or deleted from the Ztable in SAP
    3)) In the same screen you can call a proxy class-method (generated using SPROXY transaction ) to send the record to XI.
    4) XI to format it and insert into the oracle table
    Mathews

  • Storing data in data bse using nested tables

    using nested tables data can be stored in data base or not.
    if yes i need simple example for taht and how to retireve the data from data base.

    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11822/adobjvew.htm#ADOBJ00511
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17126/composites.htm#LNPLS99981

  • Storing data in data abse using nested  table

    using nested table is it possible 2 store data in data base .give me simple example how tos tore data in data abse usingnested tables.and how to retieve it from data abse.

    See: http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:410619303624

  • Can't retrieve data dictionary items in 8.0.5 DB from Powerbuilder

    Hello all,
    I'm using Powerbuilder 7.0 in an actual project.
    The database is Oracle 8.0.5.1.0 for Linux (Distribution is SuSE 6.0)
    There's some strange behaviour which prevents developing with the database:
    - Connected as user system in Powerbuilder. No problems during connect. Trace activated.
    - Appears grapical table list. When trying to retrieve column attributes of selected table Powerbuilder hangs. The grants on the selected dictionary views have been checked and user system has been granted role dba.
    These are the traced statements Only the last one doesn't work - doesn't come back with a result.
    WORKS: SELECT OWNER, TABLE_NAME, TABLE_TYPE
    FROM SYS.ALL_CATALOG WHERE OWNER <> 'SYS'
    AND TABLE_TYPE IN ('TABLE','VIEW') (0 MilliSeconds)
    WORKS: SELECT S.OWNER, S.SYNONYM_NAME
    FROM SYS.ALL_SYNONYMS S, SYS.ALL_OBJECTS O
    WHERE (S.TABLE_OWNER <> 'SYS'
    AND O.OBJECT_NAME = S.TABLE_NAME
    AND O.OWNER = S.TABLE_OWNER
    AND O.OBJECT_TYPE IN ('VIEW','TABLE'))
    UNION SELECT Q.OWNER, Q.SYNONYM_NAME
    FROM SYS.ALL_SYNONYMS Q
    WHERE (Q.TABLE_OWNER <> 'SYS'
    AND Q.DB_LINK IS NOT NULL) (0 MilliSeconds) (5518 MilliSeconds)
    COLUMNS INFORMATION: TABLE=ac OWNER=geco2
    WORKS: SELECT COLUMN_NAME, COLUMN_ID, DATA_TYPE_OWNER, DATA_TYPE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE,
    NULLABLE, DATA_DEFAULT
    FROM SYS.ALL_TAB_COLUMNS
    WHERE TABLE_NAME = 'AC'
    AND OWNER = 'GECO2'
    ORDER BY COLUMN_ID (0 MilliSeconds) (981 MilliSeconds)
    WORKS: SELECT INDEX_NAME, UNIQUENESS
    FROM SYS.ALL_INDEXES
    WHERE TABLE_OWNER = 'GECO2'
    AND TABLE_NAME = 'AC' (0 MilliSeconds)
    WORKS: SELECT COLUMN_NAME, COLUMN_POSITION
    FROM SYS.ALL_IND_COLUMNS
    WHERE INDEX_NAME = 'GECO_ACC_MAIS_ID'
    AND TABLE_NAME = 'AC'
    AND TABLE_OWNER = 'GECO2' (0 MilliSeconds)
    (29c0020): PRIMARY KEY RETRIEVE:
    APPLICATION HANGS: SELECT SYS.ALL_CONS_COLUMNS.COLUMN_NAME, SYS.ALL_CONSTRAINTS.CONSTRAINT_NAME
    FROM SYS.ALL_CONSTRAINTS,SYS.ALL_CONS_COLUMNS
    WHERE SYS.ALL_CONSTRAINTS.CONSTRAINT_TYPE ='P'
    AND SYS.ALL_CONSTRAINTS.TABLE_NAME = 'AC'
    AND SYS.ALL_CONSTRAINTS.OWNER = 'GECO2'
    AND SYS.ALL_CONSTRAINTS.CONSTRAINT_NAME = SYS.ALL_CONS_COLUMNS.CONSTRAINT_NAME
    AND SYS.ALL_CONSTRAINTS.TABLE_NAME = SYS.ALL_CONS_COLUMNS.TABLE_NAME
    AND SYS.ALL_CONSTRAINTS.OWNER = SYS.ALL_CONS_COLUMNS.OWNER
    ORDER BY SYS.ALL_CONSTRAINTS.CONSTRAINT_NAME,SYS.ALL_CONS_COLUMNS.POSITION (0 MilliSeconds)
    I've rerun CATALOG.SQL and CATPROC.SQL; I've installed an 8.0.5-Database under NT and had no problem.
    A collegue working with the Java IDE Forti and connecting with JDBC has a very similar problem.
    At the moment the project can't go on because of this problem.
    Any hint would be welcome
    Thanks
    Juergen
    null

    Hi all, thx for your reply, i have found where is my error :)
    In dbSelectUniqueRow() method,
    //put the attr value into arrayList                               
    for(int j=1; j<=fieldList.size(); j++) {                                       
    columnValues.add((String)rs.getObject(j));
      }i shouldn't put all the value into the arrayList, instead i should put in the primary key,
    Then in client side, I can cast it to remoteInterface. After that, i can retrieve the value in client using
    Staff s = (Staff)home.FindByName("XXX");

Maybe you are looking for