Portal 902. Uploaded document differs from downloaded document.

We are currently trying to set-up a portlet, which would include items (documents, images etc.). The problem we faced in that process is related to portal's storing process. We uploaded a pdf-file (Java API Guide from otn.oracle.com) as a simple file. Then, attempting to open the same file from portal, we got different errors: "the file is damaged and could not be repaired", "error reading xref entry" etc. Since these errors refer to acrobat reader and browser conflict we turned that "open in browser" option off in Adobe Acrobat. After this, the situation did not improve. Still, it was possible to download the document from the portal as a file. We downloaded the file and made a binary comparison. The result was quite intereseting since the size of both (uploaded to portal and downloaded from portal) was the same (210 Kb) but the content was different. I will add also a excerpt from that downloaded file that differed from the initial file. How could we avoid similar problems in the future? Thank you.
366 ;
Font-Weight : Bold ;
Text-Decoration : none ;
Font-Family : Arial, Helvetica
Font-Size : 10pt ;
.PortletHeading2{
Color : #003366 ;
Font-Size : 9pt ;
Font-Weight :
Bold ;
Text-Decoration : none ;
Font-Family : Arial, Helvetica ;
.PortletHeading3{
Color
: #003366 ;
Text-Decoration : none ;
Font-Weight : Bold ;
Font-Family : Arial, Helvetica
Font-Size : 8pt ;
.PortletHeading4{
Font-Weight : Bold ;
Font-Size : 7pt ;
Font-Family
: Arial, Helvetica ;
Color : #003366 ;
Text-Decoration : none ;
.PortletSubHeaderColor
Background-Color : #CCCC99 ;
.PortletSubHeaderLink{
Font-Size : 8pt ;
Font-Family :
Arial, Helvetica ;
Color : #003366 ;
.PortletSubHeaderText{
Color : #003366 ;
Font-Family :
Arial, Helvetica ;
Font-Size : 10pt ;
Text-Decoration : none ;
Font-Weight : Bold ;
PortletText1{
Color : #000000 ;
Text-Decoration : none ;
Font-Size : 10pt ;
Font-Family :
Arial, Helvetica ;
.PortletText2{
Color : #000000 ;
Text-Decoration : none ;
Font-Size :
9pt ;
Font-Family : Arial, Helvetica ;
.PortletText3{
Color : #000000 ;
Font-Size : 8pt ;
Font-Family : Arial, Helvetica ;
Text-Decoration : none ;
.PortletText4
Color : #000000 ;
Font-Family : Arial, Helvetica ;
Font-Size : 7pt ;
Text-Decoration :
none ;
.RightCurve{
.LeftSubTabid19siteid0{
Background-Repeat : no-repeat
Background-Position : left top ;
Background-Image :
url(http://192.168.87.111:7777/images/FFFFFFsl.gif) ;
Background-Color : #336699
Background-Attachment : scroll ;
.LeftTabBgSlantid19siteid0{
Background-Image :
url(http://192.168.87.111:7777/images/FFFFFFtl.gif) ;

I am having the exact same problem on 10.1.4. I have a pdf on my desktop which opens fine in Acrobat reader (v 7.0). I upload it to my portal page as a file and when I click on the link I get the "this file is damaged and cannot be repaired" message. I downloaded the portal version of the PDF and an extra 66 bytes had been added to it.
I only get this in my live environment as the file uploaded OK in user test. I have uploaded other PDF files and they can be viewed OK.
Has anyone come across and fixed this in the six years since the original post?
Thanks,
Steven.

Similar Messages

  • Upload Documents for Portal

    I have a request from the business area here to add a portlet that allows users to upload documents. then those documents could be retrieved by someone in management.
    I have read a ton of documentation on adding/modifying dads etc.
    does someone have somewhat simple instructions on how to do this?
    thanks
    jason

    i have created the table, the package, etc
    something appears to be wrong in my HTML trying to access to download procedure
    <html>
    <head>
    <title>test upload</title>
    </head>
    <body>
    <form enctype="multipart/form-data" action="http://MYSITE:7777/portal/pls/portal/document_api.download" method="post">
    File to upload: <input type="file" name="file"><br>
    <input type="submit" value="Upload">
    </form>
    </body>

  • Problem in uploading document in KM content in portal

    Hello All,
    I am functional consultant and new to portal.Please help me in resolving below issue .
    I am facing a problem while uploading document in KM content in portal
    When i browse the file from Desktop and click on upload .file does not get uploaded and also  it does not throw any error or info message .
    Please help.
    Thanks
    Archana

    Dear Archana,
    Please refer the SAP Note 898637. Hope it is helpful.
    Regards,
    Samir

  • Upload documents to DMS content server from other tcodes like MIRO

    Hi Experts,
    How can I upload my document to DMS content server through transactions like MIRO.

    Hi Sunil,
    You can't uplaod from different t-code, you need to upload it thru CV01n only. One exception is there which is BDC t-code SHDB for batch uploading. But from other t-code you can't uplaod a document into SAP DMS content server.
    One another option is create a z-tcode for the same. i.e. for MIRO create ZMIRO.
    In statndard environment you can attache but it will not saved in content server. Only thru CV01n it can be done.
    I hope this will resolve the query.
    Regards,
    Ravindra

  • Why when i copy paste documents from download to another folder,then i delete them from the downloads ,it will be erased at all?

    I dl a file it goes to my doenload folder,then i copy it to another folder for example document,then when i delete it from download it will erase at all? why?
    is it ok to have the file in both downloads and document? it will not be more size?

    If you copy it to another folder, e.g., Documents, and you can see it in the Downloads folder then you now have two copies of the file. If you delete one copy, the other stays intact. If you keep both, there is no harm, although the amount of disk space used is twice as big as when you only keep one copy.

  • How to upload documents to DMS from web application externally

    We have a webdynpro based J2EE application. We want to create a SAP DMS ( KPRO ) document using this web application externally.
    Any inputs on this scenario ?
    I am able to create similar using an ABAP report which reads the client file and create the DMS document using BAPI_DOCUMENT_CREATE.
    How do we achieve this using external web application ..
    Please HELP in this.
    Thanks..

    Hi Divya,
    Good day...!
    A custom UI component will berrequired to upload the data from a Flat File into CRM WEBUI.
    The View in this UI Component can have 2 fields lets say u2013  ID and File to Upload and a button 'upload'.
    When the UPLOAD button is clicked , the event u2018ONFILEUPLOADu2019 is triggered.
    A Javascript function u2018fileUpload()u2019 reads the Excel file and formats the data in the form of a long string with Line Breaks corresponding to each row in the excel file. This string is stored in a Hidden HTML form element u2018Excel_Datau2019.
    In the Event Handler for u2018ONFILEUPLOADu2019, the hidden form element u2018EXCEL_DATAu2019 is read and retrived.
      lv_file_data = request->get_form_field( name = lv_excel_data ).
      me->lv_id = request->get_form_field( name = lv_schema_id ).

  • Upload documents from transactional screen - Sale & Purchase Order

    hi All,
    I am trying to have DMS attachment from trx - VA02 directly. I have come across few links which say - this is possible.
    upload documents from user transactional screen to content storage area | LinkedIn
    I am able to get the functionality for CJ20N - 'WBS Element' Object (Screenshot attached). Can someone pl suggest if I am missing something to get the same functionality for Sale Order / PR & PO.
    For Sale Order - I believe the 'Create' icon shall be 'Enabled' once I navigate - Extras -> Documents.
    -thanks

    Hi
    This button is only displayed if you use the new screen logic (see note 1066915) and when you have maintained the necessary customizing for the required document types and objects in transaction DC10.
    So I would kindly ask you to go to transaction DC10 and mark a document type where the necessary object is linked under 'Define object links'. Choose the right object and display its details by double-click. Then you will see the field 'Create document' where you have to enter a value '1' (using transaction) or '2' (simple creation). Please enter a value and flag the 'Additional function' checkbox too.
    /Tilak

  • Documents are not uploading to iCloud from Pages

    All software is up to date.  On OSX 10.9.1 I am only having this issue on my MBP.  Documents are uploading to iCloud from my phone just fine.  I had edited a document and it continues to just say "Waiting" and doesnt upload any changes.  I also started a new document and saved it but it will not upload to iCloud, so I can not access it on the phone.  I am not sure if this is a glitch from the most current Pages update.  Is anyone else having this issue?  Is there a fix for this issue?

    Unfortunately neither of those options work.  Last thing I did was reinstall Pages and it is exactly the same.  Unfortunately now it will not appear in the Launchpad and I have to keep it in my dock.  Having such a horrible day with this.  I do not understand why Apple charges us so much for their hardware and then forces us to use things like iCloud, because they restrict the full benefits of things like Dropbox or Skydrive, when they cant have it working properly.  I have read other posts on here with similar issues or even worse off.
    I greatly appreciate your help Winston.  I think I will have to contact Apple now, I am just hoping it ends up being a simple fix.

  • I want to upload documents from my pc (windows vista) to the cloud so I can see and edit them on my iPad 3. How do I do this?

    I want to upload documents from my pc (windows vista) to the cloud so I can see and edit them on my iPad 3. How do I do this?
    I have the cloud on my pc and I've moved documents to it, but they don't update when I update the one on my pc.
    And I don't know how to get them on my iPad. I have the new ios7, btw. Just got it but couldn't find my documents with ios6
    Thanks

    You can upload files to Dropbox and edit them with Quickoffice Pro HD.
    http://i1224.photobucket.com/albums/ee374/Diavonex/aed9d078ffa732f02b48eebd3b723 95d_zpsa0036f7b.jpg

  • IO 229 - Batch for serial number 1234 (BBB) differs from document batch AAA

    Hello All,
    We use batch management for serialized materials only at our central plant. For all other plants, there is no batch control. Sometimes we need to return materials back to the central plant but with a different batch number.
    When we do two step stock transfer 303 / 305, we receive the following error message if we don't use the original batch number.
    "IO 229 - Batch for serial number 1234 (BBB) differs from document batch AAA".
    However, when we use one step plant to plant stock transfer 301, there is no error message. The batch number is also updated correctly in IQ02.
    I wonder if there is any configuration to use 303 / 305 with different batch numbers.
    Thanks,
    Hakan

    Thanks Arminda.
    64044 recommends to use 309 to change the batch, which works but this is an additional step.
    Currently 1 step plant to plant transfer i.e. 301 doesn't require this additional step. It updates the batch information with no problem.
    Is there any configuration option to change the behavior of 305, so that we don't have to do an additional movement?

  • Document Splitting - Business trans. variant differs from Customizing

    Dear experts,
    When doing General Ledger Simulation and selecting Expert mode, I see in the parametes, that Business Transaction has a value of 0000 when the customizing for the document type KZ is 1000.
    In the Document Display area, there is a message "Business trans. variant differs from Customizing".
    I donu2019t know why different Business Transaction is being used.
    Best Regards
    Jorge

    Please refer to OSS note 1358696 for the usage of the business transaction "SKIP" and the mentioned message.
    Regards,
    Bernhard

  • Challan material is different from material document----Message no. 8I572

    Hi,
    I am getting the following error in subcontracting process when reconciling through J1IFQ.
    Challan material is different from material document----Message no. 8I572
    After P.O. creation and issued the materials through 541 and created a subcontract challan 57f4 and G.R has been done when reconciling through J1IFQ i am getting the above mentioned error.
    Thanks,
    Kiran Bodla

    Hi,
    In spro --> taxon goods movemnt > indiac> business transaction --> subcontrcating --> maintain movement type grp
    here miantain
    0002     101
    0002     542
    0002     543     O
    Hope help U !
    Regards,
    Pardeep Malik

  • Upload documents to filenet p8 for sap objects from SAP

    Hi..
    Appreciate if anyone can let me know the process of uploading documents to Filenet P8 from SAP for relevant SAP objects.
    This will also create the link to object and document in the SAP LINK tables..
    Any documents are urls related to this topic are appreciated.
    Thanks.

    Hi,
    The EMC Solutions design center offers a free SAP storage sizing regardless of your current storage vendor.   It can be as easy as providing SAP Earlywatch reports.  See https://community.emc.com/docs/DOC-11310  If you are just looking for the incremental needs from the upgrade to the new release, that is more specific to SAP and your config.  Good Luck

  • BW Document Integration - Upload of Texts from R/3

    Hello,
    I have a scenario where I need to maintain small 'notepads' (250 to 500 chars) related to specific values of an infoobject (Business Partner).
    I see two solutions:
    A)
    1) Maintain texts in the R/3 master data maintenance of the corresponding object (Business Partner). These texts are not the ones if the standard *_TEXT extractor.
    2) Extract these texts via some generic data source
    3) Intagrate these texts via some custom modeling (either in a separate ODS or directly into the InfoObject (if fields of 250 characters are allowed?)
    B) Use BW Document Integration.
    In this case the texts would maintained in BW and would not exist in R/3.
    In both cases the scenario relates to a migration from a legacy application to SAP. THis means that I need to migrate the 'texts' related to the existng data.
    This brings up the problem of mass uploading Documents in the Document Integration scenario. I do not see how this is possible in the chapter on Document Integration in BW305.
    Any advise is welcome.
    /thanks with points
    /Claudio

    Hi,
    max length is 60 char
    kind regards
    /martin

  • Uploading documents in UCM from ADF

    Hi All,
    I have to upload documents(Audio/Video/Images) in UCM through ADF page. How it can be done.
    Thanks,

    Hi Yannic,
    I tried the RIDC part. But got the following error:
    java.lang.NullPointerException
         at view.beans.IndexBean.uploadListener(IndexBean.java:51)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:97)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    It is occurring for this line:
    File f = UCM_API.inputStreamToFile(file.getInputStream(), file.getFilename());

Maybe you are looking for