Including a Table in Mail Body

Hi,
How to include a table in Mail body? Kindly help me out.
Thanks & Regards,
Dhana

Dhana,
Download the data into excel sheet. For downloading data coding & info from the  the links below:
Re: Excel in different  worksheets
Re: Excel download to individual worksheets.
http://www.sapdevelopment.co.uk/ms/ms_excel.htm
Later you can send the file as an attachemnt with the mail body. Does this help to solve your problem.?
Cheers
Sukanta Rudra

Similar Messages

  • Including hyperlink in outlook mail body not working

    Hi,
    We have a requirement to open an outlook mail on click of a link on webdynpro screen and also inlcude a hyperlink in the body of the mail.
    I created a LinkToURL and assinged the following to the 'reference' property :-
    mailto:?body=http://<xyz>:80/DSARCLNK_AP10D/CONTENTSERVER.ASP?get&pVersion=0045&contRep=D1&docId=AP10D_332
    Outlook opens properly, but the complete link is not appearing in the body of the e-mail.
    it shows just the following :-
    http://<xyz>:80/DSARCLNK_AP10D/CONTENTSERVER.ASP?get
    so what's happening is it breaks when it finds '&'.
    Can some one help me in resolving this issue?
    Thanks,
    Hari

    Hi Hari,
    Replace "&" by "%26"
    Best regards, Maksim Rashchynski.

  • Mail body

    Hallo
    I am using method create_from_text. I want that the mailbody filled with the text in table i_tab.
    But it creates txt file in attachtement. In this file appears my mailbody text.
    can some body tell me my mistake. what should I do that i_tab text in mail body appears.
    here is my code
    TRY.
          CALL METHOD cl_document_bcs=>create_from_text
            EXPORTING
              i_text         = i_tab
              i_documenttype = 'RAW'
              i_subject      = l_btr
              i_importance   = '0'
              i_sensitivity  = 'P'
            RECEIVING
              result         = l_result.
        CATCH cx_document_bcs .
      ENDTRY.
    regards
    rana
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Sep 1, 2009 9:26 AM

    "This might help you
    DATA:list_object TYPE TABLE OF abaplist.
    DATA:listasci(128) TYPE c OCCURS 0.
    DATA:   BEGIN OF int_tline1 OCCURS 100.
            INCLUDE STRUCTURE tline.
    DATA:   END OF int_tline1.
    DATA:it_text TYPE soli_tab.
    DATA: wa_text LIKE LINE OF it_text.
    DATA:wa_ascii LIKE LINE OF listasci.
    DATA: send_request       TYPE REF TO cl_bcs.
    DATA: recipient          TYPE REF TO if_recipient_bcs.
    DATA: document           TYPE REF TO cl_document_bcs.
    DATA: sent_to_all        TYPE os_boolean.
    SUBMIT yprogram2 EXPORTING LIST TO MEMORY AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_object.
    CALL FUNCTION 'LIST_TO_ASCI'
      TABLES
        listasci           = listasci
        listobject         = list_object
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    LOOP AT listasci INTO wa_ascii.
      wa_text-line = wa_ascii.
      APPEND  wa_text-line TO it_text.
    ENDLOOP.
    TRY.
      send_request = cl_bcs=>create_persistent( ).
      document = cl_document_bcs=>create_document(
                                i_type = 'RAW'
                                i_text = it_text        "<-----mail content
                                i_subject = 'Test mail' ).
      send_request->set_document( document ).
      recipient  = cl_cam_address_bcs=>create_internet_address( )."Include email inside the brackets
      send_request->add_recipient( i_recipient = recipient ).
      send_request->set_send_immediately( 'X' ).
      send_request->send( EXPORTING i_with_error_screen = 'X' ).
      COMMIT WORK.
    ENDTRY.

  • I would like to include a photo within the body of the email, not as an attachment. How do I do this?

    I receive emails where a photo in included in the email. When I send emails with Firefox, I have to attach the photo as an attachment. How can I include the photo in the body of the email?

    Firefox doesn't do email, it's strictly a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.

  • Tables in Mail content

    Hi All,
    How to display table data as a table itself in the mail. Please give all possible options. Example as an attachment or mail body etc.
    I want a table with borders. Please tell me how to achieve this.
    Any pointers will be highly appreciated.
    Thanks and Regards,
    Lakshmi.

    >
    Santhanalakshmi V wrote:
    > I want the table to be displayed in a more user friendly manner with borders etc. So i'm looking for more options in this regard.
    >
    Since you mention attachment as an option in your original post, you can write a program that lists the table in the desirable format and mail the output. There may be example ABAP in the system, OSS or  on SDN on how this is done. The list goes as an attachment and not the mail body. If this mail is being sent to external email address, I think the attachment can be converted to HTML or PDF within SCOT settings.
    Cheers,
    Ramki Maley.

  • How to send mail body using RE_CN_RA_INVOICE interface from RECPA520

    Hi ABAP Guru,
    I am using a standard interface RE_CN_RA_INVOICE for tcode RECPA520 for generating pdf form and send the corresponding PDF to  corresponding address maintained in Business Partner.The problem is mail is sending with attachment but there is no mail body.
    Please help

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

  • Want to add text to mail body of  BACS Remittance Advice

    Hi Experts,
    Blelow is the requirement.
    User is sending the remittance advice to vendors, user wants to include a u2018fixedu2019 text also in that mail.
    User is sending remittance advice to vendor in PDF format which is attached in a mail, I need to add some text to mail body.
    But not able to find how mail body is filled up.
    Main program RFFOGB_T u2013 Payment program
    Includes RFFORI06 u2013 Remittance advice
    Can you please suggest how I will be able to add the text to the mail ?
    Regards,
    Subhashree.

    Hi E_Hinojosa ,
    Its helped a lot.
    But one doubt,what is process exit and how to search the same from a program or include.
    The required code(which is there in note) is there in include 06 but which process exit I will use for the BACS remittance and how to fill the value of finaa-mail_body_text in process exit.
    Please give me a clear idea.
    Thanks,
    Subhashree.

  • Send mail using cl_bcs. need text in mail body

    Hi friends,
    please provide me some solution to send mail with out attachment and the message should only be in mail body.
    Code :
    TRY.
    *     -------- create persistent send request ------------------------
            send_request = cl_bcs=>create_persistent( ).
    *     -------- create and set document -------------------------------
    *     create document from internal table with text
            CLEAR lv_const.
            CONCATENATE 'Dear' gs_cust-name1 ',' INTO lv_const SEPARATED BY space.
            APPEND lv_const TO text.
            CLEAR lv_const.
            CONCATENATE 'at' gs_cust-new_date 'planned delivery for you with following items:'
                        INTO lv_const SEPARATED BY space.
            APPEND lv_const TO text.
            l_space = '                                       ' .
            APPEND l_space TO text .
            CLEAR : gs_mat,
                    lv_const.
            CLEAR l_quan.
            LOOP AT gt_mat INTO gs_mat WHERE new_date = gs_cust-new_date.
              l_quan = gs_mat-zmeng.
              CONCATENATE gs_mat-matnr gs_mat-maktx l_quan INTO lv_const SEPARATED BY space.
              APPEND lv_const TO text.
              CLEAR :
                      lv_const.
            ENDLOOP.
            l_space = '                                       ' .
            APPEND l_space TO text .
            APPEND 'Please contact with us if you confirm whether above products are' TO text.
            CLEAR lv_const.
            CONCATENATE 'required on' gs_cust-new_date 'with specified quantity.'
                        INTO lv_const SEPARATED BY space .
            APPEND lv_const TO text.
            APPEND 'You can contact with us via e-mail:xxxxxx or via' TO text.
            APPEND 'phone +xxxxxxxxxxxxxx' TO text.
            l_space = '                                       ' .
            APPEND l_space TO text .
            APPEND 'Best regards' TO text.
            APPEND 'Linde Central Logistic Team' TO text.
            lo_document = cl_document_bcs=>create_document(
                            i_type    = 'RAW'
                            i_text    = text
    *                        i_length  = '12'
                            i_subject = 'test mail' ).
    *     add document to send request
            CALL METHOD send_request->set_document( lo_document ).
    *     --------- add recipient (e-mail address) -----------------------
    *     create recipient - please replace e-mail address !!!
            recipient = cl_cam_address_bcs=>create_internet_address(
                                              'address' ).
    *     add recipient with its respective attributes to send request
            CALL METHOD send_request->add_recipient
              EXPORTING
                i_recipient = recipient
                i_express   = 'X'.
    *     ---------- send document ---------------------------------------
              CALL METHOD send_request->send(
                EXPORTING
                  i_with_error_screen = 'X'
                RECEIVING
                  result              = sent_to_all ).
              COMMIT WORK.
    *  Send Immediately
              send_request->set_send_immediately( i_send_immediately = 'X' ).
          CATCH cx_bcs INTO bcs_exception.
            WRITE: text-001.
            WRITE: text-002, bcs_exception->error_type.
            EXIT.
        ENDTRY.
    Please provide me the solution if i am missing any thing.
    Thanks,
    Kat

    thank you for looking into this thread,
    i have configured the in scot.
    currently sending all RAW type as TXT. this has resolved my issues.

  • Mail Body Content

    Hi,
    When we try to send mail, the body content is included as an attachment as 'Notification1.html' (which is a default one) Instead we need to have the mail content in the main body.
    What changes do we need to achieve this?
    Regards,
    Saranath

    hi,
    If anybody face the same problem like mail body as attachment then go for the bellow solution.
    Check your settings in TCODE SCOT
    Double click on SMTP note . For "Internet" click on set, under "Output format for SAP documents" RAW Text musts be set as "TXT"
    Regards
    padmaja.

  • Alignment in mail body

    I need to send a mail through my ABAP Program. The content of the mail is Internal Table.
    I need to format the content of the Internal Table with proper spacing and heading.
    ex:how i am getting my data in mail body
    empno  empname    city      region
    111    abcdef     hyedarabad Ap
    112    abcedfgh     banglore  KArnataka
    113    abc       mubmai     maharastra
    Somebody please help me in this regard.

    Hi,
    this is the code
    i dont want any attachment
    *&      Form  process_mail
    form process_mail .
    data: offset type i,
          llen(40)   type c.
      sort it_final by manager_pernr.
      loop at it_final  .
    To get the employee name
        read table it_pa0001 with key pernr =  it_final-emp_pernr.
        if sy-subrc = 0.
          v_empname = it_pa0001-ename.
        endif.
        at new manager_pernr.
    To get the manager name
          read table it_pa0001 with key pernr =  it_final-manager_pernr.
          if sy-subrc = 0.
            v_managername = it_pa0001-ename.
          endif.
    Fill mail-text
          perform mail_text.
        endat.
        if it_final-wbs is not initial.
        offset = 0.
    describe field it_final-emp_pernr length llen in character mode.
    write it_final-emp_pernr to it_mailtext+offset(llen).
    offset = llen + offset.
    describe field v_empname length llen in character mode.
    write v_empname to it_mailtext+offset(llen).
    offset = llen + offset.
    describe field it_final-wbs length llen in character mode.
    write it_final-wbs to it_mailtext+offset(llen).
    offset = llen + offset.
    describe field it_final-total_hrs length llen in character mode.
    write it_final-total_hrs to it_mailtext+offset(llen).
    offset = llen + offset.
      it_mailtext-line = it_mailtext.
      append it_mailtext.
      clear  it_mailtext.
        elseif it_final-kostl is not initial.
           offset = 0.
    describe field it_final-emp_pernr length llen in character mode.
    write it_final-emp_pernr to it_mailtext+offset(llen).
    offset = llen + offset.
    describe field v_empname length llen in character mode.
    write v_empname to it_mailtext+offset(llen).
    offset = llen + offset.
    describe field it_final-kostl length llen in character mode.
    write it_final-kostl to it_mailtext+offset(llen).
    offset = llen + offset.
    describe field it_final-total_hrs length llen in character mode.
    write it_final-total_hrs to it_mailtext+offset(llen).
    offset = llen + offset.
      it_mailtext-line = it_mailtext.
      append it_mailtext.
      clear  it_mailtext.
        endif.
        at end of manager_pernr.
          clear it_mailtext.
          append it_mailtext.
          append it_mailtext.
          it_mailtext-line = 'Regards,'.
          append it_mailtext.
          clear  it_mailtext.
          it_mailtext-line = 'Team'.
          append it_mailtext.
          clear  it_mailtext.
          append lines of it_mailtext to it_objtext.
          append it_mailtext.
          clear  it_mailtext.
          append it_mailtext.
          concatenate 'This is an auto notification.'
                      'Please do not reply to this mail ID'
                       into it_mailtext-line separated by space.
          append it_mailtext.
          clear it_mailtext.
          append it_mailtext.
    Creation of the entry for the compressed document
          clear it_objpack-transf_bin.
          it_objpack-transf_bin = ' '.
          it_objpack-head_start = 1.
          it_objpack-head_num   = 0.
          it_objpack-body_start = 1.
          it_objpack-body_num = tab_lines.
          it_objpack-doc_type = 'RAW'.
          append it_objpack.
          perform send_mail.
        endat.
      endloop.
    endform.                    " process_mail
    *&      Form  mail_text
    form mail_text .
      data :head_desc like it_mailtext,
      body_desc like it_mailtext.
      clear  it_mailtext.
      refresh it_mailtext.
      concatenate  'Dear' v_managername
                   into it_mailtext-line separated by space.
      concatenate  it_mailtext-line ','
                   into it_mailtext-line.
      append it_mailtext.
      clear  it_mailtext.
      append it_mailtext.
      concatenate 'The following unapproved timesheets'
                  'exist in your ESS.'
                   into it_mailtext-line separated by space.
      append it_mailtext.
      clear  it_mailtext.
      concatenate  'Please ignore this mail if already'
                   'approved.'
                    into it_mailtext-line separated by space.
      append it_mailtext.
      clear  it_mailtext.
      append it_mailtext.
      it_mailtext-line+2(8)   = 'Emp-No'.
      it_mailtext-line+15(8)  = 'Emp-Name'.
      it_mailtext-line+65(20) = 'WBS/CostCenter'.
      it_mailtext-line+84(10) = 'Total Hrs'.
      append it_mailtext.
      clear  it_mailtext.
      concatenate '----
                  into it_mailtext-line .
      append it_mailtext.
      clear  it_mailtext.
      append it_mailtext.
    endform.                    " mail_text
    *&      Form  send_mail
    form send_mail .
      clear v_error.
      clear fs_object_hd_change.
      clear v_approver_mailid.
      fs_object_hd_change-objla    = sy-langu.
      fs_object_hd_change-objnam   = 'MAIL'.
      fs_object_hd_change-objdes   = 'Unapproved Timesheets'.
      fs_object_hd_change-objpri   = 3.
      fs_object_hd_change-objsns   = 'F'.
      fs_object_hd_change-ownnam   = v_usrid.
      refresh it_receivers_text.
      clear it_receivers_text.
      move sy-datum  to it_receivers_text-rcdat .
      move sy-uzeit  to it_receivers_text-rctim.
      move '1'       to it_receivers_text-sndpri.
      move 'X'       to it_receivers_text-sndex.
      move 'U-'      to it_receivers_text-recnam.
      move 'U'       to it_receivers_text-recesc.
      move 'INT'     to it_receivers_text-sndart.
      move '5'       to it_receivers_text-sortclass.
      append it_receivers_text.
      v_approver = it_final-manager_pernr.
      if v_approver_mailid is initial.
        call function 'ZBAPI_GET_MAIL_ID_FROM_PERNR'
          exporting
            pernr   = v_approver
          importing
            mail_id = v_approver_mailid.
        if v_approver_mailid is initial.
          v_error = 'X'.
          v_message = 'Failed to obtain approver''s mailid'.
        endif.
      endif.
      it_receivers_text-recextnam = v_approver_mailid.
      append it_receivers_text.
      if v_sim_mode = '0'.    "  Not in simulation mode
        v_owner = v_usrid.
      else.
        v_owner = sy-uname.
      endif.
      call function 'SO_OBJECT_SEND'
        exporting
          object_hd_change                 = fs_object_hd_change
          object_type                      = 'RAW'
             outbox_flag                 = 'X'
          owner                            = v_owner
        tables
          objcont                          = it_mailtext
          receivers                        = it_receivers_text
        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.
      v_char_subrc = sy-subrc.
      if sy-subrc ne 0.
        v_error = 'X'.
        concatenate 'Error:'
                    v_char_subrc
                    'Could not send email to ' v_mailid
          into v_message
          separated by space.
      else.
        commit work.
        v_message = 'Approval mails sent'.
      endif.

  • Sending Surveys in mail body

    Hi gurus,
    I have created  a survey format. Users can fill this surveys while they are closing the service orders. But instead of using WEB UI, I want to send them an e-mail including this survey in the mail body.
    How can i do this?

    This class has got following process types, which one should i use?
    SET_VALUES     Transfer HTTP for Calculation of Current Survey Values
    REMOVE_SECTION     Remove String Section from String
    REMOVE_ENVELOPE     Remove WFF Envelope from Value XML
    GET_XML     Fetching the Current Survey XML File
    GET_VALUES     Fetching the Reference to a Current Value XML
    GET_RATING     Calculates the Rating from the Values
    GET_PRESENTATION     Fetching the Current HTML File
    CALLBACK_PBO     Call Callback Routine to PBO
    CALLBACK_PAI     Call Callback Routine to PAI
    ASSURE_PUBLIC_VALUES     Generating the Public Values XML
    ASSURE_INTERNAL_VALUES     Generating the Internal Value XML

  • Formating the mail body

    Hi to all
    Is it possible to format the mail body that we create using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' like a rich user interface?
    Kindly suggest.
    Thanks & Regards
    Vipin

    Its possible to give html tags in the body internal table thereby make it a rich user interface. For html you may need to use document type as HTM.
    I 've given an example in this link. Please have a look.
    Re: Bold, Colors in mail - Urgent
    Rgds,
    TM.

  • How to sending simple text in the mail body

    Hi friends,
                 How to send simple text in the mail body through ABAP code
       plz send me the related code and setting for that mail.
      Thanks&Regards,
      Srinivas

    try this...
    FORM send_file_as_email_attachment .
      DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
      DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
      DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
      DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
      DATA: objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
      DATA : i_body TYPE soli_tab WITH HEADER LINE.
    DATA: it_attach LIKE it_display1 OCCURS 0 WITH HEADER LINE.
      DATA: doc_chng LIKE sodocchgi1.
      DATA: tab_lines LIKE sy-tabix.
      DATA: att_lines TYPE i.
    DATA: lv_lines TYPE i.
      DATA: file TYPE string.
      data: g_datum like sy-datum.
      data: g_datum1(10) type c.
      DATA: len TYPE n.
      LOOP AT it_email.
        CLEAR : objpack,
                objhead,
                objbin,
                objtxt,
                reclist.
        REFRESH: objpack,
                 objhead,
                 objbin,
                 objtxt,
                 reclist.
        g_datum =     sy-datum - 1.
        concatenate g_datum6(2) '.' g_datum4(2) '.' g_datum+0(4) into
        g_datum1.
    doc_chng-obj_descr = 'Aged Stock more than 45 Days'.
        CONCATENATE 'Aged Stock more than 45 Days' '-' it_email-vkbur INTO
        doc_chng-obj_descr.
        CONCATENATE 'Please find enclosed Aged Stock Details ( >45days ) report as on'
        g_datum1
        INTO objtxt-line SEPARATED BY space.
        APPEND objtxt.
        objtxt-line = ' '.
        APPEND objtxt.
        objtxt-line = 'Regards'.
        APPEND objtxt.
        objtxt-line = 'LIS SAP Projects'.
        APPEND objtxt.
        objtxt-line =
        'PS: Pls send feedback for futher improvements to SAP office.'.
        APPEND objtxt.
        DESCRIBE TABLE objtxt LINES tab_lines.
        READ TABLE objtxt INDEX tab_lines.
        doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
       CLEAR objpack-transf_bin.
        objpack-head_start = 1.
        objpack-head_num = 1.
        objpack-body_start = 1.
        objpack-body_num = tab_lines.
        objpack-doc_type = 'TXT'.
       objpack-obj_name = 'Run_prog'.
       objpack-obj_descr = 'Agestock.txt'.
       lv_lines = tab_lines.
        APPEND objpack.
    *CONCATENATE 'Plant'   'Material Number' 'Qty(More than 45days)'
    *'Amount' INTO
           it_display SEPARATED BY space.
           append objbin.
           clear: objbin.
        CLEAR:it_display2.
        REFRESH it_display2.
        it_display2-werks = 'Plant|'.
        it_display2-matnr = 'Material Number'.
        it_display2-qty = '|Qty > 45 days'.
        it_display2-amount = '      |Amount'.
        APPEND it_display2.
        it_display2-werks = ''.
        it_display2-matnr = ''.
        it_display2-qty = ''.
        it_display2-amount = ''.
        APPEND it_display2.
        CLEAR : it_display2.
        sort it_display1 by amount descending.
        LOOP AT it_display1 WHERE werks = it_email-vkbur.
         AT FIRST.
    *CONCATENATE 'Plant    '   'Material Number' 'Qty(More than 45days)'
    *'Amount' INTO
           objbin-line SEPARATED BY space.
           append objbin.
           clear: objbin.
         ENDAT.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
            EXPORTING
              input  = it_display1-matnr
            IMPORTING
              output = it_display1-matnr.
          it_display1-qty = TRUNC( it_display1-qty ).
          MOVE-CORRESPONDING it_display1 TO it_display2.
          APPEND it_display2.
          CLEAR:it_display1,it_display2,objbin.
          CLEAR:it_display1.
        ENDLOOP.
        objbin[] = it_display2[].
        DESCRIBE TABLE objbin LINES tab_lines.
        objhead = 'Suug'.
        APPEND objhead.
        objpack-transf_bin = 'X'.
        objpack-head_start = 3.
        objpack-head_num = 1.
        objpack-body_start = 1.
        objpack-body_num = tab_lines.
        objpack-doc_type = 'RAW'.
        objpack-obj_name = 'Run_prog'.
        objpack-obj_descr = 'Agestock.txt'.
        APPEND objpack.
        reclist-receiver = '[email protected]'.
        reclist-rec_type = 'U'.
        APPEND reclist.
    =====================================================================
        CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
          EXPORTING
            document_data              = doc_chng
            commit_work                = 'X'
          TABLES
            packing_list               = objpack
            object_header              = objhead
            contents_bin               = objbin
            contents_txt               = objtxt
            receivers                  = reclist
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            operation_no_authorization = 4
            OTHERS                     = 99.
        CLEAR : it_email.
      ENDLOOP.
    ENDFORM.                    "send_mail
    Message was edited by:
            Sugumar Ganesan

  • No Mail Body while using FM SO_DOCUMENT_SEND_API1 in WD Component

    Hi All,
    I am using  FM 'SO_DOCUMENT_SEND_API1' in a WD Component for sending mails.
    First of all i just to know can we use this FM without Attachment ???
    As i just have to send mail without any attachment.
    The Mail is properly send  but without any body .
    I mean there is no content in the mail body .
    There is no error in the FM but when i check the mail (for checking myself) ,it was blank without any body.
    So please help me for the same.
    Regards,
    Vishal Chauhan

    Hi Priya,
    My problem was solved by using other FM ie. SO_OBJECT_SEND.
    Now I just want to know can we use any hard code email id for sending the mail.
    CALL FUNCTION 'SO_OBJECT_SEND'
            EXPORTING
              object_hd_change = wa_head
              object_type      = 'RAW'
              outbox_flag      = 'X'
              originator = 'SY-UNAME'
              originator_type = 'B'
            TABLES
              objcont          = i_objcontent
              receivers        = i_receiver
            EXCEPTIONS
              OTHERS           = 1.
    I want to Hardcode the sender id  say 'SAPUSER' So that any mail will come from a common ID not from Indivisual id.
    So is there is any Pramametre in this FM where i can hard code the mail id like xyz at y.com
    Regards,
    Vishal Chauhan

  • How do i include an attachment in Mail w/o it being open in the sent mail

    how do i include an attachment in Mail w/o it being open in the sent mail

    Hi there.  I used to wonder about this as well.  Then I realized it was much ado about nothing.  I even used to send it to another email account to see how it would appear and it's just fine.  Sometimes it gets delivered in the body of the email, and other times as a "regular" attachment.  Either way, the recipient is able to click or double click and download just fine.  Hope that helps :-)

Maybe you are looking for

  • PO Receipt for Asset

    I understand that if you create a PO for an asset, that you can create the asset record and PO in one step.  Can the asset be created at PO receipt point instead of PO creation?  Thanks for you reply, Kathy

  • From DNG to dng

    Hey everyone, I have imported and edited thousands of photos in the last few years and most of them are dng images that have an upper case extension. I'd like to convert them all to lower case dng in an easy way and have a hard time figuring out a sm

  • Can't connect to other iTunes without deleting all songs

    I really hope someone out there can help me. I have an iPod shuffle and my sister an ipod mini and when my sister wants to take music from my iTunes she has to agree to delete all the songs on her iPod and install her iPod on my library and the same

  • Blackberry Z10 get hanged,not starting

    My phone get hanged,not starting.remain stick to logo.

  • RED ONE camera to FCP to compressor for DVD

    My client used RED ONE camera for filming. He used FCP to edit it then exported it in 1920x1080 Apple ProRes 422 (HQ). He sent it to me by mail (external HD) for me to use that QT movie Apple ProRes 422 for Compressor to compress it into SD DVD MPEG-