‎2009 Apr 17 8:16 AM
hi expert,
i have some concern about function module SO_DOCUMENT_SEND_API1 .
Can we sent out mails to different mail address with individual attachment in the same time ? Or we need to call the function module one time for each mail address?
thanks in advance
‎2009 Apr 17 8:27 AM
Hi in response to your first query, i think, it's not possible. But to be very frank, I'm not sure. I think you have to call the FM individually.
Regards.
Sarbajit
‎2009 Apr 17 8:27 AM
Hi in response to your first query, i think, it's not possible. But to be very frank, I'm not sure. I think you have to call the FM individually.
Regards.
Sarbajit
‎2009 Apr 17 8:31 AM
Hi,
After bringing your final alv data in the final internal table,
go through this link , i also had an same requirement to send data after converting to excel file and
send it as an attachment to mail id outside Sap,
I did this object and it was working fine using that function module.
Hope it helps
Regrds
Mansi
‎2009 Apr 17 8:47 AM
you can very much do that , u can send it to multiple senders.
in the table parameter , receivers , u can sepcify multiple recievers,
by appending multiple rows to the internal table.
‎2009 Apr 17 8:54 AM
Hi Rudra,
It is possible to send the mail to different user. But is it possible to send different
attachment to different user? I mean attach1 to user1,attach2 to user2,...........is it possible to make such grouping? I think this is what wanna qian wants to know.
regards.
Sarbajit.
Edited by: Sarbajit Majumdar on Apr 17, 2009 1:24 PM
‎2009 Apr 17 10:35 AM
‎2009 Apr 17 10:48 AM
i think we can do it...i am not sure for this ....
if IT_RECEIVER-RECEIVER = 'email id 1'.
loop at it_final with some where cond.
transfer it_final to it_mailtext.
append it_mailtext.
elseif IT_RECEIVER-RECEIVER = 'email id 2'..
loop at it_final with some where cond .
transfer it_final to it_mailtext1.
append it_mailtext1.
elseif IT_RECEIVER-RECEIVER = 'email id 3'..
loop at it_final with some where cond.
transfer it_final to it_mailtext3.
append it_mailtext2.
endif.
it_mailtext is the attachment depending on the user input to the function module.
‎2009 Aug 14 2:40 AM