‎2005 Nov 10 11:08 AM
Hi all,
I want to send an email with HTML body text with the FM
SO_NEW_DOCUMENT_SEND_API1.
Unfortunaly the document type HTM isn't exit in TSOTD ?
My software component are
SAP_BASIS 620
SAP_ABA 620
It's a release problem or I have to install something?
thanks enzo
‎2005 Nov 10 3:18 PM
Hi Enzo,
I hope this helps you.
Pass 'ALI' which you find in TSOTD.
Find below the code for your reference:
Create Message Attachment
Write Packing List (Attachment)
att_type = 'ALI'.
describe table objbin lines tab_lines.
read table objbin index tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + strlen( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = 'Attached Document'.
append objpack.
Cheers,
Saraswathi.
‎2005 Nov 10 3:22 PM
Hi Enzo,
Here is the continuation to my response:
Send document with OTF/ALI attachment from spool to external recipient.
OTF/ALI document is converted to PDF/HTML format during
the SAPconnect send process.
Cheers,
Sarswathi.
‎2005 Nov 10 3:37 PM