Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Send Mail to External Mail ID's for Multiple Users

Hi All,

I want to send mail from SAP to External mail ID's for multiple Users.The program is ok.

But I want to send this to Multiple external Mail id's. Where should I assign this receivers list. Pls advise.

What is the transaction to assign multiple receivers.?

CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'

EXPORTING

DOCUMENT_DATA = GD_DOC_DATA

PUT_IN_OUTBOX = 'X'

COMMIT_WORK = ''

TABLES

PACKING_LIST = IT_PACKING_LIST

CONTENTS_TXT = IT_MESSAGE

RECEIVERS = IT_RECEIVERS

EXCEPTIONS

TOO_MANY_RECEIVERS = 1

DOCUMENT_NOT_SENT = 2

DOCUMENT_TYPE_NOT_EXIST = 3

OPERATION_NO_AUTHORIZATION = 4

PARAMETER_ERROR = 5

X_ERROR = 6

ENQUEUE_ERROR = 7

OTHERS = 8.

Thank You.

Pranitha.

Former Member
Not what you were looking for? View more on this topic or Ask a question