How to Read Attached Document In oracle apps.

Hi All,
how to read attached document in Oracle apps.
Select * from   fnd_attached_documents.
Regards,
Mohan Reddy

Hi Husseein,
how to read pdf file in blob data type column
i have tried below query but in this part utl_file.fopen asking directory name i don't have directory name.
could you give any another solution.
DECLARE
  l_file      UTL_FILE.FILE_TYPE;
  l_buffer    RAW(32767);
  l_amount    BINARY_INTEGER := 32767;
  l_pos       NUMBER := 1;
  l_blob      BLOB;
  l_blob_len  NUMBER;
BEGIN
  SELECT FILE_DATA
    INTO   l_blob
    FROM   fnd_lobs
     where file_name = 'est-1.pdf' and FILE_ID = 332810;
  l_blob_len := DBMS_LOB.getlength(l_blob);
  -- Open the destination file.
  l_file := UTL_FILE.fopen('IRB','STD_FlipBook_Religion2013.doc','wb',18306);  --(Here I don't have Directory name)
  DBMS_LOB.read(l_blob, l_amount, l_pos, l_buffer);
  UTL_FILE.put_raw(l_file, l_buffer, TRUE);
  l_pos := l_pos + l_amount;
  -- Close the file.
  UTL_FILE.fclose(l_file);
END;
Regards,
Mohan Reddy

Similar Messages

  • How to attach report in oracle apps

    I have good experince in oracle reports but now new in EBS 12. And very soon new reports will be developed. i am studying documentation of EBS since last week but still not able to know about
    1)How to attach report in oracle apps.
    2)How prameters should be defined
    3)What are the limitation for developing new reports for oracle apps

    could u post this in apps forum
    For stand alone reports check this
    http://www.alexyscorp.com/send_report_email.zip
    Message was edited by:
    Alex(AlexysCorp)

  • How to read word document in pl/sql

    How to read word document which is stored as BLOB column in table.
    I want to read it word by word.Please explain me how to raed using DBMS_lob
    package and substr,instr.

    You cannot. A Microsoft Word document is in a proprietary binary format. You cannot treat it as a text file and read "word-by-word" from it.
    As for examples - refer to the [url http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/toc.htm]Oracle® Database PL/SQL Packages and Types Reference manual. It describes DBMS_LOB and its usage in detail.

  • How to enable soa gateway in oracle apps r12?

    how to enable soa gateway in oracle apps r12?

    Installing Oracle E-Business Suite Integrated SOA Gateway, Release 12(Doc ID 556540.1)

  • How can i attach files in oracle applications

    Hi,
    How can i attach files in oracle applications ? Is there any thing like open dialogue box?
    krishna

    Hi Naveen,
    While I am searching for attaching files to oracle forms in forum, I found you. I have a question; probably you could help me out. I have a custom form which needs to have the facility to open the text files from C drive and load the data into Oracle tables.
    The custom form will be attached to Oracle apps responsibility... We are currently using forms6i.
    Could you help me out to open a dialog box which provides the users to open the text files from C drive when user clicks on a button
    I have attached d2kcomm and d2kwutil to the form. It complies at the form level
    but still it is not showing the dialog box.
    I would appreciate if you can help me in this regard.
    Thanks in Advance
    Ravi.
    Message was edited by:
    ravipampana

  • How to Transfer the Data from ORACLE APPS to SAP

    Hi Gurus,
    Here are my couple of quieries regarding Data Migration from Legacy(Oracle Apps) to SAP.
    1. How to link between Legacy system(ORACLE APPS) and SAP ?
    2. How to migrate the data from Oracle tables to SAP directly, instead of loading the flat files(.txt, .xls) ?
    Please respond to my queries ASAP.
    Thanks,
    SAPSURE.
    Edited by: sapsure on Sep 9, 2010 11:39 AM
    Edited by: sapsure on Sep 10, 2010 2:32 PM

    1. How to link between Legacy system(ORACLE APPS) and SAP ?
            If you have SAP PI in place then you can interact with oracle database tables directly from PI and then data can be posted to SAP transactions through IDocs/BAPIs.
            If you did not have SAP PI still you can do JDBC connection directly from ABAP program. Not sure about the exact steps check in forum.
    2. How to migrate the data from Oracle tables to SAP directly, instead of loading the flat files(.txt, .xls) ?
            If you want to directly post the data SAP transactions (I hope not directly to SAP tables) then connection needs to establish through ABAP program or Via. PI.
    Regards,

  • How to access virtual folder in oracle apps 11i?

    Hi,
    how to access virtual folder in oracle apps 11i?
    Version=11.5.10.2
    please help
    Thanks,

    I'd use BI Publisher (XML Publisher) Bursting.
    Regards,
    Gareth
    http://garethroberts.blogspot.com
    http://www.virtuate.com

  • How to read ibook documents in addobe reader

    how to read ibook documents in addobe reader

    Why not in iBooks?
    Do you need to edit?   Are they in PDF format? 
    (You have the option to email the PDF edit and then add back into iBooks, delete the previous version)

  • How to send bulk mail in oracle apps 11i with pdf/Xls attachment

    hi,
    how to send bulk emails in one go ( aprrox 150-200 emails in one go) with attachment pdf file in oracle apps 11i
    thanks

    I'd use BI Publisher (XML Publisher) Bursting.
    Regards,
    Gareth
    http://garethroberts.blogspot.com
    http://www.virtuate.com

  • How to attach report in oracle apps AR module

    i m new in Oracle Apps 12. please any body tell me how to attact new customised report in EBS 12.

    Dear
    1. place the .rdf file respective dir.
    2. create concurrent executable
    3. create concurrent program
    4. Assign it to request group of the said responsibility.
    done

  • How to start XML reports in Oracle Apps

    Hi All,
    As im new to develop XML reports in Oracle Apps. And Im used to develop oracle reports. But i have a new requirement came and i need to develop new XML reports.
    I am using windows please let me know any software to be installed and how to register the XML reports.
    1) how to create .rtf
    2) How to make columns mapping in rtf file.
    If any knows please let me know as it is bit urget for me.
    Im leaving in Duabi, if any is intrested to teach me i will join or pls let me know any instute
    Thanks,

    Assuming that you intend to create a layout template to use against an existing report, then you should start by changing the output type in the concurrent program definition to XML. You should then run the report and save the XML file output. This will form the start point for yout layout template.
    In order to create the layout template, you need to download the BI Publisher desktop. This is the add-in for Word which is used to build the template.
    When you have these tasks completed, you can open up Word and you will find you have some new menu options. Load the XML data you created in the first step, and you can build your template. You will also be able to preview the output from within Word.
    When you have completed the template, you need to go into XML Publisher responsibility. You should create a data definition which has a code the same as the concurrent program short name. This is the link between the template and the concurrent program.
    You then need to define a template for this data definition which will have the layout template uploaded.
    Having done this, switch to systeem administration responsibility, select the concurrent program menu entry and query back the program you are workin on. Click on the 'update' icon. You then need to click on the 'Onsite setting' tab. This allows you to attach the template to the program.
    Hope this helps.

  • How to deploy ADF applications in Oracle apps

    Hi,
    I just gone thru demos on ADF rich client applications using jdeveloper 11g.My doubt is how to deploy and use these from oracle apps.Is ADF supported in R12.If yes then could anybody provide me steps to deploy code at unix file system and how to create form functions for accessing jspx pages?
    I know that in OAF, we can deploy server components at $OA_java and PG.xml files using xml importer and we can create form functions for PG.xml files.Similarly what are the steps to deploy and access ADF applications thru oracle apps.
    Thanks,
    ashok

    ADF Rich Client Components need a newer server than the one that comes with Apps R12.
    So what you'll need to do is have a separate WebLogic 10.3 server where you deploy the ADF Rich Client Applications.
    You can call them from your Apps by customizing your current apps and adding a button or link that just calls the URL where your ADF apps are.

  • How do i attach documents to emails?

    when i am composing an email I do not have the option to attach documents.  How do I fix this?

    1. Open attachment and tap the box with the arrow (top right) and select Email-File
    http://i1224.photobucket.com/albums/ee374/Diavonex/f8af23b3.jpg
    2. Fill in the name (email address), title and body text
    http://i1224.photobucket.com/albums/ee374/Diavonex/dc616826.jpg
    3. Tap "Send"

  • How to read pdf document on my BB 9300

    anyone knows how to read or download a software for read pdf documents

    Hi and Welcome to the Forums!
    For the time that a PDF remains an email attachment, you can render it on the BB. Once detached or otherwise not an email attachment, the attachment service no comes into play...and you require a 3rd party app to render it. There are several. I suggest you search AppWorld and other search sources, compare the various alternatives, and select the one that best meets your needs. You will likely find the DataViz apps as well as BeamReader and perhaps others.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to delete a project in Oracle apps R12

    Hi
    OS RHEL 5.5
    Database 11.1.0.7
    Applications R12
    Initially I have created a project in oracle apps from wrong template and modified the template then created a project with the same modified template.
    Now the wrong project needs to be deleted so how to delete the project which had been created from wrong template in oracle apps R12 and integrated project with MSP.
    Both the wrong and correct projects are referring to the same template.
    Please help me to delete the project as it is done in production database.
    Rgrd
    Edited by: 955685 on Feb 4, 2013 8:10 AM

    955685 wrote:
    Hi
    OS RHEL 5.5
    Database 11.1.0.7
    Applications R12
    Initially I have created a project in oracle apps from wrong template and modified the template then created a project with the same modified template.
    Now the wrong project needs to be deleted so how to delete the project which had been created from wrong template in oracle apps R12 and integrated project with MSP.
    Both the wrong and correct projects are referring to the same template.
    Please help me to delete the project as it is done in production database.
    Rgrd
    Edited by: 955685 on Feb 4, 2013 8:10 AMPlease see these docs/links.
    Delete Project Functionality not Working [ID 1060648.1]
    PRC: Delete Project Performance Reporting Data Completes With Error ORA-12838 ORA-6512 [ID 748674.1]
    How Can the PA Period Type Be Changed if It Has Been Entered Incorrectly? [ID 881424.1]
    PAXPREPR Unable To Delete Project [ID 874642.1]
    http://www.oracle.com/pls/ebs121/search?word=Delete+AND+Project&format=ranked&remark=quick_search
    Thanks,
    Hussein

Maybe you are looking for