Mapping To Oracle Table, but no output after transform

Hi, All
I want to transform some records to Oracle table and met a very werid issue. I use a transform in odx.  this is the mapping
name  by name
and I add a output before the mapping, this is the output xml
 <InforProd xmlns="">
- <InforProdRow xmlns="">
  <PROD_CD>00000013 JOBST</PROD_CD>
  <PROD_DESCRP>Description</PROD_DESCRP>
  <STD_COST>100.0000</STD_COST>
  <SELL_PRICE>1000.0000</SELL_PRICE>
  <UOM>11.000000000000</UOM>
  <USERSTRING_0>213020900030</USERSTRING_0>
  <USERSTRING_1>SN</USERSTRING_1>
  <USERSTRING_2>这是中文</USERSTRING_2>
  <USERSTRING_3>Active</USERSTRING_3>
  <USERSTRING_4>1</USERSTRING_4>
  <USERSTRING_5>2</USERSTRING_5>
  <USERSTRING_6>3</USERSTRING_6>
  <USERSTRING_7>4</USERSTRING_7>
  <USERSTRING_8>5</USERSTRING_8>
  <LOADER_REF>7</LOADER_REF>
  <LastModifiedDate>2014-01-01T00:00:00</LastModifiedDate>
  <LastUpdatedDate>2014-01-01T00:00:00</LastUpdatedDate>
  </InforProdRow>
  </InforProd>
after the transform, I get no resuslt.
<ns0:Insert xmlns:ns0="....">
- <ns0:RECORDSET>
- <ns0:IMP_RAW_PRODRECORDINSERT>
  <ns0:PROD_CD />
  <ns0:PROD_DESCRP />
  <ns0:STD_COST />
  <ns0:SELL_PRICE />
  <ns0:UOM />
  <ns0:USERSTRING_0 />
  <ns0:USERSTRING_1 />
  <ns0:USERSTRING_2 />
  <ns0:USERSTRING_3 />
  <ns0:USERSTRING_4 />
  <ns0:USERSTRING_5 />
  <ns0:USERSTRING_6 />
  <ns0:USERSTRING_7 />
  <ns0:USERSTRING_8 />
  <ns0:LOADER_REF />
  </ns0:IMP_RAW_PRODRECORDINSERT>
  </ns0:RECORDSET>
  </ns0:Insert>
This the instance I use Generate Intance of the schema.
<ns0:InforProd xmlns:ns0="">
- <ns0:InforProdRow>
  <ns0:PROD_CD>PROD_CD_0</ns0:PROD_CD>
  <ns0:PROD_DESCRP>PROD_DESCRP_0</ns0:PROD_DESCRP>
  <ns0:STD_COST>10.4</ns0:STD_COST>
  <ns0:SELL_PRICE>10.4</ns0:SELL_PRICE>
  <ns0:UOM>UOM_0</ns0:UOM>
  <ns0:USERSTRING_0>USERSTRING_0_0</ns0:USERSTRING_0>
  <ns0:USERSTRING_1>USERSTRING_1_0</ns0:USERSTRING_1>
  <ns0:USERSTRING_2>USERSTRING_2_0</ns0:USERSTRING_2>
  <ns0:USERSTRING_3>USERSTRING_3_0</ns0:USERSTRING_3>
  <ns0:USERSTRING_4>USERSTRING_4_0</ns0:USERSTRING_4>
  <ns0:USERSTRING_5>USERSTRING_5_0</ns0:USERSTRING_5>
  <ns0:USERSTRING_6>USERSTRING_6_0</ns0:USERSTRING_6>
  <ns0:USERSTRING_7>USERSTRING_7_0</ns0:USERSTRING_7>
  <ns0:USERSTRING_8>USERSTRING_8_0</ns0:USERSTRING_8>
  <ns0:LOADER_REF>10.4</ns0:LOADER_REF>
  <ns0:LastModifiedDate>1999-05-31T13:20:00.000-05:00</ns0:LastModifiedDate>
  <ns0:LastUpdatedDate>1999-05-31T13:20:00.000-05:00</ns0:LastUpdatedDate>
  </ns0:InforProdRow>
  </ns0:InforProd>
it has <ns0:>, but my schema input doesn't have, does it matter, I did the same thing on Sqlserver, the map result is correct.
can anyone help?

Hi Neal,
It wont matter much to have <ns0> attribute added to your  Map output .
We can remove ns0 prefix simply by set the schema elements property or both elements and attributes properties to be qualified. To do that follow my steps:
1-      Open your schema
2-      Right Click <Schema> and select properties
3-      Use schema property editior and Set [Element FromDefult] to Unqualified, and then set [Attribute FromDefault] to Unqualified if you are using attributes in your schema.
You can look at below links
http://geekswithblogs.net/dmillard/archive/2004/10/20/12935.aspx
http://www.techtalkz.com/microsoft-biztalk-server/295831-why-biztalk-2006-piut-ns0-prefix-part-my-xml-even-if-i-dont-wantit-plz-some1-explain-me.html

Similar Messages

  • Extracting a flat file from oracle table

    I have moved the knowledge module KIM ISO SQL to FileAppend from the Metadata to my project folder.
    But when I create an interface mapping the oracle table and a flat file on a different unix server, in the drop down menu , it shows only KIM SQL TO SQL and KIM Control Append.It does not show up the SQL to FileAppend knowledge module option.
    What should I do to extract a flat file from oracle table?
    Thanks
    Hima
    Overstock.com

    All IKM in the Drop Down Menu are dependent of the target technology.
    A question, at this interface, is your target table a file ?

  • How to display a oracle table from a java program?

    How to display a oracle table from a java program.
    Hello friends, I have written a Java program, using oracle 10g as backend.
    I want to display a oracle table as output. Im not getting how to display oracle table as a output table.. Pls help me
    Thank you

    jayanthds, you're not going to get a satisfactory
    answer to this here. it's too big a task to justbe
    quickly outlined in a forum - the reply "all youneed
    to do is to query you table and return it asJTable"
    is worthless, for example, since the solution to
    any problem can be distilled to such a
    soundbite, if need be. doesn't make the solutionany
    simpler
    essentially you're asking "how do I write adatabase
    application?". all you'll get is snippets of code
    that, when fitted together, will eventually helpyou
    do this, but you'll spend days and days comingback
    saying "right, I've done that, now what?" until
    either you or the forum gets frustrated with the
    whole affair and the process stops
    there are entire books written about this subject,
    and countless tutorials and guides on theinternet.
    you're better off going down that routehehehe.well, it's true! I used to have a manager that would outline the solution to a problem in a few lines of pseudocode, and then firmly believe that the actual solution would be just as brief and simple. shame his pseudocode included such lofty abstractions as "reformat all data"

  • Oracle Table Values are not displayed when tried to display with Essbase

    Hi,
    I was trying to create a report with Oracle RDB Table and Essbase by following the steps given in "Federating Essbase and Relational Data Sources in Oracle Business Intelligence Suite Enterprise Edition Plus" document at the location http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/fed_data/fed_data.html.
    I am able to see the members from the Essbase cubes and I can also see the Oracle Table values, if they are displayed individually (i.e. different reports) but when I try to get one report with Essbase values with Oracle table records then Oracle table records are not displayed and when see the query log I don't see the query for Oracle table but I see obviously MDX queries for the essbase.
    Please help.
    Regards,
    Paresh

    Hi,
    Smitha, you can defnetly use dynamic table in interactive form. I had similar problem and I acheived like follwing:Basically you have to bind the table .
    If you want to have fixed number of rows in the interactive form, then in wddoinit method bind the internal table to ur table node. for exmaple: if u want 2 rows in the form loop times . So by default when you open the form you will get two rows for the table.
    **************BIND THE ITAB ****************************
    DO 2 TIMES.
    APPEND LW_LFBK TO LT_LFBK.
    CLEAR LW_LFBK.
    ENDDO.
    CALL METHOD lo_nd_t_lfbk->bind_table
    EXPORTING
    new_items = LT_LFBK.
    If you want to have dynmic table then take a submit button in the form instead of normal button,
    in onaction submit write a loop every time you click that new submit button it should add a new row.
    use above coding in onactionsubmit instead of doinit.
    Thats it.
    Regards,
    Ravi

  • Problem to Load the data Flat file to Oracle table on Linux Machine

    hi,
    when i change the path of source flat file from windows to Linux machine. Now it gives the error. Basicalyy this file will load the files names into Oracle table. but in windows path its fine. All things r running fine in Linux. when i run the interface it gives this>>>>>>>>
    SQL*Loader: Release 11.2.0.1.0 - Production on Wed Dec 19 16:40:16 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12162: TNS:net service name is incorrectly specified
    Thanks
    Regards,
    Edited by: AMSI on Dec 19, 2012 6:01 AM

    I assume you're using the "LKM file to Oracle SQL Loader".
    For test purpose, can you just try with "LKM file to SQL" (slower) ?
    We could check if the problem comes from the SQL Loader.
    Your unix server has access to the oracle database ?

  • How can I inserting file's line into a oracle table in physycal order

    How can I insert the file's line into a oracle table in the same physycal order that they exists in the file ?
    I am using "SQL to FILE" km to performing file load into Oracle table, but the order which the records are insered into the oracle table doesn't match with the order of file's lines
    How can I guarantee the same file's physycal order in the oracle table( target ) and file( source ) ?
    Is it possible throught ODI ?
    Thanks,
    Luciana

    Hi,
    although I understand why use "File to Oracle( SQLLDR )" KM, I haven't the guarantee that in the agent's machine the Oracle Client installed and because when I openned the others projects I saw that anyone in my company use this KM( "File to Oracle( SQLLDR )" )
    Tha's why I ask for anyone lead me whith the modification of the previous post in the "uLKM File to SQL", specifing the km step e where put the RECNUM pseudo column
    This is fundamental for my ODI project
    When I try to alter the "Create Work Table" and "Load Data" step of my "uLKM File to SQL" km, the execution returned me the error below:
    =====================> Create Work Table Step
    create table <@= vWorkTable @>
         C1_LINHA_ARQ     VARCHAR2(500) NULL, RECNUM NUMBER(10)
    =====================> Load Data Step
    select     LINHA_ARQ     C1_LINHA_ARQ
    from      TABLE
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=ARQ_INSS2SNP$CRLOAD_FILE=/arquivos_odi/ccrs/in/#CCRS_CAD_INSS.vpNOME_ARQUIVOSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=09SNP$CRFILE_SEP_LINE=0D0ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=LINHA_ARQSNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLINE_OFFSET=1SNP$CRLENGTH=500SNP$CRPRECISION=500SNP$CR$$SNPS_END_KEY*/
    insert into ODI_RUN_CONV.C$_0TMP_ODI_INSS_DADOS_ARQ
         C1_LINHA_ARQ, RECNUM
    values
         :C1_LINHA_ARQ, RECNUM
    =====================
    984 : 42000 : java.sql.BatchUpdateException: ORA-00984: column not allowed here
    984 : 42000 : java.sql.SQLSyntaxErrorException: ORA-00984: column not allowed here
    java.sql.BatchUpdateException: ORA-00984: column not allowed here
         at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:629)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9409)
         at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:211)
         at com.sunopsis.sql.SnpsQuery.executeBatch(Unknown Source)
    ...Thanks again gyus,
    Luciana
    Edited by: 933810 on 31/05/2012 06:04
    Edited by: 933810 on 31/05/2012 06:07
    Edited by: 933810 on 31/05/2012 06:14

  • Insert a oracle table from jquery/ajax

    Hi.
    i am new on apex and will like to know if can help me with my question.
    i am calling an on demmand process from jquery javascript to insert some data on oracle apex_collection (i do delete and insert on the apex collection and works fine) , but i need to insert an oracle database table directly from jquery (through an on demmand process or any other way).
    actually, i have an html page with an anonymus pl/sql which shows a list of items where user enter some values; using javascript, i call an on demmand - javascript process that will do the insert on an oracle table, but nothing happens. no data get inserted to my table
    actually i am calling the on demmand process using this on javascript, and works nice, but only on apex_collection , not on oracle database table.
                              var ajaxRequest = new htmldb_Get(null,&APP_ID.,"APPLICATION_PROCESS=ADD_PRODUCTS",&APP_PAGE_ID.);
                              ajaxRequest.add('P1_PRODUCT_ID',html_GetElement('P1_PRODUCT_ID').value);
                              ajaxRequest.add('P1_QTY',html_GetElement('P1_QTY').value);
                              ajaxResult = ajaxRequest.get();
    it is importante to mention that i am NOT SUBMITTING or refreshing the page at any time, because it will make it too slow, I think it has something to do with the problem but not sure.
    thanks in advance.
    Anthony.

    Hi Scott. thanks for your interest.
    ok, i am using Application Express 4.2.2.00.11 (Oracle Database SE 11gR2)
    i have created a HTML region Source with this code to call the Ajax Process :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>Totalizar</title>
    <script type="text/javascript">
    $(function()
            // Save the Order
            $("#Save").click
                function()
                     var ajaxRequestd = new htmldb_Get(null,&APP_ID.,"APPLICATION_PROCESS=SAVE",&APP_PAGE_ID.);
                     ajaxRequestd.add('P1_CODIGO_CLIENTE',html_GetElement('P1_CODIGO_CLIENTE').value);
                     ajaxRequestd.add('P1_TIPO_CLIENTE',html_GetElement('P1_TIPO_CLIENTE').value);
                     ajaxResult = ajaxRequestd.get();
                     alert('Order Placed !');
    </script>
    </head>
    <body>
    <div id="totals"></div>
    <p align="center" style="clear: both;">
    <button type="button" style="font-weight: bold;background-color:lightgray;margin-left:auto;margin-right:auto;display:block;margin-top:0%;margin-bottom:0%" id="Save">Place Order</button>
    </p>
    </body>
    </html>
    the Message 'Order Placed !' is displayed on the page, so it tells me that the javascript is executing (i will like to display some message or alert inside the SAVE ajax process, to make sure it executes and check values at that moment, but don't know how)
    and here is my "SAVE" on Demand process, with this settings:
          - Process Point - Run this process when request by ajax
          - Run Process - One per Page visit
    whit this source code on it:
       -- Insert into table
        insert into cab_orders(customer_id, order_total, order_timestamp, user_name)
           values(:P1_CODIGO_CLIENTE, null, systimestamp, upper(:APP_USER));
        commit;
    Remember that at this point the page has not been refresehed or submitted, maybe tis where the problem come from.
    Thanks in advance for any tip !

  • Must a EntityBean map with data table?

    I know Not every data table will map with Entity bean
    but must a EntityBean map with a datatable?
    rgds

    Ofcourse Not, EntityBean Just A style of Bean,
    We declare something as EntityBean because it perform some action like a Entity
    For Example,A Man Contain some attribute, or A File with some attribute,
    usually we have store this in the database ,so EntityBean Usually map with data table.
    but you can also store the data in the file format as you like,you can control it in the BMP model
    in my opinion ,Entitybean is the object base on the attribute , the Sessionbean is the object base on the action with the user.So we can distinguish them��:-)

  • Can I use APEX directly read/sync with the Oracle Tables ?

    We have a Oracle Database to manage the design data.I am trying to setup a web-based front end using APEX to manage & monitor the parts ordering & logisitics.I want to drive the master data directly from the database without any export or data transfer ? Can I directly read or Link an Oracle tables from APEX application.
    Also,once this is setup,I am looking for setting up some data entry fields to enter Purchasing & Logistics information.Hope I can achieve this using APEX !
    Look forward for the appropriate response.
    Thanks,
    Sham

    Tony,
    Thanks & Appreciate your Quick response.
    Glad that I can use the existing Oracle db schema with APEX.I am not sure if there is any information as how I can connect or link my production schema to the APEX ! I was able to import .csv files & use XL data to create some test databases & play with APEX..but,I did try to go thru most of the instructions & guides to find how to use the production oracle tables,but,could not find anything particular...Please send me a link or material info.
    I suppose I can then use which ever attribute or table data that is required to build the queries ! I am planning to use the production data to build the ordering & logistics application using APEX.Assume I can create new fields & columns for parts that will be ordered & capture/record the purchasing information like Purchase order numbers/Supplier Info/Target Delivery dates etc...
    - Am on very tight schedules to get this application up & running ! Is there any support team or a technical support team that I can call upon if I need any help ?
    Thanks,
    Sham

  • How to see out put after Transform in BPEL process

    hi,
    Is there some way in 11 G "BPEL" process manager, to see the output after "transform".
    I am using "transform" to map data, however unable to see what is going in the output
    please advice
    thanks
    Yatan

    thanks James,
    Yes I was seeing the flow only, however if I click on "transform" activity, I dont see any thing more then
    "updated output variable x", is there some other view where we can see, what values got updated in the output variable,
    I am asking this because lot of logic goes while transforming the variables which creates lot of errors, so how to check
    what variables are going in the output of the transform variable.
    please advice
    thanks
    Yatan

  • Mapping not showing up for Oracle Tables

    I'm just getting started with OWB after attending a class and am using the textbooks received with the course. I've created a project with modules for different schemas each containing several Oracle tables. I don't get the Mapping for either of these modules nor can I use the configure option to create Mappings. Does anyone know what I can do?

    For our OWB projects, we create all modules as target
    modules. It is probably a good idea not to use
    source modules since OMBPlus does not recognize them.Hi,
    I think you may be missing the essential difference between source and warehouse modules. A source module is just that, a place where definitions of he source data is held, which is that data outside the scope of the warehouse project. As such, it makes no sense for OMBplus to reference this information.
    As a practical example, it would make absolutely no sense to run OMBplus against your operational OLTP sytem from which you extract your source data.
    The value of source modules is that you can reference this 'remote' data as though it is local data, and because you have its metadata, you can manipulate it and map from it as though it is 'yours', even though it isn't. Further, the Import Metadata Wizard can provide details on source system changes, and you can then analyse the impact.
    But I'm still puzzled about automatic reconciliation. Please see "Metadata Import and Reconcile" for further details. (52 views and no replies? Surely someone knows how to do this!).
    Cheers,
    Donna

  • Table space not reduce after delete in oracle 11G

    Hi Team,
    I have a DB 11.1.0.7 on unix.
    I have execute delete tables on tablespace, but this not reduce.
    Thanks

    935299 wrote:
    What segment space management type is defined for the tablespace in question?
    MANUAL
    Then you should check out the documentation some more.
    But even if you shrink the table segement what is that going to do for the data file size?
    I don't undertand you.
    ThanksYour thread is titled "Table space not reduce after delete in oracle 11G" which implies to me that you are interested in reducing the size of a tablespace (which really means reducing the size of the underlying datafile(s)).
    So, if you shrink the size of the sys.aud$ table, will that cause the datafile(s) to become smaller? Will it accomplish your goal? What else, if anything, needs to happen?

  • Map FLAT file to oracle table using 9.04 version - PLS HELP!!!!

    Hello all
    I am having a problem with mapping a flat file to oracle table. The validation is successful, when I go to Project/Deployment manager. Try to deploy the mapping itself and the target table. It said succesful, and the last step is another "Deploy", this one is fail. Saying could not locate the file (which is a flat file) , but it is there on the server.
    I have read all the help on line and follow what they show me, but still not work
    Any ideas? Please provide detail answer if you know it.
    Thank in advance

    Hallo,
    just give a rights on connector
    Variant 1
    1. connect to user sys
    2. grant read,write on directory <connector_name> to <target_schema>;
    or
    Variant 2
    1. as user sys or system give CREATE_ANY_DIRECTORY to <target_schema>
    2. manualy make CREATE DIRECTORY <connector_name> as '<full_path_to_directory>';
    and enjoy :)
    PS: <connector_name> you can take from script CREATE_TABLE wisch in Generation phase was created!
    Kirill

  • EDIFECS Mapping not found in the X12 Output file in Oracle B2B 11g

    Hi,
    We are using Oracle SOA suite 11g, we have created a outbound process for EDI 855 which is PO Acknowledgement.
    We are using a XML Gateway for the outbound and consuming the message in BPEL. We are mapping the OAG xml to EDIFECS xml to be consumed by Oracle B2B. We had created the EDIFECS xsd and ecs file using Oracle B2B editor and got it validated.
    Now the issue is we have mapped few elements in BPEL and the same data is found in the payload message in Oracle B2B, but we are unable to see the data in the X12 output file.
    Any thoughts will be hightly appreciated.
    Thanks
    Sathish

    Hi,
    Thanks for your update.
    The following were the elements missing in the native X12 flat file. I verified these elements present in ecs using oracle b2b document editor.
    <ns0:Segment-PO1>
    <ns0:Element-355>EA</ns0:Element-355>
    <ns0:Element-235>UI</ns0:Element-235>
    <ns0:Element-234>UPCXREF</ns0:Element-234>
    </ns0:Segment-PO1>
    <ns0:Segment-ACK>
    <ns0:Element-355 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="">EA</ns0:Element-355>
    <ns0:Element-373>20100318</ns0:Element-373>
    </ns0:Segment-ACK>
    Thanks
    Sathish

  • Shrink Oracle Table after Deletion

    A few database tables are very big. An Oracle table still holds the disk space occupied by deleted records according to http://stackoverflow.com/questions/6540546/oracle-10g-table-size-after-deletion-of-multiple-rows. Re: shrink table after delete teaches the following commands to release the idle space from the table.
    ALTER TABLE TABLE1 DEALLOCATE UNUSED;
    ALTER TABLE TABLE1 ENABLE ROW MOVEMENT;
    ALTER TABLE TABLE1 SHRINK SPACE;
    ALTER TABLE TABLE1 MOVE;
    1. Are the commands feasible?
    2. Are they safe?
    3. What will be the impacts of running the commands?
    4. Is there any other workable safe approach shrinking a table?

    Hi,
    I advise using shrink table operation.
    The tablespace which belong to your table must be in ASSM (Automatic segment space management) to use shrink.
    Shrink is safe but you need to run two commands :
    1)ALTER TABLE TABLE1 SHRINK SPACE COMPACT; (This is long operation which moves data, but can be done online)
    2)ALTER TABLE TABLE1 SHRINK SPACE; (this is quick if you run SHRINK SPACE COMPACT before, it only shift the High Water Mark. Be carreful if you don't run SHRINK SPACE COMPACT before your table will be locked for a long time)
    Another point, is that execution plans are calculed using the HWM so SHRINK the table (The 2nd command) will invalidate all the cursors in shared pool where the table is in. So execution plan need to be recalculated (often not a problem).
    Regards,

Maybe you are looking for

  • Profit margin error at Conditions in Header

    Hi friends, I could get the profit margin correctly at each Item level..i.e Net Value minus Intercompany Price. Ex- $100 - $80  = 20. This I could see at each Item Level. But, when I check the same at Header Level , I find the system showing $80 (the

  • CR2 RAW files from Canon 7DMarkII do not work with Lighroom 5.6

    Although I upgraded to latest available veriosn Lighroom 5.6 can't import CR2 files form Cnaono  7D Mark II. Any ideas?

  • Lost my Notes on my iPhone.  Can I get them back?

    Got an iPhone 5.  Suddenly I lost my Notes.  Don't know what happened.  Can I get them back? THANKS!!!

  • Sap note 1567029

    Hello , I am trying to implement sap note 1567029 with SNOTE, but it is no possible, there are some errors that avoid the implementation of the note How could I solve it? Thanks a lot

  • Where is the Pixelbender Plug-in ?

    Hello, I used to have the Pixelbender plug in installed on my machine. I recently had to reinstall Windows, and I'm trying to find the download for this plug in. The web page http://www.adobe.com/devnet/pixelbender.html appears to have a link to the