Send mail w/ CSV zip file as an attachement w/o using StrictXml2PlainBean

Hi Experts,
Is there any other way to send an email to target, that has a Zipped CSV file as an attachment, without using StrictXml2PlainBean?
I can't use StrictXml2PlainBean because it only accepts up to 3 levels of Recordset in the message type strucutre. The structure of my target is complex, up to 4 levels.
Any suggestions?

Use MessageTransformBean, that accepts more levels.
Check online help for details.

Similar Messages

  • File to mail scenario with zip file as an attachment

    Hi experts,
    I have a file to mail scenario.The mail contains a zip file as an attachment.
    The file in the input folder is a zip file. I want to send this zip file via email using mail adapter.How can i achieve this?Please help me to solve it out.
    Regards
    Divia

    Hi Narath,
    Do check the below link it will be helpfull
    Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway
    Thanks
    Sampath

  • Xml file to mail scenario with zip file as an attachment

    Hi experts,
    I have  a file to mail scenario. File is in xml format.
    At receiver side, first I want to zip this file and send the zip file as an attachment using mail adapter.
    How can i achieve this?
    Regards
    Divia

    Hi Shabarish,
    In the module tab i have specified the below beans
    localejbs/AF_Modules/MessageTransformBean                           contentType
    AF_Modules/PayloadZipBean                                                    zip
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean           mail
    In the module configuration i mentioned as
    Transform.ContentDescription   file
    Transform.ContentDisposition   attachment:filename="file.xml"
    zip.filenameKey                      contentType
    zip.mode                                zipOne
    Now i am getting the mail with zip file as an attachment.But the name of the attachment i got is MainDocument.zip
    Even the file name inside the zip is MainDocument.xml.
    How can i specify my own file name for both zip file and the file inside the archieve folder.Please help me.
    Regards
    Divia

  • Send mails with csv file as an attachment through oracle(SQL SCripts / Stor

    Hello Everybody,
    I have recently come across a requirement in which I am supposed to send mails with csv file as an attachment through oracle(SQL SCripts / Stored Procedure) .
    The contents of the csv file are to be retreived from the Database as well as the content of the mail and to whom it needs to be sent has also to be picked up from the database.
    Can somebody suggest me with a suitable code for the same?
    Would be of great help..!!
    Thanks & Regards,
    - VR
    Edited by: user646716 on Dec 18, 2009 10:44 AM

    read below links
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:255615160805
    http://www.orafaq.com/wiki/Send_mail_from_PL/SQL#Send_mail_with_UTL_TCP_-withattachments
    How to send csv file as an attachment

  • Sender "Mail" adapter - CSV file attachment

    Hi there
    I'm looking for some help in configuring a sender mail adapter that receives ".csv" files. I did read some blogs that mention using the "PayloadSwapBean" module to read the mail attachment instead of the mail content. My problem is to now convert the ".csv" file into a message. Is there a module that I can use ( is it the "MessageTransfomBean" ) and how. Any help would be appreciated.
    Thanks
    Salil

    Hi Salil,
    If you want to send a mail with a body and attachments, the message sender HAS to provide an XI message with attachments. I doubt a CSV file does justice.
    As Renjith said you need to convert CSV to XmL.
    A short description about the Standard Modules:
    MessageTransformationBean is a standard module used to apply the XSLT mapping to the adapter module by using <i>Transform.class</i> ( This xslt mapping is done to create a mail package, Dont confuse with the actual mapping in your case this is NOT for converting csv to xml).
    Also this module can be used to change the name and type of payloads by using <i>Transform.contentType</i>, <i>Transform.contentDisposition</i>, <i>Transform.contentDescription</i>.
    PayloadSwapbean is a standard module for replacing payloads with other payloads (SWAP)
    If you want to give each attachment a certain name use Parameters, <i>swap.keyname</i> for name of the payload and <i>swap.keyvalue</i>.
    I Hope the use of standard modules is understood.

  • How can i stop sending my mail as a zip file

    new to macbook air, having problems as I seem to only send out my docs in a zip file and do not know how to send then as pages or word or text file???

    Buddy seems to have a workaround posted on his blog http://www.lawryk.com/_blog/My_Adobe_Blog/post/Workaround_for_Opening_ Your_Proto_Files_in_Dreamweaver/
    Plus adobe is working on a better solution

  • How can I avoid Mail automatically producing zip files

    When sending an email with Mail and attatch a .jpg fie. The recipient automatically receives a zip file. How can I avoid this?

    What is you send a copy to yourself?
    How large is the jpg file?
    You can change file size of photos yo send. See:
    https://discussions.apple.com/message/17483756#17483756
    I just tried on my Mc with 10.9. I send it from my @me.com account to the @me.com account and opened on the Mac and the photo was still a jpg.
    I also send it to my [email protected] and opened it via webmail and it was just the same jpg.

  • 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.”

  • Problem with chinese characters while sending mail with .CSV attachment

    Hi,
    i am sendin .CSV file as an attachment with mail using "SO_DOCUMENT_SEND_API1" FM,
    whle opening the mail attachment the chinese characters are not displaying properly.
    currently i am using ECC 5.0
    can any body help in this regard.
    Thanks,
    Rahim

    Hi Kang Ring,
    please convert the content of the attachement into the binary format and then add it as a mail attachment.
    LOOP AT i_data ASSIGNING <wa_data>.
    if s_output is INITIAL.
    CONCATENATE <wa_data> cl_abap_char_utilities=>cr_lf into s_output.
    else.
    CONCATENATE s_output <wa_data> INTO s_output SEPARATED BY cl_abap_char_utilities=>cr_lf.
    endif.
    ENDLOOP.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    EXPORTING
    text = s_output
    IMPORTING
    buffer = x_output.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = x_output
    TABLES
    binary_tab = imail_att.
         OR
    please use ABAP-Object classes like CL_BCS , CL_document_BCS.....
    please findthe below sample code.
      cl_bcs_convert=>string_to_solix(
              EXPORTING
                iv_string   = s_output
                iv_codepage = '4103'          "suitable for MS Excel, leave empty
                iv_add_bom  = 'X'               "for other doc types
              IMPORTING
                et_solix  = s_output_binary  "(of type solix_tab)
                ev_size   = size ).
    attachment->add_attachment(                       "attachment of type ref to cl_document_bcs
              i_attachment_type    = 'xls'                     
              i_attachment_subject = l_subject    
              i_attachment_size    = size
              i_att_content_hex    = s_output_binary ).
    you need to write the code for adding the receipents, subject and adding this "attachment " as an attachment to the mail.
    Hope this will helps to you....,
    thanks,
    Rahim.

  • Sending Downsized Images to Zip File Problems

    I use Adobe Elements 5.0 and have been uploading images to the organizer for a couple of years without problems, until just recently.  Here is how the process used to work.  When images are uploaded they are saved to a new file folder under C drive/ Public Photos/ specific folder with date and subject matter;  I fix the images in adobe then go to the specific folder and create a subfolder within that folder called "downsized".  I then use Adobe to "process multiple files" and downsize for purposes of sending to Pbase. Once the files have been downsized the images end up in the specifc folder, inside the downsized subfolder.  I then rt click and select "send to" 'compressed (zip) folder'.  From there I would open Pbase and upload the zipped folder to a new gallery.
    Recently everything has been fine until I get to the send to zip folder.  Instead of sending to the familiar yellow zip folder it is being sent to the adobe photoshop editor in the form of the adobe icon.  I click on that and it promts me for filename, width, height, resolution and color mode.  I am unable to upload this zipped file version to Pbase.  Previously, when things were operating correctly, I would have a folder, with a subfolder under that called downsized.  Within the downsized folder would be the zipped file for sending to Pbase.  Something has happened recently so that I am ending up with a folder, a subfolder called downsized a sub 'folder' under that which is the adobe elements icon and a downsized file under that which is a copy of the downzied photos in the first downsized file.  In checking out all of my 100 or so folders all of them have been 'converted" to the same organization pattern.  What has happened and how do I fix the problem so that I can send the downsized folder to a zip file for importing to Pbase?  Thank you. 

    You should realize I am just making wild guesses at your problem. And I am assuming you actually have a Microsoft Word document that you are sending. If you do, then following menu options "Insert, Picture, From File..." should work. But if you are just writing out HTML and telling the browser it's actually a Word document, I have no idea.

  • Sending a 3DES encrypted zip file as one fields in the SOAP request xml.

    Dear All,
    We have a requirement to
    - to create a text file, after mapping and content converisons, out of an IDoc xml file,
    - zip this file
    - encrypt this file using 3DES
    - send this encrypted file as one of the tags of an xml request file to a webservice
    Could one of you please help me with any pointers to how we can do this, mainly on how to send the encrypted zip file as one of the tags of an xml file?
    Please write back to me if you need more details/clarity on my query.
    Kind Regards,
    Thomas.

    Hi Udo,
    Thank you for the response.
    Please let me try this option and get back to you with my findings.
    Kind Regards,
    Thomas.

  • Send mail as comma seperated file from abap

    Hi,
    i need to send mail from my program...as a comma seperated file...can u help me out.
    regards
    shankar

    See function module SO_NEW_DOCUMENT_ATT_SEND_API1, there is an example in the documentation. The example is for a .BMP file but you should be able to use the similar code for a text file (you might need to use object RAW). The content of comma-separated file must be in an internal table when you'll call this function module.
    There are also lots of examples available all over the Internet, use search by FM name.

  • Need .ZIP file as an attachment in email

    Hi,
    I have developed a report which converts the ALV grid into a PDF and into .ZIP file. Finally ZIP file gets downloaded using GUI_download.
    My client wants the .ZIP file as a mail attachment but not as a download.
    Here is my final bit of code.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer        = zip_file
        IMPORTING
          output_length = bcot1
        TABLES
          binary_tab    = file.
        CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          bin_filesize = bcot1
          filename     = file_path
          filetype     = 'BIN'
        TABLES
          data_tab     = file.
    How to replace the Download with email? I tried using SO_NEW_DOCUMENT_ATT_SEND_API1 but I am not getting email. I also check in SOST for my transmission request but I ma not able to find my request.
    Edited by: Vjai.. on Sep 23, 2011 10:17 PM

    if your system > 4.6.  check this blog.
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abapversion-610-and-higherbcs-interface
    take care.
    Çağatay

  • Send mail BEx reports or workbooks as Excel attachment

    Hi BI Team
    I have a requirement to mail BEx reports or workbooks to users as excel attachment , I have tried out with Reporting agent and BEx broadcaster .My system is BW3.5.
    Following option used
    1) Bex broadcaster but, I dont have pre calc server so this option would not work.
    2) SAP AG document which creatd by durairaj using ABAP, I am getting the excel file in my outlook box but content was in ascoii   
        format,
    3) I creatd reporting agent with print background option but dont know where to check the output.
    Regards
    YuvaraajP

    Hi
    Thanks for the update however, Is there any option to send mail as excell sheet without using Pre calc server.
    Regards
    YuvaraajP

  • Return zip file as soap attachment  from server..

    Dear Friends,
    Requirement:
    I would like to download a zip file from server(tomcat) with soap attachment using wsdl.
    I have tried googling but didn't get exact information and samples on this.
    Please help me on this and it would be helpful if u can provide me one sample on this.
    Thanks in advance.
    Cheers
    Cap

    pls http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal - in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

Maybe you are looking for

  • Can you help me return a MacBook Air that I found to the owner?

    I found someone's Mac Book Air.  Can you help me determine the owner so that it can be reunited?

  • Open Item Management - Selection  / Disselection - on / off  in FS00

    Hi Gurus, Referring to OIM, we have one GL Account " PF.CO'SCONT.PAYBLE " open under Current Liabiity. When we tried in Production server (ECC 6.0) to select the "OIM", system has generated the error as :- NA FH087  Short Text : You cannot change the

  • Strange photo split in Organizer

    My mac crashed and after I got it up and running again, I reloaded my photos from a backup into Organizer.  Now most of the photos that had people in it were split into new photos with just the faces showing.  What did I do wrong and how can I repair

  • PO Approval Workflow through PM Order

    Hello Experts, I have a requirement where i need to change the PO Approval workflow receiver which gets created through PM order. First i need to understand the process of how do we create a PO for a PM Order. If the PO gets created where do i need t

  • AIR Installer Not Found

    I recently attempted to install an AIR application, but got the error message "This application requires an update to Adobe AIR but download of that update has failed".  I tried numerous times, but always the same error. I'm now trying to reinstall A