Pdf documents repeated indexing

I have a number of large pdf files which I use regularly, and regularly need to find specific sections in them. When I do a search from the search field, it indexes the file, and from then on if I do a search the results appear instantly - however if I shut the computer down, the next time I open that file up and do a search, it indexes the file again! This wastes a lot of my time. Is there some reason the indexing is not being stored.
I would really appreciate some help with this as it is the biggest slow down in my productivity
Cheers
Murray

You and me too, except I can't even get past one complete index on a 600MB PDF of a service manual... the progress bar gets to the end and stays there for a few minutes before Preview crashes. 10.4.x never did this.

Similar Messages

  • TREX doesn't index some PDF documents ...

    Hello all,
    we have installed EP'04s and TREX ver. 7.00.42.00. It works well except one thing. TREX is not able to index some PDF documents. Most of them is indexed correctly but some documents not. Actually the problematic PDF documents are indexed but their content is not. In search result is displayed message "No document excerpt available" for the documents.
    I found SAP Note 622419 that could relate with that but I don't know how can I check:
    1. What encoding was used in particular PDF form.
    2. What fonts or what font types were used in particular PDF form.
    Do you have any idea how to find out these information about a document? Or do you know where could be problem when TREX are able to index content of just some PDF documents?
    Regards,
    Zbynek

    Thank you, that was what I needed.
    So now I know the test PDF document use only TrueType fonts. That means its content should be indexable for TREX but it isn't. There is just message "No document excerpt available" for this document in search results.
    Could someone look at the document and try to index it? It can be downloaded from http://www.volny.cz/kabrtz/TREX/indexing_test.pdf
    Regards,
    Zbynek

  • Certain PDF documents not spotlight-indexed nor copy/paste to TextEdit

    Hello,
    I've got a problem with certain PDF documents and Preview.app. I can read them perfectly by eye (I understand there's an overlying image?) but the text characters, when copied and pasted into TextEdit, are little rectangles with a tiny alien face (?) inside. TextEdit states the font is "LastResort", but doesn't allow to change the font, nor can I save the TextEdit document ("UTF-8 cannot be used for saving the document").
    The worst about all is that Spotlight doesn't recognise the PDF files, they are not indexed, so I cannot search for text inside.
    I tried to open the PDF document with Adobe Reader, which opens the document, copies and pastes into TextEdit without a problem, so I believe the problem must be on the Preview.app and/or System end.
    Any solution, or is this a bug? Thanks for any help!

    Any solution, or is this a bug?
    I think this has to do with the way some pdf files are constructed, mapping text to the Unicode Private Use Area (reflected by those Last Resort symbols you see) plus shortcomings of Preview compared to Adobe Reader. The only fix is to use the latter, and tell Apple you want Preview improved:
    http://www.apple.com/feedback/macosx.html

  • PDF to Word documents not indexed

    I am trying to use the trial version of Acrobat X to convert PDF documents to Word DOC file format.  I have found that the result is not picked up by the Indexing Service in Windows Server 2003.  However, if I convert to an RTF document instead, the result is indexed.  If I convert to a DOC format and then rename the file with an RTF file extension, the document is indexed.  Can anyone provide any insight into why this happens?  It also appears to be an issue with some other PDF conversion tools from other providers, but not all.  Any help is appreciated.

    If you're specifically talking about exporting to DOC format (Word 2003 and earlier) instead of DOCX, then it's a consequence of the way non-Microsoft applications write the files.
    DOC files can be either binary (the format actually saved by Word) or a text-based RTF file with just a change in file extension. As the binary format is proprietary and closed, when Acrobat saves to "DOC" it actually saves an RTF file and changes the name. Word is perfectly happy with that, but some apps can get annoyed when the content of a file doesn't exactly "match" its file extension.

  • Why modification protected PDF documents cannot be indexed by IFilter 11 with SharePoint Search?

    Hello everyone!
    I have a SharePoint farm which stores a big number of protected PDF documents. Those PDF documents are protected against modification and printing! They allow copy of content and screen readers though.
    I had IFilter 9.0 installed and I saw that none of my protected documents could be found... I decided to upgrade the IFilter to its latest version (11) in order to be sure it was not something which was already fixed.
    Problem is that even with IFilter 11, my protected PDF documents are still not indexed! Is that a limitation of the IFilter? What kind of security configuration does the IFilter component supports?
    Thanks in advance for your help!!
    Carlos

    I will try to be the most complete possible on the security settings of my document:
    I do NOT ask a password in order to open the file
    I do ask a password in order to modify the document:
    Printing allowed: NONE
    Modification allowed: NONE
    Activate the copy of the text, pictures and other content: Checked
    Activate the access to the text by screen readers: Checked
    Options
    Compatibility is set on Acrobat 7 and later
    Encrypt the entire document option is checked
    When I apply those settings, save the document and then open the security settings tab with Acrobat Pro I see that everything is forbidden except the three following options:
    Copy of the content
    Copy of the content for accessibility
    Extraction of the pages
    When I close the document and open it again with Acrobat Pro or Reader I see that only two options are enabled this time:
    Copy of content
    Copy of content for accessibility
    So basically it seems the PDF document looses the Extraction of the pages privilege once I close Adobe Acrobat Pro.
    PS: I am translating the security options from French so they may not be the exact ones you see on your Acrobat Pro if you have it in English.

  • How to avoid converting pdf documents to searchable text repeatedly

    Can someone help me to resolve this Acrobat 8 or 9 problem.
    I select a folder and initiate the conversion of all pdf documents to searchabel text (or OCR).
    It works great. Next time, if I re-do the  process, some documents re-convert again. Is there a way to tell Acrobat to stop converting pdf documents that already been OCR or converted to searchabel text ??

    Hi,
    Simplest -> OCR the PDF(s) prior to deployment to the production zone.
    "Good" OCR can come from Acrobat or other applications (done ok with AdLib Server & Adobe's Capture Cluster - I'm sure there are others).
    Typically, an OCR engine only knows how to do one thing - OCR what it is pointed to.
    Perhaps a dedicated server application would provide more refined control - but that's not Acrobat's OCR engine.
    Maybe possible -
    Acrobat 8 & 9 Pro each has a Preflight Custom check that can identify if text rendering mode 3 (invisible text) - Acrobat's OCR output- is present.
    Create an appropriate Preflight Profile.
    Create a Batch Sequence to run the Preflight Profile.
    Configure the Preflight: Batch Sequence Setup to create a report (for "On success" or "On error" or both).
    Designate where the report PDF is to go.
    Extract/filter the report's content to obtain a data set of what files have no text rendering mode 3 present.
    Feed this data to a routine that directs/controls OCR.
    "Routine" maybe possible via something with Acrobat JavaScript. Don't know.
    Maybe via an Acrobat plug-in.
    Maybe to control some other OCR application(?).
    (Something for a real 'gritty' codehead <g>).
    Myself, I try assiduously to avoid post processing my "deployed" PDFs; particular when OCR is involved.
    At the work place, for on-going, PDF "streams" to be OCRd  I and co-workers use AdLib Server.
    So, the PDFs are OCRd prior to deployment.
    Be well...

  • When I want to open a PDF document The box that pops up asking if I want to open or save does not come up and it always saves. I need this changed.

    When the window opens to ask if I want to save or not comes up it does so for WORD documents just fine, however, for PDF documents it never asks (it used to). Now it just automatically saves them without asking. I need this changed. I went into applications and changed the setting to always ask but it still is just saving, them no window pops up asking what I want firefox to do with the file like it does with a WORD document. IF I cannot get this resolved I will not be able to continue using firefox. I teach and I have students submitting articles etc in pdf format, I cannot constantly save all pdf files. I just want to open them, review them and then move on. There must be a way to change this so that the window asking what I want firfox to do with the pdf files opens.
    thank you,
    kkwright

    Deleted it, restarted it. tried it again. no change. repeated the whole cycle. no change. thinking about uninstalling and reinstalling, but that won't reallyk change the settings.

  • When I try to open Adobe Acrobat XI Pro it just freezes, it also freezes when opening a PDF document. What can be done to resolve this or troubleshoot this?

    Adobe Acrobat Pro XI is having some issues. When just the base program opens it freezes before I can even do anything with preferences. The same thing happens when I open a PDF document from anywhere. I have cleared the %temp% directory and repair installed the program with no success in finding a resolution to this issue. I have removed Adobe AIR as a thread indicated that this program could be the cause of some issues. I even restarted the print spooler as that was mentioned in a different post on Adobe Support Forums.

    I would suggest rebooting (particularly if you have not) and log in as the administrator. Also, it sounds like you can open Acrobat, but then it locks up when you try to do the preferences. So in that case go to Help>Repair and apply that. Then repeat the process with Help>Updates to get current. See if that resolves the issues. Since you mentioned %temp%, I assume you are on a windows machine, but which one?

  • How can I see a list of all my comments for a certain PDF document on my iPad?

    how can I c a list of all of the comments in a PDF document in the acrobat app on my iPad?
    thanks,
    ori

    Hi Orirotlevy,
    Sorry but no such feature is available in Adobe Acrobat app for ipad.
    Moreover, You can provide your valuable suggestions for this app, using the following Link : https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Regards,
    Rahul

  • How to read the data from a PDF document into SAP

    Hi Everyone,
    I am trying to read a PDF document from my desktop and get the data into SAP but i am not getting successful.
    I am using the method cl_gui_frontend_services=>gui_upload and passing the filename and type and importing the file length and the data into an internal table.
    I tried the file type as ASC but i couldn't get any records in the internal table and the filelength is displayed as 0.
    When i tried the file type as BIN, it is giving the short dump. I guess that is because the file i am trying to read is not with the extension BIN.
    Please Advice me on this
    Poornima

    Hi Kiran,
    Below is my program..
    REPORT  zpdf_data_update.
    DATA : lt_file_table TYPE filetable.
    DATA : lv_rc TYPE i.
    DATA : lv_filename TYPE string.
    DATA : lv_filelength TYPE i.
    TYPES : BEGIN OF hex_record,
              data TYPE string,
            END OF hex_record.
    DATA: lt_rawtab TYPE TABLE OF hex_record.
    CALL METHOD cl_gui_frontend_services=>file_open_dialog
    CHANGING
    file_table = lt_file_table
    rc = lv_rc
    EXCEPTIONS
    file_open_dialog_failed = 1
    cntl_error = 2
    error_no_gui = 3
    not_supported_by_gui = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    ENDIF.
    READ TABLE lt_file_table
    INTO lv_filename
    INDEX 1.
    cl_gui_frontend_services=>gui_upload(
    EXPORTING
        filetype = 'BIN'
        filename = lv_filename
    IMPORTING
        filelength = lv_filelength
    CHANGING
        data_tab = lt_rawtab
    EXCEPTIONS
        file_open_error = 1
        file_read_error = 2
        no_batch = 3
        gui_refuse_filetransfer = 4
        invalid_type = 5
        no_authority = 6
        unknown_error = 7
        bad_data_format = 8
        header_not_allowed = 9
        separator_not_allowed = 10
        header_too_long = 11
        unknown_dp_error = 12
        access_denied = 13
        dp_out_of_memory = 14
        disk_full = 15
        dp_timeout = 16
        not_supported_by_gui = 17
        error_no_gui = 18
        OTHERS = 19 ).
    But it is giving me a short dump saying that the field symbol is not assigned ...
    If i give the file type as ASC , then i am getting an empty table... Please advise me on this
    Thanks
    Poornima

  • Error while generating PDF document

    I am using RH 8 and cannot generate a Printed PDF document.
    here is the error message output
    Warning: style (p.Table) is not defined and will be mapped to 'Normal'.
    Processing 'Setting-up and Assigning Roles'...
    Warning: The Word Document became corrupt when attempting to append following malformed topics:
    TimeTEQ\Chapter1-Administration_Functions\First_Topic.htm
    TimeTEQ\Chapter1-Administration_Functions\SettingUp_the_Parent_Organisation.htm
    TimeTEQ\Chapter1-Administration_Functions\Setting_up_and_Assigning_Sites.htm
    TimeTEQ\Chapter1-Administration_Functions\Setting_Up_Departments.htm
    TimeTEQ\Chapter1-Administration_Functions\Setting_Up_and_Assigning_Roles.htm
    Failed to build 'TimeTEQ'...
    Failed to build one or more chapters.
    Building 'Glossary'...
    Failed to build 'Glossary'...
    Building 'Index'...
    Updating list paragraphs...
    Updating images...
    Updating page numbers...
    Updating page headers...
    Updating Table of Contents...
    Updating Index...
    Saving 'Printed_Documentation.doc'...
    Generating 'Printed_Documentation.pdf'...
    Failed the generate PDF file 'C:\TimeTeq_Documentation_Aug2009\TimeTEQ_OldHelp\user guide\Timteq_test_project\!SSL!\Printed_Documentation\Printed_Documentation.pdf'...
    Failed to save 'Printed_Documentation.doc'...
    Cleaning up temporary files...
    Internal error encountered,  Failed to generate Printed Documentation.
    Starting to build Printed Documentation...
    Printed Documentation processor 8.0.0.203
    Building C:\TimeTeq_Documentation_Aug2009\TimeTEQ_OldHelp\user guide\Timteq_test_project\!SSL!\Printed_Documentation\Printed_Documentation.doc ...
    Preparing to create Printed Documentation...
    Clearing output folder...
    Preparing files for Print Document...
    Copying files...
    Updating files...
    Finished preparing in 0 seconds.
    Preparing environment...
    Printed Document Generator Environment: Word 11.0.5604,  OS 5.1.2600, RAM 768 M Bytes
    Building Printed Documentation 'Printed Documentation'...
    Building Single Document 'Printed_Documentation.doc'...
    Building 'Title Page'...
    Building 'Table of Contents'...
    Preparing to build chapters...
    Building 'TimeTEQ'...
    Building 'Chapter1-Administration Functions'...
    Processing 'Overview- Understanding Sites, Departments & Roles'...
    Processing 'Setting-up a Site Group'...
    Processing 'Setting up a Site'...
    Processing 'Setting-up and Assigning Departments'...
    Warning: style (p.Body_Text) is not defined and will be mapped to 'Normal'.
    Warning: style (p.Step2) is not defined and will be mapped to 'Normal'.
    Warning: style (p.Step) is not defined and will be mapped to 'Normal'.
    Warning: style (p.spacer) is not defined and will be mapped to 'Normal'.
    Warning: style (p.Tableheader) is not defined and will be mapped to 'Normal'.
    Warning: style (p.Table) is not defined and will be mapped to 'Normal'.
    Processing 'Setting-up and Assigning Roles'...
    Warning: The Word Document became corrupt when attempting to append following malformed topics:
    TimeTEQ\Chapter1-Administration_Functions\First_Topic.htm
    TimeTEQ\Chapter1-Administration_Functions\SettingUp_the_Parent_Organisation.htm
    TimeTEQ\Chapter1-Administration_Functions\Setting_up_and_Assigning_Sites.htm
    TimeTEQ\Chapter1-Administration_Functions\Setting_Up_Departments.htm
    TimeTEQ\Chapter1-Administration_Functions\Setting_Up_and_Assigning_Roles.htm
    Failed to build 'TimeTEQ'...
    Failed to build one or more chapters.
    Building 'Glossary'...
    Failed to build 'Glossary'...
    Building 'Index'...
    Updating list paragraphs...
    Updating images...
    Updating page numbers...
    Updating page headers...
    Updating Table of Contents...
    Updating Index...
    Saving 'Printed_Documentation.doc'...
    Generating 'Printed_Documentation.pdf'...
    Failed the generate PDF file 'C:\TimeTeq_Documentation_Aug2009\TimeTEQ_OldHelp\user guide\Timteq_test_project\!SSL!\Printed_Documentation\Printed_Documentation.pdf'...
    Failed to save 'Printed_Documentation.doc'...
    Cleaning up temporary files...
    Internal error encountered,  Failed to generate Printed Documentation.

    There is a warning about a malformed topic. I have seen projects  where there is nothing wrong with the topic but where the machine needed more RAM. What are the basics of your PC?
    Also try turning off PDF and generating a Word document instead. If that works, PDF from there. Does that work?
    See www.grainge.org for RoboHelp and Authoring tips

  • How to combine three PDF documents into one PDF document ?

    Hi Folks,
    I have a requirement to combine 3 PDF documents into One PDF document, let me explain clearly.
    I have developed two Adobe forms in T.code SFP and I have one PDF docuement which is stored in DMS (T.code CV02n), and now I want to combine these three PDF documents into one pdf.
    I have tried below link, but only 50% can able to do my requirement.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/404e4dc1-a79c-2d10-a7b5-9a266dfed9cb?QuickLink=index&overridelayout=true
    Is there any best solution to fix this.
    Best Regards,
    Naresh Kumar.

    Hi Lukas,
    Thanks for your response on this.
    Krisztian's solution will work/merge only for Adobe forms created in T.code SFP but can't merge with the pdf document which is sitting in CV02N (This doesn't have Adobe form name in T.code SFP), this is what I understood.
    And one more bad news is we are not able to install that unix file in our client system, it is not compatable.
    Best Regards,
    Naresh Kumar.

  • When viewing a pdf document how do I change the default or pre-set magnification?

    Anytime I am directed to a pdf document by a website it opens the pdf file at 173% magnification. It tells you to open the menu to change the pre-set magnification, but I don't see a menu to open.

    Maybe you did not include enough information in your question or your question was not specific enough since your reply indicates that you have already asked the question and have received an unsatisfactory answer. Please attach a screen shot demonstrating the magnification. Also include written information about where you are seeing the 173% or other magnification value that you are seeing on the image that you attach.
    '''<u>Posting a screenshot</u>'''
    *http://en.wikipedia.org/wiki/Screenshot
    *Windows: http://www.wikihow.com/Take-a-Screenshot-in-Microsoft-Windows
    *Windows 7: http://www.sevenforums.com/tutorials/9717-screenshot-paint.html
    *MAC: http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X
    *See: https://support.mozilla.com/en-US/kb/Adding+screenshots
    Save the file as a .png or .jpg image to your hard drive. When you reply, click in the "Screenshot" box below the reply area, and browse to the saved image on your hard drive. NOTE: If you use "Preview" before "Submit", the screenshot will not attach; you must repeat the process of clicking in the "Screenshot" box below the reply area, and browse to the saved image on your hard drive.
    '''<u>Also see these Firefox extensions:</u>'''
    *Abduction!: https://addons.mozilla.org/firefox/addon/3408
    *FireShot: https://addons.mozilla.org/firefox/addon/5648
    *Screenshot Pimp: https://addons.mozilla.org/firefox/addon/12985
    *Screengrab: https://addons.mozilla.org/firefox/addon/1146

  • I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  How can I do this?  When I add it as a file (jpeg), the logotype is printed on a white square background.  It will be positioned on the PDF document o

    I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  How can I do this?  When I add it as a file (jpeg), the logotype is printed on a white square background.  It will be positioned on the PDF document on a light, uniform yellowing color. I want this to show through, as if the logotype was stamped directly on the document.  Thanks.age to be completely transparent

    The above was truncated and garbled a bit and I can't figure out how to edit it.  So just to repeat the question a bit more clearly: "I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  When I add it as a file (jpeg), the logotype is printed on a white square background (because the jpeg is square with a white background of course).  It will be positioned on the PDF document on a light, uniform yellowish color, which I want to show through. I want it to look as thought the logotype was stamped directly on the document.  Thanks.

  • Unable to open PDF document when run through task/workflow

    Hi all,
    I am currently usign a background method to send a smartform as a PDF document to all the agents who approve.
    When i send the smartform in mail as a PDF documetn throught the task i get an error message when opening the PDF document which says that 'The file could nto be opened because it was either not a supported file type or because the file was damaged(for example, it was sent as an email attachment and wasn't decoded correectly'.
    The below is the code i am using to send the smartform
    { CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZFI_ASSET_PDA_NOTIF'
        IMPORTING
          fm_name            = lv_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.}
    { ls_ctrlop-getotf    = 'X'.
      ls_ctrlop-no_dialog = ''.
      ls_compop-tdnoprev  = 'X'.
    ls_ctrlop-DEVICE = 'LOCL'.
      ls_ctrlop-preview   = 'X'.
      ls_ctrlop-no_dialog = 'X'.}
      CALL FUNCTION lv_form_name
        EXPORTING
          control_parameters = ls_ctrlop
          output_options     = ls_compop
          user_settings      = 'X'
          gv_prctr_txt       = gv_prctr_txt
          gv_cc_text         = gv_cc_text
          gv_class_txt       = gv_class_txt
          gv_lname           = gv_lname
          gv_fname           = gv_fname
          gv_position        = gv_position
          gv_initiator       = gv_initiator
          gv_bookcost        = gv_bookcost
          gv_bookvalue       = gv_bookvalue
          gv_date            = gv_date
          gv_prctr           = gv_prctr
          gs_anla            = gs_anla
          gv_emv             = gv_emv
          gv_cond            = gv_cond
          gv_operable        = gv_operable
          gv_action          = gv_action
          gv_justify         = gv_justify
          gv_replace         = gv_replace
          gv_replace_comment = gv_replace_comment
          gv_process         = gv_process
        IMPORTING
          job_output_info    = lt_job_output
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'S'  NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT lt_job_output-otfdata INTO ls_otf.
        lt_otf = ls_otf.
        APPEND lt_otf.
        CLEAR lt_otf.
      ENDLOOP.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = lv_len_in
        TABLES
          otf                   = lt_otf
          lines                 = lt_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
    Fehlerhandling
      IF sy-subrc EQ 0.
      ENDIF.
      LOOP AT lt_tline.
        TRANSLATE lt_tline USING '~'.
        CONCATENATE ls_buffer lt_tline INTO ls_buffer.
      ENDLOOP.
      TRANSLATE ls_buffer USING '~'.
      append ls_buffer TO lt_objbin.
    DATA  lv_counter         TYPE i.
      DO.
        lt_record = ls_buffer.
        APPEND lt_record.
        SHIFT ls_buffer LEFT BY 255 PLACES.
        IF ls_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Attachment
      REFRESH:
      lt_reclist,
      lt_objtxt,
      lt_objbin,
      lt_objpack.
      CLEAR ls_objhead.
      lt_objbin[] = lt_record[].
    lt_objhex[] = lt_record[].
      CLEAR lv_descp.
      CONCATENATE 'Asset'
                  gs_anla-anln1
                  'Approval details'
             INTO lv_descp
    SEPARATED BY space.
    Create Message Body
    Title and Description
      CONCATENATE  'Please find attached the approval details of asset : '
                   gs_anla-anln1
              INTO lv_mail_descp
             SEPARATED BY space .
      lt_objtxt = lv_mail_descp.
      APPEND lt_objtxt.
      CLEAR  lv_mail_descp .
    appending space lines into text of mail.
    DO 3 times.
      CLEAR lt_objtxt.
      APPEND lt_objtxt .
    ENDDo.
    CONCATENATE 'This is an automatically generated message.'
                 'Please do not reply to this mail.'
           INTO lv_mail_descp
         SEPARATED BY space .
    lt_objtxt = lv_mail_descp.
    APPEND lt_objtxt.
      DESCRIBE TABLE lt_objtxt LINES lv_lines_txt.
      READ     TABLE lt_objtxt INDEX lv_lines_txt.
      ls_doc_chng-obj_name = 'smartform'.
      ls_doc_chng-expiry_dat = sy-datum + 10.
      ls_doc_chng-obj_descr = lv_descp.
      ls_doc_chng-sensitivty = 'F'.
      ls_doc_chng-doc_size = ( lv_lines_txt - 1 ) * 255  + STRLEN( lt_objtxt ) .
    Main Text
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt ).
      CLEAR lt_objpack-transf_bin.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = lv_lines_txt.
    lt_objpack-doc_type = 'RAW'.
        lt_objpack-doc_type = 'TXT'.
      APPEND lt_objpack.
    Attachment
    (pdf-Attachment)
      lt_objpack-transf_bin = 'X'.
      lt_objpack-head_start = 1.
      lt_objpack-head_num   = 0.
      lt_objpack-body_start = 1.
      DESCRIBE TABLE lt_objbin LINES lv_lines_bin.
      READ TABLE lt_objbin INDEX lv_lines_bin.
      lt_objpack-doc_size = ( lv_lines_bin - 1 ) * 255 + STRLEN( lt_objbin ) .
      lt_objpack-body_num = lv_lines_bin.
      lt_objpack-doc_type = 'PDF'.
      lt_objpack-obj_name = 'ATTACHMENT'.
      lt_objpack-obj_descr = lv_descp.
      APPEND lt_objpack.
      LOOP AT t_mail_addr.
        CLEAR lt_reclist.
        lt_reclist-receiver = t_mail_addr-mailid.
        lt_reclist-rec_type = 'U'.
        APPEND lt_reclist.
      ENDLOOP.
      IF t_mail_addr[] IS INITIAL.
        CLEAR lt_reclist.
        lt_reclist-receiver = mail id.
        lt_reclist-rec_type = 'U'.
        APPEND lt_reclist.
      ENDIF.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = ls_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = lt_objpack
          object_header              = ls_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_reclist
         CONTENTS_HEX                = lt_objbin
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      DATA: l TYPE sy-subrc.
      l = sy-subrc.
    When i run the above code in Se38, I get an email with a attachment that i am able to open. The problem seems to be with user WF_BATCH.
    I have already checked all the existing threads on this. I did this coding as per one of the SDN threads itself.
    I am able to open the PDF attachment even when i test the method. The problem is only when it is run through a task/workflow.
    Please advice.
    Thanks and Regards,
    Soumya Gayatri.
    Edited by: Soumya Gayatri on Apr 14, 2009 8:40 PM
    Edited by: Soumya Gayatri on Apr 14, 2009 8:44 PM
    Edited by: Soumya Gayatri on Apr 14, 2009 8:45 PM
    Edited by: Soumya Gayatri on Apr 14, 2009 8:47 PM
    Edited by: Soumya Gayatri on Apr 14, 2009 8:47 PM

    Hello,
    You should see an "Edit" in the top right of your post, you can use that to edit it.
    As I said, use  before and after the coding, but without the spaces (after "{" and before "}" ).
    Try it!
    Testing:
    this is code
    regards
    Rick Bakker
    Hanabi Technology

Maybe you are looking for

  • In Gmail I can setup other accounts to "send" email from- can I use these other addresses in Mac Mail

    In Gmail if you click the 'cog' button under your username you can choose "Settings" from the drop down menu. From Settings you choose the accounts and import tab and can enter other email addresses. This is useful to me because I have an email addre

  • Mac Pro Boot Issue

    Mac Pro - "Quad", 2 X 2.66Ghz; 5GB RAM; OS X 10.5.6 Mac Pro will not boot. It powers up to the grey Apple logo screen. The progress circle spins for about 3 seconds, then powers itself off. This past week I came back from two weeks off. The first mor

  • I want to Create an Customised Viewer for my company to view a PDF document.

    Hello      I want to Create a Customised Viewer to view a PDF document.      I will be creating Setup.exe after Desiging the Viewer with content, only that Setup file will be sent to the end user.      Please help me which software is best to Design

  • PDFs display and print fine in Acrobat but not in Preview of PDFPenPro

    I have a curious problem in that check boxes in certain PDF files (insurance applications) appear as a "p" instead of a check box when I view the file in Preview or PDFPenPro. The check boxes appear and print properly when I open the PDF in Acrobat.

  • Specifying a process name for a java application

    Hi, we run multiple java applications on our Windows 2003 server. It is diffucult to monitor these processes as they all appear as "java.exe" in the Windows Task Manager > Processes. Is there a way to specify a name for such a process? My colleague h