iam able to send mail with single attachment using below function module , it_mess_att table contains attachment data but want to attach multiple excel files with this function module i found link http://scn.sap.com/thread/1107940 in which below method was used for each attachement but unable to link with function module Can any body help me out
CALL METHOD DOCUMENT->ADD_ATTACHMENT
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
document_data = lv_document_data
put_in_outbox = 'X'
commit_work = 'X'
packing_list = lt_objpack
object_header = lt_objhead
contents_bin = it_mess_att
contents_txt = lt_objtxt
receivers = lt_reclist