0% found this document useful (0 votes)
85 views1 page

SAP Email Sending Function Guide

This document summarizes an ABAP function called SO_DOCUMENT_SEND_API1 that sends documents. The function exports document data, sender details, and commit flag. It imports a sent confirmation. Tables define the document contents, attachments, recipients, and packing list. Exceptions handle errors like too many recipients or authorization issues.

Uploaded by

jencuentasint01
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views1 page

SAP Email Sending Function Guide

This document summarizes an ABAP function called SO_DOCUMENT_SEND_API1 that sends documents. The function exports document data, sender details, and commit flag. It imports a sent confirmation. Tables define the document contents, attachments, recipients, and packing list. Exceptions handle errors like too many recipients or authorization issues.

Uploaded by

jencuentasint01
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_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.

You might also like