2014 Mar 14 1:52 PM
Hello All,
I am facing an issue when i send mail through the FM SO_NEW_DOCUMENT_ATT_SEND_API1.
As per my requirement i need to send email as CC.To do that i have written below code to pass the values to FM.
* To
ls_receivers-receiver = '[email protected]'.
ls_receivers-rec_type = 'U'.
append ls_receivers to lt_receivers.
clear ls_receivers.
* CC
ls_receivers-receiver = '[email protected]'.
ls_receivers-rec_type = 'U'.
ls_receivers-copy = 'X'.
append ls_receivers to lt_receivers.
clear ls_receivers.
But what ever id i mentioned in the CC ,going ass BCC( Blind copy).Below is the SOST screen shot
When i execute the FM SO_NEW_DOCUMENT_ATT_SEND_API1 alone in se37 it is working fine.
But it showing strange behaviour inside the program.
Please let me know if some one came across the same issue before.
Thanks
Naresh Bammidi
2014 Mar 14 2:22 PM
Hi,
sorry my support for
has ended after CL_BCS was introduced.
Regards,
Clemens
Hello All,
I am facing an issue when i send mail through the FM SO_NEW_DOCUMENT_ATT_SEND_API1.
As per my requirement i need to send email as CC.To do that i have written below code to pass the values to FM.
* To
ls_receivers-receiver = '[email protected]'.
ls_receivers-rec_type = 'U'.
append ls_receivers to lt_receivers.
clear ls_receivers.
* CC
ls_receivers-receiver = '[email protected]'.
ls_receivers-rec_type = 'U'.
ls_receivers-copy = 'X'.
append ls_receivers to lt_receivers.
clear ls_receivers.
But what ever id i mentioned in the CC ,going ass BCC( Blind copy).Below is the SOST screen shot
When i execute the FM SO_NEW_DOCUMENT_ATT_SEND_API1 alone in se37 it is working fine.
But it showing strange behaviour inside the program.
Please let me know if some one came across the same issue before.
Thanks
Naresh Bammidi
2014 Mar 14 2:22 PM
Hi,
sorry my support for
has ended after CL_BCS was introduced.
Regards,
Clemens
2014 Mar 14 2:35 PM
Yes Clemens,
I tried one test case using classes.CC is going as copy.But why with FM it is not working?
Thanks
Naresh Bammidi
2014 Mar 14 2:57 PM
Just get rid of the FM once and get happy many.
Regards
Clemens
P.S.: Never heard of FM is needed.