PDF file contains truncated records

Hi ppl,
I have created a report program where I am displaying my data using dynamic internal table concept.
The next part of the requirement is that the output should be converted to PDF and sent as an e-mail attachment to the e-mail ID mentioned on the selection screen.
For this, I am using the below mentioned logic:
1. The program should be executed in background only for spool generation.
2. I am getting the spool ID at runtime and converting the spool in PDF using FM 'CONVERT_ABAPSPOOLJOB_2_PDF'.
3. Sending this PDF via email as an attachment using the FM 'SO_DOCUMENT_SEND_API1'.
The program gets executed without any error; I am even getting e-mails with the PDF document.
But, as my output record size is dynamic in nature, even in the spool, I sometimes don't see the complete record displayed.
So, the PDF file which I receive also shows truncated records.
I need the full record to be seen in the PDF irrespective of the record length.
Please let me know how to resolve this issue.
Regards,
Dawood.

Check if changing the line-size parameter in the report statement helps. Else you might have to choose a output type which can hold more number of columns.
report zreport line-size 1023.
Vikranth

Similar Messages

  • Conversion of pdf file containing kannada data to excel

    Sir i have a pdf file containing data in kannada language.  when i convert it to excel i do not get

    Maybe this is relevant, if not helpful: http://forums.adobe.com/docs/DOC-1812

  • HELP: Appending new records to File containing 1 Record

    Hi, im transferring records to a file, the first line of the file contains the headers (used 'NO END OF LINE'). The problem is that when I write the data records to the file, the first record continues from the end of the Headers line, hence i have a record missing in my statement. I want to append the records below the Headers line. I tried opening the dataset 'for appending' instead of 'for output' but I get the same result.
    lv_ds_name_ex  = Filename
    Code:
    Getting field descriptions to use as headers and tranferring to file
      open the dataset
      OPEN DATASET lv_ds_name_ex FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    CLEAR: lt_dfies.
      " Get field descriptions from settlement table
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname   = 'zrl_generic_record'
        TABLES
          dfies_tab = lt_dfies.
    write column headers to the file
      LOOP AT lt_dfies.
        IF lt_dfies-scrtext_m = 'Char15'.
          IF lv_counter < 1.
            lt_dfies-scrtext_m = 'Remuneration Amount'.
            lv_counter = lv_counter + 1.
          ELSE.
            lt_dfies-scrtext_m = 'Commission Amount'.
          ENDIF.
        ENDIF.
        TRANSFER lt_dfies-scrtext_m  TO lv_ds_name_ex NO END OF LINE.
        TRANSFER ';' TO lv_ds_name_ex NO END OF LINE.
      ENDLOOP.
    Close  DATASET lv_ds_name_ex.
    Transferring data records to file
    open the dataset
      OPEN DATASET lv_ds_name_ex FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
    write records to the file
      LOOP AT lt_generic_record_csv INTO ls_generic_record_csv.
            TRANSFER ls_generic_record_csv TO lv_ds_name_ex.
      ENDLOOP.
      "close the dataset
      CLOSE DATASET lv_ds_name_ex.

    Solution: TRANSFER " " TO lv_ds_name_ex. (This simply adds an empty line/record with an end of line) see code before closing the dataset 
    open the dataset
    OPEN DATASET lv_ds_name_ex FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    CLEAR: lt_dfies.
    " Get field descriptions from settlement table
    CALL FUNCTION 'DDIF_FIELDINFO_GET'
    EXPORTING
    tabname = 'zrl_generic_record'
    TABLES
    dfies_tab = lt_dfies.
    write column headers to the file
    LOOP AT lt_dfies.
    IF lt_dfies-scrtext_m = 'Char15'.
    IF lv_counter < 1.
    lt_dfies-scrtext_m = 'Remuneration Amount'.
    lv_counter = lv_counter + 1.
    ELSE.
    lt_dfies-scrtext_m = 'Commission Amount'.
    ENDIF.
    ENDIF.
    TRANSFER lt_dfies-scrtext_m TO lv_ds_name_ex NO END OF LINE.
    TRANSFER ';' TO lv_ds_name_ex NO END OF LINE.
    ENDLOOP.
    TRANSFER " " TO lv_ds_name_ex.
    Close DATASET lv_ds_name_ex.
    open the dataset
    OPEN DATASET lv_ds_name_ex FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
    write records to the file
    LOOP AT lt_generic_record_csv INTO ls_generic_record_csv.
    TRANSFER ls_generic_record_csv TO lv_ds_name_ex.
    ENDLOOP.
    "close the dataset
    CLOSE DATASET lv_ds_name_ex.
    Edited by: Daniel Lebotse on May 15, 2008 5:42 PM

  • How to: Save many PDF files containing images as jpeg

    I have a whole lot of PDF files that only contain images. I need them to be in jpeg format however.
    To convert them I'd need to open all theses pdf files in Preview and then "save as" jpeg. This does the job wonderfully.
    But it only does so for one pdf/image at a time. There's no way I can do this for all the files.
    I need to preserve the pdf files' names, too, so I can't combine the files and insert them into one pdf. This would result in having jpegs all right, but with names that do not represent the original file names.
    How can I batch process this with Preview?
    I tried the Automator but haven't found any way of doing it there.
    Does anyone have an idea how to accomplish that?

    Hi PPAC,
    What version of Windows are you running? I found another thread about this particular issue, with two possible solutions. One is to make sure that you're logged in as an administrator, and the other is to change the compatibility to earlier version of Windows. (Right-click the Acrobat application icon, choose Properties, and then choose compatibility.)
    I'm also curious what export settings you're choosing when you save as JPEG...
    Best,
    Sara

  • Colors shift when a PDF file contains transparent image

    Hello,
    I tried to programatically set a soft mask to an image by using the Addobe PDF Library, in order to make part of the image transparent. The image color space is RGB. I used PDEImageSetSMask() funtcion for setting the mask. I also have a PDF file that was created in the same way but without the part of the code that sets the mask. Therefore this PDF contains the same image as not transparent.
    When I open two files in Adobe Reader 9.2.0 the colors are not the same. The colors in the file which contains the transparent image are a bit darker. The colors are different not only inside the image box, but in all page area. I also tried to open the same file in GSView and there was no such problem.
    Can I fix this by changing the Adobe reader preferences, or this is a problem in the code that genereates the PDF?
    If this is not the correct forum to ask this question, please direct me to the correct forum
    Thanks

    You need to set the transparency blending space of the page to RGB, since the default blending space is CMYK (hence the color shift).  You do this by adding a transparency group dictionary to the page's dictionary when creating the PDF.

  • Generating pdf file per data record in XML/BI Publisher using Java ConcPrg

    I need to developa Java Conc program which would read a table and for each record in a table generate a separate pdf file(fixed template).This is a java conc prg so I need to use XML/BI Publisher API's to acheive this.
    What would be best approach to acheive this, so that I could create a separate pdf file for each data record.Please respond ASAP.
    Thanks in advance.

    I need to developa Java Conc program which would read a table and for each record in a table generate a separate pdf file(fixed template).This is a java conc prg so I need to use XML/BI Publisher API's to acheive this.
    What would be best approach to acheive this, so that I could create a separate pdf file for each data record.Please respond ASAP.
    Thanks in advance.

  • How can I convert a pdf file containing a scanned document?

    I tried (and paid for) Adobe ExportPdf. It did not work. I get a Word-Document containing huge images. Useless.

    Hello and sorry for the long delay in answering.
    I have tested several pdf files that only contain scanned images.
    I always selected the correct language for text recognition.
    The first I tried was a Spanish document with 13 pages, converting to *.doc. The original had 3162 kB, the newly created Word document has 11836 kB. It contains only images, every page in the PDF document is an image.
    Then I did a German document with only one page, it was converted beautifully into a WORD-Document.
    Same for a Spanish document with only one page, it was converted beautifully into a WORD-Document.
    Then I tried a again Spanish document with 18 pages, converting to *.docx. I took about 10 minutes due to my slow Internet connection. The original has 3807kB, the converted file 6559 kB. The opened converted docx-file is almost empty.
    Is it possible that multiple page documents do no work?
    Would you like to have a look at these documents yourself?
    Thank you and best regards, AlMarsad2013

  • Can I modify a pdf file containing a signature field prior to download?

    I have a pdf file I use as a template and in my .net application I fill in a few fields using pdfstamper, iTextsharp, etc.  I'm new to this.
    That all works.
    I also have a signature field in my document.
    After I modify the fields, with the person's name, etc., I download it to the client machine, open it in Adobe Reader X, and ask the user to sign the document.
    I get an error saying "This document enabled extended features in Adobe Reader. The doc hsa been changed since it was created and the extended features are no longer available......"
    Is there a way for me to do what I'm trying to do?  I hope this is somewhat clear.  It appears that modifying the fields with itextsharp is what's causing the error to occur.

    Thank you for the replies.
    More specifically, here's what I'm doing.  There's a desk where people come to pick up a gift card.  When someone picks one up, a clerk runs this .net program, selects the persons name form a dropdown list, I modify a pdf file (using iTextSharp), by adding the person's name, the serial number of the giftcard, etc, download this file to the client desktop, where the person signs using an ePad.  Then the clerk saves that pdf file.
    The clerk will not be able to go into the menus and remove and/or save Reader Usage Rights.  Is there a way through code that I can add Reader Usage Rights after I modify the file.  It sounds from your replies that that's what I need to do.
    Also, I don't really care about the official "signature", security, certificates, etc.  I just want someone to be able to scribble onto the document using a signature pad. 
    I do have Acrobat Pro X and LiveCycle.  (I assume that means I have LCR Extensions.)
    Dave

  • PDF files containing XFA forms cannot be saved to the specified format.

    Acrobat Reader

    gracias por responder mi inquietud, tengo un problema, traté de convertir un texto de PDF hacia work y salió este errorAdobe Reader for iOS can read most PDF files. It cannot do conversions. It also has limitations and cannot read some kinds of XFA forms.
    que puedo hacer para resolverlo.

  • PDF file contains strange characters and letters.

    PDF file shows strange characters and letters. Why does this happen? How do I correct this so I can print print the file?

    This is probably due to fonts not be embedded in the pdf or too many different font subsets. If it is the former issue, you need to contact the creator of the pdf and have them embed the fonts. You cannot do it, since if you had the fonts on your system, it would ok. If it is related to font subsets you could try to unembed all fonts in the pdf using the PDF Optimizer, then re-embed the fonts using the Preflight tool.

  • Correlation for files containing multiple records

    I was learning correlation from a nice blog below.
    /people/milan.thaker/blog/2008/07/23/correlation-150-runtime-behavior-of-bpm
    I have one question though. In the case where the correlation is done on  a key field say PsNo.
    Now if two files have multiple records, will the correlation compare the PsNo of each record or is the comparison just on the first PsNo of each file record.
    Thanks,
    Minhaj.

    Hi Minhaj,
    1) Suppose if you want to merge 2 files into a single file based on a keyfield (PsNo), You are opting Correlation in BPM.
    In your Correlation Editor, You should mention the XPATH Expression for Keyfield(PsNO) for the involved messages.
    2) Only if both the values of keyfied(PsNo) in 2 files are equal then Only you can merge all those 2 files into single file.
    So first PsNo of each file record is going to compared with another file.

  • How to print the PDF file contains stamps without set the printer options

    I have pdf document, and stamp them with my personal stamp.
    With the printer option under "Comments and Forms", I set to "Document", my stamp DISAPPEARED.
    Unless re-set (use options) to "Document and Markups" or "Document and Stamps" then it will be fined.
    Can I embeding my stamps to my document so that everyone can print without using printer options to contain stamps?
    (regarding to whoever don't know how to set the printer options, and keep asking that I did not stamp on the doc.)
    Please help.
    Thanks in advance.
    th

    Can I embeding my stamps to my document so that everyone can print without using printer options to contain stamps?
    Yes, you can.

  • Failed export to Excel PDF files contain XFA forms cannot save in specified format

    Has this excercise been a waste in time and money. Like my car I will put petrol oil water and air where they need to go but don't care how they make the car work as long as it goes

    Converting forms to fill them in is never a good idea; if they are official forms it can be a catastrophe. Keep the forms as PDF, don't convert.
    XFA forms are ALREADY FILLABLE. If you can't fill it there is a fault.

  • Why do converted pdf files contain numerous errors?

    When I convert a pdf to word there are many errors in the worrd document.   When I save the document to my document library it dissapears.  Whats up?

    Hi there,
    I'm having the same problem, started only recently. Did you find a reason/solution?
    I've tried Windows 7 and Windows XP, no difference. IE and FF open on page 2, but Chrome opens on page 1, as it should.
    Googling around I found people having similar problems after updating to new version of AIR and Acrobat Reader, so it might be a bug/incompatibility introduced by those updates.
    My best guess is that it has to do with the reading order being improperly generated by the PDF library (FPDF in my case).
    Thanks for reading!
    Marc

  • "IS THERE A WAY AROUND THE XFA PROBLEM? pdf" failed to export to docx. PDF files containing XFA forms cannot be saved to the specified format.

    I really need to fill out this application which is a pdf with xfa forms.  Is there away to convert this to a doc?

    Converting forms to fill them in is never a good idea; if they are official forms it can be a catastrophe. Keep the forms as PDF, don't convert.
    XFA forms are ALREADY FILLABLE. If you can't fill it there is a fault.

Maybe you are looking for

  • Inatall Problems

    I paid for PSE 11 Upgrade and downl;oaded the files. During the install I got error notices about a corupted Data 1.cab file (Error 1335) and Error 2350 - Server Error. I think I have those correctd and I want to download the program again. How do I

  • Erro in Hierarchy Display in Crystal Report 2008

    HI Experts, I have connected MDX Query with Crystal Reports 2008. In my MDX Query, I took G/L Account as an Info-object Hierarchy in which there are more than 10 nodes and each nodes having G/L accounts range. When i tried to create  a crystal report

  • Add Field - Configuration Manager

    Hi all, I add a field to the checkin menu with Configuration Manager. My name field is Local. Then I tried to override this field but instead of it the Content Server add a new field to the checkin menu with the same name: <@dynamichtml std_document_

  • Using speak text with pages

    Trying to use speak text with pages. Keyboard pops up all the time Blocking the speak now option. Anyone have a way around this? iPad 1, large file.

  • Unable to upload txt file when creating new message

    Hi Expert, We installed SolMan 7.1, but we are not able to upload txt file when create a new message, detailed steps as below: 1. Click on "New   Message" under "Common Tasks" in the left side 2. Click on   "Attachment" under "Create Message" 3. Clic