on 04-21-2008 1:55 PM
HI,
I am working on a mail-Xi-File scenario, wherein I have to pick Subject, From, To, Content from
the mail and transfer the same to a file on reciever side.
1. What should be the sender reciever data structure.
2. Is graphical mapping fine ?
Please tell me how can i do this one.
Thanks...
1. Sender XI payload with mail package:
<?xml version="1.0" encoding="UTF-8"?>
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Subject</Subject>
<From>email_of_sender</From>
<To>email_of_receiver</To>
<Reply_To />
<Content_Type>text/plain</Content_Type>
<Content>
This is the content.
</Content>
</ns:Mail>
2. Graphical mapping is fine
Regarsds,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the replies...
But i am getting the error :
exception caught during processing mail message
[158]com.sap.aii.af.mp.module.ModuleException:
com.sap.aii.af.ra.ms.api.DeliveryException: Application:
EXCEPTION_DURING_EXECUTE: caused by: com.sap.aii.af.ra.ms.api.
DeliveryException:Application:EXCEPTION EPTION_DURING_EXECUTE:
com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation:
Cannot produce target element /ns0:MT_Mail_to_File_file/Subject.
I have done all the settings as explained in the blog :
But still getting this error.
Prateek, wanted to ask if the structure of both sender and reciever would be same. ?
Threads indeed helped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
here is the link how to configure sender mail adapter...
[http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm]
1. In sender adapter under default xi parameters u need to maintain ur name space and ur interface name..
Under mail atributes u must choose mail package ..
2. The structure should be
<?xml version="1.0" encoding="UTF-8"?>
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Subject</Subject>
<From>namea</From>
<To>nameb</To>
<Reply_To />
<Content_Type>text/plain</Content_Type>
<Content>
This is the content.
</Content>
</ns:Mail>
3.you can able to use graphical mapping ...
Regards,
Prakasu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am getting the error :
exception caught during processing mail message
158com.sap.aii.af.mp.module.ModuleException:
com.sap.aii.af.ra.ms.api.DeliveryException: Application:
EXCEPTION_DURING_EXECUTE: caused by: com.sap.aii.af.ra.ms.api.
DeliveryException:Application:EXCEPTION EPTION_DURING_EXECUTE:
com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation:
Cannot produce target element /ns0:MT_Mail_to_File_file/Subject.
Please help...
hi snehal,
This is a simple scenario.
First we need data type at
Sender end
Receiver end
For Sender end
https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
Download the ximail30.xsd from the above link (you need market place user)
For receiver end
Construct the data type according to your requirement.
From
To
Subject
from sender end data type to receiver end data type you map the required elements (1:1 graphical mapping)
Thats it at the design end and the configure the adapters at Integration Directory.
You can also refer this blog for some help
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
Hope this helps
Regards
Ramesh P
Hi
How to use the mail adapter:
regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.