Skip to Content
avatar image
Former Member

One file to Multiple mails processing with PI

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 31, 2008 at 08:19 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Jul 31, 2008 at 08:33 AM

    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

    https://blogs.sap.com/?p=40111

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 08, 2009 at 10:58 AM

    ok

    Add comment
    10|10000 characters needed characters exceeded