2013 Jan 24 10:05 AM
I am using the Below Function Module
SO_NEW_DOCUMENT_ATT_SEND_API1
for sending Mail , It often sends the Mail to given Mail id. But sometimes Mail will not reach the recipient. Already Basis Team has Done SCOTT Setting. Please Guide for this Issue. Thanks in advance.
Regards
Sarvesh
2013 Jan 24 10:17 AM
Try external commit work..
like,
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data =
* PUT_IN_OUTBOX = ' '
* COMMIT_WORK = ' '
* IMPORTING
* SENT_TO_ALL =
* NEW_OBJECT_ID =
tables
packing_list =
* OBJECT_HEADER =
* CONTENTS_BIN =
* CONTENTS_TXT =
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
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
.
IF sy-subrc EQ 0.
COMMIT WORK.
ENDIF.
2013 Jan 24 10:23 AM
HI Nivas,
SAP server will take some time to send a mail...PLease go to Transaction SOST and try sending ur mail from there.
Regards,
Azhar