How to store the documents in database

Hi all
i have summary page
in that user will attch some documents
those documents i need to store in data base
is it posible in OAF
regards
Sreekanth

yes, you can store it as a LOB object.
Perform the following steps to implement the File Upload feature declaratively in an OA Extension page.
Step 1: Create a region in your page layout region, with the Form property set to true for the page layout.
Step 2: In the new region, create an item of item style messageFileUpload.
Step 3: In the OA Extension Property Inspector, set the following properties for the messageFileUpload item:
View Instance - A view object instance of the underlying data source.
View Attribute - A view attribute in the specified view object instance, that maps to the column for storing the file content.
Data Type - The Oracle data type of the view attribute. The BLOB data type is supported for File Upload. For example, if you set the data type to BLOB, the view attribute must map to a column whose data type is also BLOB.
Note: The data type must be set to the same data type as the column that the view attribute maps to, otherwise an error occurs when the user attempts to commit the file upload.
Note: If you set Data Type to BLOB and you store your file content in FND_LOBS, be sure to populate the column FILE_CONTENT_TYPE (File MIME Type). Since FILE_CONTENT_TYPE is a non-null column, you will encounter an error is this
column is not populated. Refer to the oracle.apps.fnd.framework.webui.beans.message.OAMessageFileUploadBean Javadoc for additional information.
Prompt - The text label for the File Upload feature
--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to maintain the documents like PDF, EXCEL and WORD in database

    Hi,
    I am working on UI, I am tracking the COREMODS data using this UI. My requirement is need to maintain the related documents also in database using this UI. I think SLM system have that functionality. If any one know about this functionality, explain about
    How to upload the documents into database.
    How to maintain this documents in database.
    Is there any standard methods/function modules to upload this documents ( I am not asking about content of document, I am expecting about total file).
    i.e. I want to maintain the all core mod related test cases and other documents in SAP database.
    How to handle this functionality?
    Rayudu

    hi,
    There is a Utility in SAP called Easy DMS.
    Here you can create folders, maintain authorisations and store your documents.
    Hope this is wht u r looking for.
    Reg,
    Raj

  • How to upload the documents like PDF, EXCEL and WORD

    Hi,
    I am working on UI, I am tracking the COREMODS data using this UI. My requirement is need to maintain the related documents also in database using this UI. I think SLM system have that functionality. If any one know about this functionality, explain about
    How to upload the documents into database.
    How to maintain this documents in database.
    Is there any standard methods/function modules to upload this documents ( I am not asking about content of document, I am expecting about total file).
    i.e. I want to maintain the all core mod related test cases and other documents in SAP database.
    How to handle this functionality?        
    Rayudu

    Hi Rayudu,
    For office documents we can use [Business Document Service|http://help.sap.com/saphelp_nw70/helpdata/EN/3d/90a9371c726343e10000009b38f842/frameset.htm]
    Cheers,
    Jose.

  • Chat App: how to store the user IP in database when they login.

    hello,
    i am working on chat application. first i made a login GUI form. after login when we run the Chat program, it ask the ip address of the server to whom it want to connect. and if u enter the ip address, it will connect to the server and chat will begin, thats working perfect.
    but i want to show the list of users who r logged on and when i simply click on the user name, chat should begin.
    i have the logic that when any user log in, then its IP address will be stored in the database. this ip address will shown to the online users.
    but i dont know how to store the user information in database when they log in. can any body suggest me wht lines of code i should use.
    thanks.

    palakk wrote:
    i have the logic that when any user log in, then its IP address will be stored in the database. Bad approach. That will only work if this chat is only intended for use on a LAN. If it's used on the internet, then your users' IP addresses will almost always be either a) those of their routers, or b) private IP addresses, and in both cases, multiple users can have the same IP address.
    this ip address will shown to the online users. Why would you want to do that? I want to chat with "Bill", not with "1.2.3.4".
    but i dont know how to store the user information in database when they log in.Do the same thing that you're currently doing to store the IP address, but with the other information you want to store.
    can any body suggest me wht lines of code i should use. This is not a code writing service.

  • How to attach the documents.

    Hello Gurus,
    My requirement is only attach the pdf documents but do not allow the remaining documents like msword,excel ....in custom page.
    please tell me any idea and give me sample code.Is it possible to attach only pdf.
    Thanks,
    Kumar.

    Hi Jyothi,
    I want store in database column,what ever to upload the file to store in the database column.
    Bust i take database column type is BLOB but i am not getting the data in this column and also i checked in fnd_lobs.Please tell me how to store the file in to database.
    I have one more doubt,i want allow only pdf files and restirct to other files.Is it possible to upload only pdf?
    Please send me any sample code..
    Thanks,
    kumar.

  • How to store España in database (in a column of a table)

    Could you please tell me how to store España in database (in a column of a table).
    regards

    Generally speaking you'll need a character set that can support the characters you require.
    Here is a link to the supported character sets in 10.2.x.x:
    [Character Sets|http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/applocaledata.htm#i635016]

  • How to store the images in Oracle?

    Hi,
    I am a new developer, trying to find out how to store the images in Oracle. Is there anyway that I can store the images in Oracle and insert them into my html file?
    Thanks!
    Sarah

    There is a simple image example available from OTN.
    From the OTN main page, go to Products --> interMedia --> Sample Code. The name of the example is "Load rich media content with a browser."
    This example loads and retrieves an image from an Oracle8i database through a web page using the Oracle interMedia Web Agent.
    Hope this helps.
    null

  • How to store an image into database table

    Hi
    Can anyone tell me the way, how to store an image into database table.

    Hello,
    May be this thread will help you in your requirement.
    [FM for uploading Image to SAP;
    Thanks,
    Jayant

  • Store the values in database

    can anyone let me know how to store the values when enter the button in mysql database by using java flex
    <?xml version="1.0" encoding="utf-8"?><mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent; 
    import mx.controls.Alert; 
    import mx.managers.PopUpManager; 
    import mx.collections.ArrayCollection; 
    private function empLogin():void {lm.Login(txt_empid.text, txt_empname.text, txt_empadd.text);
    private function resLogin(event:ResultEvent):void { 
    var res:String = event.result as String;Alert.show(res);
    ]]>
    </mx:Script>
    <mx:RemoteObject id="lm" destination="logMod">
    <mx:method name="Login" result="resLogin(event)" />
    </mx:RemoteObject>
    <mx:Panel x="46" y="44" width="358" height="271" layout="absolute">
    <mx:title><![CDATA[ EMPLOYEE DETAILS]]></mx:title>
    <mx:Label x="10" y="25" text="Emp_Id" width="84" id="lbl_empid" enabled="true"/>
    <mx:TextInput x="151" y="23" id="txt_empid" displayAsPassword="false" editable="true" enabled="true"/>
    <mx:Label x="10" y="78" text="Emp_Name" width="98" id="lbl_empname" enabled="true"/>
    <mx:TextInput x="151" y="76" id="txt_empname" displayAsPassword="false" editable="true" enabled="true"/>
    <mx:Label x="10" y="134" text="Emp_Address" width="84" id="lbl_empadd" enabled="true"/>
    <mx:TextInput x="151" y="132" id="txt_empadd" displayAsPassword="false" editable="true" enabled="true"/>
    <mx:Button x="136" y="182" label="Submit" id="but_sub" enabled="true" click="empLogin()"/>
    </mx:Panel>
     </mx:Application> 
    thanks&regards
    sonu

    referr:
    http://www.adobe.com/devnet/flex/articles/flex_and_java.html
    http://www.adobe.com/devnet/livecycle/articles/blazeds_testdrive.html

  • How to Find the number of Databases in a server.

    HI,
    Please tell me how to find the number of Databases are in a server . when the DB is not up.
    ps -ef | grep ora_
    This i know whether our DB is up or not. But i want to know how many databases are in a server .If the database is down .
    Cheers,
    Gobi.

    Hi,
    [oracle@oralinux admin]$ lsnrctl status
    LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 01-DEC-2006 16:25:41
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    TNS-01169: The listener has not recognized the password
    [oracle@oralinux admin]$
    Plz give me the solution.
    Cheers ,
    Gobi.

  • How to store the output of a analog to digital converter into an 2D array

    Hi
    I am doing my M.Tech Thesis in Image reconstruction and I am using labview for simulation and I want to know how to store the output of a analog to digital converter into an 2D labview array.

    nitinkajay wrote:
    I want to know how to store the output of a analog to digital converter into an 2D labview array.
    How exactly are you performing 'Analog to Digital'???
    Grabbing image using camera OR performing data acquisition using DAQ card OR some other way????
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How to change the document type while creating a PO by ME59N

    Hi,
    I  have 2 groups of PR's, for group one the document type is picked as NB and PO is created and for the group 2 it should pick as XYZ and PO should be created using ME59N tcode.
    How to change the document type for group 2 in ME59N? Which user exists to use to change the document type while creating PO in ME59N? 
    Can any one suggest me.

    Hi,
    There a config area, where you can define default PO doc types for a particular Pr doc type. If you maintain the settings properly there, then your requirement can be fulfilled.
    SPRO->IMG->MM->Purchasing->Purchase requisation->Define doc types.
    This will serve your purpose.
    Thanks,
    Srinu

  • Hi, I'm working on a document in PAges 09. Any idea on how to change the document color? I want it black instead of white.

    Hi, I'm working on a document in PAges 09. Any idea on how to change the document color? I want it black instead of white.

    Nichelle,
    You must add your own background object, and then make it Black.
    Insert > Shape > Rectangle
    In the Wrap Inspector, set to Floating.
    In the Graphic Inspector, set Stroke to None and set Fill to Black.
    Grab the corners of the document and stretch the document to cover the entire page.
    Back in the Wrap Inspector select "In Background".
    Format > Advanced > Move Object to Section Master.
    Regards,
    Jerry

  • How to get the "Document Info" in illustrator

    In illustrator using "Document Info" we can get the file information. Like that how to get the document information using script. Anyone please help me.
    Regards,
    Prabudass

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • How to store the images in tables

    how to store the images in tables .what is the use of "clob ,blob"

    Using with the CLOB or BLOB, you can store the images in the table.
    Srini C

Maybe you are looking for

  • Error 1034 when trying to save.

    I was going to post this in the Bug Report form but Adobe Muse isn't listed. The error is simple, when I attempt to save my progress, I get this error. "Error #1034:cannot convert...." as pictured below. After clicking OK the program crashes. When I

  • How to use the cases in button action?

    Hi Experts, I want to get a prompt message if the field is empty.I got it but at the same time if the field is filled I want the other action to be performed that is to call a BAPI and give me output.How can I give two events for the same action. How

  • Send email to a list of users in the form

    Hello, I have a simple process that the user fill and submit the form  to route to the manager for approval. The form does contain a list of names on it and I would like to send email to these names and I've tried the Find Users or Send Email but it

  • Maintaining Application level values

    Hi all,      I have a doubt regarding maintaining Application level data in webdynpro application. If two concurrent users accessing the same webdynpro application if one user changes some data it should be reflected to other user also. This is my re

  • T410 - Can not use mute and volume button.

    Dear all I have a Think pad T410. The Mute and Volume button can not work when the Windows Vista is fully loaded. But it works in following case: - On Ubuntu - When Windows Vista is still loading. I guess it's conflict with some of Thinkpad Driver or