Wrong pdf file date

Adobe Acrobat Pro X is saving files with incorrect date (2008).  How can I fix that?

You may want to follow along with this thread. Exact same problem except with Reader. See if you have any similarities.
http://forums.adobe.com/thread/1230521?tstart=0

Similar Messages

  • Is it possible to read PDF file data by using Webdynpro Abap?

    Hi,
    I have an requirement, where customer will upload an PDF file on an application and i need to read some data from pdf file.
    The pdf file contains only text data in tabular format.
    In past i developed an application for uploading data from Excelshet by using WDA . But just wondering, whether it is possible to upload the data from Pdf file also. ( Also if not possible then what could be other way to read PDF file data in abap)
    Regards
    PG

    NB - the "data" that is returned by these classes is the data as defined in an adobe form - it doesn't return the content of non-form PDF documents.
    The PDF must be an interactive form ( although that doesn't restrict you to using the SAP process for creating the form is my understanding - but I could be wrong. )
    Edit - I was wrong! ONLY PDF documents that have been created by the ADS can have data extracted using these classes. So unless you are using Adobe interactive forms - then you will get no value from this functionality - and if you're using AIF then you're probably just use the standard UI element
    Edited by: Chris Paine on Oct 26, 2010 6:04 PM

  • Conversion of PDF file data  into ABAP internal table

    Hi all,
    I am unable to convert the binary data into text format by using some function modules and classes .please find tthe function modules names and classes:
    SCMS_BINARY_TO_TEXT,SCMS_BIN_TO_TEXT, CL_ABAP_CONV_IN_CE,CL_ABAP_CONV_OBJ. But these are not working as per my requirement.
    My requirement is we need to upload PDF file (legecy file)which is saved under the PC into SAP and display the same PDF data into the adobe interactive form. For thise i have done coding by using above function modules and classes but i got the unwant on the adobe form i.e display lke "##############$$%%^^&&*((((()))%%%%%%###*^^&&***"
    Thanks,
    Ramana

    I don't understand, the pdf is put into an internal table at
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF
    the table is pdf and all info for the pdf is there already in a table?
    if you continue the source code the only thing is that the table is combined with a file name and makes it happen that you get an actual file.
    or do you want to have the pdf in a single field ?
    or do you want to store the document on a server where the location is stored in an internal table ??
    kind regards
    arthur de smidt

  • Import or extract pdf file data

    Anyone have idea how to extract data or import the data from pdf file?

    http://onesearch.sun.com/search/onesearch/index.jsp?qt=how+to+read+pdf&subCat=&site=dev&dftab=&chooseCat=javaall&col=developer-forums

  • Reader 9.2 won't print PDF Files (data execution prevention)

    I just downloaded updates to reader 9.2 and now pdf files will not print. message of data execution prevention stops the printing process. Help me mister wizard!!!!!

    Seems an awful lot of us are having the same problem. When I updated toV9.2 I got the DEP error. Never had a problem with V9.1.3 Try uninstalling 9.2 and installing V9.1.3. If that doesn't work try what some other users have done go back to V8.1.3. I wonder when the Adobe people are going to attend to this problem?

  • Trying to export pdf file data into Excel.

    Dear Adobe Community,
    I have a file that is 122 pages long and I am trying to export the data into Excel.  When I try to copy the pdf info, it shows in Excel as a picture, not the specific data.  I have Adobe Acrobat Professional 7.0 and the pdf version is 1.5 (Acrobat 6.x).  The PDF producer is Adobe Acrobat 7.0 paper capture plug-in.  Are are any suggestions on how to trasfer the data to Excel?  Thanks in advance.
    Neal
    P.S. the file is attached so you can see the issues I am dealing with.  Any help would be greatly appreciated.

    Unfortunately, the file is still in the checking queue. Do I understand you correctly that the PDF is actual text, or is it a scan? If you scanned it and got just the graphics, you have to run OCR before you can continue. I would do this on a copy of the scan file so that you can always go back to that file as you try things.

  • Wrong PDF file generated from FM 10 book

    Sometimes when I generate a PDF from a FrameMaker 10 unstructured book, the generated PDF overwrites an existing file with a totally different name and location.  After I try a few times without changing anything, it finally does it right.  Any ideas?

    If you really want to get to the bottom of what's grabbing and overwriting(?) your files, you could use Microsoft's Sysinternals Process Monitor (Procmon) available from here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645
    You can configure the filters to watch what's going on in a folder or on a file, but it's a bit geeky to setup all the filters - it also logs a ton of data, so interpreting it or tracking down an event could also be tedious. If you have an IT department, they  should be consulted and could help set this up.
    Here is an article that details how to set up the Process Monitor to watch specific files:
    http://www.veryant.com/support/phpkb/question.php?ID=136
    Otherwise, just run Distiller with the Ask setting, to see if something odd is happening at this stage. If you're still getting mysterious deletions, then dig deeper with the Process Monitor.

  • How to get pdf file from sap presentation server using java connector

    Hi Friends,
    with the below code i am able to get po details in pdf in presentation server.
    DATA : w_url TYPE string
           VALUE 'C:\Documents and Settings\1011\Solutions\web\files\podet.pdf'.
    CALL FUNCTION 'ECP_PDF_DISPLAY'
            EXPORTING
              purchase_order       = i_ponum
           IMPORTING
      PDF_BYTECOUNT        =
             pdf                  = file  " data in Xsting format
    *Converting Xstring to binary_tab
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer                = file
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
            TABLES
              binary_tab            = it_bin " data in binary format
    **Downloading into PDF file
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
      BIN_FILESIZE                    =
              filename                        = w_url
              filetype                        = 'BIN'
             TABLES
              data_tab                        = it_bin
    when i am using java connector , to retirve the file from presentation server , the follwoing error i am getting...
    init:
    deps-jar:
    compile-single:
    run-single:
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Error in Control Framework
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1244)
            at com.sap.mw.jco.JCO$Client.execute(JCO.java:3842)
            at com.sap.mw.jco.JCO$Client.execute(JCO.java:3287)
            at PdfGen.<init>(PdfGen.java:35)
            at PdfGen.main(PdfGen.java:78)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)
    i debugged too, problem with <b>gui_download......</b>
    I am very glad to all with your suggestions!!
    Regards,
    Madhu..!!

    Hi
    You can try to create an external command (transaction SM69).......sorry I've forgotten,,,,they works on application
    How do you call CL_GUI_FRONTEND_SERVICES=>EXECUTE?
    Max
    Edited by: max bianchi on Oct 13, 2011 10:27 AM

  • How to output PDF files in a crystal Report

    Hello,
    I've some data stored in a database, they are PDFs files data.
    How can I include them in a report
    For example
    I've a Table
    MyTABLE with 2 Cols (Name STRING, data byte[]) (in fact it's a .NET/DataSet)
    I would like to display the content of my table in a CR
    I can include a static PDF in my report, but not a variable one.
    Can anyone Help Me ?
    Thanks
    Marc

    Something I don't understand here. PDF vs. .NET Dataset.
    If the data is in a .NET Dataset; (in fact it's a .NET/DataSet)
    Then all you should need to do is;
    crReportDocument.Database.Tables(0).SetDataSource(dataSet.Tables("NAME_OF_TABLE"))
    or
    crReportDocument.SetDataSource(dataSet)
    or
    crReportDocument.SetDataSource(dataSet.Tables(0))
    How the dataset is created or what is behind the dataset should not be of any consequence. To ensure you get the fresh data, either don't enable the "Saved Data" option, or use .Refresh in your code.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Reader 9.2 shuts down when trying to print PDF files

    When trying to print  (MS XP) PDF file" Data Execution" error message shuts down Reader. I have tried selecting/deselecting  DEP from MS "performance" options and still get the same error message.
    Any fixes for this problem?

    Hi Masroor ,
    Thank you very much for getting back to me with the "fix".
    I removed 9.2 and installed 8.3 and can now print PDF files from Reader 8.3 with no problems.
    Please let me know when the issues with 9.2/ MS are resolved. (I have checked and printer drivers are updated).
    Thanks for your help.

  • PDF File opening error

    Hi,
    I have an BSP application in which I am fetching the pdf file data from an oracle table to a variable of data type xstring.
    Now I have to display this xstring again in pdf format in this BSP. The pdf file is generated but while opening it is giving error "There is an error in opening this document.The file is damaged and could not be repaired".
    What could be the reason.
    My On initialisation code is as:
    data: outputx type xstring.
    (The pdf file data is fetched from oracle table to outputx.)
    CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg
    = 1.
        cached_response->set_header_field( name  =
              if_http_header_fields=>content_type
                                      value = 'application/pdf' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        l_pdf_len = xstrlen( outputx ).
        response->set_data( data = outputx
                                 length = l_pdf_len ).
         response->set_header_field(
                            name  = 'content-disposition'
                            value = 'attachment; filename=attach_pdf.pdf' ).
    CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE runtime->application_url '/' guid '.pdf' INTO
    display_url.
        cl_http_server=>server_cache_upload( url      = display_url
                                             response = cached_response ).
      navigation->response_complete( ).

    Still the pdf file is not opening.
    My On Initilisation code is as below:
    EXEC SQL.
      OPEN CUR FOR SELECT ORDER_NO,ORDER_DESC,DOC_TYPE
                 FROM SAPIBM.T_ORDER
                 where ORDER_NO = :orderno
    ENDEXEC.
    refresh : t_order.
    do.
      clear : wk_order.
      EXEC SQL.
        FETCH NEXT CUR INTO
                         :wk_order-ORDER_NO,
                         :wk_order-ORDER_DESC,
                         :WK_ORDER-DOC_TYPE
      ENDEXEC.
      if sy-subrc = 0.
        append wk_order   to t_order.
      else.
        exit.
      endif.
    enddo.
    EXEC SQL.
      CLOSE CUR
    ENDEXEC.
    if not t_order[] is initial.
      read table t_order into wk_order index 1.
      w_doctype = wk_order-doc_type.
      case w_doctype.
        when 'P'.
    outputx = wk_order-order_desc.
    CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg
    = 1.
    IF XSTRLEN( OUTPUTX ) > 0.
    response->delete_header_field(
    name = if_http_header_fields=>cache_control ).
    response->delete_header_field(
    name = if_http_header_fields=>expires ).
    response->delete_header_field(
    name = if_http_header_fields=>pragma ).
    response->set_header_field(
    name = if_http_header_fields=>content_type
    value = 'application/pdf' ).
       response->set_status( code = 200 reason = 'OK' ).
       response->server_cache_expire_rel( expires_rel = 180 ).
        response->set_header_field(
                          name  = 'content-disposition'
                           value = 'attachment; filename=attach_pdf.pdf' )
        response->set_header_field(
                       name  = 'cache-control'
                       value = 'max-age=0' ).
        l_pdf_len = xstrlen( wk_order-order_desc ).
        response->set_data( data = wk_order-order_desc
                                 length = l_pdf_len ).
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE runtime->application_url '/' guid '.pdf' INTO
    display_url.
        cl_http_server=>server_cache_upload( url      = display_url
                                             response = cached_response ).
      navigation->response_complete( ).
    endif.
      endcase.
    endif.

  • Convert tline into pdf file document in Java

    Dear ALL,
         I built a RFC FM to convert smartform into tline which including PDF data.
    the Code:
       Converting to PDF Format
      DATA l_lines TYPE TABLE OF tline WITH HEADER LINE.
    *  DATA l_lines1 TYPE TABLE OF solix_tab WITH HEADER LINE.
      DATA l_docs TYPE TABLE OF docs.
      DATA len TYPE i.
      CALL FUNCTION 'CONVERT_OTF_2_PDF'
        IMPORTING
          bin_filesize           = len
        TABLES
          otf                    = job_output_info-otfdata[]
          doctab_archive         = l_docs[]
          lines                  = l_lines[]                          "this inner table include pdf file data
        EXCEPTIONS
          err_conv_not_possible? = 1
          err_otf_mc_noendmarker = 2
          OTHERS                 = 3.
      *CALL METHOD cl_gui_frontend_services=>gui_download
      *  EXPORTING
      *   bin_filesize = len
      *    filename     = 'c:\pdf.pdf'
      *    filetype     = 'BIN'
      *   CHANGING
      *    data_tab     = l_lines[]"i_objbin[]
      *  EXCEPTIONS
      *    OTHERS       = 1.
    "If i want to save it in my PC ,call this FM CALL METHOD cl_gui_frontend_services=>gui_download.
    But i dont want to do it.I want to pass the parameter l_lines[] to java(web) by RFC, and convert to pdf file and show in java(web).
    thanks
    Freddy

    Hi,
    Update:
    I have tested this and here is some code:
    SAP:(I got the OTF from CALL FUNCTION 'PRINT_TEXT')
    FORM get_pdf_data
      USING
        tdname TYPE thead-tdname
      CHANGING
        it_tline TYPE text_line_tab
        bin_file TYPE xstring .
      DATA: st_thead TYPE thead .
      DATA: it_lines TYPE tline_tab .
      st_thead-tdobject = 'TEXT' .
      st_thead-tdname   = tdname .
      st_thead-tdid     = 'ST' .
      st_thead-tdspras  = 'E'  .
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          id                      = st_thead-tdid
          language                = st_thead-tdspras
          name                    = st_thead-tdname
          object                  = st_thead-tdobject
        IMPORTING
          header                  = st_thead
        TABLES
          lines                   = it_lines
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      IF sy-subrc NE 0 .
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 .
      ENDIF.
      DATA: it_otfdata TYPE otf_t_itcoo .
      DATA: st_options TYPE itcpo.
      st_options-tdgetotf = abap_true .
      CALL FUNCTION 'PRINT_TEXT'
        EXPORTING
          dialog                   = abap_false
          header                   = st_thead
          OPTIONS                  = st_options
        TABLES
          lines                    = it_lines
          otfdata                  = it_otfdata
        EXCEPTIONS
          canceled                 = 1
          device                   = 2
          form                     = 3
          OPTIONS                  = 4
          unclosed                 = 5
          unknown                  = 6
          format                   = 7
          textformat               = 8
          communication            = 9
          bad_pageformat_for_print = 10
          OTHERS                   = 11.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      DATA: it_otfdata_m TYPE otf_t_itcoo .
    * "Merge pdf output demo"
      APPEND LINES OF it_otfdata TO it_otfdata_m .
    * DATA: bin_file TYPE xstring .
      DATA: it_lines_dummy TYPE tline_tab .
      DATA: bin_filesize TYPE i .
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_file              = bin_file
          bin_filesize          = bin_filesize
        TABLES
          otf                   = it_otfdata_m
          lines                 = it_lines_dummy
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
    ENDFORM.                    " GET_PDF_DATA
    Java:
    final byte[] byteArray = function.getExportParameterList().getByteArray("BIN_FILE");
    final Path path = Paths.get("My.pdf");
    Files.write(path, byteArray, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.CREATE);
    regards.
    Another update:
    Using in HttpServlet:
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import com.sap.conn.jco.JCoDestination;
    import com.sap.conn.jco.JCoDestinationManager;
    import com.sap.conn.jco.JCoException;
    import com.sap.conn.jco.JCoFunction;
    import com.sap.conn.jco.JCoRepository;
    import com.sap.conn.jco.ext.Environment;
    import destinations.MyDestination;
    public class MyServlet extends HttpServlet {
    @Override
    protected void doGet(final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse) throws ServletException, IOException {
      httpServletResponse.setContentType("application/pdf");
      httpServletResponse.setStatus(HttpServletResponse.SC_OK);
      final ServletOutputStream servletOutputStream = httpServletResponse.getOutputStream();
      servletOutputStream.write(getPDF());
      servletOutputStream.flush();
      servletOutputStream.close();
    private byte[] getPDF() {
      try {
       Environment.registerDestinationDataProvider(new MyDestination());
       final JCoDestination destination = JCoDestinationManager.getDestination(destinations.Id.sapdev2.name());
       final JCoRepository repository = destination.getRepository();
       final JCoFunction function = repository.getFunction("Y_R_EITAN_TESTS_03");
       function.execute(destination);
       final byte[] byteArray = function.getExportParameterList().getByteArray("BIN_FILE");
       return byteArray;
      } catch (final JCoException exception) {
       exception.printStackTrace();
       return null;

  • Create a FM that generates a PDF file.

    Hello Evryone.
    I have the following requirement.
    I need to create a function module that given a Personnel Number would generate the payslip for that person based on an existing SE51 form and return the payslip as a PDF file, so that it could be used in WebDynpro.
    Can any of you help me with this. How should I write this FM?
    Thanks a lot in advance.
    Francisco.

    HI Please refer the following code for converting a smartform into a PDF file
    DATA: BIN_FILESIZE TYPE I,
          BIN_FILE TYPE XSTRING,
         T_OTF  LIKE ITCOO OCCURS 200 WITH HEADER LINE,
          T_DOC  LIKE DOCS OCCURS 200 WITH HEADER LINE,
          T_LINES1 LIKE TLINE OCCURS 200 WITH HEADER LINE,
          T_FINAL_PDF LIKE TLINE OCCURS 500 WITH HEADER LINE,
    filename TYPE string VALUE 'EXP.pdf',
          path TYPE string VALUE 'C:\DESKTOP\..',
          fullpath     TYPE string VALUE 'C:\DESKTOP\PDF\EXP.pdf',
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
      EXPORTING
        use_otf_mc_cmd               = 'X'
      ARCHIVE_INDEX                =
    IMPORTING
        bin_filesize                 = bin_filesize
    TABLES
        otf                          = t_otf
        doctab_archive               = t_doc
        lines                        = t_lines1
    EXCEPTIONS
       err_conv_not_possible        = 1
       err_otf_mc_noendmarker       = 2
       OTHERS                       = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT t_lines1 INTO t_lines1.
           APPEND t_lines1 TO t_final_pdf.
      ENDLOOP.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          default_file_name   = 'EXPO_INVpdf'
          prompt_on_overwrite = 'X'
        CHANGING
          filename            = filename
          path                = path
          fullpath            = fullpath.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          bin_filesize = bin_filesize
          filename     = fullpath
          filetype     = 'BIN'
          append       = 'X'
        IMPORTING
          filelength   = bin_filesize
        TABLES
          data_tab     = t_final_pdf.
      IF sy-subrc EQ 0.
        MESSAGE s018(zmsg) WITH 'PDF Generated Successfully'.
      ELSE.
        MESSAGE s011(zmsg) WITH 'PDF Not Generated !!!'.
      ENDIF.

  • Cannot view pdf files on some site but Adobe plug-in test sites work and it is uo to date. What is wrong? Using FF5 under XP

    A new Firefox window is opened when I click on pdf file but it is blank with no menu or toolbars. Have enabled plug-in and it seems ok.

    I do not recall anything specific about other extensions preventing pdf use, so you will have to try them all. But first of all check again, just incase you merely needed to clear the cache and it is working again !
    The quickest method is to repeatedly slice into 1/2s until you find the guilty add-on
    Disable 1/2 of your add-ons and see if it works, if not working you know it is one of those you did not disable, disable 1/2 of them. (So you now have 3/4 disabled )
    It is also probably a good idea to at the same time check add-ons and plugins are up-to date.
    * Use Firefox button -> Add-ons |check plugins are up to date| <br/> or alternatively the link https://www.mozilla.com/en-US/plugincheck/

  • Interactive Report uses XML data saved in database for creating PDF files?

    Hello all,
    I installed Apache FOP to allow a PDF "Download" in the Interactive Reports.
    Correct me if i'm wrong, when a PDF file is created with the Interactive Report option "Download", it uses a XML data to make it. Right ??
    I would like know where in the database is this XML code located.
    Regards Pedro.

    After some searching i found that XML its stored as a BLOB and it is used as XML based report data and RTF or XSL-FO based report layout.
    I didn't find yet where is located the XML used by Interactive Reports. If someone knows where in the APEX database is the XML located please share.
    Regards Pedro.

Maybe you are looking for

  • Sound over HDMI works halfway.[SOLVED]

    //After looking around, HDMI only sends the signals to turn down the HDMI connected device. I guess it's as good as it gets...// Using nVidia GT218 [ION] on Zotac Hd-id11. NVIDIA Driver Version: 260.19.44 2.6.37-ARCH //pianobar uses libao. My config,

  • Is it possible to run a script each time a .CSV file is updated?

    I am having trouble with a script I am trying to write, which is made up of two parts: A .CSV file generated by PHP/MySQL whenever an RSS feed is updated. The contents of the .CSV are overwritten each time the PHP runs. A DataMerge script, written in

  • PDF files keeps locked in Explorer preview

    When previewing a PDF in Windows Explorer (Windows 7 & 8) the background process AcroRd32.exe will run 2 times and after deselecting the pdf it takes approx 15 seconds to close AcroRd32.exe. Also the file keeps locked for 15 seconds until AcroRd32.ex

  • Oracle Management Server logs

    Hello All, Can someone point me to where the log(s) may be?

  • Infosource and Infopackages

    Hello all, In our system there is an infosource (3.5) which is currently feeding 5 targets. It has 3 infopackages associated with it - Init delta, Delta and Full repair Now, I have created a new cube (copy of one of the above said 5 targets) and assi