We are sending attachments by email using set of cl_document_bcs -> methods.
When we try to send 2007 document files as attachment,i.e docx,xlsx files.The file type is getting truncated.
The reason is that the attribute of this method i_attachment_type is of type SOODK-OBJTP of length 3 chars only.
CALL METHOD document->add_attachment
i_attachment_type = v_extension_type
i_attachment_subject = v_attachname
i_att_content_hex = it_content_binary.
Any suggestions to overcome this issue.
Thanks for your help.