Skip to Content
0
Jul 25, 2006 at 04:19 AM

ABAP: function

35 Views

The following program is, to send a details in sap to email, can any body explain the marked lines

call function 'SO_NEW_DOCUMENT_SEND_API1'

exporting

document_data = maildata <b><--</b>

document_type = 'RAW' <b><--</b>

put_in_outbox = 'X' <b><--</b>

tables

object_header = 'adss' <b><--</b>

object_content = 'asdfasdfasdf' <b><--</b>

receivers = 'you@123.com' <--

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.

Thanks & good regards

Vallamuthu