Skip to Content
avatar image
Former Member

NACE , Mail title and text - Body of email

Hi Gurus - I want to display text in body of the email along with attachement. I've added the text in NACE in mail title and text, but the body of the email is getting as blank. Is there any solution to customize this?

Thanks,

Sree

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 17, 2009 at 07:35 PM

    We do this and it is working. I will do my best to describe sol'n as follows ...

    - In our print program (Z program, copy of standard) we have sub routine FORM_CLOSE

    - Inside of FORM_CLOSE, we have reference to sub routine SEND_MAIL_WITH_ATTACHM

    - In that sub routine, this body of code we have really deals with this requirement

    check that internet address is available

    READ TABLE l_addr1_complete-adsmtp_tab INTO l_adsmtp_line INDEX 1.

    IF sy-subrc EQ 0 AND

    NOT l_adsmtp_line-adsmtp-smtp_addr IS INITIAL.

    • choose message type 'I'nternet and fill email address

    gs_finaa-nacha = 'I'.

    gs_finaa-intad = l_adsmtp_line-adsmtp-smtp_addr.

    gs_finaa-namep = 'Z_SD_EMAIL_INVOICE_TEXT'.

    gs_finaa-textf = 'PDF'.

    ELSE.

    Ultimately we are creating standard text in SO10, and drawing it into the body of the email. Works well, and always produces consistent result. Revert back if questions. Hope this helps or at least gets you going in right direction.

    Thanks,

    Jay ...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2009 at 06:04 PM

    Try NACT. Go to your application. in output types pick Mail title and texts. then create language, text and document title.

    pts appreciated.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2009 at 03:09 PM

    Hi,

    I'm facing the same issue. Maybe somone knows a solution. I went already thru the notes and NACE, NACT, but no solution.

    PO generates Output and mail perfectly, i've even the PO number in the header an as title of the attachement. But the Mail itself is emptly.

    regards, Paul.

    Add comment
    10|10000 characters needed characters exceeded