SO28 - Inbound Distribution - Additional Selection
Soady, Phil
phil.soady at sap.com
Thu May 8 03:23:52 EDT 2003
So you have a an object with method receive that is a clone of WI_MAILREC ?
Then your Method receive might look something like this....
************************************************************************
BEGIN_METHOD RECEIVE CHANGING CONTAINER.
************************************************************************
data: l_OFFICEOBJECT TYPE SWC_OBJECT,
l_DOCUMENT_ID LIKE SOFOLENTI1-DOC_ID.
SWC_GET_ELEMENT CONTAINER 'OfficeObject' l_OFFICEOBJECT.
SWC_GET_OBJECT_KEY l_OFFICEOBJECT l_DOCUMENT_ID.
CALL FUNCTION 'SO_DOCUMENT_READ_API1'
EXPORTING
document_id = l_document_id
IMPORTING
document_data = g_email_data
TABLES
object_content = g_t_content
object_header = g_t_objhdr
attachment_list = g_t_attach
RECEIVER_LIST = g_t_RECEIVER_LIST "<<<<<<<<<<<<<<<<
EXCEPTIONS
document_id_not_exist = 1
operation_no_authorization = 2
x_error = 3
OTHERS = 4.
* Now analyse the source document all you like
Phil Soady
Senior Consultant
Business Technologies
SAP Australia
* : 0412 213 079
* : phil.soady at sap.com
-----Original Message-----
From: Lisa Hasenbohler [mailto:lhasenbo at agrium.com]
Sent: Thursday, May 08, 2003 1:29 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: SO28 - Inbound Distribution - Additional Selection
I am using Inbound Distribution to start a workflow and it is starting correctly. However, I need the original recipient as well as the new recipient in the mail message that is received. The new recipient is in the message, but the original recipient is not, I have checked off Addit. selection (which indicates it would include the original recipient). Has anyone worked used this flag before?
Thanks,
Lisa Hasenbohler.
More information about the SAP-WUG
mailing list