‎2008 Dec 18 10:21 PM
Hi,
I am referring a static class and SEND_MAIL method to use in my prorgam to send email to internet address from SAP.
The receivers parameter type is defined as a standard table.
Now if I want to pass the email addresses, how should I defined a internal table which will match the Type of it.
Following is SE24 defination of receiver parameter:
MT_RECEIVERS Importing Type STANDARD TABLE
Receiver list
Call from my program:
CALL METHOD YVCBCL_CHBK_SEND_NOTIFICATION=>SEND_MAIL
EXPORTING
MI_TYPE = 'EXT'
MI_SUBJECT = 'Mail from YPROGRAM5'
MT_RECEIVERS = RECEIVER
...
...etc..etc..
My question is how should I define this receiver table.
It gives syntax error as Type mismatch.
Thanks,
Rupa.
‎2008 Dec 18 11:03 PM
This seems to be some Custom Development class...
search forum you will get lots opf examples with code for sending mail using OO concept.
‎2008 Dec 19 2:19 AM
Hi,
Refer to this link...
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/abap-SendingemailwithclassCL_CRM_EMAIL_DATA
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/sendingmailwithattachmentusingObjectOriented+Approach
Edited by: avinash kodarapu on Dec 19, 2008 7:51 AM
‎2009 Mar 23 9:30 PM