09-16-2008 3:57 PM
Experts,
The FM SO_NEW_DOCUMENT_SEND_API1 is creating an outgooing email entry in my SAP outbox but I wan it to directly send email to an internet address. Is there any parameter that i missed to pass? Below is my code
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = maildata
document_type = 'HTM'
put_in_outbox = 'X'
COMMIT_WORK = 'X'
TABLES
object_header = mailtxt
object_content = mailtxt
receivers = mailrec
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.
09-16-2008 4:11 PM
Nw,
Make sure your system is all set. Check over the transaction SCOT if your email was sent.
Is there any exception coming up?
Regards
Alexandre
09-16-2008 4:41 PM