on 10-31-2012 10:42 AM
Hi Gurus,
I want generate two emails one for Failed Records and one for Success Records using a value in the tareget field.
I have only one Target message but subect has to be changed based on value in the status field of target structure.
if Status value 'S' then the subject is SUCCESS Records and if status is E then subject is ERROR Records.
Can I get that value to my eMail Subject based on Payload?
Regards,
Sreeni.
Hello Sreeni,
Use the XSD mail pacakage for this, you can manipulate the subject of the mail within the mapping based on the content of a source structure.
You may follow this thread for a direction on how to proceed further - http://scn.sap.com/thread/374913
Cheers,
Hanish John(HJ)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I achieved this by using Multi Mapping.
But I got other issue and is going on in SDN with the below Discusion:
Getting eMail Receiver attachment without Payload Data
So I am Assuming this is Answered.
Regards,
Sreeni.
Hi,
Instead of depending on the target value for condition..try to identify the source field which can provide you the condition for success/failure so that you can have keep a condition at receiver determination itself
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.