File (csv) to JDBC

I am trying to read in a CSV file with the file adapter.  I have used file content conversion, and I am getting the following error.  Any help would be greatly appreciated.
Thanks
Skip Ford
<b><b>Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Format error in 'xml.recordset' argument: incomplete structure (name,number) pair</b></b>

The file looks like below...
John,1/2/2007,Ford
Ralph,2/4/2005,Chevy
Content Conversion Parameters
Document Name : output.txt
Docuemnt Namespace : http://companyname.com/sapxi/edhr/vendordata
Recordset Structure : ROW
Recordset Sequrence : Ascending
Ke Field Type : String (Case-sensitive)
ROW.fieldSeparator : ,
ROW.endSeparator : 'nl'
ROW.processFieldNames : fromConfiguration
ROW.FieldNames : name,date,car
Other Note: I am doing mapping also...

Similar Messages

  • Loading of flat file (csv) into PSA – no data loaded

    Hi BW-gurus,
    We have an issue regarding loading a flat file (csv) into PSA using an infopackage u2013 (BI 7.0)
    The infopackage has been used for a while. Prior the consultants with SAP_ALL-profile have run the infopackage. Now we want a few super users to run the infopackage.
    We have created a role for the super users, including authorization objects:
    Data Warehousing objects: S_RS_ADMWB
    Activity: 03, 16, 23, 63, 66
    Data Warehousing Workbench obj: INFOAREA, INFOOBJECT, INFOPACKAG, MONITOR, SOURCESYS, WORKBENCH
    Data Warehousing Workbench u2013 datasource (version > BW 3.x): S_RS_DS
    Activity: All
    Datasource: All
    Subobject for New DataSource: All
    Sourcesystem: FILE
    Data Warehousing Workbench u2013 infosource (flex update): S_RS_ISOUR
    Activity: Display, Maintain, Request
    Application Component: All
    InfoSource: All
    InfoSource Subobject: All values
    As mentioned, the infopackage in question, has been used by consultants with SAP_ALL-profile for some time, and been working just fine.  When the super users with the new role are executing the infopackage, the records are found, but not loaded into PSA. The load seems to be stuck, but no error message occurs. The file we are trying to load contains only 15 records.
    Details monitor:
    Overall status: Missing messages or warnings (yellow)
    Requests (messages): Everything ok (green)
      ->  Data request arranged (green)
      ->  Confirmed with: OK (green)
    Extraction (messages): Errors occurred (yellow)
      ->  Data request received (green)
      -> Data selection scheduled (green)
      -> 15 Records sent (0 Records received) (yellow)
      -> Data selection ended (green)
    Transfer (IDocs and TRFC): Missing messages (yellow)
    Processing (data packet):  Warnings received (yellow)
      -> Data package 1 (? Records): Missing messages (yellow)
         -> Inbound processing (0 records): Missing messages (yellow)
         -> Update PSA (0 Records posted): Missing messages (yellow)
         -> Processing end: Missing messages (yellow)
    Have we forgotten something? Any assistance will be highly appreciated!
    Cheers,
    Anne Therese S. Johannessen

    Hi,
    Try to use the transaction ST01 to trace the authorization of the upload with the SAP_ALL. 
    And the enhance your Profile for the super user.
    Best regards
    Matthias

  • Extract work order data from r/3 system in flat file(csv)and export to BI

    Hi,
    I am new in interface.
    I need to extract data regarding actual cost and quantities of work assigned to Service Providers from SAP system and send it to BI for reporting purposes.
    This interface will extract Master data as well as transactional data. Extraction of Master data will be a full extract and that of transactional data will be Delta Extraction.
    Custom development will extract the data from different fields and will export it to flat files (CSV format). This program will amalgamate all the flat files created into one big file and export it to BI system.
    Export of data to BI system will be done by schedule program Control M, which will export the data from SAP system to BI system in batches. Control M is expected to run daily at night.
    Please provide the step-by-step proces to do this.
    Thanks
    Suchi
    Moderator message: anything else? please work yourself first on your requirement.
    Edited by: Thomas Zloch on Mar 25, 2011 1:21 PM

    Hi Ravi,
    you've got to set up the message type MDMRECEIPT for the Idoc distribution from R/3 to XI. Check chapter 5.2 in the IT configuration guide available on <a href="http://service.sap.com/installmdm">MDM Documentation Center</a>. It describes the necessary steps.
    BR Michael

  • ERROR in configuration:more elements in file csv structure than filed names

    <p ct="TextView" class="urTxtStd" style="white-space:nowrap;">Hello,<br>we have problem with file content conversion on file (FTP) sender<br>adapter when reading flat delimited file.<br><br>Error:<br>Conversion of file content to XML failed at position 0:<br>java.lang.Exception: ERROR converting document line no. 2 according to<br>structure 'P':java.lang.Exception: ERROR in configuration: more<br>elements in file csv structure than field names specified!<br><br>Details:<br>We have windows machine and line in a file is ended with CRLF.<br>We have PI 7.0 SP10, and following pathches:<br>SAPXIAF10P_3-10003482<br>SAPXIAFC10P_4-10003481<br><br><br>Adapter Type: File<br>Sender<br>Transport Protocol: File Transfer Protocol (FTP)<br>Message Protocol: File Content Conversion<br>Adapter Engine: Integration Server<br><br>FTP Connection Parameters<br>Transfer Mode: Binary<br><br>Processing Parameters<br>File Type: Binary<br><br>Channel: IN_XXXXX_FILE_WHSCON<br><br>Input File: (WZ00008.DAT)<br>N|0025013638||0000900379|0000153226|2007-07-24|2007-07-24||||<br>P|000030|2792PL1|2303061|1|KRT|||||<br><br>Content Conversion Prameters:<br>Recordset Structure: N,1,P,<br>Recordset Sequence: Ascending<br><br>Key Field Name: KF<br>Key Field Type: String<br><br>N.fieldNames: N1,N2,N3,N4,N5,N6,N7,N8,N9,N10<br>N.fieldSeparator: |<br>N.endSeparator: 'nl'<br>N.processFieldNames: fromConfiguration<br>N.keyFieldValue: N<br><br>P.fieldNames: P1,P2,P3,P4,P5,P6,P7,P8,P9,P10<br>P.fieldSeparator: |<br>P.endSeparator: 'nl'<br>P.processFieldNames: fromConfiguration<br>P.keyFieldValue: P<br><br><br>At the same time we have another channel very similar to this on which<br>works:<br><br>Channel: IN_XXXXX_FILE<br><br>Input File: (PZ000015.DAT)<br>N|2005-11-25|13:01||<br>P|0570001988|2005|305|6797PL1|2511091|3500|SZT|2005-11-<br>25|1200|G002|1240|G002|||<br><br><br>Content Conversion Prameters:<br>Recordset Structure: N,1,P,<br>Recordset Sequence: Ascending<br><br>Key Field Name: KF<br>Key Field Type: String<br><br>N.fieldNames: N1,N2,N3,N4<br>N.fieldSeparator: |<br>N.endSeparator: 'nl'<br>N.processFieldNames: fromConfiguration<br>N.keyFieldValue: N<br><br>P.fieldNames: P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15<br>P.fieldSeparator: |<br>P.endSeparator: 'nl'<br>P.processFieldNames: fromConfiguration<br>P.keyFieldValue: P<br><br>Converted file:<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;ns:PZ_MT xmlns:ns=&quot;<a href="http://xxxxx.yyyyy.hr">" target="_blank" title="Open this link in a new window">http://xxxxx.yyyyy.hr"></a><br>&lt;PZ&gt;<br>     &lt;N&gt;<br>          &lt;N1&gt;N&lt;/N1&gt;<br>          &lt;N2&gt;2005-11-25&lt;/N2&gt;<br>          &lt;N3&gt;13:01&lt;/N3&gt;<br>          &lt;N4&gt;&lt;/N4&gt;<br>     &lt;/N&gt;<br>     &lt;P&gt;<br>          &lt;P1&gt;P&lt;/P1&gt;<br>          &lt;P2&gt;0570001988&lt;/P2&gt;<br>          &lt;P3&gt;2005&lt;/P3&gt;<br>          &lt;P4&gt;305&lt;/P4&gt;<br>          &lt;P5&gt;6797PL1&lt;/P5&gt;<br>          &lt;P6&gt;2511091&lt;/P6&gt;<br>          &lt;P7&gt;3500&lt;/P7&gt;<br>          &lt;P8&gt;SZT&lt;/P8&gt;<br>          &lt;P9&gt;2005-11-25&lt;/P9&gt;<br>          &lt;P10&gt;1200&lt;/P10&gt;<br>          &lt;P11&gt;G002&lt;/P11&gt;<br>          &lt;P12&gt;1240&lt;/P12&gt;<br>          &lt;P13&gt;G002&lt;/P13&gt;<br>          &lt;P14&gt;&lt;/P14&gt;<br>          &lt;P15&gt;&lt;/P15&gt;<br>     &lt;/P&gt;<br>&lt;/PZ&gt;<br>&lt;/ns:PZ_MT&gt;<br><br>And, if we remove last delimiter before CRLF in WZ00008.DAT file then<br>file works, but we dont't have fields N10 and P10 in a XML converted<br>file.<br><br>Converted file:<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;ns:WZ_MT xmlns:ns=&quot;<a href="http://xxxxx.yyyyy.hr">" target="_blank" title="Open this link in a new window">http://xxxxx.yyyyy.hr"></a><br>&lt;WZ&gt;<br>     &lt;N&gt;<br>          &lt;N1&gt;N&lt;/N1&gt;<br>          &lt;N2&gt;0025013639&lt;/N2&gt;<br>          &lt;N3&gt;&lt;/N3&gt;<br>          &lt;N4&gt;0000900379&lt;/N4&gt;<br>          &lt;N5&gt;0000153226&lt;/N5&gt;<br>          &lt;N6&gt;2007-08-01&lt;/N6&gt;<br>          &lt;N7&gt;2007-08-01&lt;/N7&gt;<br>          &lt;N8&gt;&lt;/N8&gt;<br>          &lt;N9&gt;&lt;/N9&gt;<br>     &lt;/N&gt;<br>     &lt;P&gt;<br>          &lt;P1&gt;P&lt;/P1&gt;<br>          &lt;P2&gt;000010&lt;/P2&gt;<br>          &lt;P3&gt;0212PL1&lt;/P3&gt;<br>          &lt;P4&gt;2007071&lt;/P4&gt;<br>          &lt;P5&gt;1.000&lt;/P5&gt;<br>          &lt;P6&gt;KRT&lt;/P6&gt;<br>          &lt;P7&gt;&lt;/P7&gt;<br>          &lt;P8&gt;&lt;/P8&gt;<br>          &lt;P9&gt;&lt;/P9&gt;<br>     &lt;/P&gt;<br>&lt;/WZ&gt;<br>&lt;/ns:WZ_MT&gt;<br><br>Regards,<br>Mladen Kovacic</p>

    Hello,
    it seems that we have problem with SAP XI AF CPA Cache.
    We make this changes and after this AF Cache stops working.
    •     In the Visual Administrator, in service SAP XI AF CPA Cache, set the SLDAccess parameter to false
    •     Save your entry and start the service
    •     In service SAP XI AF CPA Cache, check that the cacheType parameter has the value DIRECTORY
    •     In service SAP XI Adapter: XI, enter values for:
    o     xiadapter.isconfig.url - http://xidev:8038/sap/xi/engine?type=entry
    o     xiadapter.isconfig.username - XIAFUSER
    o     xiadapter.isconfig.password –
    o     xiadapter.isconfig.sapClient - 001
    o     xiadapter.isconfig.sapLanguage - en
    •     On the Integration Server, use transaction SMICM to check that you have entered the correct URL for the Integration Server.
    •     On the Integration Server, use transaction SU01 to create a new user XIAFUSER
    •     Assign the role SAP_XI_AF_SERV_USER_MAIN to the user XIAFUSER
    •     In the Visual Administrator, check whether the user synchronization was successful
    •     Use the new user to log on to the Integration Server and change the initial password to master password
    Any idea for SAP XI AF CPA Cache update?

  • Select to a file (.CSV)

    Hello people,
    I'm working with a table, and I whant, by a select, put all my result into a .csv file (after I'll transform in .xls)
    Then I'm trying to do this:
    XFILE := UTL_FILE.FOPEN('FOLDERNAME', 'Export.csv', 'W');
    -- THIS IS THE HEADING
    UTL_FILE.PUT_LINE(XFILE, 'MES_REF'||';'||'CHAVE'||';'||'MES1'||';'||'MES2'||';'||'MES3'||';'||'MES4'||';'||'MES5'||';'||'MES6'||';'||'MES7'||';'||'MES8'||';'||'MES9'||';'||'MES10'||';'||'MES11'||';'||'MES12'||';'||'MES13'||';'||'MES14'||';'||'MES15'||';'||'MES16'||';'||'MES17'||';'||'MES18'||';'||'MES19'||';'||'MES20'||';'||'MES21'||';'||'MES22'||';'||'MES23'||';'||'MES24'||';'||'MES25');
    FOR R IN (SELECT P_MES AS MES_REF
    ,KEY
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '25' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH1
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '24' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH2
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '23' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH3
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '22' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH4
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '21' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH5
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '20' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH6
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '19' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH7
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '18' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH8
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '17' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH9
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '16' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH10
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '15' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH11
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '14' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH12
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '13' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH13
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '12' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH14
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '11' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH15
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '10' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH16
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '09' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH17
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '08' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH18
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '07' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH19
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '06' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH20
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '05' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH21
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '04' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH22
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '03' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH23
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '02' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH24
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '01' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH25
    FROM VIA_GAUSS_PPM
    GROUP BY KEY
    ORDER BY KEY)
    LOOP
    BEGIN
    UTL_FILE.PUT_LINE(XFILE, R.MES_REF||';'||R.KEY||';'||R.MONTH1||';'||R.MONTH2||';'||R.MONTH3||';'||R.MONTH4||';'||R.MONTH5||';'||R.MONTH6||';'||R.MONTH7||';'||R.MONTH8||';'||R.MONTH9||';'||R.MONTH10||';'||R.MONTH11||';'||R.MONTH12||';'||R.MONTH13||';'||R.MONTH14||';'||R.MONTH15||';'||R.MONTH16||';'||R.MONTH17||';'||R.MONTH18||';'||R.MONTH19||';'||R.MONTH20||';'||R.MONTH21||';'||R.MONTH22||';'||R.MONTH23||';'||R.MONTH24||';'||R.MONTH25);
    EXCEPTION
    WHEN OTHERS THEN
    BEGIN
    CARGA_UTIL.SP_LOG_EXCEPTION(V_PROCNOME, 'KEY: ' || R.KEY || ', ' || SUBSTR(SQLERRM, 1, 3000));
    END;
    END;
    END LOOP;
    UTL_FILE.FCLOSE(XFILE);
    The problem is that some lines get some error, how can I know what is the motive for those errors ?
    29/03/2012 09:56:20     CARGA_MEDIAPPM.SP_EXPORT ( 201203)     KEY: Categoria Take Home#Sugestão#Sabor, ORA-29285: erro de gravação em arquivo (cannot save in file)
    Edited by: MrTiberio on 29/03/2012 06:27
    Added the error

    Edited by: MrTiberio on *29/03/2012 06:27*
    Added the error
         Re: Select to a file (.CSV)
    Posted: *29/03/2012 06:29* in response to: MrTiberio          
                   Reply
    I am looking in my crystal ball and can see the exact error message you are getting and the
    error is just there ->
    Ok ok... read first...

  • Accessing MS Access Database file from Sender JDBC in PI 7.1

    Dear Experts,
    I am on SAP PI 7.1 SP00. PI Server is installed on LINUX Server.
    I am doing an scenario, where i am going to process the .mdb file through Sender JDBC Communication channel . I have put .mdf file in FTP server.
    When I check in communication channel Monitoring getting below error :
    Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//pi_integ/abc.mdb' using the JDBC driver 'jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Can not establish connection:: SQLException: [unixODBC][Driver Manager]Data source name not found, and no default driver specified'
    I have seen many blog, but I am helpless. Could you kindly provide your suggestions.
    Really appreciated your efforts and your valuable time.
    Ahmed.

    To connect to an Access Database, I create an ODBC data source and use the "sun.jdbc.odbc.JdbcOdbcDriver".

  • Translating Excel query into flat file(.CSV)

    Hi,
    I have a requirement where i need the Excel Queries to be displayed in Flat file(.CSV) format.
    To be more clear i have an excel query but  my client requires this query to be displayed in a Flat file format. Can someone explain me how i can acheive this.
    Thanks

    Hi All,
    Thanks for all the information provided by i missed mentioning one point, actually thse queries are to be automatically schedule. the requirement is like this i need to bring to extract data and build queries export it as a .CSV file these queries are not end user queries so they have to be automatically scheduled and will be picked up by an interface so they do some mapping with the .CSV file we provide.
    So we decided to do it in Reporting Agent in Excel format and automate it and send the file to a specific location from where the Interface team can pick it. which doesnt need an user to run the query.
    so can someone tell me if i can automate a query and as well as have the query in .CSV format?? I hope i was clear
    Thanks.

  • Application in JAR file cant find JDBC classes

    Hi,
    When I run an application from the JAR file the ClassNotFound exception is throw! When I run from the application classes in the directory the program works. The JDBC classes are in the CLASSPATH, the manifest of JAR file is:
    Manifest-Version: 1.0
    Created-By: xxxxx
    Main-Class: com.xxx.jhdesk.JHelpDesk
    Class-Path: classes111.jar JdbcDomino.jar
    I tried to put "class-path" parameter in the manifest but the problem continues.
    I need to send only my jar file, and the JDBC classes would be anywhere at the client machine.
    Any hint will be appreciated!
    Thanks in advance!
    Daniel Carvalho

    Those two jar files in the Class-Path entry in the manifest file, are they in the same directory as the jar file? (What you put there is supposed to be relative to the jar file, and you have no directory information.) And is there a line-ending character at the end of that line?

  • Error Infopackage from file csv

    Dear Expert
    When I run infopackage for Infobject Text from datasource file csv
    there is a error such as :
    Error 8 when compiling the upload prog
    231, message: A newer version of data
    /BIC/CIACZMTGROUP_TEX                
    How to fix this error ?
    really appreciate your help
    Best Regards
    Jeiming

    Dear All
    Yes, it's work...!!!
    I have already log off and log in again, and the error is not appear again
    Thanks All
    Best Regards
    Jeiming

  • Creating flat files (.csv) in user defined directory using PL/SQL

    I need to extract data into a flat file (.csv) and store the flat file directly into a directory on local drive as specified by the user at runtime. I do not intend to use the UTL_FILE package. Is there a way put to do this?
    Thanks
    Amit.

    Hi Amit,
    Your users have any shared drive which every one can access? If so follow these steps.
    1> Allow users to select their destination location to an APEX item.
    2> On submit, save the user IP, destination location and user name to a database table.
    3> On submit, using JS, open XLS file template (+kept this template file in shared location+) The template should contain all the macros that will do the needful. I mean they should connect to database and should fill it with data and saving it to user specified location etc.
    Hope it helps.
    Cheers,
    Hari

  • Create MSAccess file ( *.mdb ) from JDBC ...

    Hi, all ...
    I'm currently developing a simple application that using MSAccess database ...
    Did anyone know how to create MSAccess file ( *.mdb ) using JDBC or other Java API ... ?
    Thanks before ...

    "standard DDL"? Their types are certainly different, but I've created tables in Access using basic types like integer, text, etc.
    There's an argument that says it's a bad idea, anyway. Most apps create and populate the schema offline and presume that it exists and is ready to go when the app starts up. Why bother bootstrapping the app by asking it to create the schema, too?
    I create and populate the database before deploying my apps. I'd need a great reason to do otherwise.
    MOD

  • File csv labview

    Salvare. Avrei necessità di prendere i valori di un array bidimensionale e scriverli su un file in formato csv.
    Riesco a scriverli però non mi da la giusta formattazione.
    Se io ho un array composto così: 1 2 3 4 5
    e lo vado a scrivere su questo file excel, i numeri 1 2 3 4 e 5 non vengono scritti ciascuno in una cella separatamente, ma vengono messi tutti insieme nella stessa celletta come se fossero un numero unico, in questo caso il numero 12345.
    Sto utilizzando il blocco write to spreadsheet file e come valore di delimiter sto utilizzando quello di default, ovvero \t, che infatti corrisponde al tab. Il tab su un file per blocco note me lo prende correttamente, ma se provo a scrivere su un file excel mi si presenta il problema che vi ho spiegato sopra.
    Qualcuno sa aiutarmi?!
    Non credo ci sia niente di difficile ma non so dove sbaglio.
    Saluti
    Giovanni

    Mi sembra di capire che il problema non è scrivere il file ma rileggerlo dentro Excel, giusto?
    Hai un po' di alternative al riguardo:
    Scrivere un file .CSV "corretto" cioè cambiando il delimitatore in punto e virgola o virgola
    Scrivere un file in formato .TSV: usa il tabulatore per separare i campi ma cambia l'estensione in .TXT
    Modificare le impostazioni del PC per importare correttamente i file col tabulatore
    L'ultima opzione è la più drastica perchè si riflette su tutti i programmi che leggono/scrivono elenchi (Excel ma non solo). Per la separazione dei campi Excel si appoggia sul cd "separatore di elenco" definito nel sistema; tale separatore può essere modificato ed è attivo dal momento della modifica per tutti i programmi del PC. Per la modifica è più semplice se guardi questa immagine:
    Una volta impostato il tabulatore come separatore (nota che devi scrivere "\t" come ti ho riportato) quello e il precedente separatore rimangono memorizzati nella combobox, per cui è abbastanza semplice alternare i due metodi, anche se devi comunque trafficare col pannello di controllo.

  • CCM Sample File (CSV)

    Hi,
    I am looking for a sample file (CSV) to upload into my catalog.
    Can you send me a sample file to [email protected] ?
    Thanks.
    CD

    Hi Keith,
    may i ask you for an example file as well.([email protected]) Thank you very much in advance!
    BR
    Henning
    Message was edited by:
            Henning Hopmann

  • Need help with CSV to JDBC scenario

    Hi experts,
    We have a CSV file with data which has to be inserted into a SQL server database.
    The sender data type is:
    snd_dt  complex type
    row element 0..unbounded
    name element  xsd:string 0..1
    date element xsd:string 0...1
    ratio element xsd:string 0...1
    The receiver data type is :
    rcv_dt complex type
    STATEMENT element
    ROW element
    action Attribute
    TABLE element
    access element  0...unbounded
    name element xsd:string 0...1
    date element xsd:string 0...1
    ratio element xsd:string 0...1
    Now I did the mapping and also did the steps in ID.
    In the database, for the table in the SQL server, the datatype for name is "char(3)", for date is "date" and for ratio is "decimal(9,2)"
    When I run the scenario, this gives me an error saying:
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'NAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
    I am doing a direct "INSERT" action into the table.
    How do I resolve this error?
    ANy help mwould be greatly appreciated.

    This is the exact error I am running into.
    SQL log statement:
    INSERT INTO  NAME() VALUES ()
    Error:
    Unable to execute statement for table or stored procedure. 'NAME' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
    When I put this SQL statement in SQL server, there are field names inside the parantheses of VALUES. Is this the reason why there is error??
    Also, the receiver pay load looks like this:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_NAME_TABLE xmlns:ns0="http://jdbc2jdbc">
    - <STATEMENT>
    - <ROW action="INSERT">
      <TABLE>NAME</TABLE>
      <access />
      <access />
      <access />
    </ROW>
      </STATEMENT>
      </ns0:MT_NAME_TABLE>
    Regards.

  • CSV and JDBC

    Is there a jdbc driver for a csv file. I want to implement a database on a client machine without them having to install a database back end.
    (actually the csv is extracted from a vision database which i've never once heard of, does anyone know if vision is a commercial database, i have a feling its a companies proprietry database!)
    Pete

    The post you are responding to is 2.5 YEARS OLD!
    And he's been coding all this time.
    Way past my bedtime,
    Dylan

Maybe you are looking for

  • Chinese characters not displaying correctly

    the software's windows fonts can't display why? archlinux + fvwm +chromium ! Last edited by jasonwryan (2012-05-21 07:57:53)

  • Email server has been blacklisted by 5 blacklists and website support ticket doesn't work

    Hello, Sorry, our websites support ticket button doesn't work at the moment, so I am looking for a mod/support guy to help out. Apologies for posting on forums. I have been trying to get our emails of 5 different blacklists, I have gone through the l

  • Having trouble with album artwork

    When I sync my ipod touch with my itunes, the album artwork is all messed up. It doesn't even match up to what I have downloaded off of itunes. Do i need to reinstall itunes on my computer? I know this issue sounds trivial, but it is really annoying.

  • Diffcult location for Wireless

    Hope someone here can help. I have a client that lives in a large home with an external mother in law building. AP is in this building. His wife uses the computer in the main house and consistently getting dropped connections. Originally they had a D

  • Event ID 7000 and 7009 every minute in event log then system crashes

    I am getting this error any a lot of machines. What happens is it will get tons of EVENT ID 7009 and 7000. This will continue until the system crashes completely. Below are some of the event log errors that happen. The 7009 and 7000 happen every minu