2009 Dec 28 9:00 AM
Hello everyone,
I'm trying ti send message to multiple message adresse with FM SO_NEW_DOCUMENT_SEND_API1, but i get he problem that each message receiver don't see other message receiver. I need that the other message receiver see who received this mail too.
Could anyone help me.
Thak's alot.
Mat
Hello everyone,
I'm trying ti send message to multiple message adresse with FM SO_NEW_DOCUMENT_SEND_API1, but i get he problem that each message receiver don't see other message receiver. I need that the other message receiver see who received this mail too.
Could anyone help me.
Thak's alot.
Mat
2009 Dec 28 9:05 AM
Hi,
I hope you are calling the FM in the LOOP of receivers. Append all the receivers to one internal table and call the FM at once.
Thanks,
Vinod.
2009 Dec 28 9:08 AM
Hello.
I already done so but it doesn't work. I fill up d^the table parameters with receiver_type 'U' and the name of user but i stil not see the list of receiver in the message.
cheers
2009 Dec 28 9:45 AM
Hi ,
Populate the parameters as shown below.
LOOP AT lr_email. "Receiver list
wa_reclist-receiver = *E-mail id*
wa_reclist-express = 'X'.
wa_reclist-rec_type = 'U'..
APPEND wa_reclist TO i_reclist.
ENDLOOP.
Call the FM with this reclist.
Thanks,
Vinod.
2009 Dec 28 10:24 AM
Hi Mattia,
why [procrastinate|http://en.wikipedia.org/wiki/Procrastination] with this outdated function module.
Have a look at [Unknown thus unloved?|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3443] [original link is broken] [original link is broken] [original link is broken]; Then repeat the coding lines
* Create recipient
c_address = receiver.
recipient = cl_cam_address_bcs=>create_internet_address( c_address ).
* Add recipient with its respective attributes to send request
CALL METHOD send_request->add_recipient
EXPORTING
i_recipient = recipient
i_express = ' '
i_copy = ' '
i_blind_copy = ' '.for every recipient.
After using cl_bcs the first time, I bet you will never use SO_NEW_DOCUMENT_SEND_API1 again.
Regards,
Clemens
Edited by: Julius Bussche on Dec 28, 2009 12:14 PM
f... around -> Procrastinate
2009 Dec 28 10:37 AM
Clemans wrote:
why f.. around with thisNot good practice to use wording like this..
2009 Dec 28 12:44 PM
Caution...Unknown and thus unloved is Basis/WebAS version dependent!
2009 Dec 28 7:25 PM
2009 Dec 28 10:47 AM
Hi,
Not sure but you can also try
wa_reclist-copy = 'X'.
Regards,
2009 Dec 28 11:37 AM
HI,
Please find this sample Code.
LOOP AT it_eplant INTO wa_eplant.
w_reclist-receiver = wa_eplant-email_add.
w_reclist-rec_type = 'U'.
IF wa_eplant-cc1 = 'X'.
w_reclist-copy = 'X'.
ENDIF.
IF wa_eplant-bcc = 'X'.
w_reclist-blind_copy = 'X'.
ENDIF.
APPEND w_reclist TO i_reclist.
CLEAR w_reclist.
ENDLOOP.
Regards
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |