Skip to Content
avatar image
Former Member

Sending External mail from VF03.

Hi friends,

We have one output type for sending mail to external customer. When we use this output type and issue a print, the mail is going to customer email address.

I want to add a subject and body to mail that is being sent. In NACE tcode I could manage to provide the subject line for mail. But I am not able to include the body to mail.

How can I include the body to external mail.

Kindly provide the suggestions or any referance links if you have.

Regards,

madan shinde

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 25, 2009 at 06:30 AM

    In NACE, click on outptu type and select mail tiltle and texts, now click the textx button,(pencil and notepad icon), here u can maintain text of the body, when u click u will be taken to a text editor, after u maintain the text, goto header and get textname and textid and the u can use read_text to use call the text in ur program

    кu03B1ятu03B9к

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      We are passing the internal taable to smartform and the mail send is done internaly by smartform. Look into following code extract. Here mail related data is sent using itab 'ls_composer_param'.

      ******************************************

      DATA: ls_control_param TYPE ssfctrlop.

      DATA: ls_composer_param TYPE ssfcompop.

      DATA: ls_recipient TYPE swotobjid.

      DATA: ls_sender TYPE swotobjid.

      CALL FUNCTION lf_fm_name

      EXPORTING

      archive_index = toa_dara

      archive_parameters = arc_params

      control_parameters = ls_control_param

      • mail_appl_obj =

      mail_recipient = ls_recipient

      mail_sender = ls_sender

      output_options = ls_composer_param

      user_settings = space

      is_bil_invoice = ls_bil_invoice

      is_nast = nast

      is_repeat = repeat

      IMPORTING job_output_info = ls_job_info

      • document_output_info =

      • job_output_options =

      EXCEPTIONS formatting_error = 1

      internal_error = 2

      send_error = 3

      user_canceled = 4

      OTHERS = 5.

      ******************************************

      Kindly revert.

      madan