Hi Experts
My requirement is to send attachments by using this FM <b>SO_NEW_DOCUMENT_ATT_SEND_API1</b>
If my PDF file is small then I m able to send it to the <b>Recipient(sap inbox).</b> But right now it is more then 20 MB So it sends mail without attachment and body of the mail. Does anybody have any idea or any document which can give a clear picture of the <b>maximum size</b> of the attachment .
I am able to send mail to SAP inbox how can i send it to <b>external email</b>.
Below is the code which I m using to send mail to SAP inbox ,What <b>parameters</b> do i have change or add to <b>Reclist(Internal table)</b> so that we can send mail to external email also.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE.
refresh reclist.
RECLIST-RECEIVER = SY-UNAME. "sap_inbox.
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'B'.
reclist-copy = 'X'.
APPEND RECLIST.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
IMPORTING
SENT_TO_ALL = send "'X'
NEW_OBJECT_ID =
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
RECEIVERS = RECLIST
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 = 99
.