How to attach file with an email in travel and expenses

Hi Experts,
I am new to sap cloud application studio.
We have requirement that need to attach any type of files in the mail,
I have gone through this : How to send an email with attachments in SAP Cloud Application Studio
But compilation error at import AP.FO.ACTIVITY.GLOBAL., so not able to work with that lines of code.
I am using these lines of code to send email.
EMailUtilities.SendEMail(lang, bcc, cc, toAddress, htmlContent, from name, subject);
So am not able to getting how to attach file with this code.
Please help me regarding this.
Thanks & Regards,
Preethi Ande

Hi Preethi,
     I am trying to send mail from custom BO in Travel on Demand System.I am getting  compilation error.please look into the attached screenshot for the code.
Please assist me on this,                                Thanks in advance
regards,
Sendhilazhagan

Similar Messages

  • How to attach file with PR and PO?

    Hi all
    How to attach file (Drawings ,execl,etc..) with PR and PO
    Please help on this
    Thanks
    Regards
    Dhinesh

    Hi
    Thanks
    But If i select  system > service for object in change mode i am getting error "No
    service availale" like that ,how to sort it out and attach the file
    And more ever that icon (service for object) is not coming in change mode ,i selected
    by menu path .How to make it display as icon in bar
    Regards,
    Dhina

  • How to load file with 500M into noncontiguous memory and visit them

    My data file consist of  a serial of 2d images. Each image is 174*130*2 butes and the total images in the file is up to 11000, which takes almost 500M bytes. I hope to load them into memory in one turn since I need to visit either image many times in random order during the data processing. When I load them into one big 3d array, the error of "out of memory" happended frequenctly.
    First I tried to use QUEUE to load big chunk of data into noncontiguous memory. Queue structure is a good way to load and unload data into noncontiguous memory. But it dosn't fit here since I may need to visit any of the all the images at anytime. And it is not pratical if I dequeue one image and enqueue it into the opposite end, since the image visited may be not in sequential order.
    Another choice is to put the whole file into multiple small arrays. In my case, I may load the data file into 11000 small 2d arrays and each array holds the data of one image. But I don't know how to visit these 2d array and I didn't get any cues in the posters here.
    Any suggestion?
    PC with 4G physical memory, Labview 7.1 and Win XP.
    Thanks.

    I'll try to get the ball rolling here -- hopefully there's some better ideas than mine out there.
    1. I've never used IMAQ, but I suspect that it offers more efficient methods than stuff I dream up in standard LabVIEW.  Of course, maybe you don't use it either -- just sayin'...
    2. Since you can't make a contiguous 11000-image 3D array, and don't know how to manage 11000 individual 2D arrays, how about a compromise?  Like, say, 11 3D arrays holding 1000 images each?   Then you just need ~50 MB chunks of contiguous memory.
    3.  I'm picturing a partially hardcoded solution in which there are a bunch of cloned "functional globals" which each hold 1000 images of data.  This kind of thing can be done using (A) Reentrant vi's or (B) Template vi's.  You may need to use VI Server to instantiate them at run-time.
    4. Then I'd build an "Action Engine" wrapper around that whole bunch of stuff.  It'd have an input for image #, for example, image # 6789.  From there it would do a quotient & remainder with 1000 to split 6789 into a quotient of 6 and remainder of 789.  Then the wrapper would access function global #6 and address image # 789 from it.
    5. Specific details and trade offs depend a lot on the nature of your data processing.  My assumption was that you'd primarily need random access to images 1 or 2 at a time. 
    I hope to learn some better ideas from other posters...
    -Kevin P.
    P.S.  Maybe I can be one of those "other posters" -- I just had another idea that should be much simpler.  Create a typedef custom control out of a cluster which contains a 2D image array.  Now make an 11000 element array of these clusters.  If I recall correctly, LabVIEW will allocate 11000 pointers.  The clusters that they point to will *not* need to be contiguous one after the other.  Now you can retrieve an image by indexing into the array of 11000 clusters and simply unbundling the 2D image data from the cluster element.

  • How can I sent 2 or more attached files with 1 email-message from Ipad iOs6.0?

    How to sent a mail with 2 or more attachments from Ipad or Iphone? Not foto or video-files!

    Pages and iBook will only accomodate one document at a time.
    Pages - can be sent from the open document (Tools Menu - looks like wrench) or the dccument library screen (Tap Edit, tap the document, tap the the share iconn  - looks like square with a swoosh arrow). iBooks work from the open document.
    GoodReader supports multiple email attachments, and I'm sure there are others available in the app store.

  • Sending attached files with invoice email

    Hi
    We have an invoice output type configured to send invoice as email. This is almost SAP standard setup.
    Users sometimes uploads documents to the invoice via the "Services for object" button in the invoice. This can be excel, word or pdf documents.
    Is it possible to attach these documents to the same email as the one containing the actual invoice.
    Best regards
    Thomas Madsen Nielsen

    Sorry Rob
    you (SDN) put in a new limit of only 10 open issues - i wonder why - so I had to clean up a lot of very old open issues, and it took me 3 tries to realize that there was a quick option "mark as answered". Sorry for that.
    But I don't understand why you confuse this thread with that info.
    This is a complete new thread, so if possible could you please remove your post again, and my reply also.
    Thanks for you help.
    PS. actually I just realized that the function "mark as answered" also brings the thread up front, so how can I close open threads?
    Nevermind - this discussion should not take place in this thread.
    Edited by: Thomas M. Nielsen on Jan 12, 2011 4:43 PM

  • Why can't I attach files in an email instead of having them embedded?

    Can't figure out how to attach files in an email. They always come up embedded. I need to send files to someone to edit them. Help please.
    I'm sure this is an easy fix.
    Using Leopard on a MacBook Pro and Iphoto 08
    Thanks in advance.

    Welcome to the Apple Discussions. You can. Control-click on the embedded photo and select View as Icon from the menu.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How to attach files in the new BT Yahoo system

    Can anyone tell me how to attach files to an email in the new system, please? I have a particular reason which is too complicated to go into here why occasionally I want to send files using web-mail rather than an email client (yes, I do know that's the best way). When I click the "attach" tab, I get an (apparently) helpful page which enables me to add several files at once. But there's no "continue" or "do it" button to get me back to the email I've started, and since ther's no tabs in the new system, I'm stumped.
    Solved!
    Go to Solution.

    Have you seen this thread? Not an elegant solution, but it appears to work for some bizarre reason.
    https://community.bt.com/t5/Email/Email-won-t-accept-attachments-error-18-temporary-It-isn-t/td-p/14...

  • Sum Encrypt does not recognize a copy of a file through linux. How decrypt this file with Sum Encrypt?

    Sum Encrypt does not recognize a copy of a file through linux to Mac 0S9. How decrypt this file with Sum Encrypt?

    Hello, and welcome to Apple Support Communities!
    I am not familiar with the program that you list, however files in OS 9 use things called Resource Forks (rather than file extensions) for filetype and creator.
    If you sent a file through Linux these resource forks probably got stripped and now the file is nothing to your Macintosh.
    It is best to BinHex your files (.hqx) before leaving the HFS file system so that their resource forks are preserved.
    Regards,
    Ryan

  • I am having problems attaching files to my email using the latest Firefox 13.0.1, Comcast is my internet provider, but I did not have problem with Safari.

    Why am I having problems attaching files to my email using Firefox 13.0.1.?
    I am using a MAC, OS 10.6.8, and have Comcast as my internet provider. I noticed after I upgraded to Firefox 13.0.1 that I am having problems attaching files to my email. I do not experience the same problem with Safari, but I prefer to use Firefox, as all of my bookmarks and passwords are saved there. I just like the way Firefox works better than Safari.
    I am a free-lance graphic designer and rely on my internet connection to my customers. I need this resolved ASAP!

    Could you start by resetting the zoom level on the page? To do that, you can either:
    * Press Ctrl+0 (that's a zero) on the keyboard
    * View menu > Zoom > Reset
    You also can use zoom to increase/decrease the size from there. This article describes the various mouse, keyboard, and menu methods: [[Font size and zoom - increase the size of web pages]].
    Any luck?

  • How can i attach files while composing email in safari??

    How can we attach pdf  or other files while composing either directly in Mail OR using safari in ipad2 ??

    this doesnt work for me... u should be able to attach files with the "attach files" paper clip, but safari goes as far as opening up a window and choosing which attachment I want but then nothing happens, no attachment. I don't have this problem with Chrome, I never had this problem when I had the Snow Leopard OS, should never have changed from Snow Leopard, it was solid! Going off macs since Lion, Mountain Lion, too many glitches
    So can anyone help with this problem? I'm sure I'm not the only one...

  • How to attach files in the SMTP mail?

    Hi All
    Anyone know how to how to attach files into the mail configured
    with SMTP while changing the workstatus. The SMTP mail is working
    fine, but my requirement is to attach a file which is having static information
    like instructions for users or something like that.
    Please help me on this..
    My Version of BPC is MS 7.X
    Regards,
    Baijuchandran.B

    Have you seen this thread? Not an elegant solution, but it appears to work for some bizarre reason.
    https://community.bt.com/t5/Email/Email-won-t-accept-attachments-error-18-temporary-It-isn-t/td-p/14...

  • How to attach files from "Office" to E Mail

    Hi,
    I am using a Nokia Lumia 720. and I have an outlook account, which I use with regularity.
    I have faced a problem which is still not resolved - how to attach files in the mail.
    1. You open Outlook Mail or any mailbox that you are using and then you click on the "attach file" icon and you are taken directly to Albums. But the word, excel files which you want to use are stored in "Office". There is no way you can attach a file from "Office"  after you have typed your mail.
    2. So I used to go to "Office" first, select the file, share it in Outlook or any mail I am using, and then type out my mail. But in this way I could send only one attachment.
    I believe that there is a way to address this issue and I would like to know how?
    Shall be obliged for your suggestion/solutions.
    Regards
    Biplab Paul

    hi mate, in the upcoming Lumia Black update, the Microsoft part of the update (GDR3) has enhanced support for attaching Office format files. the Lumia black update is expected to start rolling out in early 2014.

  • How to attach files to the thread we post in this forum?

    How to attach files to the thread we post in this forum?
    I’m wondering why there is no feature that allows attaching files from our hard drives! It is not practical to upload our file first in a certain web to provide it as a link in the post.
    Is there a way to attach our files directly from our hard drive to the post?
    Please, have a look on the screenshot below that shows a forum which includes all the very basic features!
    Thank you for the help
    Best
    Jamal

    Pierre,
    Just a guess on my part, but I would suspect non-image files in this case.
    As Ted points out, that WAS possible early on, and then the capbility to attach non-image files, was actually retained by a certain few forums, though not for long. This change was coincidental with a major spam attack, and at least one disgruntled user attempting to attach some rather nasty "stuff." I do ot know if those events prompted the change, as I was not part of the decision making group, that initiated the change.
    Though 95% of the files that I wish to attach, ARE image files, there are times, where a TXT file would be ideal, say for a crash log, or similar. Now, I can convert that TXT to a PNG, but then one has to work with pixel x pixel dimensions, and some files, like those crash logs, can be rather long.
    Personally, I find the loss of the Attach File (was via a button at the bottom-left of the editing screen) to be a sad comment on the actions of some, on these forums, but then that just reflects life outside of the forums.
    Hunt
    PS - I am glad that you found that little article useful Especially in the PS, PrPro, PrE and Encore forums, screen-caps can tell so very much about what is going on with a person's program, system or their Projects/Images.

  • Why can't I attach files to my emails in Mac Mail?

    I've messed with the .webarchive and .mailsignature to create myself an HTML email signature. After completing that, which worked, I can now no longer attach files to my emails in Mac Mail. I can click the attachment button, browse to the attachment and hit okay, but it shows nothing in the email and seems to freeze up. I have since replaced those .webarchive and .mailsignature files with the originals from Apple and restarted the computer but still am not able to attach files to my emails. Any help?
    Thank you.

    Except for the first response, all of you are unhelpful. The email was configured. Apple contacted me about the issue and said that the iPad cannot attach multiple docs to a single email regardless of whether the docs are located on the iCloud, in Pages, or a dropbox. It's operating system is not designed to do so (a stupid error if they are promoting the use of iPads for business and productivity, or even fields like architecture, design, and marketing, or even as an office alternative for remote use in meetings...which they are in professional consultations with offices). It also cannot do this through an alternate email site like a university server, yahoo, gmail, etc via Safari. Apple also cannot recommend a third party App that can do so. What they recommended, and there seems to be a lot of buzz about this being a problem with the iPad on the Internet, is that people go to their website, go to product feedback and go to enhancement requests and request the capacity to attach different types of files other than photos, and the capacity to attach multiple documents to an email. Basic functions...any email user would want. One of the Apple techs even thought it was implausible that they hadn't integrated this function ALREADY, when I called to set up the appointment.

  • Can't read attached files to older emails in Outlook 2010

    Hello,
    I have Outlook 2010 connected with MS Exchange.
    I can’t read attached files to older emails than 3 months. In attached elements there are only small files and I’m not able to open them (size in Bytes!) - double click doesn't work. I've tried different solutions:
    1. https://social.technet.microsoft.com/Forums/en-US/dd2869cb-5e53-4852-b0bb-15de6653db0c/dont-see-attachments-in-old-emails-on-outlook-2013?forum=outlook
    2. https://social.technet.microsoft.com/Forums/office/en-US/cbd420f1-ec7f-44ae-8f78-c7613e2eabb6/unable-to-retrieve-attach-document-for-older-emails-in-outlook-2010?forum=outlook
    3. Clear cache in Advanced Settings of Forms and clear C:\Users\%username%\AppData\Local\Microsoft\FORMS
    None of them works
    Thanks in advance

    Hi,
    Can you read the attachments if we logon in OWA? If attachments can be read in OWA, we may try to delete the original OST file and restart Outlook to sync a new one to see the result. If still no luck, we can create a new mail profile in Control Panel to
    check the result. See:
    http://support.microsoft.com/kb/829918
    If same issue continues in OWA, you may need to recover the data from the backup you create before.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • Report on Contract qty vs. PO Qty

    Good Morning! I am in need of getting a report out of SAP that shows the original contract qty and the revised qty of the contract.  My client at times may change the contract in order to create the PO for a larger qty than the original contract stat

  • HERE WE GO AGAIN...HALF MY USUAL SPEED

    After my last major problems with line speed back in December, the only way to maintain the same speed that I've had for 4 years was to buy a Netgear router and adjust the SNR to a sensible level to hold on to a 3776 connect and 3000 IP profile. The

  • Adobe Acrobat. Change "Copy selected text into Highlight, Cross-Out, ..." also for highlights made before changing the setting

    I am looking for a solution to apply the "Copy selected text into Highlight, Cross-Out, and Underline comment pop-ups" setting to highlights that I made before I changed this setting. Someone wrote a batch for this which costs 60 dollar and this seem

  • Decoding Run Length Encoded String

    I have a class that reads data from a server using a BufferedReader. The data is read into a char[]. This data has been Run Length Encoded by a seperate process. I loop through the char[] looking for a sentinal value. Once this value is found, I look

  • IO events in my CPU simulator

    I am using random numbers to simulate IO requests in this CPU simulator. Status is the status of the process on the CPU. I just need to know if I have the logic correct for the IO request code shown below. This method is run in a loop every time the