Attachment table

Hi, all.
I'm affording the issue with our architectural flow about an external procedure that wants to load an attachment without using our standard attachment page we have developed.
I know the attachments are managed by an internal table of the system.
I would like to know whether or not I can use some APIs to put some PDF files directly in this table.
What's the name of this table?
What's the schema?
Is it dangerous to put the attachment without an attachment-enabled region?
Thank you very much
Vincenzo

You can directly put attachments in internal attachments table.
You can get the required methods in file oracle.apps.fnd.framework.server.OAAttachmentServerUtils.java
The tables being used are :
Fnd_Attached_Documents
Fnd_documents_vl
fnd_lobs_vl
fnd_documents_short_text
Thanks,
Deepak

Similar Messages

  • Attachment table in framework

    I am using attachment table in oracle framework and I get the folllowing error:
    INSERT INTO FND_LOBS(FILE_ID,FILE_NAME,FILE_CONTENT_TYPE,FILE_DATA,FILE_FORMAT) VALUES (:1,:2,:3,:4,:5)".
    domain index is marked LOADING/FAILED/UNUSABLE
    can any one help with this error?

    Hi,
    Try this:
    1) Run this select statement-
    SELECT *
    FROM user_indexes
    WHERE index_type LIKE '%DOMAIN%'
    AND (domidx_status <> 'VALID' OR domidx_opstatus <> 'VALID');
    2)If you find any result for this query, fix those indexes using this-
    alter index indexname rebuild;
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to show other datatypes in attachment table

    Currently, when the attachment table bean (OAAttachmentTableBean) is added to a page, it is hard-coded to only show attachments with a datatype_id of 1,2,5, or 6. These values correspond to the FND_DOCUMENT_DATATYPE rows for
    1 - short text
    2 - long text
    5 - web page
    6 - file
    We would like to extend this view so that we can see other (user-defined) datatypes in the region. It appears that the hard-coded where clause for the attachment regions includes the following clause:
    and datatype_id in (6,2,1,5)
    This where clause is added to the view FndAttachedDocumentsDomExtensionVO at runtime. The controller class is oracle.apps.ak.attach.webui.AkAttachmentListCO. At runtime AkAttachmentListCO.processRequest calls AkAttachmentHolderCO to build the where clause. This class has 2 methods (one for AK framework, one for MDS migrated modules) which actually create the where clause:
    initAkAttachmentsVO calls FndDocumentsVlVOImpl.class (for AK based pages)
    initMDSAttachmentVOs calls OAAttachmentUtils.buildWhereClauseForAttachmentVO (for MDS repository based pages).
    Is there any easy way to extend this region to allow additional attachment datatypes? The prospect of extending the controller class and then digging down to this level does not seem desirable.
    Also, is there any way to hide individual columns in the Attachments Table region? I have not had any success with overriding the controller class and getting a handle to the actual attachment table item.
    Thanks in advance,
    Ed

    Hi Manmath,
    Unfortunately, XL Reporter cannot pull data from a user-defined table in to a report. Your only option is to use the built-in features of Excel itself to get the data. Excel can pull data in to a spreadsheet using a database connection (eg OLE DB or ODBC) or, if you are familiar with programming Excel using the VBA interface, you can use VBA to open a database connection and pull extra data in to a report.
    Kind Regards,
    Owen

  • OAF Attachment Table is not visible

    Hi Experts,
    I am trying to add the standard attachment region to a page. Have created Attachment Region using Personalization and
    Entity name : custom entity name
    View : Standard VO used in the page
    Primary Key : Unique column from the VO
    When I added the attachment table, the table is not appearing in the page, only the Text given while creating the Attachment Table item is being shown.
    The page is:
    Sourcing -> RFI -> Online Discussions -> Create New Message
    The strange thing is if I give any other (validation VO or summary VO) then the Attachment Table is appearing, but I can not use them because they don't have the primary key columns.
    Could you help me in finding the issue. Thanks in advance.
    Regards,
    Pavani

    Hi,
    *Entered a unique value for entity in entity map
    How did you accomplished this task ?
    have you creates a entity using AK HTML Forms responsibilty ,check FND_DOCUMENT_ENTITIES table whether your entity exists or not ?
    More details can sought in Jdev guide .
    Also if attachement not to be added as column in table , use attachment link instead of attachment table
    Thanks,
    Ashish

  • MS Access attach table error after migration

    I ran the MS Access Migration Wizard 1.5.4 to convert an Access
    97 Database to Oracle 7.3.3 (soon to be 7.3.4).
    Everthing seemed to go ok, the mdb file shows the local and
    remote attached tables, the queries are present etc. Also the
    ODBC link is fine within the mdb file, in that I can browse the
    data on the Oracle database.
    However when I start the MS Access application which is in an
    mde file, I get the following error :
    modRefresh AttachTables Error: The Microsoft Jet database engine
    cannot find the input table or query 'tablename'. Make sure it
    exists
    and that its name is spelled correctly. (3078)
    The application continues to work fine if I put the original mdb
    file back.
    Is anybody able to help identify what the problem is or how to
    turn on some debugging that might help. Any help appreciated as
    I don't have a lot of experience with Access.
    Thanks,
    Mike.
    null

    Mike,
    The Migration Wizard only supports one level of linked
    tables.
    Regards,
    Marie
    Robert R. Wagner (guest) wrote:
    : Mike:
    : I'm pretty new to the business of migrating data from Access 97
    : to Oracle, but I'm pretty sure that we need to give up using
    : linked tables when we do this. This was a (wonderful) benefit
    of
    : the Jet Engine.
    : I'm now looking at using ADO and OLE-DB with the (eventually to
    : be) migrated data. It's a whole new learning curve to climb!
    : Cheers >>>>>> Robert
    : Mike Connell (guest) wrote:
    : : I have now realised the error is because Access doesn't seem
    : to
    : : support linking to already linked tables.
    : : That is the mde file is running via linked tables to the mdb
    : : file. If the tables in the mdb are renamed and replaced by
    : : queries to new tables linked to an Oracle database, the mde
    : : fails to find the tables it expects to use.
    : : If anybody knows a workaround for running Access to allow
    more
    : : than one level of table linking, then please let me know.
    : : Thanks,
    : : Mike Connell
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Attachment table not visible

    Hi, all.
    I put an "Attachment Table" item in my page and I notice that:
    when I create a new record in the table where there is the declared attachment entity and
    the primary key that links the attachment record, the attachment table works fine;
    if I dsconnect from EBS and re-connect looking for the same record, the layout of the page
    does not render any attachment table and the attachment header is shown alone.
    In the FND_DOCUMENT table I see correctly all attachments related to that primary key.
    What happens?
    Thank you
    Regards
    -- Vincenzo

    Hi, all.
    I solved myself the problem.
    Sorry, but I set the wrong VO for the attachment table. Now, it works.
    Thank you
    Bye
    Vincenzo

  • Attachment Table - Primary Key in CO

    How can I add dynamically the primary key VALUE to an attachment table in CO processRequest??
    Thanks!
    Edited by: user12190100 on Apr 12, 2010 1:43 PM

    Yes Fact Table can have a Primary key
    But in your case it looks like the Other Table which is storing Day to Day transaction should be made FACT , and the one you are calling FACT should be made Dimension..
    Well depends again, how you are analysing data and against which attributes
    Thanks
    Ashish

  • Limit File Type and file size in attachment table.

    Dear All,
    I want to limit file type like .jpg,.mpgv files while ataching files in attachment table in oracle apps. Also want to limit file size.
    Please help.
    Thanks

    Refer below link regd implementing file upload:
    File Upload
    We can get file type using
    DataObject fileUploadData =
    (DataObject)pageContext.getNamedDataObject("fileInput2");
    //here OAFileUploadBean is "fileInput2"
    String contentType = fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    Based on this file type write your login in processFormRequest.
    Will let you know if I find anything about size also.
    -Anand

  • How to implement attachment table in create page

    Hi
    I tried to add an attachment table in create page,but the table is not appearing.
    Is it because that the primary key attribute mapped to attachment table is committed only after clicking submit button in create page?.
    I am using a sequence for primary key.
    Thanks,
    Sridharan

    Hi ,
    Please see following post in forum
    Attachment table is not appearing in the page.
    Thanks ,
    Ashish

  • Attachment Table Data loss

    Hi all,
    I have a create page with a header information and 5 line table. I want to add an attachment table and use standard FND tables for them.
    User fills out some information in the page. This means that I have an open transaction and my view objects are dirty. However the data is lost when i navigate to the attachment page (add attachment) and return back (cancel or apply) to my create page which still has an open transaction. It is still unsolved even I set automatic save to true which is a thing that i dont want. I want to commit the attachments with my custom create page apply button.
    Really need help about this issue. Our development is stopped due to this problem.
    EBS Version: 12.1.3
    JDeveloper: 10.1.3
    Regards,
    Anil.

    Hi,
    It doesn't work. Besides I need to use Attachment table not attachment image.
    When i add an attachment table to a standard page, it is working properly. However If i add to my custom page, my data is lost when i come back from attachment page.
    Really need help about this issue.
    Regards,
    Anil.

  • Disable delete icon in attachment table row in OAF

    Hi,
    I want to disable the Delete Icon in the attachments table in OAF Standard page. If the value in Title of that attachment row is "Requisition" the Delete Icon of that row should be disabled.
    It the Title is anything else then the Delete Icon should be enabled. Please let me know how to achieve this.
    Basically, if the Title is "Requisition", users should not be able to delete that attachment.
    Thanks,
    Srikanth

    Hi,
    check the program name for the transaction and create a screen exit for the same.
    Also u can go for copying the code in customer namespace and then add ur own functionality to dactivate or remove the delete function.
    Pls reward points for the answer.
    Regards,
    Ameet

  • How to attach table type value set to LOV of oaf page

    Hi everyone,
    There is a valueset created in the front end say xx_ap_valueset which is of table type and created on a table xx_ap_table having some where cluase and order by clause.
    Is there a way we can attach this value set to a LOV of oaf page? or is it just that i need to create a vo and replicate the select statement used in the valueset.
    Please help!
    Thanks
    Sunny

    Sunny,
    You cannot attach the Valueset to the Lov directly. You need to create a VO for that.
    Regards,
    Gyan

  • Workflow attachment table

    Dear expert,
    Anyone of you know what is the name of the table that store workflow attachment?
    Thanks.
    Regards,
    Bryan

    Hello,
    I mean (and this is the case all over SAP) that names of tables can change, things can be stored in different areas, from version to version. That's why it's better to use the SAP-standard functions because then they'll update them between versions and you don't have to.
    regards
    Rick Bakker
    Hanabi Technology

  • ME53N Purchase Requisition attachment tables

    Hi,
    Good day guys
    I got a doubt on ME53n[Purchase Requisition ]. we got  icon  for services for  object. If you click it then its show the tab where and which can create the ATTACHMENTS LIST  or else Create the Attachment.
    I want know the which Tables are storing the attchment document ?
    REgards
    KK

    Hi All,
    I got the solution.
    We can use function module ARCHIV_GET_CONNECTIONS which gives the list of attachments.
    We just need to pass PR Number as OBJECT_ID. The table  CONNECTIONS will populate with the list of attachment.
    Please refer below snapshot.
    The count variable also gives the the number attachment in PR and I_connection internal table gives list of attachment in details with type of attachments.

  • Exception while uploading certain files using Attachment Table.

    Hi,
    I have a very peculiar problem. We have implemented an AttachmentTable functionality in on our pages. It supposed to allow the user to attach either a text, URL or a File. The implementation works perfectly except for the cases mentioned below.
    Whenever, I try to upload some specific files, the system crashes and either gives a ArrayIndexOutOfBounds exception or shows Page cannot be displayed. This is only for some specific files. Most files work perfectly. This happens only in the server, doesnt happen in local. The problem is not with the size either, as I have uploaded bigger files successfully. Although, I did not develop the page, I have been informed that there is no customization. All the functionality is implemented the way it is described in the user guide.
    So, are there any known issues with the Attachment functionality? Has any come across anything like this? I did a very thorough search of the forum before posting, but if I have missed any existing thread about this, please point out.
    Any help would be greatly appreciated.
    Thanks.

    As you are saying This is only for some specific files. if you give any idea about files behaviour then it help us to give solution. Check by uploading same file with rename it.
    Thanks

Maybe you are looking for

  • App Store Is Not Working ??? plz help

    Hey guys I updated my iPod (4th generation) to iOS6.1.2 about 2 weeks ago but suddenly yesterday my App Store stopped working. When I open it it's all blank in features,search,etc?? Plz help how can I make my App Store work ??

  • Transformation Step to Implement 1:n Splitting

    Hi, How should i design a message mapping for use in the Transformation step of BPM to split a message into multiple messages? The occurances of my source msg root node is 0-1. The occurances of its immediate child node (say, <b>BASE</b>) is 0-unboun

  • The headers of the frameworks disappear when I update to OS Maverick.

    I have been working with some Bluetooth low energy applications so I am using IOBluetooth framework. Normally this framework is located in /System/Library/Frameworks and It has a folder call Headers with all the .h files. I need this folder because I

  • Insert Art into the Picture control using AGM and ADM

    Hello. I need to get selected art and display it on the User Interface Picture control. What I already did: void ASAPI my_inDrawProc( ADMItemRef item, ADMDrawerRef inDrawer) { AIArtHandle **artStore = NULL; long artCount = 0; AIRealRect bounds; sAIMa

  • Netbeans 6.9.1 'cannot start java.exe'

    Hello, I've installed the JDK and then Netbeans 6.9.1 (Windows 7). When I try to run a JavaFX application, it fails ( saying 'cannot start java.exe' ). Just found [http://www.netbeans-forum.de/viewtopic.php?f=9&t=4220|http://www.netbeans-forum.de/vie