Skip to Content
0
Former Member
Nov 28, 2007 at 10:19 PM

Email format in outlook

25 Views

Hi all,

I am using the function 'SO_NEW_DOCUMENT_ATT_SEND_API1'

to send a summary report to outlook, it look nice in spool and in bebug.

When I look at in the outlook it is skwed as follows:

Total in inbound file records : 2

Total IT14 and inbound file records : 2

Total records not processed : 2

Total records processed : 0

Total records not active : 1

Total records with pre-existing deduction : 0

Total records with deductions added : 1

FUNCTION:

call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'

exporting

document_data = wa_doc_data

put_in_outbox = lc_x

commit_work = lc_x

importing

sent_to_all = wa_sent_all

tables

packing_list = i_packing_list

contents_txt = i_message

receivers = i_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.

Please advice what I should do to get a non-skwed output in outlook.

Thanks,