cancel
Showing results for 
Search instead for 
Did you mean: 

SO_NEW_DOCUMENT_ATT_SEND_API1 receiver invalid

shishupalreddy
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

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

Regards,

Satish

former_member196280
Active Contributor
0 Kudos

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

shishupalreddy
Active Contributor
0 Kudos

hI ,

Still iam getting the same error .

Provide me the correct solution .

Urgent

shishupalreddy
Active Contributor
0 Kudos

hELLO aLL,

Somehow i managed to overcome the error with sy-subrc = 2 document could nto send

but now iam getting Exception XERROR when i execute the fucntion module

SO_NEW_DOCUMENT_ATT_SEND_API1

any help on this