My Concurrent Program PDF output is in Russia instead of in English.  Why?

I have selected Format as PDF and Style as "Landscape" and I am using English version as many others. Why am i getting Russian(or its some other language I really dont know that script) characters when I run the report?
I am using
RDBMS : 10.2.0.2.0
Oracle Applications : 11.5.10.2
Oracle Forms Version : 6.0.8.27.0
Application Object Library : 11.5.0
Please suggest me to get English font in my PDF output file.
I forgot to mention that I am able to see output in english when I run the report with Format as "Text".

Since your characterset is set to UTF8, generating any report in PDF format (with or without printing) is not supported. Oracle Reports 6i cannot generate PDF output with multi-byte characters. In Oracle Applications 11i with Oracle Reports 6i, PDF output is supported for only Latin-1 character sets such as US7ASCII, WE8ISO8859P1 or WE8MSWIN1252.
Under UTF8, generating PDF via the XML Publisher is supported and it can be done. Alterative workaround is to use another format like Postscript (Assuming that PASTA is already installed and configured).

Similar Messages

  • FTP concurrent Program Pdf

    Hi ,
    I need to FTP the concurrent program Pdf output to a server. Please let me know if this can be done.
    Thanks
    Geetha

    I have just finished with something similar and used the following code just for the FTP, I created an executable of type host that used this file and it sends the FTP:
    >
    # +====================================================================+
    # | $Revision: 1.0     $ |
    # +====================================================================+
    # | Customization Code: CUST466                                             |
    # | name : XXFTP           |
    # | create by : Hilton Meyer |
    # | Creation Date : 17/02/2011     |
    # +====================================================================+
    # | Process : put a file with FTP |
    # | Retrun Status : 1 - failed building process |
    # | : 0 - Success |
    # | Depend On : |
    # +====================================================================+
    # | to register please do :     |     
    # | ln -s $FND_TOP/bin/fndcpesr XXFTP |
    # +====================================================================+
    # | Parameters |
    # | P_SERVER - IP Address               |
    # | P_USER - User                |
    # | P_PASSWORD - Password               |
    # | P_FOLDER - Folder               |
    # | P_FILENAME - File Name                    |
    # +====================================================================+
    # | Change History : |
    # | |
    # | Vers Author Date Description |
    # | 1.0 Hilton Meyer          17/02/2011     initial Build |
    # +====================================================================+
    export P_SERVER=$7
    export P_USER=$8
    export P_PASSWORD=$9
    export P_FOLDER=$10
    export P_FILENAME=$11
    echo "+===========================================================+"
    echo "| Date Of Running      : "`date +%B-%d`" |"
    echo "+===========================================================+"
    echo "|Parameters      "
    echo "|P_SERVER      : $P_SERVER          "
    echo "|P_USER : $P_USER                "
    echo "|P_PASSWORD      : $P_PASSWORD               "
    echo "|P_FOLDER      : $P_FOLDER               "
    echo "|P_FILENAME      : $P_FILENAME                    "
    echo "+===========================================================+"
    echo "Copy file"
    echo "============================================================="
    cd /share/folder
    ftp -i -n $P_SERVER << EOF
    user $P_USER $P_PASSWORD
    pwd
    put $P_FILENAME
    ls -l
    bye
    EOF
    echo "*** End ***"

  • How to customize the Java Concurrent Program(PO Output for Communication)

    Hi,
    How to customize the Java Concurrent Program(PO Output for Communication)
    I need to add the Line level Ship To Address ,Line Notes and Extended Price fields on Java Concurrent Program.
    Please any body help/guide me in this regard.

    Hi,
    Changing Java Conc. program for "PO Output for Communication" is difficult.
    Actually, if you observe closely, "PO Output for Communication" program uses PO<HEADER/LINES..>_XML views.
    So if you could change these views and add your requireed columns to it, you can automatically see your changes in XML data file.
    See if the following link will you to get there.. http://chandramatta.blogspot.com/
    thanks,
    Matt

  • Concurrent programs - adding output format

    hi all,
    how do you add other output formats in the concurrent programs form in Oracle Applications : 11.5.10.2?
    the options i have are limited to HTML, FO, PCL, PDF, XML. i need to add Excel or XLS if possible.
    thanks
    allen

    Hi Srini,
    Thanks for the suggestion.
    I'm not sure if this is applicable to my situation as I'm using a PL/SQL Stored Procedure to generate the Excel. Then run this as a Request. Afterwards, I click the View Output to view the file.
    I am using the FND_FILE.PUT_LINE(fnd_file.output, string) package to create the file and currently has the extension of PCL but it doesn't automatically open in Excel. I'm guessing Excel does not recognize the file format but it is able to open it if I do it manually.
    Not really my idea but it is the client's request.
    Thanks,
    Allen

  • Problems viewing concurrent request pdf output on mac os

    Please your advice on this will be much appreciated.
    A user can run a c.request and view the pdf output on windows without problems. When she uses mac, she is able to run the request successfully but gets error if she click on the link to see the output. Are there any parameters etc to be changed to use mac os?
    Thanks

    Do you meet the requirements of the "Certification Matrix for Safari" as outlined in the following note?
    Note: 285218.1 - Recommended Browsers for Oracle E-Business Suite 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=285218.1

  • XML output for pdf concurrent program

    Hi,
    We have one custom concurrent program defined with output as pdf.
    We want to generate an xml output some times. We dont want to register another concurrent program.
    We want to use same concurrent program, but want to generate output some times pdf , some times xml.
    Please suggest whether any possible way of doing this even using CONCSUB also fine.
    Thank you,
    Venkat.

    Hi Ramana;
    We want to submit the concurrent program, but output type either as xml or pdf it will be known during runtime.AFAIK if you prepare template in XML publisher than you can take output as pdf, by the way you can take xml output too
    Please check user guide:
    http://www.oracle.com/technology/products/xml-publisher/docs/XMLP5.6.1UserGuide.pdf
    Regard
    Helios

  • BI Publisher Charts not getting displayed in concurrent program output

    Hi,
    I am using BI Publisher version 11.1.1.3.0 on Windows 7 with word 2007. After creating the Bar chart in RTF template of BI publisher when I load sample XML data and check it in "Preview" is displays the output correctly.
    My requirement is to print the charts in concurrent program's output on EBS version 12.1.1. (preferably HTML but PDF will also do) However when I run the concurrent program which processes the data definition and the RTF template registered for this report, the output is just an image of the chart. The XML output generated by the program is not reflected in the chart display at all. (I have verified that XML is generated properly)
    Can someone please let me know if there is some setup required to make the charts display properly in concurrent program output?
    I have also tried BI publisher version 10.1.3.2.1 for this. With this the concurrent program output is just blank. Not even an image is displayed.
    p.s. The program uses standard executable XDODTEXE (which is normally used to run BI publisher reports)
    Thanks,
    Archana

    Hi,
    I have finally found solution to this issue....
    Two setups are required to display the charts in the concurrent program's PDF output:
    1. We need to edit the variables CLASSPATH and AF_CLASSPATH. These variables should have the complete path added for the xdoparser.zip file on the server.
    2. The DISPLAY variable should be correctly setup to direct the server output.
    Also as per my findings so far, the BI (XML) publisher version 11.1.1.3.0 (or any 11g) does not work with EBS (at least for charts). We need to use BI publisher version which is XML 5.6.3 compatible for EBS. This version is 10.1.3.2.1. (patch 12395372) Now this 10g version does not work on Windows 7 so you need to use Windows XP!
    With this... finally... your charts should be getting displayed in EBS output...
    Cheers!! :-)
    Archana

  • Output from Concurrent program in XML format for bytes greater than 32K

    Hi,
    I created a custom concurrent program where i send the generated XML data as an output to the program.
    I have an XML template attached to the program, so the template picks up the xml output and converts it to a PDF.
    so ultimately when i run the concurrent program, the output is a PDF file. This way it is easy for the user to just run a program and get a PDF file.
    Now the generated XML data is from an oracle seeded program and it is a BLOB.
    I am converting it to a CLOB so that i can write it to the output. if the CLOB doesnt exceed 32K bytes, i have no issues writing it to the output.
    But since we cannot write more than 32K bytes, i an using a substr to write chunks of the CLOB for every 30,000 bytes.
    since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?
    Either i write the whole 33000+ bytes in one line to the fnd output or try to remove the line breaks from the xml data.
    Thanks in advance for anyone reading this!

    >
    > since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?So I suppose you're using FND_FILE.PUT_LINE ?
    Why not use FND_FILE.PUT instead, so that no new line is generated after each chunk ?
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458258.htm#I_fndfile

  • Font 3 of 9 is not comming in default concurrent program submition

    HI All,
    i am using font free 30of9 to print barcodes in XML PDF output reports in oracle applications
    everything is working fine.
    issue is when i give printer name while sub-meeting the concurrent request it is printing the report with out barcode and concurrent request is completed normal when i open the request output it showing the barcode .
    in pdf file of that request.
    steps i fallowed
    defined concurrent program with output XML printing style pdf publisher
    2)created the font mappings
    3)created template and data definition .
    Process
    When we submit the concurrent request we can select the printer name so that output will directly prints
    its printing the report with out barcode
    Kindly help me how get it done
    Sandeep.Y

    I think there's issues with that Barcode TrueType font and Java.
    You can try a Java app (such as the sample demo app that comes with Java) and try viewing that font.
    You'd need to use a different barcode font.
    Sincerely,
    Ted Ueda

  • Same report on two instances but PDF output in different fonts

    I would appreciate that Report developer with no Apps experience also read this problem.
    We have 2 running APPS11i environments.
    One production, up and running at the customer.
    One development , up and running at our site, develop department.
    We developed some reports (rdf's) in Reports 6i Builder.
    These reports are known in Oracle Applications by placing the reports in the <OUR_TOP>\11.5.0\reports\US directory
    and of course as concurrent programs in Apps11i.
    The Requests are submitted by using FND_REQUEST package in our custom application, this works ok.
    On BOTH environments the reports are printed with expected font (=Arial) and layout.The concurrent programs have output information set: format (postscript), style and printer.
    Secondly we defined another set of concurrent programs, almost the same as the above con.programs mentioned.
    Except with this difference that the output information set is format (PDF) and printer is empty (print flag is off).
    ONLY on our development site adobe acrobat reader is launched with the expected fonts (arial). SO DEVELOPMENT IS OKAY for us.
    On our production site acrobat reader is launched, but the used font is not Arial, instead a font Devicefont10cpi is used.
    But these Arial fonts are in the fonts direcory (by looking in control panel | fonts).
    When we run the reports stand-alone (reports builder or rwrun60.exe in a DOS box) on the production environment the pdf outputs are created okay with the correct font.
    What could we have been forgotten when deploying the reports on production?
    In other words what could be responsible for running reports in APPS11i in ignoring the builder defined font.
    Thanks in advance auke quist
    [email protected]

    I would appreciate that Report developer with no Apps experience also read this problem.
    We have 2 running APPS11i environments.
    One production, up and running at the customer.
    One development , up and running at our site, develop department.
    We developed some reports (rdf's) in Reports 6i Builder.
    These reports are known in Oracle Applications by placing the reports in the <OUR_TOP>\11.5.0\reports\US directory
    and of course as concurrent programs in Apps11i.
    The Requests are submitted by using FND_REQUEST package in our custom application, this works ok.
    On BOTH environments the reports are printed with expected font (=Arial) and layout.The concurrent programs have output information set: format (postscript), style and printer.
    Secondly we defined another set of concurrent programs, almost the same as the above con.programs mentioned.
    Except with this difference that the output information set is format (PDF) and printer is empty (print flag is off).
    ONLY on our development site adobe acrobat reader is launched with the expected fonts (arial). SO DEVELOPMENT IS OKAY for us.
    On our production site acrobat reader is launched, but the used font is not Arial, instead a font Devicefont10cpi is used.
    But these Arial fonts are in the fonts direcory (by looking in control panel | fonts).
    When we run the reports stand-alone (reports builder or rwrun60.exe in a DOS box) on the production environment the pdf outputs are created okay with the correct font.
    What could we have been forgotten when deploying the reports on production?
    In other words what could be responsible for running reports in APPS11i in ignoring the builder defined font.
    Thanks in advance auke quist
    [email protected]

  • How to submit a concurrent program from a custom form.

    I'm use Forms [32 Bit] Version 6.0.8.26.0 (Production) and Oracle Applications : 11.5.10.2.
    I need execute a concurrent program from a custom form.
    In the custom form I have a button and when that button is clicked I want to submit this cocurrent program. I am using the below code.
    fnd_profile.get('USER_ID', v_user_id);
    fnd_profile.get('RESP_ID', v_resp_id);
    fnd_profile.get('RESP_APPL_ID', v_resp_appl_id);
    fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
    vn_request_id := apps.fnd_request.submit_request (
    'XBOL',
    'CSUV_GL_STATEMENT_EXPORT'                                                            
    ,NULL
    ,NULL
    ,FALSE
    commit;
    But the concurrent program finished in error:
    "ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The SQL statement being execute"
    The executable of the concurrent program is the next:
    PACKAGE CSUV_GL_STATEMENT_EXPORT_PK
    IS
    PROCEDURE Main (
    pouc_errbuf OUT VARCHAR2,
    poun_retcode OUT NUMBER,
    pinc_OWNER in varchar2,
    pinc_VESSEL in varchar2,
    pind_GL_DATE in varchar2,
    pinc_STATE_NUM in varchar2,
    pind_STATE_DATE in varchar2,
    pinc_EXCEL_LAYOUT in varchar2
    END CSUV_GL_STATEMENT_EXPORT_PK;
    And de value set of the all my concurrent program parameters is "240 Characters".
    I dont't understand why the concurrent program finished wrong.

    Hi,
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignoredPlease refer to "Oracle Applications Developer's Guide" manual for the correct syntax and the number of arguments you need to pass to this API.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf
    Thanks,
    Hussein

  • XML Publisher is not integrating with Reports 10g Concurrent program

    Hello,
    I created report in reports 10g. Saved report in the custom_top/reports/US. Created a concurrent program for the report with output as XML. Created a Data Definition with the same short name as the concurrent program and created a template used the same short name as the Data Definition, associated template with the data definition. Uploaded the .rtf file to the template.
    The issue i have is when i run the concurrent program the output is xml tags rather than the xml publisher report.
    Any help will be appreciated.

    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_Start_Date='01-JAN-11'
    P_end_Date='15-AUG-11'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Aug 24 09:25:14 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE

  • Getting Error While Attaching Concurrent Program Output PDF file for POAPPRV Workflow

    Hi All,
    I am getting the below error when I am trying to attach concurrent program output to the PO Approval Notification.
    An Error occurred in the following Workflow.
    Item Type = POAPPRV
    Item Key = 1040589-528378
    User Key =945871
    Error Name = WF_ERROR
    Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
    Wf_Notification.GetAttrblob(3604701, ZZ_PREVIOUS_PO_COMPARE, text/html)
    WF_XML.GetAttachment(3604701, text/html)
    WF_XML.GetAttachments(3604701, http://oraerp.am.corp.xxxx.com:8099/pls/DEV, 11283)
    WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    Wf_Event.setMessage(oracle.apps.wf.notification.send, 3604701, WF_XML.Generate)
    Wf_Event.dispatch_internal()
    Error Stack =
    Activity ID = 190844
    Activity Label = AL_NOTIFY_APPROVER_PROCESS:ZZ_PO_PO_APPROVE_ATTCH
    Result Code = #MAIL
    Notification ID = 3604701
    There are several threads for this error however I cannot find any specific solution to the problem.
    Please find the code below -
        wf_engine.setitemattrdocument(itemtype=>itemtype,
                                      itemkey=> itemkey,
                                      aname=>'ZZ_PREVIOUS_PO_COMPARE',
                                      documentid =>'PLSQLBLOB:zz_po_reqapproval_init1.xx_notif_attachments/' || to_char(l_request_id_prev_po)||':'||to_char(l_document_num));
    -- here l_request_id_q_and_s is the request id of the program and l_document_num is the PO document number
    PROCEDURE xx_notif_attachments(p_request_id    IN VARCHAR2,
                                   p_document_num  IN VARCHAR2,
                                   p_document      IN OUT BLOB,
                                   p_document_type IN OUT VARCHAR2) IS
      v_lob_id          NUMBER;
      v_document_num    VARCHAR2(15);
      v_document_prefix VARCHAR2(100);
      v_file_name       VARCHAR2(500);
      v_file_on_os      BFILE;
      v_temp_lob        BLOB;
      v_dest_offset     NUMBER := 1;
      v_src_offset      NUMBER := 1;
      v_out_file_name   VARCHAR2(2000);
      v_conc_prog_name  VARCHAR2(500);
      v_conc_req_id     NUMBER;
      CURSOR get_output_file(p_concurrent_request_id NUMBER) IS
        SELECT cr.outfile_name, cp.concurrent_program_name
          FROM fnd_concurrent_requests cr, fnd_concurrent_programs_vl cp
         WHERE request_id = p_concurrent_request_id
           AND cp.concurrent_program_id = cr.concurrent_program_id;
    BEGIN
      --    set_debug_context('xx_notif_attach_procedure');
      v_conc_req_id  := to_number(substr(p_request_id,
                                         1,
                                         instr(p_request_id, ':') - 1));
      v_document_num := substr(p_request_id,
                               instr(p_request_id, ':') + 1,
                               length(p_request_id) - 2);
      OPEN get_output_file(v_conc_req_id);
      FETCH get_output_file
        INTO v_out_file_name, v_conc_prog_name;
      CLOSE get_output_file;
      v_out_file_name := substr(v_out_file_name,
                                instr(v_out_file_name, '/', -1) + 1);
      v_file_name     := to_char(v_document_num) || '-Previous_PO_Rev.pdf';
      utl_file.fcopy(src_location  => 'APPS_OUT_DIR',
                     src_filename  => v_out_file_name,
                     dest_location => 'PO_DATA_DIR',
                     dest_filename => v_file_name);
      --  v_lob_id := to_number(v_document_id);
      v_file_on_os := bfilename('PO_DATA_DIR', v_file_name);
      dbms_lob.createtemporary(v_temp_lob, cache => FALSE);
      dbms_lob.fileopen(v_file_on_os, dbms_lob.file_readonly);
      dbms_lob.loadblobfromfile(dest_lob    => v_temp_lob,
                                src_bfile   => v_file_on_os,
                                amount      => dbms_lob.getlength(v_file_on_os),
                                dest_offset => v_dest_offset,
                                src_offset  => v_src_offset);
      dbms_lob.fileclose(v_file_on_os);
      p_document_type := 'application/pdf;name=' || v_file_name;
      dbms_lob.copy(p_document, v_temp_lob, dbms_lob.getlength(v_temp_lob));
    EXCEPTION
      WHEN OTHERS THEN
        wf_core.CONTEXT('ZZ_PO_REQAPPROVAL_INIT1',
                        'xx_notif_attachments',
                        v_document_num,
                        p_request_id);
        RAISE;
    END xx_notif_attachments;
    Please help me find a to the above mentioned error.
    Thanks,
    Suvigya

    There are two ways to look at what error the PLSQLBLOB API is throwing.
    1) Call your PLSQLBLOB API GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment directly from a PLSQL block and verify that it returns the BLOB data successfully.
    You could also call another WF API that in turn executes the PLSQLBLOB API internally. For example,
    <pre>
    declare
    l_document blob;
    l_doctype varchar2(240);
    l_aname varchar2(90);
    begin
    dbms_lob.CreateTemporary(l_document, true, dbms_lob.Session);
    -- 207046 - This is the notification id of your failed workflow
    -- PO_REPORT - Document type attribute
    -- 'text/html' - Content Type being generated for
    Wf_Notification.GetAttrBLOB(207046, 'PO_REPORT', 'text/html', l_document, l_doctype, l_aname);
    -- Print the size of the document here to verify it was fetched correctly
    end;
    </pre>
    2) Turn on log for SYSADMIN user with following attributes.
    Log Enabled = TRUE
    Log Level = ERROR
    Log Module = wf.plsql%
    Restart the Workflow Deferred Agent Listener and Workflow Notification Deferred Agent Listener and run your workflow process. Search for log messages written for above context and you can identify the error at wf.plsql.WF_XML.GetAttachment module with message starting as "Error when getting BLOB attachment ->"
    Hope this helps.
    Vijay

  • Output of the concurrent program in PDF - Reg

    Hi All,
    I have a requirement wherein i have to get the output of the concurrent program as a pdf file.
    I'm using the report file (.rdf) as the executable.
    When I'm giving the output as PDF in program definition, it errors out.
    The report is very complex and using XML publisher for getting a PDF output will be tedious one.
    Any pointers or tutorials will be of great help.
    Regards,
    Mohan

    Hi,
    "Program was terminated by signal 11
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request ********.
    Review your concurrent request log and/or report output file for more detailed information."
    The error message was not specific and i could not make out what it is.Please make sure that the DISPLAY is set properly as per (Note: 377748.1 - Postscript And PDF Reports Complete With 'Program Was Terminated By Signal 11'). Also, verify the value of Tk2Motif*fontMapCs as per (Note: 396336.1 - PDF Reports Fail With Program Was Terminated By Signal 11). Make sure you bounce the CM each time you do any modification.
    And regarding XML, can i get the PDF output from the concurrent program itself without using the XML publisher,by setting the output style as PDF??????Yes you can, create the concurrent program using reports builder and register it in the application with a PDF output format. If your database characterset is UTF8, then I believe you need to use XML publisher.
    Regards,
    Hussein

  • How to email a concurrent program output in PDF format?

    I have a XML report running as a concurrent program with PDF output. I need to automate the xml report to be emailed to a specific user as the concurrent manager runs with PDF output. I am using reports 6i and database 10g.
    Please help me.

    Hi
    Use following code in AfterReport trigger
    function AfterReport return boolean is
    BEGIN
    SRW.USER_EXIT(’FND SRWEXIT’);
    DECLARE
    vinhandle UTL_FILE.file_type;
    rfile RAW (32767);
    flen NUMBER;
    bsize NUMBER;
    ex BOOLEAN;
    vrec VARCHAR2 (30) := ‘[email protected]’; –receiver’s email id
    vsender VARCHAR2 (30) := ’[email protected]’; –sender’s email id
    vsubj VARCHAR2 (50) := ’subject’; –subject
    vmesg VARCHAR2 (4000);
    vmtype VARCHAR2 (30) := ‘text/plain; charset=us-ascii’;
    BEGIN
    vmesg := ‘Please print and complete attachment’; –message
    UTL_FILE.fgetattr (’CTEMP’, –name of the directory
    ‘o’ || :p_conc_request_id || ‘.out’, –name of the file
    ex,
    flen,
    bsize
    vinhandle :=
    UTL_FILE.fopen (’CTEMP’, ‘o’ || :p_conc_request_id || ‘.out’,'R’);
    UTL_FILE.get_raw (vinhandle, rfile, flen);
    UTL_FILE.fclose (vinhandle);
    utl_mail.send_attach_raw (sender => vsender
    ,recipients => vrec
    ,subject => vsubj
    ,MESSAGE => vmesg
    ,attachment => rfile
    ,att_inline => FALSE
    ,att_filename => ‘o’|| :p_conc_request_id|| ‘.out’
    – CTEMP is a directory with path as $APPLCSF/out or your custom out folder
    END;
    return (TRUE);
    end;
    Susheel

Maybe you are looking for