Skip to Content

SO_NEW_DOCUMENT_ATT_SEND_API1 receiver invalid

Hello ,

How tto check whether the receiver is valid or Invalid .

I am getting sy-subrc = 2 when i tried to send samrtform as pdf to external mail id by populating i_listreceivers parameter inthe above function module.

Can any body please provide me some light on how to check whether the given mail id od receiver is valid or not to avoid the exception DOCUMENT_COULD_NOT_SENT .

regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 03, 2007 at 09:04 AM

    go through this <a href="/people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface

    close the thread once your question is answered.

    Regards,

    SaiRam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 09:12 AM

    Hi,

    You can maintain a ZTABLE to validate the receivers by maintaining the Valid email addresses in that table.

    Regards,

    Satish

    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.