Skip to Content
0
Jun 26, 2009 at 12:12 PM

Sending multiple mails using Mail Package

36 Views

Hi,

I have a requirement where XI would pick CSV files from R/3 directory.

Every record in this file contains an email ID.

All records having same email ID have to be collected and sent to that email ID.

In this way,a number of emails will be generated for every file based on the number of email IDs present in the file.

I have changed the occurence of target Standard Mail Structure for using Mail Package to 0..unbounded.

and used the logic:

emailid field->sort->splitbyvalue(value changed) -> collapsecontexts->Mail

in test tab I can see the correct result and message is successful in SXI_MONITOR

but in RWB,I am getting this error:

java.lang.IllegalArgumentException: can't parse argument number http://sap.com/xi/XI/Mail/30

Can anyone please help?

Thanks.

Regards,

Shweta