on 04-08-2011 4:27 AM
Hi
I have scenario where in the source structure looks like the following. Is it possible to split map it in such a way that we have multiple emails for each record.
HDR (Ist Occurance)
ITM1
ITM2
HDR(2nd occurance)
ITM1
ITM2
ITM3
HDR3 (3rd occurance)
ITM1
So, is it possible to do a file to Email scenario wherein we can generate individual emails for each record set of HDR and its ITMS
like
EMail1:
HDR (1st occurance)
ITm1
ITM2
Emails2:
..
...
Emails3
...
...
Hi Kalyan,
Did u try the approach suggested by Aravind....faced any roadbloack ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes i tried Arvinds approach, But it failed in the Receiver Email channel with the following error
Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: com.sap.aii.af.sdk.xi.util.XMLScanException: expecting start tag: Mail, but found Messages at state 1
FYI i am doing File to Email scenario.
Hi,
You can achieve this by changing the occurance of the target message type in the MessageMapping in the Signature tab.
In the Signature tab of the message mapping change the occurance of the target message type to 0..unbounded from 0..1
Then mapp your HDR Node to the target message Type node.
By this you can get as many mails as the occurance of the HDR
Regards,
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.