Redwood Cronacle: multiple attachments using rwmail

How can I get my script to send multiple files as attachments to a single email using rwmail, or is it even possible? If possible, what is the syntax?

I had tried that, but it looks like I just had the script formatted wrong for Windows. It works now. Thanks!

Similar Messages

  • Send email with multiple attachments using MS outlook

    Hi,
    Is it possible to send an email with multiple attachments using MS outlook. (Using activex)
    Regards,
    Neha

    nehrnul wrote:
    Hey thanks for the reply. I'll try that way also.
    but currently my requirement is to send email using MS Outlook. And I found 1 solution using invoke node
    Regards,
    Neha
    That' "requirement" sounds like it was written by someone who is trying to drive the design of the application.  Without knowing your personal situation it's hard for me to say, but if I had to guess I would say the real requirement is to send an email with multiple attachements, and the person giving that requirement thought sending it through Outlook would be the best way.  You should get clairification on what the real intend of that requirement is.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How can I send multiple attachments using SO_DYNP_OBJECT_SEND?

    Hi,
    I hope someone can offer advice on my problem.
    My requirement is to allow users to select one or more documents from an ALV grid.  I am then required to send these documents to multiple users via email using function module SO_DYNP_OBJECT_SEND.
    I can successfully send one document as an attachment.  However, I can't seem to figure out how to send multiple documents as attachments using SO_DYNP_OBJECT_SEND.  Is this done in the packing list?
    Is there some way to tell the program where the 1st attachment ends and the 2nd attachment starts?
    My attachment content is in i_att_cont.
      CALL FUNCTION 'SO_DYNP_OBJECT_SEND'
        EXPORTING
          object_hd_change = l_title
          object_type      = 'RAW'
          raw_editor       = abap_true
          starting_at_x    = '5'
          starting_at_y    = '1'
          ending_at_x      = '120'
          ending_at_y      = '20'
          edit_title       = 'X'
          external_commit  = abap_true
        TABLES
          objcont          = i_objcont
          rec_tab          = i_rec_tab
          packing_list     = i_packing_list
          att_cont         = i_att_cont
          exclude_fcode    = i_exclude_fcode
        EXCEPTIONS
          object_not_sent  = 1
          owner_not_exist  = 2
          parameter_error  = 3
          OTHERS           = 4.
    If you require more information, please let me know.  I will be happy to provide it.
    Thanks.

    I finally found the solution.
    The trick is to ensure you put the correct values in the body_start, body_num and objlen fields of the packing list.
    Each additional attachment should start (body_start) at the end of the last attachment + 1.
    The value for body_num is equal to the number of lines in the attachment being added.
    And the objlen field is calculated by multiplying the number of lines in the attachent * 255.
    Static data
       gs_packing_list-file_ext = lv_ext.
       gs_packing_list-transf_bin = 'X'.
       gs_packing_list-objla = sy-langu.
       gs_packing_list-objtp = 'EXT'.
       gs_packing_list-objdes = lv_filename.
       gs_packing_list-objnam = 'Attachment'.
       gs_packing_list-head_start = 1.
       gs_packing_list-head_num = 1.
    Body Start
       CLEAR lv_count.
       DESCRIBE TABLE gt_temp_att_cont LINES lv_count.
       gs_packing_list-body_start = lv_count + 1.
    Body Num + Object Length
       CLEAR lv_count.
       DESCRIBE TABLE gt_att_cont LINES lv_count.
       gs_packing_list-body_num = lv_count.
       gs_packing_list-objlen = lv_count * 255.
       APPEND gs_packing_list TO gt_packing_list.
    Hopefully this helps some desperate soul in the future.

  • Send/Receive multiple attachments using SwA (no MTOM)

    Hello all,
    I would appreciate if someone can put me in the right direction about the following implementation:
    - web service method able to receive multiple attachment using weblogic tools (wsdlc, jwsc) without MTOM.
    I tried JAXRPC and JAXWS, starting from code and from wsdl, using bytearrayholder, DataHandler array ... without success.
    Better solution for my own goal would be using JAXRPC and Array of attachments.
    Actually I don't know what I can add again: I've done multiple tests and I cannot add all the used code/wsdl/build/... of course.
    I'm using WLS 10.0 (p3)
    I'm just a bit confused! So, I will thank if someone can suggest the right road and, in case, I'll post more details about the related test I've done.
    Thanks,
    Pepe

    Hello all,
    I would appreciate if someone can put me in the right direction about the following implementation:
    - web service method able to receive multiple attachment using weblogic tools (wsdlc, jwsc) without MTOM.
    I tried JAXRPC and JAXWS, starting from code and from wsdl, using bytearrayholder, DataHandler array ... without success.
    Better solution for my own goal would be using JAXRPC and Array of attachments.
    Actually I don't know what I can add again: I've done multiple tests and I cannot add all the used code/wsdl/build/... of course.
    I'm using WLS 10.0 (p3)
    I'm just a bit confused! So, I will thank if someone can suggest the right road and, in case, I'll post more details about the related test I've done.
    Thanks,
    Pepe

  • URGENT : Multiple Attachments using JavaMail

    Hello ,
    I'm trying to send multiple attachments to a single mailid. I have 3 text boxes in my JSP page which holds the file name that is selected . in the next page i retrieving the values of those filenames and sending it as attachment .
    But when i do so , i'm getting NullPointeException when one of 2 file is choose . but when i choose 3 files to send , it is working fine . Can any one help pls,
    Here is the code
    public class Attachservlet extends HttpServlet{
         public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException{
         String host="172.30.1.35";
         String full[]=new String[3];
         String part[]=new String[3];
         String fname[]=new String[3];
         String pname[]=new String[3];
         String ss[]=new String[3];
         String name[]=new String[3],conc="";
         int j,jj;
         String sender_email=req.getParameter("senderemail");
         String sender_name=req.getParameter("sendername");
         String receiver_email=req.getParameter("receiveremail");
         String receiver_name=req.getParameter("receivername");
         String sent_message=req.getParameter("area");
         PrintWriter out=res.getWriter();
         Properties props=System.getProperties();
         props.put("mail.smtp.host",host);
         Session session=Session.getDefaultInstance(props,null);
         MimeMessage message=new MimeMessage(session);
         try{
         for ( jj=0;jj<3;jj++){
         j=jj+1;
         name[jj]="filename"+j;
         pname[jj]="pname"+j;
         ss[jj]=req.getParameter(name[jj]);
         part[jj]=req.getParameter(pname[jj]);
         if(ss[jj].length()!=0){
         System.out.println("values is "+ss[jj] +"\n"+part[jj]);
         System.out.println("values is "+ss[jj] +"\n"+part[jj]);
         conc=conc+ss[jj]+",";
         System.out.println(conc);     
         message.setFrom(new InternetAddress(sender_email,"Sumathi"));
         message.addRecipient(Message.RecipientType.TO,new InternetAddress(receiver_email));
         message.setSubject(receiver_name);
         BodyPart bodypart=new MimeBodyPart();
         bodypart.setText(sent_message);
         Multipart multi=new MimeMultipart();
         multi.addBodyPart(bodypart);
         bodypart = new MimeBodyPart();
         DataSource source=new FileDataSource("test.jsp");
         bodypart.setDataHandler(new DataHandler(source));
         bodypart.setFileName(part[jj]);
         multi.addBodyPart(bodypart);
         message.setContent(multi);
         Transport.send(message);
         res.sendRedirect("http://sumathi/Mail/Success.jsp");
         System.out.println("Message Sent");
         }catch(Exception e){
         System.err.println("An Exception has Arrised \t"+e);
         public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException{
         doPost(req,res);
    Any Help pls ,
    Thanks in Advance !

    OK,
    Although you didn't post the stack trace from your NullPointer, my guess is that it's being thrown at this line:
    if(ss[jj].length()!=0){
    your ss[jj] variable is being assigned the value: req.getParameter(name[jj]); This value is null in the case when you have anything less that 3 parameters in your form.
    You need to check for a null value at this point.

  • Multiple attachments using UTL_MAIL?

    Hi all,
    Does anyone know if its possible to attach multiple documents to an email and send them using the UTL_MAIL package. I am able to send one attachment stored in the server but would like to attach multiple files if possible. Any help would be greatly appreciated.
    Regards,
    Ray

    Hi all,
    Does anyone know if its possible to attach multiple documents to an email and send them using the UTL_MAIL package. I am able to send one attachment stored in the server but would like to attach multiple files if possible. Any help would be greatly appreciated.
    Regards,
    Ray

  • Multiple attachment using SO_NEW_DOCUMENT_ATT_SEND_API1

    HI geeks,
              Can anyone pls tell me how to attach multiple files using function module SO_NEW_DOCUMENT_ATT_SEND_API1.
              I have seen example of multiple attachments using same file type.I mean 1 or more files are same type like PDF or Excel.
              But my requirement is i have to send multiple attachment,1 file as PDF and other three excel file.
              Can anyone pls let me know,if anyone done this already,
    Thanks in advance
    Srini.

    Hi Srinivasn,
    Please see the below code u need to follow.  In the object pack table u might specified the number of lines per each attachement.  At the same time u need to specify the document type as  PDF  or XLS.  Please see the below code which is wrote for two attachments as xls.  In your case one attachment should be PDF.  This can be specified in the field
    LT_OBJPACK-DOC_TYPE = 'PDF'.
    IF NOT LT_ATT_TAB[] IS INITIAL AND
        NOT GV_ERR_REC IS INITIAL.        
        DESCRIBE TABLE LT_OBJBIN LINES LV_TAB_LINES.
        LV_TAB_LINES = LV_TAB_LINES - GV_SUC_REC.
        READ TABLE LT_OBJBIN INDEX LV_TAB_LINES.
        LT_OBJPACK-DOC_SIZE =
       ( LV_TAB_LINES - 1 ) * 255 + STRLEN( LT_OBJBIN ).
        LT_OBJPACK-TRANSF_BIN = 'X'.
        LT_OBJPACK-HEAD_START = 1.
        LT_OBJPACK-HEAD_NUM = 0.
        LT_OBJPACK-BODY_START = 1.
        LT_OBJPACK-BODY_NUM = LV_TAB_LINES.
        LT_OBJPACK-DOC_TYPE = LC_XLS.
        LT_OBJPACK-OBJ_NAME = 'ATTACHMENT'.
        LT_OBJPACK-OBJ_DESCR = LV_ATTACH_NAME2(50).
        APPEND LT_OBJPACK.
      ENDIF.                               " IF NOT lt_att_tab[] IS ...
    File2 attachment for processed records.
      IF NOT LT_ATT_TAB[] IS INITIAL AND
         NOT GV_SUC_REC IS INITIAL.
        CLEAR LT_OBJPACK.
        DESCRIBE TABLE LT_OBJBIN LINES LV_TAB_LINES.
        LV_TAB_LINES = LV_TAB_LINES - GV_ERR_REC.
        GV_ERR_REC = GV_ERR_REC + 1.
        READ TABLE LT_OBJBIN INDEX LV_TAB_LINES.
        LT_OBJPACK-DOC_SIZE =
       ( LV_TAB_LINES - 1 ) * 255 + STRLEN( LT_OBJBIN ).
        LT_OBJPACK-TRANSF_BIN = 'X'.
        LT_OBJPACK-HEAD_START = GV_ERR_REC.
        LT_OBJPACK-HEAD_NUM   = 0.
        LT_OBJPACK-BODY_START = GV_ERR_REC.
        LT_OBJPACK-BODY_NUM   = LV_TAB_LINES.
        LT_OBJPACK-DOC_TYPE   = LC_XLS.
        LT_OBJPACK-OBJ_NAME   = 'ATTACHMENT'(009).
        LT_OBJPACK-OBJ_DESCR  = LV_ATTACH_NAME(50).
        APPEND LT_OBJPACK.
      ENDIF.                               " IF NOT lt_att_tab[] IS ...
    Thanks
    IF NOT LT_ATT_TAB[] IS INITIAL AND
        NOT GV_ERR_REC IS INITIAL.        
        DESCRIBE TABLE LT_OBJBIN LINES LV_TAB_LINES.
        LV_TAB_LINES = LV_TAB_LINES - GV_SUC_REC.
        READ TABLE LT_OBJBIN INDEX LV_TAB_LINES.
        LT_OBJPACK-DOC_SIZE =
       ( LV_TAB_LINES - 1 ) * 255 + STRLEN( LT_OBJBIN ).
        LT_OBJPACK-TRANSF_BIN = 'X'.
        LT_OBJPACK-HEAD_START = 1.
        LT_OBJPACK-HEAD_NUM = 0.
        LT_OBJPACK-BODY_START = 1.
        LT_OBJPACK-BODY_NUM = LV_TAB_LINES.
        LT_OBJPACK-DOC_TYPE = LC_XLS.
        LT_OBJPACK-OBJ_NAME = 'ATTACHMENT'.
        LT_OBJPACK-OBJ_DESCR = LV_ATTACH_NAME2(50).
        APPEND LT_OBJPACK.
      ENDIF.                               " IF NOT lt_att_tab[] IS ...
    File2 attachment for processed records.
      IF NOT LT_ATT_TAB[] IS INITIAL AND
         NOT GV_SUC_REC IS INITIAL.
        CLEAR LT_OBJPACK.
        DESCRIBE TABLE LT_OBJBIN LINES LV_TAB_LINES.
        LV_TAB_LINES = LV_TAB_LINES - GV_ERR_REC.
        GV_ERR_REC = GV_ERR_REC + 1.
        READ TABLE LT_OBJBIN INDEX LV_TAB_LINES.
        LT_OBJPACK-DOC_SIZE =
       ( LV_TAB_LINES - 1 ) * 255 + STRLEN( LT_OBJBIN ).
        LT_OBJPACK-TRANSF_BIN = 'X'.
        LT_OBJPACK-HEAD_START = GV_ERR_REC.
        LT_OBJPACK-HEAD_NUM   = 0.
        LT_OBJPACK-BODY_START = GV_ERR_REC.
        LT_OBJPACK-BODY_NUM   = LV_TAB_LINES.
        LT_OBJPACK-DOC_TYPE   = LC_XLS.
        LT_OBJPACK-OBJ_NAME   = 'ATTACHMENT'(009).
        LT_OBJPACK-OBJ_DESCR  = LV_ATTACH_NAME(50).
        APPEND LT_OBJPACK.
      ENDIF.                               " IF NOT lt_att_tab[] IS ...
    Venkat

  • How to send multiple attachments?

    Sorry if this seems like an obvious question but can it be done? Do I need an extra app or helper?
    Thanks in advance

    Ernie,
    I have had problems with sending some attachments to windows users.
    i cant tell exactly what is causing it.
    usually i am making .pages documents which i then export as PDFs.
    many times windows users email me back that they cant even see the attached PDFs (not not open them, but cant even see them).
    there seems to be some sort of bug. (yes, attach as windows friendly documents is selected).
    some have suggested that attaching multiple attachments using the command click method might be at fault.
    others have suggested that exporting to pdf might be a problem and the resulting pdf not always readable by windows users.
    can you give any suggestion that might ensure windows users can always open my attached PDFs?
    thanks

  • Redwood Cronacle: rwmail error (gethostbyname)

    Can anyone tell my why I might be getting the following error when submitting to one UNIX server (SAP server, HP-UX IA64) but successful when submitted to another (HP-UX U 9000/800)? Paths are set correctly, environment variables are set, and rwmail exists in $JCS_HOME/bin as an executable with correct permissions.
    error:
    path removed.../bin/rwmail: could not obtain host information (gethostbyname): No such process
    script:
    create or replace script "NOTIFICATION"."DEST_EMAIL_NOTIFICATION_SUBJ"
    ( "P_TO"            in varchar2(3000)   null
                        description         'Email account'
    , "P_PARENT"        in number           not null
                        parent_job_id
                        description         'Parent JobId'
    , "P_SERVER"        in varchar2(255)    not null
                        description         'SMTP Server'
                        nodisplay
                        noedit
                        runtime
                        default             jcs_registry.get_value('/PUBLIC/RWS/Repository/Parameters/SMTPServer')
    , "P_SERVER_ACCOUNT" in varchar2(255)    not null
                        description         'SMTP sender'
                        nodisplay
                        noedit
                        runtime
                        default             jcs_registry.get_value('/PUBLIC/RWS/Repository/Parameters/SMTPSender')
    , "P_SUBJECT"       in varchar2(200)    null
                        no last value
    , "P_INSTANCE"      in varchar2(50)     not null
                        nodisplay
                        noedit
                        runtime
                        default             jcs_registry.get_value('/PUBLIC/INSTANCES/Cronacle')
    , "P_STATUS"        in varchar2(50)     not null
                        nodisplay
                        noedit
                        runtime
                        default             jcs.job_status(P_PARENT)
    , "P_EMAIL_BODY"    in varchar2(4000)   null
    description         'Send email that report has finished'
    application         "NOTIFICATION"
    queue               "NOTIFICATION"
    as 'echo ' || P_EMAIL_BODY || '|'  ||   JCSBINHOMEPATH( 'rwmail'
                     , ' -server "'  || P_SERVER         || '" ' ||
                       '-f "'                 || P_SERVER_ACCOUNT || '" ' ||
                       '-t "'                 || P_TO             || '" ' ||
                       '-s "'                    || P_SUBJECT        || ' '
                             || P_STATUS || ' ('
                             || P_INSTANCE
                             || ') " ' ||
                       '-a - '

    Check for 2 things.
    1) Redwood comes with different server installations based on server config. IA64 has different setup as compared to other servers. Please check if you have installed correct version on IA64 box.
    2) Not sure which version of Cronacle you are using. If its 8 onwards, you can get setup file from support for IA64. Not sure if IA64 is supported for earlier versions. Check the help file or write to support to check if your version of cronacle supports IA64.
    - Bhushan

  • Send multiple email attachments using FM SO_NEW_DOCUMENT_ATT_SEND_API1.How?

    Hi All,
    I have a requirement to send email to an external ID for which I am using FM SO_NEW_DOCUMENT_ATT_SEND_API1.Can anyone give a sample code to send multiple excel attachments using this function module.
    Points would be rewarded.
    Thanks
    Archana.

    Check the Thread,,
    Re: more than 1 attachements/sheets in SO_DOCUMENT_SEND_API1

  • Multiple attachments in single mail using XML publisher bursting

    Hi all
    I am sending the PDF generated to a particular mail recipient using the bursting options.
    There is requirement in which I have to attach two different PDF's to the mail. These multiple attachments should go in a single mail. Please let me know how we can achieve this.
    Thanks in adv,
    Srini
    Edited by: 796646 on Mar 4, 2011 2:35 PM

    Suresh,
    just copy your question and paste it in search box.. press enter
    there are too many posts already on this.
    still a little help for you, with explanation:
    [code snipet with documentation|http://wiki.sdn.sap.com/wiki/display/Snippets/MultipleAttachmentsExplanation]

  • Iam unable to send multiple attachments with a mail using JavaMail?

    Hai to all,
    Iam unable to send multiple attachments with a email,see
    iam have succeeded in sending one attachment with a email.
    when iam tring to add two or more attachments to a mail,
    it is giving a Exception like this:
    javax.mail.MessagingException: IOException while sending message;
    nested exception is:
    java.io.IOException: No content
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:577)
    at javax.mail.Transport.send0(Transport.java:151)
    at javax.mail.Transport.send(Transport.java:80)
    at AttachFilesModified.sendMail(AttachFilesModified.java:185)
    at AttachFilesModified.main(AttachFilesModified.java:43)
    this is my code snipnet:
    BodyPart messageBodyPart = new MimeBodyPart();
    Multipart multipart = new MimeMultipart();
    if(body != null)
    messageBodyPart.setText(body);
    multipart.addBodyPart(messageBodyPart);
    /*if(attachments != null)
    for(int i = 0; i < attachments.length; i++)
    String filename="D:\\nagaraju\\apachi\\axis-bin-1_3.zip";
         //String s[]=filename.split("\\");
         //System.out.println(s);     
              //String s1=s[1];
              //String filename1=s[s.length-1];
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(filename);
         messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName(filename);
    multipart.addBodyPart(messageBodyPart);
         //second file attaching
         /*String filename1="C:\\nagadoc.txt";
         BodyPart messageBodyPart1=new MimeBodyPart();
         DataSource source1=new FileDataSource(filename1);
         messageBodyPart.setDataHandler(new DataHandler(source1));
         messageBodyPart.setFileName(filename1);
         multipart.addBodyPart(messageBodyPart1);
    mess.setContent(multipart);
    Address[] allRecips = mess.getAllRecipients();
    if(toStdOut)
    System.out.println("done.");
    //System.out.println("Sending message (\"" + mess.getSubject().substring(0,10) + "...\") to :");
    System.out.println("Sending message................");
    for(int i = 0; i < allRecips.length; i++)
    System.out.print(allRecips[i] + ";");
    System.out.println("...");
    Transport.send(mess);
    if(toStdOut)
    System.out.println("done.");
    return 0;
    What's wrng with that code snipnet?
    Nagaraju G.

    This works fine with me, try it or compare it if you want.
    public void sendEmail( String from, String to,
    String subject, String body) {
    fMailServerConfig.put("mail.smtp.host", " <<mail server>>");
    Session session = Session.getDefaultInstance( fMailServerConfig, null );
    MimeMessage message = new MimeMessage( session );
    try {
    message.setFrom(new InternetAddress(from));
    message.setRecipient(Message.RecipientType.TO,
    new InternetAddress(to));
    message.setSubject( subject);
    message.setText( body);
    //Adds Attechment:
    Multipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText("Here are my attachments");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    //first attachment
    DataSource source = new FileDataSource("C:\\img1.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("C:\\Telnor1.jpg");
    multipart.addBodyPart(messageBodyPart);
    //Second attachment
    DataSource source2 = new FileDataSource("C:\\img2.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source2));
    messageBodyPart.setFileName("C:\\Telnor2.jpg");
    multipart.addBodyPart(messageBodyPart);
    //etc...
    message.setContent(multipart);
    Transport.send( message );
    }catch (MessagingException e){
    System.err.println("Cant send mail. " + e);
    The error on your code might be:
    BodyPart messageBodyPart1=new MimeBodyPart();
    DataSource source1=new FileDataSource(filename1);
    messageBodyPart.setDataHandler(new DataHandler(source1));
    messageBodyPart.setFileName(filename1);
    multipart.addBodyPart(messageBodyPart1);
    You don't need to create a new BodyPart, and apart from that you'r seting values on "messageBodyPart" but adding "messageBodyPart1" to your multipart :P
    Well see u and have a good one!
    p.s. i know it's a little late from the day you posted, but at least it might help somebody else :D .

  • How to handle Multiple attachments in sender Mail Adapter

    Hi,
         In our requirement is mutiple documents send through mail adapter, In custom java module we read the each document details and do it bussiness process. But now i am not able to read the multiple files at a time. we are able to read single file only. So plz give the solution for that.
    1) How to send multiple attachments(like word, PDF, JPG etc..) using mail apapter.
    2) How to read multiple attachments in custom java module.
    Thanks & Regards
    Vijay

    Hi Vijay,
    Go through this weblog this explains steps to multile attachments.
    /people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
    Regards,
    Ashwin.

  • How can we send multiple attachments in a mail from iPad 2

    Hi,
    I am using a ipad2. I want to know how we can send multiple attachments through mail from iPad. I did not find any option of doing this. Is there a way to do this.
    Regards,
    Satyabrat

    You can't do it natively on the iPad (unless you just want to send up to 5 photos from the Photos app). I use the GoodReader app which supports quite a few document/file types (e.g. PDF, Excel, Word, pictures), and from that I can select multiple files (including different types) and attach them to the same email.

  • How to accept multiple attachments on selection screen?

    Hi All,
    I need to know how to accept multiple attachments on selection screen and send them as email to external system (outlook).
    Basically, my req is to send a common email with attachments to certain users. These users are displayed in ALV. User will select ALL or specific user from ALV and send an email with message entered on selection screen.
    I used text editor control to input message body. I need to know how to accept attachments and send them.
    Appreciate any inputs.
    Thanks,
    SKJ

    SAP uses a nifty little button called 'Object Services' on ME23N (top left) which you can use to attach documents to business objects.
    http://help.sap.com/saphelp_nw70/helpdata/EN/be/3fe63659241157e10000009b38f889/frameset.htm
    It's a complicated way of doing it but might give you extra functionality in the long run.

Maybe you are looking for