Skip to Content
author's profile photo Former Member
Former Member

generate Email id


i need to send an email to one of the email id if the data doesnot exist for the values i have given in the selction screen.


Please see my code below.

IF gt_final[] IS INITIAL.






gt_msg-line = 'The set report could not be generated.

APPEND gt_msg.

CLEAR: gt_msg-line,gt_msg.

CONCATENATE sy-sysid 'job failured' INTO

l_email_hdr SEPARATED BY space.

l_email_sndr = sy-sysid .

l_email_recvr = p_recvr(mail id mentioned in the selcetion screen).



i_title = l_email_hdr

i_sender = l_email_sndr

i_recipient = l_email_recvr


i_tab_lines = gt_msg.

do i need to change anything else.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 30, 2008 at 11:52 AM

    are you having any issues with sendign mails. As you could have imagined this is one of the most asked questions in the forum

    Read the blog on how to email if you are having issues

    Develop a Web Service that sends an Email - in ABAP

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.