Isuue: Exporting Data into xls format

Hi,
I've connected to DB via Jdeveloper!!
I tried using "export" function from Oracle DB Table,
Its exporting only sql scripts, I would like to know is there way to export the data(metadata) from DB tables into xls format.
Thanks!!!!

I tried using "export" function from Oracle DB Table,
Its exporting only sql scripts, I would like to know is there way to export the data(metadata) from DB tables into xls format.
Wrong forum! You need to post the question in a JDeveloper forum.
https://community.oracle.com/community/developer/english/development_tools/application_development_in_java/jdeveloper_and_adf
If you use the free Oracle sql developer (based on JDeveloper) you could just write a simple query to get data in CSV (not xls) format:
SELECT /*csv*/ * from myTable
See this article by Jeff Smith
http://www.thatjeffsmith.com/archive/2012/05/formatting-query-results-to-csv-in-oracle-sql-developer/

Similar Messages

  • Urgent Help !!!  Export data into insert format (Oracle Sql developer)

    Hi all,
    Please help , when i try to export ms access table which have 400,000 over rows to insert format using oracle sql developer 1.5.5. After the export have done the exported file xxx.sql is empty.
    Is it because of too many rows? or what tool or function should i use for exporting table with many rows.
    It used to have exported successfully with
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    ----- when i try to export table with over 10,000 row.
    Regard,
    Tun

    Another option is to export your file as Formatted text (space delimited). This will create a fixed format file. You can either create an external table to access the file or use sqlloader to load it. In your control file or access parameters you will specify the positions of the fields you are interested in. Your control file will look something like this:
    OPTIONS (BINDSIZE=50000,ERRORS=50,ROWS=200,READSIZE=65536)
    LOAD DATA
    CHARACTERSET US7ASCII
    INFILE '/home/FIXED_FORMAT.dat' "FIX 58"
    CONCATENATE 1
    INTO TABLE "EMP2"
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    "ID" POSITION(1:2) INTEGER(2) ,
    "REGION" POSITION(3:3) INTEGER EXTERNAL(1) ,
    "DEPT" POSITION(4:6) INTEGER EXTERNAL(3) ,
    "HIRE_DATE" POSITION(7:14) DATE(8) "mmddyyyy" ,
    "SALARY" POSITION(15:19) DECIMAL(9,2) ,
    "NAME" POSITION(20:34) CHAR(15)
    SQLDeveloper does not currently provide an option to import fixed format files.

  • How to export data to specified format as EXCEL(XXL)

    Dear Experts,
    Good day!
    Who can help me that to export data in SAP by KE30 Transaction Code? We planed to do some things on browser using SAP GUI for HTML and ITS 6.20 in SAP R/3 640. Now, our end-user occur one problem that they need outgoing the data wanted through browser from SAP(Triggered by KE30). In the SAP GUI for Windows, they can do it to export data into specified format (as XXL), but that for HTML can't done. The problem had a message shown below: The presentation server does not function in Windows. Which other way to resolve this? Please tell us, thank you!

    The XXL export is not supported by Sapgui for HTML(Webgui) via Office Integration. See note: 512068    Office integration and SAP GUI for HTML
    However there is a workaround available, this is described in note:                                 
    #435769 ALV WebGUI: Excel download by saving into local file    
    can help you.         
    (the note is old - but the information in it still holds true)                                         
    Please note that the download and upload functionality of the SAPGui for HTML (WEBGUI)  requires a Java Virtual Machine.          
    Please see note 980772 for a list of the supported JVMs.
    One can also using the following link to check your current JVM version in your Browser:         
    http://www.java.com/en/download/help/testvm.xml

  • Is there a way to download data into CSV format?

    Is there a way to download data into CSV format?
    I can't do this using delimiter as ',' because user wants the decimal format in the ','s only.
    Any suggestions?

    go through this link...
    Download CSV file in presentation server through FM GUI_DOWNLOAD
    Re: how to create a CSV file
    type-pools:TRUXS.
    data: begin of itab occurs 0,
          vbeln like vbap-vbeln,
          posnr like vbap-posnr,
          end of itab.
    data:  itab1 type TRUXS_T_TEXT_DATA.
      select vbeln
             posnr
             up to 10 rows
             from vbap
             into table itab.
    CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
    EXPORTING
       I_FIELD_SEPERATOR          = ','
      TABLES
        I_TAB_SAP_DATA             = itab
    CHANGING
       I_TAB_CONVERTED_DATA       =  itab1
    EXCEPTIONS
       CONVERSION_FAILED          = 1
       OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
       CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename = 'C:TEMPtest.TXT'
        TABLES
          data_tab = itab1
        EXCEPTIONS
          OTHERS   = 1.

  • Need help for FM that converts RAW format data to xls format

    Hi all,
         I am able to get the data from the given spool number to be converted into 'RAW' format. I need to convert this data into Excel format nad want to send the mail as attachment.
         I want to know is there a Function Module that converts this RAW format data into the Excel format?
    regards,
    Brijesh Patel

    Hi,
    instead of that you can do this....
    once spool is generated you have spool number , using the spool number you can generate the excel file using the FM <b>RSPO_DOWNLOAD_SPOOLJOB</b>, pass the spool number, and filename as some.xls and then it will download it to xls file,
    Regads
    vijay

  • Want to write some data into xls or cvs  in defferent sheet

    Hello,
         I want to write some data into xls or cvs in defferent sheet (under one xls or csv file).
         suppose i have 3 StringBuffer i want to to write one StringBuffer into one sheet1 another one in sheet2 and last one in sheet3.
         Please suggest me somthing.

    First of: csv files don't have sheets. Only Excel files have that.
    Second: for Excel you'll have to find a library that implements that format for you. Apache POI is one possible choice, jExcelAPI is another one.

  • Download data into .csv format ( ABAP webDynpro )

    Hi gurus ,
    I am new to WebDynpro .
    My requirement is that i need to download all my datas into csv format . But when i am using the function module
    GUI_DOWNLOAD , an error is coming " Couldnot ascertain code page "
    I have used the F.M  ' SAP_CONVERT_TO_CSV_FORMAT '
    call function 'SAP_CONVERT_TO_CSV_FORMAT'
    exporting
       i_field_seperator          = ';'
      I_LINE_HEADER              =
      I_FILENAME                 = ''
      I_APPL_KEEP                = ' '
      tables
        i_tab_sap_data             = it_fail
    changing
       i_tab_converted_data       = csv_converted_table
    exceptions
       conversion_failed          = 1
       others                     = 2
    when i am using GUI_DOWNLOAD i am getting the above error
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    filename                        = 'C:\test.csv'
      tables
        data_tab                    = csv_converted_table.
      ENDIF.
    suggest me or provide some sample code to download the the csv_converted_table  that i got from the F.M
    'SAP_CONVERT_TO_CSV_FORMAT'  into .csv format to my local drive .
    Thanx Gurus .

    Heyy  Thanks for proving a new concept ..
    actually i was using the following code .
    DATA : lv_filename TYPE rlgrap-filename,
      lv_timestamp(55) TYPE c,
       lt_csv TYPE truxs_t_text_data,
      ls_csv TYPE LINE OF truxs_t_text_data,
      p_path TYPE string VALUE 'D:\Result'.
    Constants : lc_ex TYPE char4 VALUE '.csv'.
    CONCATENATE p_path lc_ex INTO lv_timestamp.
    lv_filename = lv_timestamp.
    CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
    EXPORTING
    i_field_seperator = ','
    i_filename = lv_filename
    TABLES
    i_tab_sap_data = it_fail       
    CHANGING
    i_tab_converted_data = lt_csv
    **-------Place the file in the required directory.
    OPEN DATASET lv_filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    LOOP AT lt_csv INTO ls_csv.
    TRANSFER ls_csv TO lv_filename.
    ENDLOOP.
    But i m getting the following error  
    File "D:\Result.csv" is not open.
    Can u please tell me what needs to be done ...??
    Thanks

  • Is there FM to download data into csv format?

    Got to create customized rfc/bapi and to export data in csv format?
    Any idea?

    HI,
    check this program.
    <b>report ZTEST2.
    data:  file type string,
           path type string,
           file_path type string.
    data: itab type standard table of cskt.
    start-of-selection.
      SELECT * FROM cskt INTO TABLE itab.
      call method cl_gui_frontend_services=>file_save_dialog
          changing FILENAME = file
                   path     = path
                   fullpath = file_path.
      check not file_path is initial.
      call method cl_gui_frontend_services=>gui_download
        exporting    filename                = file_Path
                      WRITE_FIELD_SEPARATOR = 'X'
         changing    data_tab                = itab.</b>
    Regards,

  • Export data into Excel from PL/SQL Block

    Hi,
    Please tell me how to export data into excel comming out from PL/SQL code in APEX.
    We can simply export data into excel if we have Report region, but my query is dynamic for which i had to use PL/SQL block. Now i want to export that data into excel.
    Thanks & Regards,
    Smith

    Hi,
    Take a look here http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    Regards
    Paul

  • How to convert the alv list data into pdf format

    Hi Expersts,
                      Is it possible to convert the alv list output data into PDF format? if yes, then please help me with this issue.
    thanks in advance,
    Regards,
    Samad

    hii samad,
    you can go through these link.i hope it ll solve your purpose
    How to convert list output to PDF
    Display ALV list output in PDF format
    regards,
    Shweta

  • How to download the Dynamic data into PPT format

    Hi Friends,
    I have one doubt on WDJ. How to download the Dynamic data into PPT format. For Example Some Dynamic data is available in to View in that One Download Link or button available. Click on Download link or button download that data into PPT Format
    Is it possible for WDJ. If possible please tell me.
    Or
    How to create Business Graphics in Web Dynpro Applications depening up on Excel Data and finally we can download the  Business Graphics  into powerpoint presentation.
    Thank you,
    Regards
    Vijay Kalluri
    Edited by: KalluriVijay on Mar 11, 2011 6:34 AM

    Hi Govindu,
    1. I have one doubt on WDJ. Click on either Submit Buttion or LinkToURL UI we can download the file that file having ppt formate(Text.PPT).
    I am using NWDS Version: 7.0.09 and Java Version: JDK 1.6
    2. is it possible to download the business Graphics in to the PPT by using Java DynPro
    Regards
    VijayK

  • How to convert BLOB data into string format.

    Hi,
    I have problem while converting blob data into string format.
    for example,
    Select dbms_lob.substr(c.shape.Get_wkb(),4000,1) from geotable c
    will get me the first 4000 byte of BLOB .
    When i using SQL as i did above,the max length is 4000, but i can get 32K using plsql as below:
    declare
    my_var CLOB;
    BEGIN
    for x in (Select X from T)
    loop
    my_var:=dbms_lob.substr(x.X,32767,1)
    end loop
    return my_var;
    I comfortably convert 32k BLOB field to string.
    My problem is how to convert blob to varchar having size more than 32K.
    Please help me to resolve this,
    Thanx in advance for the support,
    Nilesh

    Nilesh,
    . . . .The result of get_wkb() will not be human readable (all values are encoded into some binary format).
    SELECT utl_raw.cast_to_varchar2(tbl.geometry.get_wkt()) from FeatureTable tbl;
    -- resulting string:
        ☺AW(⌂özßHAA
    Å\(÷. . . .You may also want to have a look at { dbms_lob | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_lob.htm#i1015792 } "The DBMS_LOB package provides subprograms to operate on BLOBs, CLOBs, NCLOBs, BFILEs, and temporary LOBs."
    Regards,
    Noel

  • EXPORT Data into Clusters B2

    How I can export data into Cluster B2

    Hi ,
        Its a very simple statement.
        Pass these values
        B2-KEY-PERNR = PERNR.
        B2-KEY-PABRJ = PABRJ.
        B2-KEY-PABRP = PABRP.
        B2-KEY-CLTYP = CLTYP.
        call this macro.
        rp-exp-c2-b2.
        but U need to fill the following structures.
        ZL, PT, AT, WST, CWST, ZES,
        FEHLER, PSP, WPBP, AB, VERT, ALP, C1,
        SKO, MEHR, ANWES, RUFB, VS, CVS
    Regards,
    GSR.

  • Export data in cloumn format in Essbase v11.1.1

    Hi Everybody,
    I have installed essbase 11.1.1 in my personal desktop recently, to understand the new features and I observe dataexport in column format is not working as intended. When i select option called "export in column format" data is not exporting in cloumn format, exporting in blocks(normal export). In version 7.1.6 we did data export several times using column format and data was exported in cloumn format.
    Do i need to change any settings in cfg file to export data in cloumn format?
    Please some one share your views on this?
    Thanks,
    Ram

    Export in SQLLoader format has been changed to generate the data in a separate file from the control file. This was done as there are restrictions in the data that can be embedded in the control file. You should now find two files generated for each loader format export: a .ldr and a .ctl file.
    Joyce Scapicchio
    SQL Developer Team

  • ADS: com.adobe.ProcessingException: Error exporting Data into PDF

    Hi Experts,
    when trying to upload a PDF file to my WD4A application and extract the data I am getting this ADS Error:
    ADS: com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.(200201).
    The error only appears when I`m trying to upload a PDF file that has been created after an Java Script Update of the Adobe Form Builder. My actual version is 710.20070621204053.403203.403203 - ContainerFoundation_JS.
    All PDF files created before this update can be uploaded without problems. Am I missing something to be updated?!
    Thanx & best regards,
    Oliver

    Dear Oliver,
    I am facing this problem, can you recall how did you resolve this, please ? Thank you.
    Regards
    Kir chern

Maybe you are looking for