Mail - PDF Getting Truncated

My requirement is to convert Spool to PDF then send as mail attachment.
I am using function module SO_DOCUMENT_SEND_API1 to send the email. Email functionality is working fine.. But I have issues in the PDFu2026
My spool output is more than 255 characters hence PDF output is getting truncatedu2026
Please suggestu2026
I could see many post ..but could not see a proper reply

Hey Vik,
I doubt if the spool in longer than 255 characters it will be truncated at first place.
Even if you set the maximum LINE-SIZE your spool cannot display more than 255. May be i am wrong.
@OP:
I think you should have a look at the OSS [Note 1226758 - Displaying wide spool requests in SP01|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1226758]
BR,
Suhas
PS: At last i got my access to SAP Marketplace ))
Edited by: Suhas Saha on Feb 23, 2010 2:28 PM

Similar Messages

  • /etc/netscape.mail.conf getting truncated to 0 bytes

    After saving configuration changes in Messaging Server, the error
    "LoadEnvironment failed" occurs, and the file /etc/netscape.mail.conf
    is truncated to 0 bytes.
    <P>
    This error occurs when the partition containing /var has run out of
    space.
    <P>
    Despite the fact that the postoffice and mailbox directories can be
    installed elsewhere, the server still requires free space in the /var
    filesystem to cache changes to the configuration file. A minimum of
    10MB should be left
    available in that partition.

    Hi Laura,
    done with the options:
    <?xml version="1.0" encoding="UTF-8"?>
    <GWCheck database-path="L:\XX_PO">
    <database-type>
    <post-office>
    <post-office-name>
    XX_PO
    </post-office-name>
    <object-type>
    <user-resource>
    <name>
    userq4f.db
    </name>
    </user-resource>
    </object-type>
    </post-office>
    </database-type>
    <action name="analyze-fix-database">
    <contents/>
    <fix-problems/>
    </action>
    <process-option>
    <databases>
    <user/>
    <message/>
    </databases>
    <logging>
    <file>
    gwchk32.log
    </file>
    </logging>
    <results>
    <send-to>
    <admin/>
    </send-to>
    </results>
    <misc>
    <support-option>
    SUBJECTLIST
    </support-option>
    </misc>
    </process-option>
    </GWCheck>
    But there is nothing in the folder from where I gwcheck.exe started.... Any other suggestions?
    Thanks,
    Pascal

  • E-mails get truncated when forwarded

    When I forward an e-mail from within the e-mail app, the e-mail does not get forwarded completely. For some reason the original text gets truncated.
    I first noticed this on IOS 6 on both the iPhone 5 and iPad 3rd gen.
    Please advice me what to do, because this way the e-mail app is not reliable.
    Kind regards.

    Thank you. I will have to try this out with a known troublesome link, but I don't recall getting an "open with" dialog in these circumstances. Also, as I understand these things (and I probably don't) the links I have tried to use have been communication links rather than a file opening function. The problem I got the other day was on a BBC site and the function of the link (which was an e-mail address) was to enable me to post a question. I was able to use that address to post the question without using the link shortcut - just sent an e-mail.

  • Why does a PDF file created in Pages, attached to e-mail, not get sent?

    Why does a PDF file created in Pages, attached to e-mail, not get sent?  I even blank copied myself and nothing seems to have been sent.  Could it bee the size of the PDF file?

    They send for me, my test document was 3.8 MB.

  • PDF data truncated

    Hi All,
    I am trying to convert the Spool data to PDF and sending it as email. The email has sent sucessfully, but the problem here is the data is getting truncated. But in spool I can see all the fields displayed. Where as in PDF some fields are getting truncated.  When I run my spool request using standard program "RSTXPDFT4", I am getting the same problem. Please help me if any one has some idea regarding this.
    Here I am sending the code which I am using for this.
    *....Convert Spool to PDF
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = G_SPOOL_NUM
          NO_DIALOG                = 'X'
          DST_DEVICE               = G_PDEST
        IMPORTING
          PDF_BYTECOUNT            = NUMBYTES
        TABLES
          PDF                      = PDFDATA
        EXCEPTIONS
          ERR_NO_ABAP_SPOOLJOB     = 1
          ERR_NO_SPOOLJOB          = 2
          ERR_NO_PERMISSION        = 3
          ERR_CONV_NOT_POSSIBLE    = 4
          ERR_BAD_DESTDEVICE       = 5
          USER_CANCELLED           = 6
          ERR_SPOOLERROR           = 7
          ERR_TEMSEERROR           = 8
          ERR_BTCJOB_OPEN_FAILED   = 9
          ERR_BTCJOB_SUBMIT_FAILED = 10
          ERR_BTCJOB_CLOSE_FAILED  = 11
          OTHERS                   = 12.
      LOOP AT PDFDATA.
        TRANSLATE PDFDATA USING ' ~'.
        CONCATENATE GD_BUFFER PDFDATA INTO GD_BUFFER.
      ENDLOOP.
      TRANSLATE GD_BUFFER USING '~ '.
      DO.
        IT_MESS_ATT = GD_BUFFER.
        APPEND IT_MESS_ATT.
        SHIFT GD_BUFFER LEFT BY 255 PLACES.
        IF GD_BUFFER IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Creating the document to be sent
      DOC_CHNG-OBJ_NAME = 'IG Balance'.
      DOC_CHNG-OBJ_DESCR = 'IG Balance Confirmation Report'.
      OBJTXT = 'Thanks & Regards'.
      APPEND OBJTXT.
      OBJTXT = 'P.K'.
      APPEND OBJTXT.
      OBJTXT = '+91-9'.
      APPEND OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 2560 + STRLEN( OBJTXT ).
    Creating the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'RAW'.
      APPEND OBJPACK.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
      OBJHEAD = 'IG Balace.PDF'. APPEND OBJHEAD.
    Creating the entry for the compressed attachment
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'PDF'.
      OBJPACK-OBJ_NAME   = 'ATTACHMENT'.
      OBJPACK-OBJ_DESCR = 'IG Balance Report'.
      OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK..
    Entering names in the distribution list
      RECLIST-RECEIVER = 'p.com'.
      RECLIST-REC_TYPE = 'U'.
      APPEND RECLIST.
      RECLIST-RECEIVER = 'j.com'.
      RECLIST-REC_TYPE = 'U'.
      APPEND RECLIST.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = OBJPACK
          OBJECT_HEADER              = OBJHEAD
          CONTENTS_BIN               = OBJBIN
          CONTENTS_TXT               = OBJTXT
          RECEIVERS                  = RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.
    Regards.
    JR.
    Message was edited by:
            Jayant

    I am able to generate a PDF,but it gets truncated.
    In the place where its expected to display 200 CHARACTERS,
    it displays only 85 CHARACTERS.
    REST is TRUNCATED.
    Any more solutions???
    I am looking at a solution to overcome TRUNCATION.........
    Helpfule replies will be awarded for sure
    Message was edited by:
            Jayant

  • In Read_text FM, the data after 256 characters gets truncated

    Hi All,
    In this FM, the internal table can't have string type field. In my case the data is in multiple lines of internal table and I am concatenating into a single field which is of type DESCRIPTIONS(string). I am passing this data to a table in smartform.Only 255 characters are printed, remaining data gets truncated. I am using CONVERT_OTF and SX_TABLE_LINE_WIDTH_CHANGE FMs to create PDF. Is it the limitation or I am incorect here?

    Your posting title is misleading; there's nothing wrong with FM READ_TEXT.  Yes, it returns a table of type TLINE, as you've noted.  Perhaps you could close this post and repost in FORM PRINTING with an appropriate title like: Can't show more than 255 characters of text.....but search first, because you cannot be the first person to encounter this limitation.

  • Mail PDF from Pages...doesn't use default app

    Have set Mail to indicate Thunderbird as default mail client. Clicking on a mailto link in Safari opens Thunderbird, as expected.
    But...
    In Pages, doing Share/Mail PDF, Mail opens, not Thunderbird. Have examined the Preferences .plist where such instructions are stored, and it correctly shows Thunderbird, as was set in Mail.
    Is there an editable .plist or something somewhere that I can edit to get Pages to behave?
    Thx.

    Eureka! Look here for the UBER-simple tip (see comments, post #12 from a genius named pcummings):
    http://forums.macworld.com/index.php?/topic/120786-four-essential-pdf-tips-for-s now-leopard/
    I verified that this works!!

  • Leading zeros getting truncated in plsql report

    Hi,
    I've a requirement of a plsql report with an excel output. When i see the output in excel, the leading zeros get truncated. Is there any suggestion for this, other than enclosing within ' '. Because this particular solution prints the output along with quotes which is not acceptable. Please help me with this.
    -Divya Goteti

    Just prefix with =" and " at teh end of column. like
    select '="' || bank_account_no || '"' from employee_bank_list
    but if you are using same report for pdf also then use decode in pre/postfix.
    Imran

  • Email  getting truncated in SOST

    Dear SRMer's,
    System Information : SRM4.0
    As part of the business requirement, our email address in SRM need to be a max length of 100 characters. When testing by creating a shopping cart and adding an approver with a 100 character length email,  in SOST, the email address is getting truncated to 40 characters and the following error message is displayed:
    "Cannot process message, no route from Sender XYZ  to Receipient ABC"
    Here is the long text of the error message:
    Cannot process message, no route from Sender XYZ  to receipient ABC
    Message no. XS826
    Diagnosis
    To continue processing, the system requires a valid route from sender XYZ  to recipient ABC (type INT).
    System response
    The action was terminated.
    Error occurred in R/3 in SAPconnect
    Procedure
    If this error was generated within R/3 by SAPconnect, you have the following options:
    Create a route (i.e. assign a suitable address area, which covers the above address, to a node).
    1. Check whether the route exists, but the node to which it is assigned is not in operation. If this is the case, change the route or put the node into operation.
    2. Change the recipient address if it has been entered incorrectly.
    If the error was detected outside of R/3, please read the operator's manual for your communication software or contact the manufacturer.
    Please let me know if any one encountered this problem before and has a solution for it, or do we need to open an OSS Note.
    Points will be rewarded for answers.
    Thanks in advance,
    Bob

    Hi
    Seems to be a bug.
    Note 888730 - Approval link in e-mail for offline approval is truncated
    Note 615876 - 3.0-4.0: Extension of the field for the e-mail address
    Note 595553 - Mail has the status 'Error', but was sent
    Note 86106 - SAPconnect: Faxing from application, error XS826
    Note 1031866 - RFx & Auction URL in bidder's email notification truncated
    Note 851090 - General Note: Enabling E-mail for use in Job Bid Management
    Note 176492 - Automatic email when an alert occurs (RZ20)
    Incase this does not help, please raise a customer OSS message with SAP as well.
    Regards
    - Atul

  • Single keyboard shortcut needed for doing the Mail PDF

    I very frequently e-mail Word files (using Apple Mail) as PDFs. However, it takes two long steps (Print Command and pulldown to Mail PDF command). I want to have one single keyboard shortcut for doing the Mail PDF.workflow command from within Word and not have to use the mouse at all. Any ideas?

    Maybe you can script it with AppleScript Editor (in Applications)? I'm no AppleScript guru, but since you did not get any other response, I thought I'd mention it.
    Get to the point where you want to use your keyboard command. Hit Record in AppleScript editor. If those actions are scriptable (not everything is), they will show up in the window. Hit Stop when you are done. You should be able to save the script as an application.

  • Pages mail PDF now takes longer to load to send a PDF mail why

    HI can some one help me please since I have updated to OS X Yosemite in pages when I do my invoice and click on mail PDF it's takes ages to load when before it was in Instant if you no what I mean can some one help please
    Thank you

    This isn't likely to be anything to do with the size of the message.
    I'm guessing it's related to DNS. The server performs a reverse DNS lookup on your client IP when it connects. Until that lookup completes it won't process the message. If your DNS isn't setup properly then it can take up to 30 seconds for the DNS lookup to timeout before the mail server continues with the connection.
    You can get an idea if this is the case by watching the Mail Activity window as you try to send mail. A long 'opening connection' phase indicates that this is likely the problem. You can also check the mail logs or message headers which may indicate the same thing (e.g. the headers won't show the reverse lookup of the client's address).
    As for how to fix it - that's up to your DNS server configuration, so check with whoever manages that.

  • Data getting truncated while exporting report to a text file in crystal 10?

    Hi All,
    I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and it update "CharPerInch" value in registry under following location to 16.
    HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text
    The dialog asked for character per inch also has option to select not to prompt again and i also selected that in first go.
    When i export the report again in text format it didn't prompt for number of character per inch but the data gets truncated.
    What i believe is even though it updates entry in registry and reads, it is not using the same value for export. It never consider the value that is in registry, if the check box is not selected then it is using the value entered in the dialog and if the check box is selected then in the next run it uses the default value as 9.
    Can anyone suggest me how to override this problem ? Is there any other setting place in registry where i can enter the number of character per inch.I don't want to crystal to prompt always for character per inch.

    Hi Venkateswaran,
    The other option to avoid truncation of the data could be
    Right click the text filed
    Click on Format Text to open the Format Editor
    On Common tab check the text box for Can Grow.
    This will prevent the data from truncating in preview as well as while exporting to text.
    Otherwise you will have to set the characters per inch to 16 each time. I donu2019t see changing the registry value causing any difference here.
    Regards,
    Aditya Joshi

  • When I open mail I get a list of the messages received but when I click on a message it does not displaying the main window. I have 2 different mail accounts

    Just bought a new MacMini(my first Apple PC) and when I open mail I get the brief details of mail received but whe I click on the message to read the details I get a "loading" sign but the message is not displayed.
    Any help for a Dumbo would be appreciated.

    Very strange, do you have any AV or Web filtering apps like Norton installed?
    Do the working accounts use a different Port or Authentication than the non-working one?
    The receiving email ports are:
    IMAP is port 143
    IMAP-SSL is port 993
    POP is port 110
    POP-SSL is port 995

  • On 10.4.11 Mac Mail I get this: Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unnedded documents or move documents to another volume. I can't open mail.

    On 10.4.11 iMac Mac Mail I get this message: "Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unneeded documents or move documents to another volume." I can't open mail to do this. I have reinstalled software but no effect. How do I get into Mail to delete?

    Found this on the "more like this" Worked like a charm!
    With the Mail.app quit and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Go to Home > Library > Mail > Envelope Index. Move the Envelope Index file to the Desktop.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the import process to complete.
    After confirming all mailboxes were successfully imported and available, you can delete the copy of the Mail folder and old Envelope Index file from the Desktop and this should resolve the problem.

  • Hyperlinks from other placed indd documents or pdfs getting lost after export to PDF

    after upgrade vom CS 5.5 to CS 6: hyperlinks from other placed indd documents or pdfs getting lost after export to PDF
    I tried all options for the as well known and working export options

    after upgrade vom CS 5.5 to CS 6: hyperlinks from other placed indd documents or pdfs getting lost after export to PDF
    I tried all options for the as well known and working export options

Maybe you are looking for

  • Closing the iBook when using S Video

    I was told, at the apple store, that if I bought an iBook and the Video Adapter, I could hook my ibook up to my high def tv. I recieved my adapter and computer yesterday and hooked it up to my 51 inch TV. I was pleased that I was able to get a pretty

  • I am trying to download illustratorcc on the cloud but my wheel is just spinning

    I am trying to download illustratorcc on the cloud but the wheel is just spinning.

  • Sick of interleaving - how long does DLM take

    Have had problems with a dishwasher tripping our electric over the past month and this has of course caused DLM to kick in any put interleave on line and limit my IP profile to always be below 60 mb.  My data rate is currently 57957 and hasn't increa

  • When will Flash Player support my 64-bit browser?

    I have had my new Windows 7 PC for a couple of weeks now. When I first got it, I kept getting messages telling me I needed to install Adobe Flash Player in order to get the full experience of a website. So I installed the Flash Player. Subsequently a

  • Itunes persistent silent launch issues

    The problem I have is when I double click on itunes and the computer thinks for a few seconds and then nothing happens, no error message. When I check the task manager itunes.exe is running under processes, no abnormal CPU usage. I have been having t