Create source structure -Need to create flat file or table?

Hi All,
Can any one let me know what needs to be created?? it should be flat file or a table on the data base?
I am going to reecive flat files from the source system??
If it is a flat file then is there any way to create flat file structure in the DS using SQL query statements?
Thanks
Rajeev

you can create table same as file structure and use the table instead, but how are you going to populate the table with the data from flat file ? you will need some application to do that, you can do this is DS by creating a file format and using the source file as input for that file format and create a template table as target for the database datastore to wihch you want to load data from this source file, and use that table as source in other dataflows
you can also create the table with the same structure in the database and import that in Datastore and use that as target for the source file

Similar Messages

  • Problem in data sources for transaction data through flat file

    Hello Friends,
    While creating the data sources for transaction data through flat file, I am getting the following error "Error 'The argument '1519,05' cannot be interpreted as anumber' while assigning character to application structure" Message no. RSDS016
    If any one come across this issue, please provide me the solution.
    Thanks in Advance.
    Regards
    Ravi

    Hallo,
    just for information.
    I had the same problem.
    Have changed the field type from CURR to DEC and have set external instead of internal.
    Then, the import with flatfile worked fine.
    Thank you.

  • Ssis - import data from flat file to table (sql server 2012)

    i have create a ssis for importing data from flat file to table in sql server 2012.
    but i got the below error for some column in data flow task.
    error: cannot processed because than one code page (950 and 1252)
    anyone helps~

    Hi,
    The issue occurs because the source flat file uses ANSI/OEM – Tranditional Chinese Big5 encoding. When processing the source file, the flat file connection manager uses code page 950 for the columns. Because SQL Server uses code page to perform conversions
    between non-Unicode data and Unicode data, the data in the code page 950 based input columns cannot be loaded to code page 1252 based destination columns. To resolve the issue, you need to load the data into a SQL Server destination table that includes Unicode
    columns (nchar or nvarchar), and convert the input columns to Unicode columns via Data Conversion or the Advanced Editor for the Flat File Source at the same time.
    Another option that may not be that practical is to create a new database based on the Chinese_Taiwan_Stroke_BIN collation, and load the data to non-Unicode columns directly.
    Reference:
    http://social.technet.microsoft.com/Forums/windows/en-US/f939e3ba-a47e-43b9-88c3-c94bdfb7da58/forum-faq-how-to-fix-the-error-the-column-xx-cannot-be-processed-because-more-than-one-code-page?forum=sqlintegrationservices 
    Regards,
    Mike Yin
    TechNet Community Support

  • Loading data from flat file to table

    Hi,
    I am using OWB 10g R2. I have to develop a map which loads data from flat file to table.
    1. I have created a .csv file.
    2. Import that into OWB by Module Wizard.
    3. I have created one external table, which use the .csv file.
    After that what I have to do for successfully loading the data into table.
    Regards,
    Sanjoy

    Hi Sanjoy
    You can building a mapping to move the data from somewhere to somewhere else. More specifically;
    1. create a mapping
    2. add external table to mapping
    3. add table to mapping for target (it can be unbound)
    4. map from external table ingroup to target table ingroup (all columns will be mapped)
    5. if target table was unbound right click on target table and click create and bind
    This is a basic mapping you can have for this scenario. There is a post here which does something like this, but it will create a File to Table mapping which will use SQLLoader.
    http://blogs.oracle.com/warehousebuilder/2009/01/expert_useful_scripts_from_simple_primitives.html
    Cheers
    David

  • Conversion of Flat file to tables in oracle

    hi
    i am doing my project in oracle and i have got stuck up at a point where i have to convert flat files to tables in oracle
    Please suggest a solution for the above problem
    Regards,
    Mahesh

    Hi,
    Sql*Loader, to load data from file to an oracle internal table
    or
    External table (from 9i and later), to query directly the file like an other internal table
    Nicolas.

  • How to create sqlplus output spool to a flat file  with a header record

    Hi all,
    I've requirement to spool data from a table to a flat file along with column headings in the first row.I'm getting data but I need header record in the first row also?
    Thanks,
    Mahender.

    Hi, Mahender,
    If you give this SQL*Plus command before you start SPOOLing
    SET   PAGESIZE  50000then you can get the usual SQL*Plus column headings, and they won't repeat unless you have more than 50,000 rows of output.
    When I can't do that, I use PROMPT
    {spool}
    SPOOL foo.txt
    PROMPT empno ename job mgr ...
    SELECT empno, ename, job, mgr ...
    PROMPT will trim leading whitespace (unless you enclose it in quotes), but it will leave spacing between the columns alone.
    You could also do a separate query, where you select some literals from dual:SPOOL foo.txt
    SELECT ' empno ename job mgr ...'
    FROM dual;
    SELECT empno, ename, job, mgr ...

  • I need a sample flat file for working lsmw

    Hi experts,
                  pls send me the flat file what u have got for doing lsmw or bdc.I am new to ABAP and i need it for training purpose.I have worked with lsmw for converting 3 fields only . i have to wok more on it .

    hi,
    z368     0001     sai     i     in     en
    z345     0001     rao     r     in     en
    this is a flat file separated by 'tab'. for uploading vendor master ddata(XK01).
    got specify files and give name and path and tab as delimitor
    LSMW:use Recording for practise.
    We use Lsmw to upload large amount of data.Almost 60% logic will be provided by system and error handling is also very easy.
    LSMW supports Session method and Direct Input only.It doesn't support all Transaction method.We can use BAPI's and IDoc's also.
    We need to follow some steps.In case of session method
    The steps are:
    1.Maintain Object Attributes : here we can specify which mehod we are using
    .select and execute it.
    It contains 4 options
    *Standard Batch/Direct Input : we can you predified objects provided by sap
    *Batch Input Recording : we can record a particular transaction: give name ->select overview->provide recording name->do the recording->select default all->save->f3
    *BAPI
    *Idoc->save -> back
    2.Maintain Source Structures-we have to maintain a structure nothing but Internal table->save -> back
    3.Maintain Source Fields : we have to maintain fields we can create and we can copy from repository->save -> back
    4.Maintain Structure Relations: here our structure is assigned to Our recording if we use recording->save -> back
    5.Maintain Field Mapping and Conversion Rules : here fields are mapped;just go to EXTRAS->auto field mapping,for checking unassigned fields->EXTRAS->un assigned fields->save -> back
    6.Maintain Fixed Values, Translations, User-Defined Routines: here we can specify fixed values and user defined sub routines->save -> back
    7.Specify Files : we have to give the path of file and name and delimitor details->save -> back
    8.Assign Files : we have to assign our file,it will be automatically assigned -> save -> back
    9.Read Data->execute->records will be read
    10.Display Read Data->displays the no.of records read
    11.Convert Data->execute ->f3(writes records)
    12.Display Converted Data->execute->f3
    13.Create Batch Input Session->creates session->execute->f3
    14.Run Batch Input Session->controls leads to sm35->process->check i log if it contains errors.
    also go through the links:
    steps for LSMW: detail documnets: http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap-img.com/sap-data-migration.htm
    https://websmp207.sap-ag.de/lsmw
    http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
    http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
    http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
    REFER.
    Re: ALE

  • Need Help in Flat File Reconcilation

    Hi All,
    I have following req. to achieve:
    Assume on Day 1, I received a flat file (AD or NT or CSL) from which a total of 100 accounts were reconciled. Of this, 20 were managed and 80 were unmanaged.
    Further assume that on Day 2, the next version of this flat file contains only 70 records. Of these 70, 10 are new accounts reconciled into OIM (i.e. they were not present in Day 1 version of the file), and remainder are the accounts which were received in Day 1 version of the file.
    Comparing version received on Day 1 and Day2, it is thus identified that there are 40 accounts which were received on Day 1 but went missing in file received on Day 2.
    Assume that of these 40 accounts, 20 are managed accounts and the remainder are unmanaged accounts in OIM.
    The requirement is to:
    Perform delete reconciliation of accounts which are not received on Day 2.
    Any pointers on how can I achieve this requirement?
    Regards
    Sunny

    1. Go to InfoSource 0FI_GL_4.
    2. Click with right mouse button to assign a DataSource.
    3. Select your "FF" (File Upload) Source System.
    4. Accept the default mapping in transfer rules by activating the InfoSource.
    5. Go back and right-click on DataSource FF to create an InfoPackage.
    6. Select General Ledger: Line Items.
    7. Enter your InfoPackage Description and click SAVE.
    8. Click on ExternalData and enter your data file name (Load External Data from Client or Application Server).
    9. Select CSV file.
    10. Click on SAVE before you try to test with Preview buton.
    11. Start loading immediately if you are uploading from your client PC.
    Pls let me know if you have problems.

  • Source system (0SOURSYSTEM) ID in flat file ODS.

    Good morning
    Please assist with the following?
    I created transfer rules for a flat file load to the ODS and the 0SOURSYSTEM is compounded with another characteristic. I have assigned a  'constant' ie. "PF" to 0SOURSYSTEM. I changed the constant later on to ie. "DT", deleted the data from the ODS and PSA and then reloaded the file. The active data will still show the 0SOURSYSTEM as "PF".
    How to I get it to show 0SOURSYSTEM "DT"?
    Your assistance is appreciated.
    Cornelius Faurie

    Hi,
    Already the request is loaded and it is activated. So the data is available in the active data table.. U have changed the constant in update rules.... It will change to the newly coming records. If u want to populate this to the historical data also then do a selfload to that DSO. Depending on the Keyfields the data will get overwrited.
    Assign points if it helps
    Khaja

  • While creating sto i need to create a vat condition type.

    Hi friends.
    I am creating a STO mm-pricing procedure.
    Supplying plant: goa
    Receiving plant: UK
    I need to create a condition type for VAT 17.5%. to be paid at customs .subsequently refund will be received on assessable value ( Base value).
    Hence it is not to be inventorised.
    Please give me steps how to configure. and from which condition type to be copied.
    Thanks
    sitaram

    Hi,
    What is the taxation procedure you are using ( Taxinn or Taxinj ).
    Why do you feel it is different from the regular purchase.
    If it is of Taxinj, maintain the same Tax code which comprises of VAT as 17.5% under the invoice tab of PO.
    If it is of TAXINN, then maintain conditions for JVRD ie deductable VAT condiiton.
    Regards,
    DilL

  • Flat file to tables (insert/update/delete) using utl file.--urgent

    Hi all,
    Scenorio s here ...
    ex : emp
    EMPNO
    ENAME
    JOB
    MGR
    HIREDATE
    SAL
    COMM
    DEPTNO
    STATUS -- i/U/d
    flat file records willbe like this ....
    I^001^name^job^manager^10-dec-2002^90000^900^^
    I^001^name^job^manager^10-dec-2002^90000^900^343^
    U,002^name^job^manager^10-dec-2002^90000^900^899^900
    U,002^name^job^manager^10-dec-2002^90000^900^899^900
    The first record indicator show I , so need to insert into the table emp.The second record indicator show U , so need to update the table emp.like this i've 5 tables(different structure and large data ).
    How do i upload data into concern tables using procedures using UTL_file.
    Needs to generalised the processing (for each table specific)..........
    (me right now doing this way...in a pakage with UTL_FILE using pl/sql tables,parsing the record by record ,
    storeing the values in a pl/sql table then insert/updates....)
    any sugg'n ? idea? sample code ?
    Thanx OTN members.

    Hi Ganesan,
    Hope it will help.
    Best Regards
    CREATE OR REPLACE PROCEDURE TEST_UTL
         loc_input_file                varchar2(30) ;
         loc_input_path                varchar2(30) ;
         loc_utl_file                UTL_FILE.FILE_TYPE;
         loc_get_data           varchar2(500);
    BEGIN
    loc_utl_file := UTL_FILE.FOPEN(loc_input_path, loc_input_file, R');
    BEGIN
              LOOP
    UTL_FILE.GET_LINE(loc_utl_file,loc_get_data);
    IF SUBSTR(loc_get_data,1,1) = 'I' THEN
                   INSERT INTO ..........
              --     USE SUBSTR function for columng break
              ELSIF SUBSTR(loc_get_data,1,1) = 'U' THEN
                   UPDATE ....................
              END IF;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
         UTL_FILE.FCLOSE(loc_utl_file);
    END ;
    EXCEPTION
    END;

  • Getting error while loading flat file into table.

    I am using ODI 11 and i am trying to load data in oracle database table using source as flat .txt file .
    When i execute the interface , i am getting below errors.
    ODI-1217: Session INF_FILE2TAB (31022) fails with return code 7000.
    ODI-1226: Step INF_FILE2TAB fails after 1 attempt(s).
    ODI-1240: Flow INF_FILE2TAB fails while performing a Loading operation. This flow loads target table PARTNER.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 44, in <module>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1074)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:2224)
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:2168)
         at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:333)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    java.sql.SQLException: java.sql.SQLException: ORA-06564: object DAT_DIR does not exist
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Please let me know pointers on this.

    Yes,after your sugestion i have created ODI agent and tested the file system connection in topology. It was connected successfully.
    but when i tried again for file to table load. Again got below error.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 44, in <module>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1074)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:2224)
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:2168)
         at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:333)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    java.sql.SQLException: java.sql.SQLException: ORA-06564: object DAT_DIR does not exist
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Please suggest.

  • Flat file to table - send mail report on error

    Hello,
    I've created simple project - loading data from csv flat file to oracle database table, using this tutorial: http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_project_flatfile-to-table/odi_project_flatfile-to-table.htm. Now, I need to add support for sending mail to this project. Mail, with error descritpion should be sent to Administrator via smtp server when error occurs.
    Can you provide any step by step description how to add this feature in my case? I know this should be possible via ODISendMail, but I was unable to find any basic, step by step tutorial. Can you help me?

    960949 wrote:
    Ok, so is there any other solution to send mail? I found this post: Send Jython HTML Email Error but link to procedure is inactive: https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=424304.1
    You need to login to My Oracle Support in order to download the procedure code .
    For this you need a valid Oracle CSI

  • XML to Flat File DB Table So I and Others Can Use SSRS for Reporting

    I'm using a program called Orbeon Forms to quickly create and distribute forms on the local network.
    The program just recently got updated to Version 4.6 so as to use SQL Server DB as a backend. (I was using MySQL in a lower versions)
    The data created when you submit a form into the database is held in  xml fomat in one of the columns. (see below).
    I am trying to create a separate table, to pull that data from the xml column (for that particular form) and place it in to a seperate table using the xml tags as columns.
    I have no idea where to start or how to do this. Please keep in mind I'm a novice when it comes to sql server (but I do know how to do select statements :-)....
    Is this very difficult to do? If it is (for me at least) where can I go to get someone to do it for me along with the documentation to do it?  I was also thinking of a way to create a trigger on the Orbeon table (this is how it is setup currently in
    the MySQL database) to automagically insert any saved form data to the new form data table. Is this also difficult to do? And can I have a trigger for each form I create on the table?
    If anyone can help, I'd appreciate it. Thanks.
    I would eventually like to add the form data from the old MySQL database table into this new Orbeon table but it appears the upgrade also added two extra columns. I figuring once in the Orbeon table then I will have to run whatever statements to place into
    the separate table so I can use the data.
    Randy Marrero

    Erland thanks for the reply. Even after reviewing the link you sent I'm still having problems. Guess that is why I'm not a programmer. Anyway I've create a test data form xml I've created and it is copy and pasted below.
    Again I'm only really interested seeing if I can get the information out of the xml and create it in its own flat file table. I keep reading that creating a trigger (when the form gets submitted into this database in the xml format, an on insert trigger
    would take all the data submitted and inserted into another table with just the data, into separate columns)  for this is the best way but I'm not sure how to do this either. I have a copy of what the MySQL trigger would look like but keep running
    into errors when I try to run it in SQL Server.  Also the issue with how I would create another trigger if / when I create another form. I read somewhere I can only create one on insert trigger per table, still don't know this to be true. Anyway below
    is the xml as it is in the xml table in the database.
    XML STARTS HERE------------------
    <
    formxmlns:oxf="http://www.orbeon.com/oxf/processors"xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"xmlns:xh="http://www.w3.org/1999/xhtml"xmlns:xi="http://www.w3.org/2001/XInclude"xmlns:ev="http://www.w3.org/2001/xml-events"xmlns:saxon="http://saxon.sf.net/"xmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns:odt="http://orbeon.org/oxf/xml/datatypes"xmlns:fb="http://orbeon.org/oxf/xml/form-builder"xmlns:xxf="http://orbeon.org/oxf/xml/xforms"xmlns:xbl="http://www.w3.org/ns/xbl"xmlns:xpl="java:org.orbeon.oxf.pipeline.api.FunctionLibrary"xmlns:sql="http://orbeon.org/oxf/xml/sql"xmlns:p="http://www.orbeon.com/oxf/pipeline"xmlns:fr="http://orbeon.org/oxf/xml/form-runner"xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xf="http://www.w3.org/2002/xforms"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:exf="http://www.exforms.org/exf/1-0">
      <
    Header>
        <
    HHIFR_Patch>/fr/service/persistence/crud/bfp/permits/form/738433584d6c0aff25e0ab8ca1bd99bcc7e10b49.bin</HHIFR_Patch>
      </
    Header>
      <
    Permit_Number_Hdr>
        <
    Permit_Number>Test123</Permit_Number>
      </
    Permit_Number_Hdr>
      <
    Permit_Info_Hdr>
        <
    Permit_Date>2014-07-15-05:00</Permit_Date>
        <
    Permit_Station>HQ</Permit_Station>
        <
    Permit_Employee_Number>0676</Permit_Employee_Number>
        <
    Permit_Status>Active</Permit_Status>
        <
    Employee_Name>Randy
    Marrero</Employee_Name>
      </
    Permit_Info_Hdr>
      <
    Applicant_Info_Hdr>
        <
    Applicant_Name>Randy
    Marrero</Applicant_Name>
        <
    Applicant_Phone>8434741099</Applicant_Phone>
        <
    Applicant_Email>[email protected]</Applicant_Email>
      </
    Applicant_Info_Hdr>
      <
    Mailing-Address-Section>
        <
    Mailing_Address>40
    Summit Dr</Mailing_Address>
        <
    Mailing_Suite/>
        <
    Mailing_City>Hilton
    Head Island</Mailing_City>
        <
    Mailing_State>SC</Mailing_State>
        <
    Mailing_Zip>29926</Mailing_Zip>
      </
    Mailing-Address-Section>
      <
    Physical_Burn_Hdr>
        <
    Physical_Address>35
    Summit Dr</Physical_Address>
        <
    Physical_Suite/>
        <
    Physical_City>Hilton
    Head Island</Physical_City>
        <
    Physical_State>South
    Carolina</Physical_State>
        <
    Physical_Zip>29926</Physical_Zip>
      </
    form>
    XML ENDS HERE ------------
    Randy Marrero

  • Mapping flat file and table to a target table

    Hi all
    I need to join a db table and a flat file as source and output (target) it to a db table. I know we can do it through external tables, however at this juncture we have to do it through flat files only.
    Thanks
    PC

    You'll have load the Flat File data into a dummy table first. Then, You join this dummy table with the other db table in the same mapping.
    Any question, lemme know.
    Marcos

Maybe you are looking for