How to attach Excel file in Mail Receiver Adapter?
Hello Experts,
In R/3 coding I have Internal Table data available for which i have to generate an Alert mail with Excel file attachment.
This is the scenario of Proxy sender to Mail Receiver. but I don't know how to convert the Internal Table data into Alert mail excel File attachment.
Please suggest me.
Regards,
Jagesh
Hi Santhosh,
Thanks for your suggestion.
But without using XSLT mapping also, I have generated the Excel File attachment.
Throgh R/3 coding I am passing following.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail Address.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = TO Mail Address.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'Test Alert mail'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_TYPE = 'text/plain;name="CSV_data.csv"'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'Testing1,Testing2,Testing3'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_DISPOSITION = 'attachment'.
And in the Mail Receiver Adapter i have configured as following.
Use Mail package and Keep Attachment both options are selectd.
So I am getting the data in different columns in the excel file But How to set the Next ROW in Excel file?
I thnk i am missing something in CONTENT value.
Regards
Jagesh
Similar Messages
-
How to attach more files in Mail?
Can anyone please tell me how to attach more than one file to an email message in the iPhone Mail app? I've read the whole manual, so I'm not sure if I missed the part or if this feature actually lacks...??
I agree with you on this one.. It is very inconventient to send attachments one e-mail at a time. I don't think Apple was really paying attention to what the customers needs were regarding e-mail. Also Apple need to fix the problem with Text messaging signatures. Currently you cannot add a signature to text messages. Every other phone in the world offers this feature!
-
How to attach a file to mail in iphone?
what is the process involved in adding a file to mail which is send through iphone and how it is downloaded from it,pls any one help me..........
its ok thanks for ur rply am not asking about how it is being send from iphone am asking how to send it from the
mailcore framework which is added to iphone project whic h can be checked in the ios simulator. -
How to get zip file in SFTP receiver adapter
Hi Experts,
we got one scenario, which the PI need to pick the .zip file from file path using file adapter and process to SFTP server with same name and extension .zip.
we tried using ASMA setting and when ever we are placing the '*' in receiver channel file name , it showing error as "Putting * failed".
so could you please provide solution how we can able to receive the .zip file with same name.
regards
rajuHi Raju,
In ASMA the default namespace was like this http://sap.com/xi/XI/System you can changed it to http://sap.com/xi/XI/System/File.
please try this...
Regards
srinivas -
Cant attach multiple files in mail
How to attach multiple files in mail??
Hey demo..
When I create a document in 'Pages' app I can mail that file from 'Pages' app. But I cant attach multiple .doc file in one mail. For sending multiple files in a single mail I need to do several mails. Is there any system or 3rd party software through which I can attach multiple .doc files in one mail.
Thanks in advance. -
How to Attach a File Without Embedding It on Mail?
How to Attach a File Without Embedding It on a Mac?
Tamer is not working and I prefer not to use TERMINAL (defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes)
Right click send as icon is not a solution.
Any other options? Thanks!bbp@bcn wrote:
I always receive the same response, "Can you send it as an attachment?"
and I think It does something to do with the way I send files.
Thanks
It's nothing to do with the way you send them. Every mail client chooses how to cope with attachments: in some there is a preference setting but in many cases it automatically displays embedded images. Even where there is a preference setting it's up to the person receiving the email: you can't control it. Why are they so fussed about your sending as an attachment? The image can be saved easily enough, usually by dragging it to the Desktop, or by a button to save attachments. If they really want this you are going to have to zip it, there isn't any other way round it. -
How to attach multiple file in one mail
Hi,
I've problems with sending multiple files via Gmail account (Ipad version) When sending the photo or video, I've to just click the photo and choose send to mail one by one. Any simpler way? Sometimes i did sent both mpg and jpg but the reciepient didn't see any attachment too
Anyone can help advise how to attach different file (doc, video, photo) in one mail will be a lot appreciated. Thank you so muchYou can attach multiple pictures to an email on an ipad2. Don't know about original iPad.
Choose a photo or take a screen shot (hold down home button and button next to volume control at same time--screen shot now will appear in photos).
Go to photos and edit your picture or screen shot, save it, then hold down on the image and copy it.
Go to mail, create a new mail and paste it in.
Save you mail as a draft.
Go back to photos and select a different photo, copy it, and return to your draft, and paste it in. Repeat if you need to add more.
Anything that you can take a screen shot or have an photo of can be pasted in one at a time into that draft email.
If mail gets uncooperative, during this process, then double click on home button and quit multitasking mail, then open up mail again and send your draft. Uncooperative means gets frozen. -
Mail Receiver Adapter - Flat File as Attachment
Hello,
I would like to send a flat file as attachment using an E-Mail receiver communication channel.
The flatfile is picked up beforehand using a file sender channel, so there is only routing necessary in PI.
Is it possible to send the flatfile as attachment by checking the option "XIPAYLOAD" or would this result in an error?
The scenario is quite simple and I am looking for the fastest and easiest way to implement it.
Thank you very much.Hey
You can follow as given in the below blog
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
Thanks
Aamir -
How to send image file through mail without any attachment
Plz tell me how to send image file through mail without any attachment ( i mean not converting that image into pdf or any format ) i want to send that text or image through mail .
Hi Sandeep,
I think you can setup the type of email in Shared office Settings in transaction S016.
There is an option called <Preset document classes>
You choose this pushbutton to branch to the maintenance screen for the document classes that are directly displayed to users in the Business Workplace for selection when they use the Create function. The name under which the documents are displayed can also be maintained.
http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/content.htm
Haven't tried it though.
Regards,
Siddhesh -
How to attach a file to a mail using htmldb
Hi all,
can u help me how to attach a file in htmldb.
iam able to send a mail using the inbuilt package but unable to attach a file.
advance thanks in helping out.The APEX_MAIL package doesn't support sending emails with attachments.
See Send E-Mail with attachment from HTML DB for some alternatives. -
How to attach a file to a mail in iPad
How to attach a file in my mail in iPad
You cannot. The Attach code in browsers means let user browse file system. You cannot access the file system, therefore the mobile version of Safari doesn't allow it.
-
How to attach a file to the mail
How to attach a file to the mail
I know that this can be done when going to any PDF program and push (send as email)
This also can done with multiple files or even with separate pages from that PDF file (Many programs can do that, like: PDF expert, Adobe Reader, iBooks, PDF Provider, Documents, etc)
But what if I begin to wright an email, then I wanted to attach a file (such as PDF, or word, or any file) , FOR BASIC APPLE MAIL IT IS UNAVAILABLE
You can attach Photo or Video but not PDF or other document
There are some email programs that can attach files to email such as my.mail (as you can see from the photo)
But why Apple don't provide such simple service ??? -
How do I attach a file in mail
Hello, Can anyone help me with attaching a file in mail on my iPad?
Thanks
HelenI was trying to attach a PDF file from Dropbox. I then read your reply and opened the file in done reader and was able to email from there.
Thanks a ton!
Helen -
How big of a file can I receive?
Not sure if there is an error or if the file is too big. My other email provider will allow an email with several pictures attached to be received. When I forwarded it - it failed. Then when the sender sent it to my verizon account it failed as well. We just got our FIOS connnected. SO, is there a limit as to how big of a file can be received by Verizon FIOS?
Hubrisnxs wrote:
i am pretty sure that if you are doing it through verizon.net emai webmail that it is 8 mb, and if you do it through an email client like windows mail/outlook/entourage that you can do upto 20mb.
These are the limits for *sending* attachments from Verizon. The only limit on receiving is whether it would put you over your storage quota for your verizon.net mailbox. (Limit is 2 gigs for primary accounts and 250 megs for subs, includes mail in ALL folders.)
You said sending it failed. What error did you get? Was it an immediate error or a bounceback message?
If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
"All knowledge is worth having." -
Please tell me How to send excel file content to MAILBOX
Hello ,
Can anybody tell me how to send Excel file data to MailboxHi,
Check this sample code.
INITIALIZATION .
CLASS cl_abap_char_utilities DEFINITION LOAD.
gf_etb = cl_abap_char_utilities=>horizontal_tab. "For horrizontal tab
gf_cr = cl_abap_char_utilities=>cr_lf. "For enter
gf_lf = cl_abap_char_utilities=>newline. "For new line
Declaration
DATA: lwa_hd_change TYPE sood1,
lt_objcont TYPE STANDARD TABLE OF soli,
lwa_objcont TYPE soli,
lt_receivers TYPE STANDARD TABLE OF soos1,
lwa_receivers TYPE soos1 ,
lt_att_cont TYPE STANDARD TABLE OF soli,
lwa_att_cont TYPE soli,
lt_packing TYPE STANDARD TABLE OF soxpl,
lwa_packing TYPE soxpl,
lf_sent TYPE sonv-flag,
lf_size TYPE i.
CONSTANTS: lc_obj(11) TYPE c VALUE 'BOMSouthco',
lc_desc(20) TYPE c VALUE 'BOM Download',
lc_lang(1) TYPE c VALUE 'E',
lc_raw(3) TYPE c VALUE 'RAW',
lc_net(1) TYPE c VALUE 'U',
lc_mail(4) TYPE c VALUE 'MAIL',
lc_xls(3) TYPE c VALUE 'XLS',
lc_ext(3) TYPE c VALUE 'EXT'.
Passing values to the strutures used in SO_OBJECT_SEND function module
lwa_hd_change-objla = lc_lang.
lwa_hd_change-objnam = lc_obj.
lwa_hd_change-objdes = lc_desc.
lwa_hd_change-objlen = 255.
lwa_objcont-line = text-t29.
APPEND lwa_objcont TO lt_objcont.
CLEAR lwa_objcont.
lwa_receivers-recextnam = text-t31.
lwa_receivers-recesc = lc_net.
lwa_receivers-sndart = lc_mail.
lwa_receivers-sndex = 'X'.
lwa_receivers-sndpri = 1.
lwa_receivers-mailstatus = 'E'.
APPEND lwa_receivers TO lt_receivers.
CLEAR lwa_receivers.
lwa_receivers-recextnam = text-t30.
lwa_receivers-recesc = lc_net.
lwa_receivers-sndart = lc_mail.
lwa_receivers-sndex = 'X'.
lwa_receivers-sndpri = 1.
lwa_receivers-mailstatus = 'E'.
APPEND lwa_receivers TO lt_receivers.
CLEAR lwa_receivers.
Passing values for the attachment file
LOOP AT gt_output INTO gwa_output.
CONCATENATE gf_lf gwa_output-matnr gf_etb gwa_output-idnrk gf_etb
gwa_output-type gf_etb gwa_output-menge gf_etb
gwa_output-meins gf_etb gwa_output-comp gf_etb
INTO lwa_att_cont-line.
APPEND lwa_att_cont TO lt_att_cont.
CLEAR lwa_att_cont.
ENDLOOP.
CHECK lt_att_cont IS NOT INITIAL.
DESCRIBE TABLE lt_att_cont LINES lf_size.
lwa_packing-transf_bin = ' '.
lwa_packing-head_start = 1.
lwa_packing-head_num = 0.
lwa_packing-body_start = 1.
lwa_packing-body_num = lf_size.
lwa_packing-file_ext = lc_xls.
lwa_packing-objlen = lf_size * 255.
lwa_packing-objtp = lc_ext.
lwa_packing-objdes = lc_desc.
lwa_packing-objnam = lc_obj.
APPEND lwa_packing TO lt_packing.
CLEAR lwa_packing.
CHECK gf_error IS NOT INITIAL. "Check if unix file is written
FM to send email to the intended recipients
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = lwa_hd_change
object_type = lc_raw
IMPORTING
sent_to_all = lf_sent
TABLES
objcont = lt_objcont
receivers = lt_receivers
packing_list = lt_packing
att_cont = lt_att_cont
EXCEPTIONS
active_user_not_exist = 1
communication_failure = 2
component_not_available = 3
folder_not_exist = 4
folder_no_authorization = 5
forwarder_not_exist = 6
note_not_exist = 7
object_not_exist = 8
object_not_sent = 9
object_no_authorization = 10
object_type_not_exist = 11
operation_no_authorization = 12
owner_not_exist = 13
parameter_error = 14
substitute_not_active = 15
substitute_not_defined = 16
system_failure = 17
too_much_receivers = 18
user_not_exist = 19
originator_not_exist = 20
x_error = 21
OTHERS = 22.
IF sy-subrc = 0.
MESSAGE s004 WITH text-t34.
ENDIF.
COMMIT WORK.
Reward if helpful.
Regards,
Ramya
Maybe you are looking for
-
Does the apple remote work with the ipod touch 4th gen?
Does the apple remote work with the ipod touch 4th gen?
-
Some photos are missing on IPhone 6
I reset my iphone 6 and restored the backup from my iphone 5s. A problem appeared in some photos, whereas their space in Collections is still there, their location is still saved but the photos do not show! Any explanation or possibility of recovery?
-
Why is the PWDCOMPARE function not supported on an Azure SQL Server 2014 database
I have tried to publish a database from our local SQL Server to Azure but receive an error saying PWDCOMPARE is not supported with no link to a reason why. We are using HASHBYTES function to encrypt passwords in our database and PWDCOMPARE to validat
-
Hello all, Does anybody know the standard pricing procedure for germany or Europe? wat about RVCEU? -Prashant
-
DRM-21003 error for database connection
Hi, I installed DRM 11.1.2 for win32 on my laptop and when I tried to set up database connection (to 11g XE), I am getting error message: Connection Failed: DRM-21003: The Oracle.DataAccess client is not the expected version. I installed Oracle XE 11