Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FUnction MOdule 'SO_NEW_DOCUMENT_ATT_SEND_API1'

Hi All,

I am still not through with the gif image mailing.

I have Uploaded GIF image from C DRIVE in binary format can any one tell how to send this in a mail using the function Module SO_NEW_DOCUMENT_ATT_SEND_API1.

I am sing it as under.

CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'

EXPORTING

document_data = w_doc_data

put_in_outbox = 'X'

commit_work = 'X'

IMPORTING

sent_to_all = v_sent

  • NEW_OBJECT_ID =

TABLES

packing_list = t_packing_list

  • OBJECT_HEADER =

  • CONTENTS_BIN =

contents_txt = it_message

  • CONTENTS_HEX =

  • OBJECT_PARA =

  • OBJECT_PARB =

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

it_message context the text for a HTML AND AN XLS FILE >NOW I WANT TO SEND THE GIF image through the same mail.Since the GIF image is in Binary format its not being append to it_message .I dont know OOPS .

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question