Hi Folks,
After upgrade from SAP CRM 7.0 to EhP2 attachments in e-mails sent using function module SO_NEW_DOCUMENT_ATT_SEND_API1 are appearing blank. The parameters passed are as follows:
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = c_x
commit_work = c_x
TABLES
packing_list = it_objpack
object_header = it_objhead
contents_bin = it_objbin
contents_txt = it_objtxt
receivers = it_reclist
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.
Any suggestions as to what has to be changed for the attachments to be generated correctly?
Thanks and regards,
Meenakshi