UTL_FILE(URGENT)

I am using vf1 utl_file.file_type; in my procedure but i got error
ORA-00201 UTL_FILE must be declared
My serever is on UNIX

What is the output of the following SQL in your database?
Oracle Database 10g Release 10.2.0.2.0 - Production
SQL> SELECT owner, synonym_name
  2  FROM   all_synonyms
  3  WHERE  table_name = 'UTL_FILE'
  4  AND    table_owner = 'SYS';
OWNER                          SYNONYM_NAME
PUBLIC                         UTL_FILE
SQL> SELECT grantee, privilege
  2  FROM   all_tab_privs
  3  WHERE  table_name = 'UTL_FILE'
  4  AND    table_schema = 'SYS';
GRANTEE                        PRIVILEGE
PUBLIC                         EXECUTE
SQL> 

Similar Messages

  • UTL_FILE help..Plz Help urgently

    CREATE OR REPLACE PROCEDURE test_file
    AS
    n_output_file_handle UTL_FILE.file_type;
    /**************************Beginning of the procedure **********************/
    BEGIN
    --DBMS_OUTPUT.ENABLE(2000000);
    DBMS_OUTPUT.put_line('p_utl_dir:');
    DBMS_OUTPUT.put_line('c_output_file_name:'|| 'test.txt' );
    n_output_file_handle := UTL_FILE.fopen ('C:\MPPI','test.txt','w');
    UTL_FILE.put_line (n_output_file_handle, 'test1');
    UTL_FILE.fclose(n_output_file_handle);
    I have this procedure to write text to a file. I execute this on my own machine but it does not write to the file.I exceute it from SQLPlus by execute test_file();.It says proc successfully completed but nothing is written to text file.
    Could somone plz help me with this urgently.

    Hi, what is the value for the parameter UTL_FILE?
    You use an absolute path for the directory to write to in you r procedure.
    If you would use a directory object in the database to specify where to write to you would not need to set UL_FILE parameter.
    Regards,
    Lutz

  • UTL_FIle problem : urgent...

    Hi all,
    I converted a excel file to csv formatt.in thwe excel file some cells have been wrapped.so i find chr(10) charaters for the sam cells in the csv file.
    Now am unable to read a full record because of the chr(10) found in come fields using utl_file package. how to sort out?
    help me out guys
    thanks in advance
    by
    bala

    Hello ,
    Can u just paste a couple of line from ur csv files.
    would definitely be able to help once u paste the lines.

  • Error in opening a file .......... plz help ... its urgent

    here is the code
         filename := '/dev60temp/asif.csv';     
         csv_file :=     TEXT_IO.FOPEN(filename,'a');
    when i try to create file using this code, it gives error as
    soon as fopen is called. /dev60temp/ is virtual path which is
    mapped to a folder on my localmachine.
    Plz oracle team help ... its really urgent.

    if u want to open the file from the server u have to use
    utl_file package, the text_io is used only for client side
    files.for that it's not necessary to give out the virtual path.

  • View BLOB content through Forms 6i URGENT... URGENT...

    I have a table which stores word documents as BLOB. My database is on UNIX machine and I access the database through a Citrix machine through Oracle Forms. My client wishes to open the word document in Forms which is stored in BLOB in the database. My database version is 9.2 which supports me to import and export files from file system to BLOB and vice versa using DBMS_BLOB and UTL_FILE packages. But, my only concern is regarding opening the word document through Forms 6i. Is that possible through OLE or any other means? I've tried all the sources. I know I can do it using Webutil, but it will not work for Forms 6i. Please help me in this regard. I have an urgent release tonight. Please. Please. Please. Please help me. Thanks in advance.

    I know that OLE can solve the problem. But issues is my word document is stored as BLOB in the database. My database is in UNIX. So, I can't export my files into UNIX and open them. I can't view them either from Forms. Please let me know if you have any alternative. Please can you guide me with step by step procedure as to how this can be done if we can do it using OLE.

  • Urgent, long type...

    Hi!
    I have a report with a field that must include the content of a column of Long type,
    the field in the report must not go out of 5 pages....
    how will I manage thie in the report ??
    thanks, it's urgent!!!

    You are getting an error at line 5:
    5 arq := utl_file.fopen('p:\temp\','test.sql','w');It has nothing to do with your long column, but utl_file cannot open the file. Put an exception handler in your program to see the error:
    EXCEPTION
           WHEN UTL_FILE.INVALID_PATH THEN
             RAISE_APPLICATION_ERROR(-20100,'Invalid Path');
           WHEN UTL_FILE.INVALID_MODE THEN
             RAISE_APPLICATION_ERROR(-20101,'Invalid Mode');
           WHEN UTL_FILE.INVALID_OPERATION then
             RAISE_APPLICATION_ERROR(-20102,'Invalid Operation');
           WHEN UTL_FILE.INVALID_FILEHANDLE then
             RAISE_APPLICATION_ERROR(-20103,'Invalid Filehandle');
           WHEN UTL_FILE.WRITE_ERROR then
             RAISE_APPLICATION_ERROR(-20104,'Write Error');
           WHEN UTL_FILE.READ_ERROR then
             RAISE_APPLICATION_ERROR(-20105,'Read Error');
           WHEN UTL_FILE.INTERNAL_ERROR then
             RAISE_APPLICATION_ERROR(-20106,'Internal Error');
           WHEN OTHERS THEN
             UTL_FILE.FCLOSE(fHandle);

  • DBMS_LOB.FILE_READONLY error **URGENT**

    I use FORM to create a procedure to load the external Word file into BLOB. However, I always get the following error :
    -Implementation Restriction:'DBMS_LOB.FILE_READONLY' cannot directly access remote package variable or cursor
    I already compile the FORM in server.
    Please help!!!
    Urgent....

    Not sure if the UTL_FILE package is the same but if you don't set the "utl_file_dir" variable in the INIT.ORA file prior to calling the FOPEN procedure you will get a similiar error. There may be an equivalent parameter for the DBMS_LOB package.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Mona Marathe ([email protected]):
    Hello!
    I've been trying to load an image file into the oracle database using the DBMS_LOB loadfromfile procedure. In order to do this, I first have to open the appropriate file which I do using
    temp_bfile := bfilename('temp_dir', in_filename);
    where in_filename is a string having the appropriate filename. and 'temp_dir' is a directory object created as follows:
    CREATE DIRECTORY temp_dir AS 'F:\';
    Next when I do a
    DBMS_LOB.FILEOPEN(temp_bfile, LOB_READONLY);
    I get an exception ORA-22285:non-existent directory or file.
    What am I doing wrong? Is the way I've created the directory object correct. I work on an NT machine.
    Mona<HR></BLOCKQUOTE>
    null

  • Urgent: Search all fields

    Hi,
    I've a problem.
    My job is to search a value which can stand in each field from each table.
    There are 1054 tables and i should write a procedure which can look in each field if the value is 77669.
    It's very urgent.
    Thanks in advance.
    With best regards
    Nicole

    Thanks i've solved the problem, but now i have an other problem.
    I've to find colums which have different or the same value and if a column have the only one value in each field i want to know this value.
    I've tried this procedure but i get a error message:
    invalid cursur!
    RIS5COLUMNS is a view which have all table_names, column_names,datatypes and max_value.
    Here is the procedure:
    Create or replace procedure analyse is
    lob_length integer;
    read_amount integer;
    read_offset integer;
    buffer varchar2(100);
    loc varchar2(100) := 'usr_dir';
    f_hand utl_file.file_type;
    datatyp varchar2(20);
    counter number;
    value VARCHAR2(200);
    tab_nam VARCHAR2(30);
    col_nam VARCHAR2(31);
    TYPE RefCurTyp is REF CURSOR;
    CV REFCURTYP;
    sql_statement VARCHAR2(2000);
    max_len number(10);
    Cursor cur_suche is
    Select column_name,upper_table_name,dbms_type_string,char_max_length from RIS5COLUMNS
    where upper_table_name in (Select table_name from user_tables);
    BEGIN
    read_offset := 1;
    read_amount := 49;
    -- read_amount := 81;
    --Opening file
    f_hand := Utl_File.Fopen(location =>'d:\oracle\utl_file\',
    filename =>'analyse_Linz_AG.txt',
    open_mode =>'w',
    max_linesize => 32767);
    utl_file.putf(f_hand,'Tabellenname;Feldname;Anzahl unterschiedlicher Einträge;Wert;Max. Länge');
    Utl_File.New_Line (f_hand,1);
    OPEN cur_suche;
    LOOP
    FETCH cur_suche into col_nam,tab_nam,datatyp,max_len;
    exit when cur_suche%NotFound;
    If datatyp <> 'date' then
    sql_statement := 'SELECT DISTINCT( COUNT ('||col_nam||')) from '||tab_nam||'';
    open CV for sql_statement;
    loop
    fetch cv into counter;
    Close CV;
    If value = 1 Then
         sql_statement := 'SELECT DISTINCT '||col_nam||' from '||tab_nam||'';
    open CV for sql_statement;     
    fetch cv into value;
    utl_file.putf(f_hand,''||tab_nam||';'||col_nam||';'||counter||';'||value||';'||max_len||'');
    Utl_File.New_Line (f_hand,1);
    Else
    utl_file.putf(f_hand,''||tab_nam||';'||col_nam||';'||value||';;'||max_len||'');
    Utl_File.New_Line (f_hand,1);
    End if;
    END LOOP;
    Close CV;
    End if;
    END LOOP;
    Close cur_suche;
    utl_file.fclose(f_hand);
    end analyse;

  • Logical command in ABAP.....Urgent

    Hi,
      i am pretty new using ABAP program so i neeed help urgently. i am trying to move a file on the application server from one directory to the other and i was using the open dataset function to do that. but the file i am trying to move is pretty big and because i am using internal table to store, it is causing problems with the space.
      i have consulted the basis guys and they have managed to create a logical file for copying from one directory to the other on the application server. to help you furthter. i am enclosing the mail sent to me.
    I have created a logical command which should copy the file from one location to the other but you need to pass it the source dir and file name and the destination dir and file name.
    The logical command is ZCOPY and uses cmd /c copy
    Copies one or more files to another location.
    COPY [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
         [+ source [/A | /B] [+ ...]] [destination [/A | /B]]
      source       Specifies the file or files to be copied.
      /A           Indicates an ASCII text file.
      /B           Indicates a binary file.
      destination  Specifies the directory and/or filename for the new file(s).
      /V           Verifies that new files are written correctly.
      /N           Uses short filename, if available, when copying a file with a
                   non-8dot3 name.
      /Y           Suppresses prompting to confirm you want to overwrite an
                   existing destination file.
      /-Y          Causes prompting to confirm you want to overwrite an
                   existing destination file.
      /Z           Copies networked files in restartable mode.
    The switch /Y may be preset in the COPYCMD environment variable.
    This may be overridden with /-Y on the command line.  Default is
    to prompt on overwrites unless COPY command is being executed from
    within a batch script.
    the problem now is i have no idea about how to use the logical command. can any one help me.
    Thank you,
    Ravi.

    If memory is not an issue, then there should be no reason why this should not work.
    report zrich_0001.
    parameters: d1 type localfile default '/usr/sap/TST/SYS/Data1.txt',
                d2 type localfile default '/usr/sap/TST/SYS/Data2.txt'.
    data: itab type table of string with header line.
    start-of-selection.
    * Read old file
      open dataset d1 for input in text mode.
      if sy-subrc = 0.
        do.
          read dataset d1 into itab.
          if sy-subrc <> 0.
            exit.
          endif.
          append itab.
        enddo.
      endif.
      close dataset d1.
    * Write to new file
      open dataset d2 for output in text mode.
      loop at itab.
        transfer itab to d2.
      endloop.
      close dataset d2.
    * Delete the old file
      delete dataset d1.
    Regards,
    Rich Heilman

  • Confirmation of balance - urgent

    Hi,
    We are using print program SAPF130K and SAPF130D for vendor and customer respectively.
    My query is can we bring even the cleared items alongwith the open items in the same print program???
    Now we have line items of open line items only?? As per our exploration into the program... we get only open items..
    Also we are using SAP10 and SAP11 as the correspondence type.Kindly advise as to correspondence type should be changed so that it can print both the open and cleared items?
    Please reply ASAP as it is very urgent.
    Thanks in advance.
    Regards
    Karpagam

    Hi,
    Use T.Code F.42 FOR Vendor Balances
    and F.23 For Customer Balances
    Hope this will help u
    Regards,
    Sarfaraz

  • FUNCTION IS NOT WORKING WHEN RUN IN SRW.RUN_REPORT, URGENT

    Hi,
    I have a report. it has got 1 Query and 2 groups.
    Q1
    |
    |
    __G1__
    |F1 |
    |F2 |
    |F3 |
    |
    |
    |
    __G2__
    |Items|
    |Sales|
    | Qty|
    |Store|
    |Func4|
    |Func5|
    |Func6|
    The Query looks like above. Now In the report I have a 3 User parameters . For Each record in G2 the functions Func4,Func5 and Func6 adds the value to the user parameters at the report level.
    Now the Func1,Func2,Func3 takes the value of last 4 record for each item at each G1 Level and devides it by 4 and prints . As an example given below
    ITEMS-----SALES-------QTY-----------STORE
    10001-----10000-------200-------------100
    10001-----20000-------500-------------200
    10001-----15000-------350-------------175
    10001-----45000-------650-------------225
    10001-----50000-------700-------------300
    AVERAGE==>32500-------550-------------225 ==> Calculated by F1,F2,F3
    20001-----70000-------900-------------400
    20001-----30000-------600-------------350
    20001-----20000-------500-------------300
    20001-----25000-------450-------------275
    20001-----35000-------550-------------225
    20001-----65000-------800-------------400
    AVERAGE==>36250-------650-------------300 ==> Avg of last 4 records
    This report takes an parameter which is part of the Where condition of the Query Q1. If I run this report from the report builder and provide the value for the parameter then the report runs fine printing the exact values. If I run the report from another report(which I have to do, due to circumstances) using SRW.Run_Report and pass the parameter in the same command. The the function FUNC4, FUNC5, FUNC6 does not do the addition, as a result the Func1,Func2,Func3 returns 0. I dont know why this is happenning .
    This is very very URGENT, My project manager is on my head to finish it ASAP. Please help.
    Thanks
    Feroz

    Hi Toby and Danny,
    Thanks for the quick reply. I dont think I am having an interdependancy of the functions. Here is an sample what two functions do at each level
    Func6 =========> This function at group level G2
    begin
    -- To initialize the user parameter for each new item.
         If :CNT = 1 Then
              :Wk4_Pos_Qty := 0;
         End If;          
    -- to add the qty value to the user parameter for last 4 records. Uchange is the no of records for each item     
    If :CNT >= :UCHANGE - 3 Then
         :Wk4_Pos_Qty := :Wk4_Pos_Qty + :Qty;
    End If;     
    return 0;
    end;
    Func3 ======> this function at group level G1
    Begin
    -- if no of records are less than 4 then devide by the no of records or devide by 4.
         If :UChange < 4 Then
                   return((:Wk4_Pos_Qty + :Qty) / :UChange);
         Else
                   return((:Wk4_Pos_Qty + :Qty)/ 4);     
         End If;     
    end;
    Here Wk4_Pos_Qty is the User parameter created to hold the calue for the Um of last 4 records Qty.
    I tried to modify the Func3 so that it looks like this
    Func3
    begin
    srw.reference(:Wk4_Pos_Qty);
         If :UChange < 4 Then
                   return((:Wk4_Pos_Qty + :Qty) / :UChange);
         Else
                   return((:Wk4_Pos_Qty + :Qty)/ 4);     
         End If;     
    end;
    But it does not effect anything. I mean its the same. The Wk4_Pos_Qty returns 0 and Func3 returns 0.
    Any Suggestions .
    Thanks
    Feroz

  • How can I get a list of IP's that have got access to my account I have a court summons and the information could only have been gathered from my Icloud account. Apple cant or wont help me. Urgent please have to go to court tomorrow.

    Need some urgent help please.
    I have a court summons for some information that has been taken from my Icloud account.
    I believe my ex employer has hired someone to hack into my account. They have had my laptop inspected by a forensic company. Orginally they did not know what the five emails I sent myself were about. Now they do. I believe they have hacked my Icloud account. I have asked Apple to help but they are refusing is there any way I can find out please feel free to email me [email protected] Thanks have to go to court tomorrow morning.

    It sounds like you really might want to consider seeking legal advice for this matter.

  • Please help me to run this CMP BEAN, I need help urgently, I am running out of time :(

    Hi,
    I am facing this problem, Please help me, I am attaching the source files
    also along with the mail. This is a small CMP EJB application, I am using
    IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
    me the working copy of the same. I need these urgent. I am porting all my
    beans from bea weblogic to Iplanet. Please help me dudes.
    Err.........
    [06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
    caught
    in kcp skeleton, exception = java.lang.NoSuchMethodError
    [06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
    java.lang.NoSuchMethodError
    at
    com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
    ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
    nyHo
    me.java:205)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:297)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Caught an exception.
    java.rmi.RemoteException: SystemException: exid=UNKNOWN
    at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
    at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:324)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Thanks in advance
    Shravan
    [Attachment iplanet_app.jar, see below]
    [Attachment iplanet_src.jar, see below]

    One reason that I sometimes get 'NoSuchMethodError' is when I make a change to a
    java class that is imported into another java class. When I go to run the
    importing class, it will throw a 'NoSuchMethodError' on any methods that I've
    changed in the imported class. The solution is to recompile the importing class
    with the changed classes in the classpath.
    shravan wrote:
    Hi,
    I am facing this problem, Please help me, I am attaching the source files
    also along with the mail. This is a small CMP EJB application, I am using
    IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
    me the working copy of the same. I need these urgent. I am porting all my
    beans from bea weblogic to Iplanet. Please help me dudes.
    Err.........
    [06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
    caught
    in kcp skeleton, exception = java.lang.NoSuchMethodError
    [06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
    java.lang.NoSuchMethodError
    at
    com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
    ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
    nyHo
    me.java:205)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:297)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Caught an exception.
    java.rmi.RemoteException: SystemException: exid=UNKNOWN
    at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
    at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:324)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Thanks in advance
    Shravan
    Name: iplanet_app.jar
    iplanet_app.jar Type: Java Archive (application/java-archive)
    Encoding: x-uuencode
    Name: iplanet_src.jar
    iplanet_src.jar Type: Java Archive (application/java-archive)
    Encoding: x-uuencode

  • Error while opening a module. plz help me, very urgent.

    when i try to open a module, the following error message appears on my screen.
              " no j2ee component found in d:\krisp\programs\servlets".
              i've installed bea in c: drive and my servlet program is in d: drive.
              plz help me, it's very urgent.

    Can you provide some more information? What were you doing when this happened?
              Can you post the entire error message?
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Help needed in utl_file

    Hi,
    I have two groups in data model of my report. I am using utl_file in a formula column of report last group.it's working fine.
    but my problem is if customer has more than one invoice lines
    then all that lines not comes under only particular customer only at a time.
    For example my output is coming like this:
    Customer address: 3345 LIMITED-STUDIOS : 00033-45 PARR STREETLIVERPOOLCHESHIRE
    Invoice Lines: 0001000402106-JUL-07INV 10.47
    Customer address: 3345 LIMITED-STUDIOS : 00033-45 PARR STREETLIVERPOOLCHESHIRE
    Invoice Lines: 0001000402713-JUL-07INV 10.77
    But I am trying to get output like this:
    Customer address: 3345 LIMITED-STUDIOS : 00033-45 PARR STREETLIVERPOOLCHESHIRE
    Invoice Lines: 0001000402106-JUL-07INV 10.47
              0001000402713-JUL-07INV 10.77
    I am using fallowing code in my formula column:
    function CF_UTL_FILEFormula return Char is
    v_file_data utl_file.file_type;
    begin
    utl_file.put_line(v_file_data,:SEND_CUSTOMER_NAME:SEND_ADDRESS1:SEND_ADDRESS2:SEND_ADDRESS3:SEND_ADDRESS4:SEND_CITY:SEND_STATE:SEND_COUNTRY_DESC:SEND_POSTAL_CODE);
    utl_file.put_line(v_file_data,LN1:CF_LOCATION:C_DELIVERY_DATE:INVOICE_NUMBER:TRX_DATE:c_transaction_type:CD_TRX_AMOUNT);
    utl_file.fclose(v_file_data);
    end;
    Please help me how can I do this?

    What's the source of your Summary Column? It's not allowed to choose here the formula column in whcih you reference the summary column back. But another column should work.
    As alternativ add a formula column in the upper group with
    utl_file.put_line(v_file_data,:SEND_CUSTOMER_NAME:SEND_ADDRESS1:SEND_ADDRESS2:SEND_ADDRESS3:SEND_ADDRESS4:SEND_CITY:SEND_STATE:SEND_COUNTRY_DESC:SEND_POSTAL_CODE);
    and remove the same line out of the other formula column.

Maybe you are looking for

  • How can i delete a number of emails at once?  I have a backlog and don't want to go through them all.

    how can i delete a number of emails at once?  I have a backlog and don't want to go through them all.

  • Time machine is making two backup folders for my external drive

    I have two external drives connected to my iMac, running 10.6.8.  One is the Time Machine drive; the other is PhotosMovies.  I've been having trouble for the last several months where about once a week my Time Machine backups won't finish, no matter

  • Error in this query

    I am getting an error when trying to run this script, "missing expression" I want to display vi.ram_asset_class_id is null Where am I going wrong in the script below. select v.bank_client_id,        v.cust_id,v.cust_name,        v.system_id,v.common_

  • More of a thank you than a complaint.

    Yesterday my original iPhone finally gave up. For over 3 years this phone has been an example of the quality products Apple continues to create, maintain and release. This phone has worked through falling out of a second floor of an apartment, a dip

  • IPhone 3G headset jack not working

    HI, The headset jack of iPhone 3G suddenly started playing up. I can listen to music without any hiccup, can hear the other person loud and clear but people complain of a lot of static noise at times and at other times they cant hear me at all. I hav