Storing Attachments in R/3

Hello,
I am using the following blog to store Attachments in R/3 :
/people/raja.thangamani/blog/2007/06/27/organize-your-business-attachments-from-web
and able to store/retrieve Attachments on Portal. But when i try to open a document of type .doc or .xls in Portal it opens in a new window and then closes automatically in one second. The same document when i open in R/3 Transaction OAOR it works fine.
Although when I open a document of type PDF in Portal or R/3 it works fine. What can cause this.
Any help would be highly appreciated.
Regards,
Anil

Hi
change the code   : WDFileDownloadBehaviour.OPEN_INPLACE.ordinal());  to WDWebResourceType.PDF or WDWebResourceType.DOC (select the appropriate form given options)
See the point number 10 . in the same document .
Best Regards
Satish Kumar

Similar Messages

  • Storing attachments in UCM vs securefiles

    Hi all,
    As part of our development, we are exploring different ways of storing attachments. Our first place was UCM. But on reading more, we find that the Oracle 11g feature of secureFiles is a good option as well.
    I also read that UCM itself has an option of storing files in secureFiles. But I would like to know the pros & cons of using UCM over secureFiles.
    Thanks,
    Srini

    Hi Srini,
    in a nutshell: SecureFiles is a feature of Oracle Database, whilst Oracle UCM (now, WbCenter Content) is a fusion middleware product deployed on an application server, which can expose SecureFiles.
    Cons (UCM vs. DB) - you need a license of UCM; UCM is currently supported only on Weblogic Server; if you speak to db admins they will prefer a "database-like" solution; UCM is another server
    Pros (UCM vs DB) - as a middleware product, UCM can seamlessly integrate to enterprise architecture; you posted to Webcenter Portal forum and mentioned "attachments" (which could imply that you want to use WebCenter Application Adapters) - UCM is pre-integrated with both Webcenter Portal and Oracle apps; UCM is, of course, much more feature-rich than SecureFiles (even though if all you want is to store data, SecureFiles might be sufficient); UCM is included in other product's licenses (in restricted mode - e.g. Webcenter Portal contains it)
    If you want a deeper insight, please, share what your use case is.
    Jiri

  • Storing attachments outside the database..??

    Hi All,
    We are working on R12.1.3 ,OEL 5.4.
    My client wants to store the Ebs attachments on to the local file system rather than the database...!!!!
    Is it possible to store the FND_LOB attachments to local disk...?
    Please guide me...!
    Thanks
    RB
    Edited by: R12DBA on Nov 14, 2010 7:47 AM

    I do not know of a way of doing so using base functionality. One way would be to use a custom table that is externally defined, but this would mean a lot of custom code being written and maintained.
    The space will be taken up regardless of where the files are stored - on the filesystem or the database. In addition, file stored on the filesystem are susceptible to possible virus attacks, while data in the database is not.
    HTH
    Srini

  • Email Receiver: how to get the names of stored attachments?

    Hi,
    I hate to spam this forum. But I'm in desperate need of the names of attachments, the email receiver QPAC receives.
    If I select a list variable for the email receiver to store all attachments received into, all filenames appear to be lost. Also the MIME-types appear to be lost. Which is not big a problem, since I may use javax.activation in order to identify the MIME-type of any fileinputstream. But sometimes, I am unable to correctly identify the MIME-type. Then I need to fall back on the file's original name.
    So the simple question is: how do I get the 'filename' attribute of org.idp.Document objects instantiated by email receiver QPAC?
    Did anyone ever do that?
    Regards,
    Steve

    Hi Diana,
    1) I used the XPath expression indicated in the screenshot below. It resulted in the process variable
    filename being
    NULL.
    2) I using the following Java-Code in a scripting QPAC:
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.Set;
    ArrayList list = patExecContext.getProcessDataListValue("/process_data/attachments");
    System.out.println("[TEST] num attachments: "+ list.size());
    for (Iterator it = list.iterator(); it.hasNext(); ){
    com.adobe.idp.Document doc = (com.adobe.idp.Document)it.next();
    System.out.println("[TEST] attachment #1, filename: '"+ doc.getFile().getName() +"'");
           System.out.println("[TEST] attachment #1, filename-attribute: '"+ doc.getAttribute("wsfilename") +"'");
            System.out.println("[TEST] attachment #1, file size: '"+ doc.length() +"'");
           System.out.println("[TEST] attachment #1, content-type: "+ doc.getContentType());
      Set attributeList = doc.listAttributes();
    System.out.println("[TEST] num attributes: "+ attributeList.size());
      for (Iterator attributeIter = attributeList.iterator(); attributeIter.hasNext();){
      String attribute = (String)attributeIter.next();
      System.out.println("[TEST] attribute found: "+ attribute);
    Its output in the logfile was the following:
    [STDOUT] [TEST] num attachments: 1
    [STDOUT] [TEST] attachment #1, filename: '646834941068179579'
    [STDOUT] [TEST] attachment #1, filename-attribute: 'null'
    [STDOUT] [TEST] attachment #1, file size: '14624'
    [STDOUT] [TEST] attachment #1, content-type: null
    [STDOUT] [TEST] num attributes: 0
    Is there something I did wrong?
    Or is it even possible that the Email Receiver does not care about attributes of attachments?
    Regards,
    Steve

  • Storing Attachments for Purchasing Documents

    Standard SAP functionality for purchasing document attachments stores the files on the SAP Database (for both SRM and ECC).
    /cisap/edoc/<SYSID>/<filename>
    SAP does not appear to provide a straight forward way to configure a different storage location on a file server. Post go live, and before space runs out in the database, a new approach will have to be implemented for the physical storage location of purchasing document attachments.
    MY Client would prefer to store these attachments on a file server.
    Please suggest me how to do it,
    Thanks & Regards
    Sada

    Cancelled.

  • Where are stored attachments in guided procedures process??

    Any one knows?

    Hi Julio,
    The history of the process is not lost after the process is finished. You can see the process instances at NWA->Availability and Performance Management->Process Monitoring->Guided Procedures->Process Instances Tab.
    Here you can Search the Process running/completed/terminated/erroneous/archived Instances based on Initiator/Administrator/Owner/Overrseer userid forlast week/last month/last year/At any Time etc. In the result that you get after search, you can see all the data for each process task. You can see Input Context,Output Context, Processor,Attachment etc.
    Also on the main page for this screen, there are few other tabs which can give you other information about the Process/Process templated and other GP objects.
    Regards,
    Ajay

  • In MIRO transaction, Where will be the image path get stored?

    Dear Friends,
    In MIRO transaction, Where will be the image path get stored?
    There must be some standard tables/functionality which is maintaining PATH. Please help me to find out the Document Path Details..
    Thanks in Advance.
    Regards,
    Lijo

    Hi,
    this is the content of the oss note (hope it helps):
    Symptom
    Where are the documents that you can create and display using the generic object services (System -> Connections or System -> 'Services for the object') physically stored?
    Solution
    Storing attachments using generic services
    The generic object services offer a separate option via the 'Copy desktop document', 'Connect Internet address (URL)' and 'Create a note' services to add an attachment to a business document.As of Release 4.6C, these services are called 'Create attachment', 'Create an external document (URL)' and 'Create a note'.
    These services should enable the end user to easily enter attachments without document characters (memos).Correspondingly, there is no archiving concept for this type of attachment.
    Technically speaking, notes, PC attachments and URLs are treated as SAPoffice documents and result in corresponding entries in the SOOD and SOFM tables. The contents of the attachments are stored in the SOC3 table.As of Release 4.6B, the contents of PC attachments are stored using the Knowledge Provider (KPro).The KPro allows you to connect an external storage system so that the contents of the PC attachments no longer place a burden on the database. If an external storage system is not connected, the contents of the PC attachments are written to the SOFFCONT1 table as of Release 4.6B.The administrative information necessary to locate the document in the Kpro is in the SOC3 table.
    The content of notes and URLs continues to be stored in the SOC3 table.As these documents are usually small, the additional effort involved in storing them in the KPro is not justified.
    If the PC attachments are not to be stored in the SOFFCONT1 table, you must assign a category to the SOFFPHIO document class using transaction SKPR08. The category is created in transaction OACT and refers to a repository on a HTTP content server. If documents that have already been stored are to be moved to the content server, see note 389366.
    For more information on connecting an external Content Server, see the online documentation for the SAP Knowledge Provider or the information available in the help portal under Basis -> Basis Services -> Business Workplace -> Administration of... -> Information on Documents... -> Configuring an HTTP Content Server for Documents.
    The relationship between the attachments and the business documents is provided via the Object Relationship Service.
    Defining attachments using the archive link
    If an optical archive was connected using the archive link and the corresponding settings for the document type were maintained for the object types of a business document, documents can be stored in the Content Repository, directly from the PC, via the 'Establish relationships for the stored document' or 'Store the business document' service.
    In addition, refer to the online documentation for more information on configuring the archive link.
    Best regards.

  • Edit as new for msg with attachments sends original file contents, not new contents

    I recently converted from Eudora 7 to TB 24.6 on Windows. TB seems to be working ok except for one issue.
    I have a email with 5 files attached. Those files get updated occasionally and I need to resend them. With Eudora I would do a "send again" and the contents of the updated files would be attached and the email sent.
    With TB I go to the sent folder and do edit as new. When I send the email it sends the contents of the old files not the updated contents. I have to remove all the attached files and then attach them again to get the new contents. This is very inconvenient.
    Is there a way to do the same sort of "send again" that Eudora allowed?

    No there is not. Eudora stored attachments in a folder and grabbed them when required. Thunderbird encodes them at the time they are attached so there is on disk file to update.
    What you seriously need to consider is storing the files in one of the file services on the internet and using links to the files in your mail.
    Google drive will automatically sync files with your PC and allow you to send links to the internet copies in your mails.

  • Can mail stop storing incoming mails on computer?

    Not sure if someone asked this question before. I am quite storage concious so I prefer storing the mails online instead of on my computer. Before Mavericks, there is a button where I can select storing the mails online. Where is it now? I can only choose stop storing attachments, drafts, deleted mails, etc, but not incoming mail.

    http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol

  • Attachments on z10

    How do I delete stored attachments. I haven't been able to find a way. I click on Hub. Then click attachments, but i dont see how to delete them. Thanks.
    Solved!
    Go to Solution.

    You can delete then using the File Manager, AFAIK there is no way to do it from the hub.
    If you've been helped click on , if you've been saved buy the app.
    Developer of stokLocker, Sympatico and Super Sentences.

  • Can Apple Mail store all attachments in one folder

    I have been trying Apple Mail out, and one behavior that I find horribly inefficient is Mail's storing attachments with messages.  In the past I have used applications such as Eudora that had an attachments folder where all attachments were placed.  As long as you left them there or moved them somewhere on the same hard drive, you could click on the attachment in a message and open it.  However, the way I store files is that I usually file the attachments in other folders with other related files.  That way all of my files about a project or topic are all together.  Mail's way would have some files in project folders and other files in Mail's storage folder. So is there a way to have Mail put all of the attachments that come in into a single attachement folder (or even an attachment folder per email account)?  Thanks.

    bruce,thanks for your help. I don't have an advanced button under the storage tab. the message storage is below the advanced button, and when I click the advanced button, it doesn't give me any options for message storage. do you think I am missing an ad on that I should have ? thanks and happy thansgiving

  • How to Change attachment URL on a Purchase Req?

    Attachments in the EBP shopping carts are transferred to an ITS server and are linked to a back end R/3 Purchase Requisition. 
    Note that the attachments are physically stored on ITS server and the link (URL) to the attachment and Purchase Req is stored in SAP. 
    As a part of decommissioning, the server which was used for storing attachments is replaced with a new server and all the attachments are moved to new server.  
    Since the link associated to the Purchase Req and attachment is not changed, when user is trying to open the Purchase Req attachment, it is not displaying becuase all the attachments are moved to new server. 
    How to change the link (URL) in the Purchase Req so that it will point out to the new server instead of old server. 
    Due to the following reasons manually changing the URL is not advisable.
    1) 40,000 attachments link need to be changed.
    2) System is not allowing to change the URL manually because of the user differences.  All the attachment links are attached to Purchase Reqs by RFC user (since these are transferred from EBP environment). 
    Please advise what should be the feasible solution to change the URL (link) on the Purchase Req so that business can open the attachment with no issues.
    Thanks in advance

    According to SAP, since purchase order is a legal document they do not support the process of changing document number.  They suggested I do the change with debug and replace at my own risk.  In ME22N go to debug and type MEPO_TOPLINE-BEDAT.  The values for this field show up as 29991231 that should be changed to 20191231 and press F8, then save the purchase order.

  • Attachment Handling in SAP CRM 7.0 EHP 3.0

    Hello,
    We are in the design phase of an SAP CRM 7.0 EhP3 implementation project. In the current landscape the legacy system for customer service  (CS) management uses an external shared fileserver for storing attachments from the CS system. However we plan to decommission this external content server as it does not support good security features.
    Storing attachments in SAP CRM via content management - can SAP CRM content management support large files? What is the maximum capacity per attachment and also the overall maximum capacity that SAP CRM content management can support.
    We have "heard" that SAP does not recommend storing attachments within CRM, but rather in an external secure storage server. Is this true? Is yes, what would be the best approach to store and read attachments from SAP CRM?
    Regards,
    Reena

    Hi Christophe,
    Facebook and Twitter are officially integrated into SAP CRM 7.0 EHP 3. Not LinkedIn though.
    You can use a custom solution in EHP2. Example is provided in SAPPress book SAP CRM: Techical Principles and Programming.
    Regards,
    Pavel

  • ADF How to Download BLOB File from Database Column

    Hi,
    We have one blob Database Column in which we use for storing attachments(eg Image,.doc or.zip) . We are able to upload attachments.
    How can I build page which will access that particular record and will be able to download attachment in it.
    It should prompt to Save and then we can save it on Local machine.
    Thanks,
    Jit

    Sorry, I don't get your question.
    If you have a file name including the suffix like 'Test.file.doc' you can pass this file name as parameter to the method and get the MIME type back. I your sample it would be "application/msword"
    String mime = ContentTypes.get("Test.file.doc");
    public class ContentTypes
        public static String get(String fileName)
            String mime = null;
            String ext = fileName.toLowerCase();
            if (ext.endsWith(".pdf"))
                mime = "application/pdf";
            else if (ext.endsWith(".doc"))
                mime = "application/msword";
            else if (ext.endsWith(".xls"))
                mime = "application/msexcel";
            else if (ext.endsWith(".docx"))
                mime = "application/msword2007";
            else if (ext.endsWith(".xlsx"))
                mime = "application/msexcel2007";
            else if (ext.endsWith(".ppt"))
                mime = "application/vnd.ms-powerpoint";
            else if (ext.endsWith(".rar"))
                mime = "application/octet-stream";
            else if (ext.endsWith(".zip"))
                mime = "application/zip";
            else if (ext.endsWith(".jpg"))
                mime = "image/jpeg";
            else if (ext.endsWith(".jpeg"))
                mime = "image/jpeg";
            else if (ext.endsWith(".gif"))
                mime = "image/gif";
            else if (ext.endsWith(".png"))
                mime = "image/png";
            return mime;
    }Timo

  • Tools for SAP development work management?

    Hi fellow SAP developers!
    As you know, in a big software company the management of development work can be a challenge. Everyone should be able to see quickly who is doing what, who is available for new work, how did some old requests get solved and where is their documentation. We are talking about more than just some simple ticket management system here. It would be a central repository and work management tool for years to come.
    I am interested to hear some suggestions for good tools that can be used for development work management in SAP world.
    - It should be a tool where development requests can be input, reviewed, approved, documented and stored.
    - It should support storing attachments
    - It should support a project structure, under which the development items are created.
    - It should be searchable and have different views to the development requests (for example by project, request raiser, developer, status etc.)
    - It should have some kind of approval system or workflow.
    - It should also support email notifications when the status or person assignment changes.
    - It should run on large corporate network (accessible in intranet, perhaps via browser).
    - A nice bonus would be a mobile client access for urgent cases
    I'm keen to hear any proposals, even if not all the points in the wishlist are fullfilled
    I'm interested to hear any comments on your exeperiences on various work  management tools. What worked and what not?

    Well, a SAP based product would be efficient as it is integrated and there would be no need for additional licenses etc.
    I have to investigate the Solution manager offerings more, if that indeed could handle this task. Have you got any further information or experience?
    Rally sounds interesting as well! Are there any other tools like that, proven good in SAP development?
    For simply using Abap workbench, I'm afraid that is not good enough for what I'm after. How would you manage for example work queues, project based issue views and extensive solution documentation with it? And everything would have to be searchable and visible for also for non-technical managers who do not log in to SAP.

Maybe you are looking for

  • Report: sorting of data and temporary table sorting

    We have a report that runs a procedure, which inserts data into a temporary table using the supplied parameters. The report then selects data from this table. Previously the report has always displayed data in the same order in which it was inserted

  • Using case in a function

    Hi, I have a fuction that accepts one input parameter, called v_inp. And this is the code of the function that i see in the code editor: --initialize variables here V_OUTPUT NUMBER; -- main body BEGIN case v_INP when 15,16,17,18,19 then V_OUTPUT := 1

  • Why is internet so slow

    Why is the internet on my MacBook Air so slow eat all Starbucks ? Running pax 10.8.5

  • If Firefox is active on another user on my desktop, it will not connect with a website for a second user. What is wrong?

    The only other thing I can tell you is that I have brought up a website with firefox on both user accounts on my desktop computer on which the operating system is Windows 7, and I cannot get to a website on the second user account. Also this is a pro

  • Erreurs multiples à l'installation

    Bonjour à tous, Je viens vers vous pour un souci d'installation assez gênant. Je viens d'installer la version d'évaluation de la CS6 et beaucoup d'erreur de fin d'installation sont apparues. PS, ID, EN, PR ne se sont pas installés correctement. Il y