Error from reports from ZAM(Graph or PDF) - File does not begin with '%PDF-'.

I just noticed today that any Graph or PDF report I try to view I get the
following error - Error from reports from ZAM - File does not begin with
'%PDF-'. I tried to just save the file and then open it, but get the same
error. I can open other pdf files I have downloaded from other sites ok.
Anyone have any idea? I haven't done anything to that server that I am
aware of in quite a while.
Thanks
Bill

I took a closer look at the files it downloaded, opened them with notepad,
haer is what it says:
XSL Transform or subsequent processing failedThe document has no pages.
"Bill" <[email protected]> wrote in message
news:2bBtk.2164$[email protected]..
>I just noticed today that any Graph or PDF report I try to view I get the
>following error - Error from reports from ZAM - File does not begin with
>'%PDF-'. I tried to just save the file and then open it, but get the same
>error. I can open other pdf files I have downloaded from other sites ok.
>Anyone have any idea? I haven't done anything to that server that I am
>aware of in quite a while.
>
> Thanks
>
> Bill
>

Similar Messages

  • Error with a PDF document in a BSP App: "File does not begin with '%PDF-'"

    Hi All,
    I have the following piece of in the layout of a BSP Application in our system.
    <%
    DATA: LV_PDFSIZE TYPE I,
                LW_PDF     TYPE TLINE,
                LV_XDATA   TYPE XSTRING.
    data: LT_PDF type ZGTIS_TAB_TLINE,
          lv_id type zgtis_http_id,
          filename type STRING.
    lv_id = session_id.
    import lt_pdf to lt_pdf from
           database zgtis_http_indx(in) id lv_id.
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'Content-Type'
        VALUE = 'application/pdf').
    if w_printall ne 'X'.
    CONCATENATE 'display; filename="invoice_' BIL_NUMBER '.pdf"'  INTO filename.
    else.
    CONCATENATE 'display; filename="invoice_' 'ALL' '.pdf"'  INTO filename.
    endif.
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'Content-Disposition'
        VALUE = filename ).
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'pragma'
        VALUE = 'no-store').
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'cache-control'
        VALUE = 'no-store').
    *     Convert to XSTRING
    FIELD-SYMBOLS <P> TYPE ANY.
    LOOP AT LT_PDF INTO LW_PDF.
      ASSIGN LW_PDF TO <P> CASTING TYPE X.
      CONCATENATE LV_XDATA <P> INTO LV_XDATA
        IN BYTE MODE.
    ENDLOOP.
    *     Set the response data
    RUNTIME->SERVER->RESPONSE->SET_DATA(
        DATA   = LV_XDATA ).
    %>
    This piece of code works fine when 'If w_printall ne 'X'.' condition is succesfull and I can see the PDF but when w_printall = 'X' I get the above error on a popup box, the error is "File does not begin with '%PDF-'" and I cant see the PDF.
    Does anyone have any suggestions!
    Kindly help.
    Regards,
    Karthik

    Check this thread
    it is a Big Discussion on that.
    In first page and second page you can see solutions.
    /thread/747643 [original link is broken]
    one with patch and other with setting in Adobe.
    Regards
    Vijay babu Dudla

  • PO PDF Error - File does not Begin with '%PDF-'

    Hi,
    I am working on Implementing PO PDF with XML data and RTF Template. I have created a new template in XML Publisher and followed the following set up steps
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    When I view the document from PO Summary > inquire > View Document, I get an adobe reader error
    'File does not begin with '%PDF-', how ever when I preview it from the template definition, it opens fine.
    I tried running PO Output for communication with my custom template but I don't see the parameter 'Purchase Order Layout'. The last parameter in the list is 'Include Blanket'.
    Am I missing any set up steps? However when I use the standard Purchase Order Layout in Document Types set up, the Inquire > View Document created a PDF output.
    Any help is greatly appreciated.
    Thanks,
    Sharmila

    I encountered same error in BPA Invoice Print. I remove a MLS function from the program definition and this error disappeared. Have not fully investigated but maybe this will help. Thanks.

  • File does not begin with '%Pdf-' in Persona to take a Print

    Dear all,
    What would be the reason for the error " File does not begin with '%Pdf-' when its trying to open in adobe reader in Persona.
    Does persona support any KMC content management ? please resolve this error.
    Find the attached screenshot.
    And we are using persona version as :
    Component
    Release
    SP-Level
    Support Package
    PERSOS
    100
    2
    SAPK-10002INPERSOS
    Cheers, Vasanth S

    hi vasanth,
    This issue might not be related to personas.
    Is this happening with all the PDFs?
    Also, i would recommend you to upgrade your personas SP to latest.
    New features in Personas 2.0 SP04; also Personas 1.0 SP04
    Sushant

  • File does not begin with '%pdf' error with adobe reader 10.1.5 onwards

      In our web application we are using activePDF toolkit (3rd party component) to fill up carrier forms on the fly which are PDF files.
    The output file processed by the above library works fine when opened with adobe reader 8, 9 and10 on end user’s browser (IE); however, it gives below error when opening with adobe reader 11.
    Till now, we have tried different settings at IIS level, Internet explorer e.t.c. suggested on different internet posts. However, we are still facing the problem.
    While analyzing this we have come across following link
    http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html
    According to this adobe 10.1.5 onward file should only start with "%pdf". If file start with other than this we get file corrupted message.
    Before we can communicate this message to client we want to confirm this for experts. Please let me know my assumption is right?

    Rahti - i'm having the same issue but I not familiar with the steps outlined in the Adobe link below
    http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html
    Would you be able to help with how I can navigate to this on my PC to correct it for me.
    Thanks.

  • File does not begin with '%PDF-'.

    Please help, all was going fine with our adobe reader and all of a sudden this message started popping up.  Here are details:
    -Windows 7 64 bit home
    -Adobe Reader 9 Version 9.3.0
    -IE 9 32 Bit
    I have tried installing/uninstalling every possible version of adobe (8,9,10,11) and nothing has worked.  Our web application recommends ie9 w/adobe 9.3 which we have used without problems for years.  Other computers are having no such issues.  Have also gone into adobe preferences and unchecked displaid pdf in browser but then just a window opens with an exxed red box like it cant display.  Any help would be appreciated!

    The error in your subject line indicates that the file is corrupted.
    Since this is happening only on one computer, I suspect that there is something wrong with either Windows or Internet Explorer.
    I suggest that you try to download the file to your local disk, then check the file size (and compare it with the same downloaded file on a computer where it works correctly).

  • Urgent: File does not begin with '%PDF-'

    Hi,
    I am constantly getting this message when i click on certain PDF documents stored in my collaboration rooms.
    Strangely, this is not happening for all the PDF docs and is only applicable to a few documents.
    Any help would be greatly appreciated.
    Regards,
    Vibhu

    Hi Julian,
    Our great basis team was able to resolve the issue. The problem is related to scenarios where apache is being used as a reverse proxy to ignore requests for chunked responses. You do not need to reinstall apache but add the following line in apache config:
    RequestHeader   unset   range
    Regards,
    Vibhu

  • " File does not being with %pdf"

    Sir
    I have download a file from website. I use windows7 os. But there is a problem that a massege display " File does not being with %pdf". this problem is same in other browsers like- mozela firefox, google chrome etc. I use adobe reader 11. Please tell me its solution in detail.

    Originally posted by: bryant.harris.irisfinancial.com
    Upgrade to 2.1.0. The font stuff is fixed in 2.1.0
    Bryant
    "Brian Kallay" <[email protected]> wrote in message
    news:ege41t$9qp$[email protected]..
    > Hi,
    >
    > I am running BIRT 2.0.0 and pdf generation which works properly on windows
    > is not working correctly on linux (Red Hat Enterprise Linux ES release
    > 3). I am able to generate pdf's from charts but textual reports display
    > varying results from completely blank to "File does not begin with
    > '%PDF-'" errors depending on the report being used.
    >
    > I did find the following on a BIRT 2.0.1 project plan page, however I was
    > not able to find anything corresponding in bugzilla:
    >
    > "BIRT Runtime can not find font for PDF generation on Linux. PDF document
    > is missing text content although it displays images and outlines of
    > tables."
    >
    > This seems to describe the behavior I am seeing in many cases, however
    > with very simple reports the pdf contains the header row with the first
    > column header displayed so fonts are not failing completely.
    >
    > I am going to try upgrading to the newest BIRT version but I am hoping
    > that someone can confirm this is in fact a bug and not a configuration
    > issue that has a workaround for 2.0.0.
    >
    > Thanks,
    > Brian

  • Error : (does not begin with '%PDF-'. ) when print report in pdf

    Hi all,
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
    using the example in the above link,
    I have created a report and tried to print in pdf format,
    But
    does not begin with '%PDF-'. this error is appearing when the adobe reader is opening.
    Could anyone help me to make out the reason for this error?
    bye
    srikavi

    Srikavi,
    Which rendering engine are you using? BI Publisher? Apache FOP? Did you follow the steps outlined here when you configured PDF printing:
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    Regards,
    Marc

  • Error:  File does not begin with '

    After changing two javascript "else if" statements to "if" in an Adobe LiveCycle v8 form, I received errors upon saving. Now the file seems to be corrupt because when I attempt to open it I get an error stating "File does not begin with '". Does anyone know what could be causing this AND MORE IMPORTANTLY if there is a way to salvage my form? Please help!

    Hi VetSrini,
    Thanks for the update. I was able to figure out what was wrong.
    Now there is another problem. When i try "View Output", the excel file is shown and the following options are also shown:
    1. As an XML List
    2. As a read-only workbook
    3. Use the XML Source Task Pane
    When I try the first option, I get the following error:
    An Invalid Character was found in text content
    When I try the third option, I get the following error:
    Cannot load the specified XML or schema source.
    when i press the details button, it gives me the following detailed error:
    An Invalid Character was found in text content
    When I try the second option, i get the same error, but with some xml tags
    Can anyone please help me and tell me why i am getting these errors.
    Thanks in Advance,
    Arun

  • ABAP WebDynpro - ArchiveLink - PDF Error: "File does not start with..."

    Hey community,
    I have a WebDynpro application in which I want to show a Archive document.
    I'm using FM 'ARCHIV_GET_TABLE' and then FM 'SCMS_BINARY_TO_XSTRING'.
    But I only get the error message: (see also attached)
    File does not open with "%PDF-".
    Local\EWH...
    Attachment two shows, how the data is stored in TOA03.
    Document type is FAX .
    I tried several FM and nothing worked.
    Does anyone have an idea?
    Thank you very much in advance.
    Florian

    Hi Florian,
    I don't think you need to use FM SCMS_BINARY_TO_XSTRING.
    Just try to make of your binary output table from ARCHIV_GET_TABLE an xstring by concatenating all lines into one xstring.
    Regards,
    Julien

  • How to sent importet RAW files into the cloud? The files was importet from Canon EOS via camera adapter to the iPad. The Files was stored in the folder importet. But the files does not sync with photostream.

    How to sent importet RAW files into the cloud? The files was importet from Canon EOS via camera adapter to the iPad. The Files was stored in the folder importet. But the files does not sync with photostream.

    Welcome to the Apple community.
    Only photos taken on the iOS device and after photo stream was enabled will be added to photo stream.

  • PDF Portfolio does not work with iOS Reader 11.3.2 on iOS 7.1.2

    Well this is upsetting. I created a PDF form with several pages of the same form (it's a travel log).
    My hoping to use Adobe Reader to complete the form and save back as a week at a time won't work.
    I created the form using Acrobat Pro 9 from CS5.
    Does anyone know if a PDF form in a Portfolio should work with Adobe Reader on the iPad2/
    Also, what can I use that works with forms as a portfolio?
    Ken

    Ken,
    please could you describe your workflow. It might help to find some solution. Also it would be great if you can share a sample of your document. Please email it to [email protected] with the reference to this discussion "PDF Portfolio does not work with iOS Reader 11.3.2 on iOS 7.1.2"
    thank you.

  • Content Organizer bug - PDF files does not get routed correctly if autodeclaration is on and library level default values are set

    It looks like whenever one specifies Column default values at a library level then the content organizer routing goes a bit awry SPECIFICALLY FOR NON OFFICE FILES [e.g. PDF] . Below are the observations and issues
    1. Column level default value set on a record library with auto declaration of records turned on.  The content organizer routes the document to the library but also keeps a copy of the document in the drop off library. It does not remove it from the drop
    off library. The instant we clear the default value settings at the library level of the target library the content organizer works as expected again. 
    2. If default value settings are specified on a column in the target library then the PDF file gets routed to the document library but all the metadata is blanked out. The copy of the file that remains in the drop off library has all the correct metadata but
    the target library has blanked out metadata. 
    Are the 2 observations described above by design or are they bugs? If so is there any documentation that is available that proves this because this does not make logical sense and proving this to a client in the absence of any documentation is a challenge.
    The problem goes away if we shift the default value to the site columns directly at the site collection level. It's just the library level defaults that the pdf files do not seem to agree with

    Hi Lisa,
    Thanks for responding. This can be replicated in any environment but is only replicable for a specific combination of content organizer settings . The combination of settings I am referring to can be seen in the screenshot below. If you turn off redirect
    users to the drop off library for direct uploads to libraries and if you turn on sharepoint versioning then you should be able to replicate the issue. Also we are using managed metadata site columns. I simplified this use case to a custom content content type
    with just 2 custom managed metadata columns and can still replicate the issue in several environments. Also note the issue does not occur if the default values are set at the site or site collection level. It only occurs if you set the column value default
    at a library level.  I was able to replicate this on a completely vanilla Enterprise records site collection freshly created just to test this.  Also note that the issue is not that the file does not reach the destination library. The issue is the
    document does not get removed from the drop off library after it is transfered to the destination library which technically should have gotten removed.

  • The Downloaded PDF file does not contain the Signature through BSP pages

    HI,
    We have an requirement for Distributing the FORM 16 to all Employee's through our Website, where the user will login and download his own FORM 16 ( TDS Certificate)
    This FORM 16 ( TDS Certificate ) is generated in SAP ( ECC 6.0 ) in Payroll Module.
    To satisfy the above requirement we have done the following steps.
    1) First we have modified the standards SAP Sapscript(Layout) to incorporate the Signature of Authorised Payroll Person. 
    We have done this by uploading the BMP file ( though t-code SE78 ) and then calling this file in the Standards layout which prints the FORM 16 document.
    2) WE also Modifed the Dirver program to Download the above document in a .PDF  file. 
    The Program creates the seperate file for each employee and assigns the employee number as a file name to each downloaded file. These all files are downloaded on a Users Machine.
    We opened the Downloaded .PDF files, and checked for the Signatures. The Signature were comming perfect as it ws uploaded.
    3) We uploaded these all FORM 16 PDF file off all emlpoyee's to a different SERVER ( BW 7.0 ). With the help of BASIS person, using the FTP utility.
    4) We wrote a BSP program to download this ulploaded PDF Files.
    BUT we are facing a PROBLEM in the DOWNLOADED PDF file.
    The Downloaded file does not contain the Signature which is there is the Original file we uploded this server.
    All other data in the dowloaded PDF file is Perfect other than the Signature.
    When we open the downlaoded PDF file it give's following  message on the Signautre page.
    " Xobject not found named 00013"
    The number of the Object comes different to different files.
    We are using Function module 'SCMS_STRING_TO_XSTRING' to Convert string to Xstring
    We are using the the " CALL METHOD CL_BSP_UTILITY=>DOWNLOAD" for downloading the PDF file.
    Please suggest some solution if you can
    Thanks in advnace.
    Re
    GAGAN

    HI,
    We have an requirement for Distributing the FORM 16 to all Employee's through our Website, where the user will login and download his own FORM 16 ( TDS Certificate)
    This FORM 16 ( TDS Certificate ) is generated in SAP ( ECC 6.0 ) in Payroll Module.
    To satisfy the above requirement we have done the following steps.
    1) First we have modified the standards SAP Sapscript(Layout) to incorporate the Signature of Authorised Payroll Person. 
    We have done this by uploading the BMP file ( though t-code SE78 ) and then calling this file in the Standards layout which prints the FORM 16 document.
    2) WE also Modifed the Dirver program to Download the above document in a .PDF  file. 
    The Program creates the seperate file for each employee and assigns the employee number as a file name to each downloaded file. These all files are downloaded on a Users Machine.
    We opened the Downloaded .PDF files, and checked for the Signatures. The Signature were comming perfect as it ws uploaded.
    3) We uploaded these all FORM 16 PDF file off all emlpoyee's to a different SERVER ( BW 7.0 ). With the help of BASIS person, using the FTP utility.
    4) We wrote a BSP program to download this ulploaded PDF Files.
    BUT we are facing a PROBLEM in the DOWNLOADED PDF file.
    The Downloaded file does not contain the Signature which is there is the Original file we uploded this server.
    All other data in the dowloaded PDF file is Perfect other than the Signature.
    When we open the downlaoded PDF file it give's following  message on the Signautre page.
    " Xobject not found named 00013"
    The number of the Object comes different to different files.
    We are using Function module 'SCMS_STRING_TO_XSTRING' to Convert string to Xstring
    We are using the the " CALL METHOD CL_BSP_UTILITY=>DOWNLOAD" for downloading the PDF file.
    Please suggest some solution if you can
    Thanks in advnace.
    Re
    GAGAN

Maybe you are looking for

  • VENDA DE AÇÚCAR - Substituição Tributária p/ RS

    Boa tarde PessoALL!!!        Segundo Protocolo ICMS 95 DE 2009, A PARTIR DO DIA 01/10/2009, TODA VENDA DE ACUCAR COM EMBALAGEM DE 1 E 2 KGS PARA O ESTADO DO RS DEVERÁ SAIR COM SUBSTITUIÇÃO TRIBUTÁRIA.         Foram feitos os cadastros devidos para qu

  • Page break/empty page issue

    Hi, I have big report with 4 data sections. This is the structure of the report. Main Frame --> Repeating Frame -->Frame1 - PageBreak After - Yes Some Fields -->Frame2 - PageBreak After - Yes Some Fields --> Repeating Frame -->Frame3 - PageBreak Afte

  • Changing the default event time to all-day in Month View?

    I updated to Mavericks today, and when I went to add an event to my Calendar, I discovered that all-day was not the default time.  In Mountain Lion, when going to add an event in Month View, it was automatically set to all-day, which is perfect becau

  • Invoking Jms Adapter from BPEL with enque stoped

    Hi guys, I have an issue. In my BPEL flowI have an invoke activity which has a jms adapter as a partner link. The thing is that if you stop the enque in the DB, your flow in BPEL continues like nothing happened. It just passes the payload to the jms

  • Contract details i.e currency, Payment term  are not copied into Call-off

    Hi, We have implemented SRM 4.0 (SP07) with extended classic scenario. we created a PO through "Process Purchase order" & referred a line item to a contract (in the sense we are creating a call off) however when PO is ordered, system doesn't pick cur