PDF file to be attached in mail .Showing error in opening the Document .

Hi ABAP Gurus ,
Good Morning !
I converted a smartform to PDF and sended to function SO_NEW_DOCUMENT_ATT_SEND_API1 to send a mail external...
So, when I tried to open the file attachment, I can't open this file. and I watch a message : 'There was a error in opening the document . The file is damaged and could not be repaired '.
In one of the earlier threds on www. sdn.sap.com i found a solustion which says to use class CL_BCS but I don't know how to use this class or rather use classes in ABAP Programs .
I would be thankful if I am provided the sample code or some help regarding this issue .
I think if somebody provides a solution on how to use function SO_NEW_DOCUMENT_ATT_SEND_API1 that would make me Relieved .
Regards,
D Singh

Thanks Mr. Shehryar Shabbir & Mr. Vijay .
SDN is not allowing to send email id .Plz share the code in SDN.COM .
Regards ,
D Singh

Similar Messages

  • How do I send a large (23mb ) PDF file as an attachment in mail?

    How do I send a PDF mail attachment in mail that is greater than the crazy limit of 23MB?  Thanks for your help!

    Have you upgraded to Yosemite?  Then you could send the attachment using Mail Drop.
    You can use Mail Drop to send files that exceed the maximum size allowed by the provider of your email account. Mail Drop uploads the large attachments to iCloud, where they’re encrypted and stored for up to 30 days.
    If you have an iCloud account and you’re signed in to iCloud when you click Send, Mail automatically sends the attachments using Mail Drop. Mail Drop attachments don’t count against your iCloud storage.
    If you don’t have an iCloud account, or if you’re not signed in, Mail asks you whether to use Mail Drop (select “Don’t ask again for this account” to always use Mail Drop).
    If a recipient uses Mail in OS X Yosemite, the attachments are automatically downloaded and included in your message just like any other attachment. For other recipients, your message includes links for downloading the attachments and their expiration date.
    You can turn Mail Drop on or off for an account. Choose Mail > Preferences, click Accounts, select your account, click Advanced, then select or deselect “Send large attachments with Mail Drop.”

  • A picture that was saved in a word document is not showing when I open the document in Pages. Is there a way to recover the image, or a specific type of file that Pages only recognizes?

    My professor posted the course syllabus online and at the time, I was using OpenOffice. Whenever I opened the document the image would show perfectly fine, but I switched over to Pages because it had a template I know one of my professors wants a project to be done in. When I opened the same document in Pages to see if it would look the same, the error box popped up and said the image could not be imported and there was a blank box where the picture should have been. My question is, is there any way that I could somehow get the image to show or was it saved in a format that Pages doesn't recognize?

    Open the document with Open Office. Select and Copy the image. Paste it into Pages.
    If that doesn't work,
    Open the document with Open Office. Select and Copy the image. Launch Preview. Press command-N (New document from Clipboard). Save the Preview file as a PDF or JPEG, as appropriate. Insert that in Pages.
    Regards,
    Barry

  • TS1702 I installed Adobe Reader so I can read PDFs a teacher has posted online. How do I open the documents using Adobe? I tried the open button, but I still can not get more than the first page. Thanks

    I installed Adobe Reader so I can read PDFs a teacher has posted online. How do I open the PDFs? I tried using the open button at the top, but I'm only able to see the first page. Thanks

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • Printing pdf files in a browser (e.g. Firefox) without opening the file

    I have a web application, which is generating pdf files. Is it possible to print a pdf file on the default printer without opening the pdf file?
    I want to click on the link of a pdf file and the file should be printed immediately on the default printer.

    I do not think this is a feature of the browser. In Firefox I can set that a PDF file is opened using a PDF viewer. At this point I would specify the Adobe reader. Instead of opening the PDF file this file should be printed immediately.
    So my question is: Is it possible to configure the Adobe reader that the PDF file is printed immediately?

  • My pages is showing error while opening a document in microsoft word format. Please help

    While trying to open documents in microsoft word format, pages is showing an error. It is unable to complete the task and is requesting me to reopen pages but then no response. However I am able to work on pages format. Please help.
    thanks

    When you open a Word document in Pages, it is translated into the internal .pages document format — and you are no longer working in the original Word document format. This translation also occurs in reverse when exporting a document back to Word. When you open a Word document in Pages, if it has issues with the translation (missing font characteristics, other issues), it will open a warning dialog box and display these issues for you.
    If however, you prefer to always work in the native Word document format, and not risk translation issues, then you should be using MS Word in Office for Mac 2011 with the latest update.

  • Opening an Excel 2003 file in Office 2010 Universal Data Connection error when opening the file from a domain.

    Hi.
    One of my users are having  problem with old accounting files in Excel 2003 when opening Excel 2010.
    The user experience that linked information is not being updated properly.
    And suspects that it something do with Universal Data Connection .
    How can an Excel 2003 spread sheet be converted to Excel 2010 spread sheet and still contain active links?
    When the user is opening and converting the file as mention in your suggestion, on the common share on a common domain, the links "breaks".
    we are not using SharePoint on our domain.
    But when doing it on a local machine, the links does not "breaks".
    Looking forward to get solved to this problem.
    Thank you in advance.
    Rgds

    it sounds link, the links changed from relative paths to absolute path. You need to use absolute path in original file.
    KR

  • Why do old Adobe PDF files which I attach to a document show as Firefox files instead of an Adobe PDF file after an Adobe Reader update??

    Why do old Adobe PDF files which I attach to a document show as Firefox documents in my files instead of an Adobe PDF file after an Adobe Reader update?  My saved files Adobe PDF documents also appear as Firefox documents instead of Adobe PDF files.

    NO MATTER WHAT VERSION OF WINDOWS YOU'RE USING:
    Right click one of the PDFs with the Word icon.
    Select "Properties"
    Where it says "Opens With" there is a button to change it from Word to Adobe Reader, which should be in the list of available programs that pops up.
    Choose Reader, and click APPLY before clicking OK.
    That will change ALL PDFs to Reader as the default application.

  • When I open a word document attachment in mail for IOS 7.1.1 the previous jpeg is showing on the first page. When I open the attachment from mail in mac OS X the jpeg does not appear. Can anyone help?

    When I open a word document attachment in mail for IOS 7.1.1 the previous jpeg is showing on the first page. When I open the attachment from mail in mac OS X the jpeg does not appear. Can anyone help?

    gonsa47 wrote:
    When I open it in pages or word the correct company logo appears.
    Does the mail app display whatever is in the document without the ability to differentiate between hidden or non hidden images?
    The mail app will not display fillable form fields in PDF files that can be seen in real PDF apps. I say real PDF apps because the form fields in PDF apps will not appear in the iBooks app either. IMO, iBooks is not a real PDF app.
    So, I would say that the mail app cannot differentiate between hidden and non hidden items

  • How to send PDF file as an attachment in email?

    Hi Folks,
    I have successfully configured SMTP and by now I can successfully send normal text messages along with .TXT files. However, when I am trying to send an email along with .pdf file as an attachment, I am getting the mail in my inbox, but I cannot open the .pdf file! I am getting the following Acrobat error:
    Acrobat could not open 'abc.pdf' because it is either not a supported file type or because the file has been corrupted
    Can any help me in solving this problem?
    Thanks in advance
    Regards,
    Faisal

    Hi Vajha,
    Thanks alot for your kind reply. I also express my apologies for responding to your reply lately.
    I beleive all the links you have sent me are talking about ABAP coding. what I am interested in is,
    is there any configuration that I am missing in SCOT (Basis side)?
    Since I am not an ABAPER, so I carry out these activities.
    Can anyone please answer the following queries of mine:
    1. Can't we send any PDF attachment in a mail from R/3?
    2. Do we have to do it through coding only?
    3. In scot we have option "All formats except fllw". But it does not work for me. Any inputs?
    Thanks in advance.
    Regards,
    Faisal

  • IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend's

    IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend’s PC. How do i get both my IPAD devices to display the PDF icons/attachments? Bearing in mind if i open the same email over the internet the PDF Icons/attachments display OK!
    Has anyone come across this? Your advice/help would be most appreciated

    This happens to me all the time.
    If is a one page PDF it seems as though it comes over already open and inline in the body of the email. Multiple page PDF files show as the PDF icon.
    I can't find any official documentation of this - other than based on my own experience with PDF attachments in my various email accounts.
    Message was edited by: Demo

  • I have an iPad 2, and I am sending PDF file to my iPad, via a Hotmail email. But, the PDF arrives to the iPad in Mail already opended, as a picture on the bottom of the email. Is there a way to prevent it from auto open, so I can open with iBooks instead?

    I have an iPad 2, and I am sending PDF files to my iPad, via a Hotmail account. But, the PDF arrives to the iPad Mail account already opened at the bottom of the email. Is there a way to prevent this auto-opening of the PDF. I've seen screen shots with the box, and PDF listed inside the box, but mine open automatically. I want to get them into iBooks...?

    I am having the same problem and it is even bigger.
    When opening a 1-page PDF in iBooks and sending it via mail it is sent inline as preview, but the recipient cannot open the file anymore. Also on iPad and iPhone there is no "open in" possible.
    Somehow the mail app does destroy the file. What is going wrong?

  • Sending a pdf file as an attachment in the workflow.

    Dear All,
    In my workflow , i want to send a pdf file as an attachment.I know this topic has been discussed in earlier threads but i couldn't make out from them.So plz if possible do give simple detailed solution for better understanding.
    Regards,
    Geet Bijlani.

    The SOFM Object should be created as follows.
    1) get the relationship using class 'CL_BINARY_RELATION' using method 'READ_LINKS'
    2) get the instance ID from INSTID_B
    3) split the value according to the keyfields in SOFM and create object SOFM
    4) bind each object to the Workitem or Email.
    with regards,
    Sudhahar R

  • How to open a pdf file and then attach it with images

    I am new to Indesign Server.
    I'm currently working on a pdf.
    I have a white blank pdf template.
    that I want to attach/glue it with images.
    How to open a pdf file and then attach it with images.
    Please, help me.
    Thanks.

    First step would be to make yourself familiar with InDesign desktop version.
    Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
    Then try to automate your steps with scripting (see scripting docs or forum)
    If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
    If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
    A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
    Dirk

  • Why doesn't my pdf files that are on my iPad show up on my iMac or mac book pro

    Why doesn't my pdf files that are on my ipad show up on my imac or macbook?

    Have you copied them from your iPad ? If you are using the 'sync collections' setting then that doesn't copy items between devices/computers, all it does is if you move a book/PDF into a collection on one device/computer then if that book/PDF is also on your other device(s)/computer(s) then it will be moved into the same collection on them.
    If you connect the iPad to the computer that you sync it to and do File > Devices > Transfer Purchases then it should copy them over to your Mac's iTunes (that should copy PDFs and epubs that are in the iBooks app, not just actual ibooks) - in the iBooks app on your Mac you might then need to do File > Move Books From iTunes to move them over to it.

Maybe you are looking for

  • An issue of deploying war file on tomcat 5.5

    Hi, I know the regular process to deply a war file is like this - stop tomcat server, remove your previous war file and directory, say abc.war and dir abc, copy your new version abc.war into webapps and restart tomcat server. However, I found an inte

  • Creation of Appointment letter

    Hi to all.. I have to Create Appointment letter for HR.For that I have Created Infotype 9001 and Standard Object for Appintment letter.But i m not getting how to use that infotypes and Standard object in Smartform for displaying that letter, i have c

  • Tree node link using htmlb

    Hi all Do any one give me the code to make the object in the tree node as link to navigate to another page, Note:Onmouseover alone the object gets the link and I need to get the hand symbol reg balaji

  • NPS working with two factors in policy

    Hi All, We are using a Microsoft 2008 server with NPS installed and running. We would like our wireless employees to log-in based on two factors: 1. They use their domain username/password 2. The computer they are using has a computer account on the

  • Continuous crash with two different versions of flash player

    Have built my computer piece by piece and have Windows 8 as OS. Everything is compatible but Flash keeps crashing. I have tried to downgrade the version but that didn't work. It crashes with different things so I know it's not just one website or som