on 04-05-2006 7:14 AM
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 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You should be passing the internal table of GIF file to the CONTENTS_BIN parameter of the function module. Also remember to change the type if internal table line to X.
While uploading the gif file from PC, use the format as BIN not txt.
Hope this helps.
Regards,
Nagaraju Chidurupalli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.