cancel
Showing results for 
Search instead for 
Did you mean: 

One file to Multiple mails processing with PI

Former Member
0 Kudos

Hi,

I need to pick a text file from a folder, in whihc there willbe many records wiht structure as follows:

UserID Material PartNo.

som zinc 51

som Alum 60

ram zinc 59

ram Alum 62

I need to segregate the records according to user ID, after that I need to send the mail with that user ID. I will procure the email id with help of userid(lookup) and mail the records respectively.

How to seperate the records with one field and email those records only to concern recipient after getting Email ID.

for example I need to mail first 2 records to email of som@xyz.

and next records to email of ram@xyz.

How to go about with the scenario?

do I need to use BPM for this?

Do I need to use Java mapping for this?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

ok

former_member192295
Active Contributor
0 Kudos

HI,

No need BPM, java mapping is enough, make condition according to your requirement and pass value to mail adapter dynmacially, dynamic mail config below link will help you

Former Member
0 Kudos

Dear Sekhar,

You can implement Dynamic Mail address pick up from Mapping in IR,

plz follow this blog,

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1361] [original link is broken] [original link is broken] [original link is broken];

Best Regards

Praveen

Former Member
0 Kudos

Thanks Pravin for your quick response.

I know and did already done Dynamic emailing with XSD of XI content.

I need mapping for sorting and segregating the records with reference to a perticular field and then collect it ot one file as text attachment ot email.

After that how to implement the dynamic mail for multiple target addresses.