E-mail HR Payslips as PDF attachments

Good afternoon,
I want to e-mail the HR Payslip to users in my company as PDF attachments. My idea is to use the standard report RPCEDTP0 and check if the user has an e-mail address on infotip 105. If No, just print the payslip. If Yes, send the payslip to the spooler, get the spool order id back, convert it to pdf and send the mail. All those steps are not dificult to code. The problem is Where to make this on the original report. Is there any user-exit that can be used to implement this logic? if not, what's the better way to solve this problem?
Thank you
Best regards
Paulo Sousa

Hello,
Just like you have defined an ouput type for smartforms ,you can define new output type with external email option as medium which will first generate a PDF from invoice data & then send it as email .
I am not sure but you can also try this ::::::
     If you have custom-developed smartforms program,then you can add email code at the end of smartform execution by generating PDF, in the same output type instead of  creating new.
Thanks.

Similar Messages

  • Mail sends Word and PDF attachments but they don't arrive

    When I send emails with Word or PDF attachments they leave my inbox, but the email is not received on the other side.
    Anyone know why?

    Hi Ernie
    I see you've answered many peple's questions about this, thanks! I've tried deleting the outbox in my Library folder as you suggested to someone else.
    Messages without attachments are received by others.
    Messages are sent to sent box
    Messages show they have an attachment in the sent box.
    Another related issue that has happened. I might have 5 attahments and then saved them the email to the Drafts folder, only to find that it has deleted or can't see several of them when I open it again to send.
    Thanks for this
    dyingswan

  • Mail - can't download pdf attachments made on pc???

    When trying to open pdfs that were created on a pc I get the following error when trying to drag it to the desktop..."You can’t drag attachments until they’ve been downloaded. Do you want to download this attachment?" If I save it then it saves but will give an error message that it is an empty file,,after saving it it saves as a zero kb file even though in webmail it's showing up with the real size of the t=file...not sure what's going on...this opens fine on a mac when I open it through Thunderbird and a web based version of mail...it seems to be a mac mail issue...any ideas? I'm stuck with what the problem could be.

    Here's what I provided the other poster:
    I would remove the account completely in the preferences, and set it up again. But before doing that, create a New User Account, and as that New User try to set up the account that can receive these messages with PDF and test. If not familiar with setting up a New User Account, see:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8235.html
    This will be a useful test, and obviously is not meant to suggest a permanent switch to the New User Account, but rather a test of all the factors outside your normal User Account. It would bypass any problems in the current User Account. If your account is POP, make sure it is set to leave messages on the server in the New User Account.
    Anyway you can get one of these messages with PDF sent directly from the original sender? If so, you can find an address for me by clicking on my name to the left, and looking in the bio line of the resulting Profile.
    Ernie

  • Mail 4.5 corrupts PDF attachments from gmail (while outlook 2011 doesnt)

    I have a gmail account with scanned documents.
    I add this account to in Mail and then some of the PDFs are damaged and can not be corrected. The interesting matter is that via web-access and Outlook 2011 there is not a problem.
    I have tried many different solutions I could find on the web incl. here. From deleting the mailboxes to deleting the cache-files. Ultimately I deleted the whole mail app (incl. lib files with CleanMyMac), reinstalling and reinstalling the combo.
    After adding the account the last time, I minimized the window, till all activity was finished and everything cashed etc.
    I opened mail and again the same problem.
    Additional remarks: There are many attachments with the same name, because they were send by a HP Office machine. Some have a problem most don't I would estimate the problem is in 10% of the mails.
    Again via Web-access and Outlook 2011 all attachments are correct.
    I could use Outlook, their calendar doesn't sync with gmail and I also don't like how outlook is handling (and messing-up) my v.cards .
    Any help would be highly appreciated.

    Ernie Stamper wrote:
    The IMAP setting to Keep copies of messages and their attachments has little impact unless not connected to the internet and wanting to work Offline. If connected to the internet, and you click on a message, it will be downloaded, even if not already so by virtue of this setting. If not selected to Keep copies . . . and attachments, then you will be subject to the goodness of the internet connection at that moment. I am only partially keeping abreast of your investigations, but it may be that transmission is muddled at certain times?
    I didn't actually try reading the messages without an internet connection. When I had the account in the default "message+attachment" option, the attachments tended to stay on the server. When I switched to "message, no attachment", the attachments were always downloaded. That sure sounds like the opposite of what I would have expected. I've never used the "message, no attachment" setting so that is new to me.
    But I may be missing a step in the sequence of things you have found out. Do you have any reason to think that in the message cache created by selecting Keep copies . . . something could be altering files?
    I know that if the Mailbox index gets corrupted, it can cause attachments to be lost - at least temporarily. When I do testing with a local mail server, sometimes the timing is off (too fast maybe) and the message is almost always corrupted. Rebuilding the mailbox fixes it.
    My initial theory was that the HP devices were spitting out bad MIME messages and that gmail was fixing them. Now I think that gmail IMAP just flakes out every so often with these big files. There could be other explanations too. The PDF was just truncated. I don't think a bug in Apple Mail is a likely possibility.

  • Pdf attachments do not come through on iCloud mail but they do on other email accounts on same device

    I have several email accounts set up that appear on all my devices: iMac, iPhone and iPad.  I use 2 email accounts for work purposes, and good thing I use two. I receive pdf attachments in non-apple email accounts, but the same email sent to my iCloud address comes through minus the attachment and shows only "winmail.dat".  I am using the same device to read the email from the different accounts, but the problem is consistent with all my apple devices. This has to be a setting in iCloud mail but I can not figure it out. Please help.

    Basic troubleshooting steps clearly outlined in the User Guide are restart, reset, restore from backup, restore as NEW.
    If the basic troubleshooting steps don't work, then you'll need to bring your phone into Apple for evaluation and probable replacement.

  • I recently purchased an Iphone 6plus and I am receiving pdf attachments that are shown as winmail.dat attachments on the phone. When I check e-mail via  my macbook pro the attachment is a pdf and I can open it. Why is this happening?

    I recently purchased an Iphone 6plus and I am receiving pdf attachments that are shown as winmail.dat attachments on the iphone. When I check the same e-mail on my macbook pro the attachment is a pdf and I can open it. Why is this happening?

    I had this problem too after i upgdatd to OS X Mavericks... only the songs on my iphone 5s that i purchased from itunes would play.
    i read something about it being a syncing issue. when you plug your phone into your computer with the usb cable, the person said to switch from automatic syncing of itunes to the "manual" option. mine was already set to manual so i wasn't sure anything would work. BUT, when i plugged my phone into my computer, it started to sync all of my music on my phone again (top of itunes bar where song playing/time is listed said "now syncing 123/534 songs to x's iphone"). once that was completed, i checked the music app on my iphone and everything was back to normal!
    so, i would suggest setting your music syncing settings to manual if you haven't tried that yet!
    hope this helps!

  • Some pdf attachments missing in mail 5.2

    I fail to receive pdf attachments intermittently using Mail 5.2 running OS X 10.7.3 (Lion).  When the attachments do not arrive, I see no paperclip in the attachments column.  On a recent occasion, a colleague sent me three consecutive emails, each with 1-2 pdf files attached.  The middle one (containing one pdf), shows no attachment in Mail.  However, I know the attachment is there, because if I open it on my iPhone, I see the attachment.  What's more, if I forward the email to myself from the iPhone, I can now see the attachment again.  This has happened several times in the past as well.  Any ideas?

    I have the same problem, failing to receive pdf attachments intermittently using Mail 5.2 running OS X 10.7.3 (Lion), and not being counted among the attachments
    Two times where I'm aware it happened, the sender had replied and included the attachments I had sent in my original message, and I'm wondering if those attachments somehow led to their own attachments not displaying and not even being counted in the e-mail window.  "3 Attachments, 317 KB" displayed, but those were my three; clicking the "Save" drop-down menu listed only those 3 attachments of mine.  In one case, I had them resend their attachments as a new e-mail, and that worked.  Their 2 attachments totalled 941 KB, so Mail missed rather a lot by displaying just 317 KB.

  • Pdf attachments to windows mail won't open correctly

    pdf attachments to emails won't open. I'm using Vista Ultimate 64. The attachments want to open in system 32, and error message says to "set associations." Set asociations is already set to reader 9.1 (which I just updated to 9.2 in an attempt to get it to work). It shouldn't make a difference whether the document was created on a 32 bit or 64 bit computer. I tried saving the attachment but something converted it to a .doc format. When I tried to open it I got pages full of code (in WordPad) not a formatted page.  Current documents saved in pdf open as they should as long as I open them from the document file. I don't know whether it is windows, windows mail or some other program that is responsible for this. Documents downloaded from websites work fine. Has anyone else encountered the same problem? How do you fix it?

    see if these links help
    http://support.apple.com/kb/TS2537
    http://support.apple.com/kb/TS2486

  • Problem with PDF attachments on Leopard's mail.

    I just found a bug or something in Leoprd's mail . When I try to send a mail with PDF attachments, mail just stuck, nothing happen. The fan start to spin and mail grab all of the processors power nearly 100 %. What's weird, there aren't problem with sending other attachment like JPG for example. I tested it on all of my accounts and on all of them, situation is exactly the same.

    The same problem here! Mail.app is behaving weirdly, but eventually it stopped sending e-mail with some filetypes attachments (.doc, .xls, .pdf not working, .jpg working), app just freezes - impossible to quit! HEEEELP!!!

  • PDF attachments won't open in ios4 mail

    PDF attachments received in ios4 mail will not open. First page only displayed. How to fix?

    i finally got it to work. i went through all my apps and tried to think of anything that could interfere, including iBooks, and removed them using iTunes. I then hard reset my phone and checked to see if i could at least view them as i used to (iBooks) and i was. i then put iBooks back on my phone, checked a PDF in mail and was able to quicklook it or open in iBooks. i was able to then add the other apps back with out losing the functionality.
    apps i removed to get it working:
    Stanza
    AirSharing
    EasyTask
    Bump
    Photoshop Mobile
    hope this helps

  • HT1146 How do I print an email in Apple Mail without PDF attachments?

    I received an email with PDF attachments. I want to print just the email without the attachments but they automatically load in the print file EVER AFTER I've converted them to be viewed as icons in the message window.
    I searched online, call an Apple store and spoke to customer support who wanted to charge me a $19 fee for something possibly not even possible. In short, I haven't received a solution.
    Can anybody help me? Ready to download an alternate mail app.
    Thank you.

    Opening it won't do you any harm. Just don't click any of the links.

  • UNABLE TO OPEN PDF ATTACHMENTS IN E-MAIL

    Over the past week,I have been unable to open PDF attachments in my AOL webmail.  I encounter no problems with my Outlook Express e-mail.  Why is this suddenly happening and how can I correct the problem?

    To make sure that Adobe Reader is default,
    goto Edit->Preferences->Select default PDF Handler. Check the value in the dropdown list "Select Adobe product". If the first value which appears is 'Adobe ReaderX', then Reader X is the default PDF Handler.
    Also please let me know the OS you are using.
    Is the problem also faced in AOL webmail with any other Adobe Product(like Acrobat X, Reader 9 etc.) if you are using/used any of them?
    Thanks,
    Shakti

  • Need to customize the text displayed while sending payslip as pdf in mails

    Gurus ,
       monthly we will run a report which will send the payslip as pdf to the employees . Now we need to edit the text that is getting displayed in the mail while we attaching the payslip as pdf and send .
    how to achieve this

    Hi Sarvan
    Go to messages >> communication method , change the field Cover Page Text with ur po number and send. This is a manual process which you will have to do it for each po.
    Now if you want to automate this then you can ask ur abaper to write a small program which will copy the po number to this field. 
    Table Name       NAST
    Field Name       TDCOVTITLE
    Regards
    Rajesh
    Do reward if useful.

  • Opening Large PDF attachments in e-mail?

    m trying to open large PDF attachments from e-mail (10-30mb) and either ipad says it can't open them "too large to read" or acts as though it will open but then doesn't open.  Any tips on how to make this work?

    I can open a 100mb pdf with iBooks.
    Try a reset; Hold the Powerbutton and the Homebutton pressed at the same time untill the Apple logo turns up on your screen.

  • Pdf attachments cause mail to freeze

    When I receive emails with single page pdf attachments, mail freezes while trying to show preview of the pdf. I then have to force quit mail.
    These files aren't particularly large- the last one to freeze was 2.6 megabytes. This is a new and powerful computer, why cant a simple thing like a pdf be previewed in mail without crashing?

    Mail is very glitchy in mountain lion. I own the same laptop and I am very frustrated as well.

Maybe you are looking for