2009 Feb 27 2:13 PM
I'm using FM SO_NEW_DOCUMENT_SEND_API1 to send external emails from SAP. I have everything working quite well except...
The receivers e-mail address only appears in the "Cc" field in the e-mail's header. I cannot get it to show in the "To" field.
2009 Feb 27 2:21 PM
Hello Donald,
While populating the Recipient List you must have checked the COPY field of the structure SOMLRECI1.
DATA:
wa_reclist TYPE somlreci1,
it_reclist TYPE STANDARD TABLE OF somlreci1.
l_wa_reclist-copy = 'X'I think this must be the cause.
BR,
Suhas
Edited by: Suhas Saha on Feb 27, 2009 3:22 PM
I'm using FM SO_NEW_DOCUMENT_SEND_API1 to send external emails from SAP. I have everything working quite well except...
The receivers e-mail address only appears in the "Cc" field in the e-mail's header. I cannot get it to show in the "To" field.
2009 Feb 27 2:21 PM
Hello Donald,
While populating the Recipient List you must have checked the COPY field of the structure SOMLRECI1.
DATA:
wa_reclist TYPE somlreci1,
it_reclist TYPE STANDARD TABLE OF somlreci1.
l_wa_reclist-copy = 'X'I think this must be the cause.
BR,
Suhas
Edited by: Suhas Saha on Feb 27, 2009 3:22 PM
2009 Feb 27 2:37 PM
I have tried it both ways. When the Copy field = ' ', the receiver's email address shows in the Cc field on the email. When the Copy field = 'X', the receiver's email address does NOT show in either the the Cc field or the To field.
2009 Feb 27 4:22 PM
Ensure that reclist has only these two fields populated
RECLIST-RECEIVER = 'emailaddress.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
2009 Mar 02 1:05 PM
Using only RECLIST-RECEIVER = 'emailaddress and RECLIST-REC_TYPE = 'U' did the trick.
Thanks for the help!
2009 Feb 27 4:48 PM
Can you post your code(not the entire code:-) ) some times a third eye can pin pont the logical error easily
2009 Feb 28 2:29 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |