on 12-08-2009 2:00 PM
Hi All,
I am new to Mail Adapter.Can you please help me on any File to Mail or Mail to File Scenerio step by step?
I searched on SDN but only thing that I got which was mentioning either Sender or Receiver part and not the entire Scenerio.
Thanks and regards
Hi Shweta,
Check this links
http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi VenkataRamesh,
Thanks for the reply.
Check this links
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID0707964150DB10895407238997083833End?blog=/pub/wlg/2849
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID0707964150DB10895407238997083833End?blog=/pub/wlg/1798
http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
Is there any other Scenerio mentioning SAP to MAIL interface or vice -versa?
Also, can you provide me any scenerio where in Mapping is done in any MAIL Scenerio?.
Thanks in advance.
Edited by: Shweta Kullkarni on Dec 8, 2009 3:15 PM
Hi
Check this link for sender side (R/3) config.
Check this for receiver mail
Regards
Ramesh
Hi VenkataRamesh,
Thanks for the reply.
Check this link for sender side (R/3) config.
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID0707964150DB10895407238997083833End?blog=/pub/wlg/3509
Check this for receiver mail
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID0707964150DB10895407238997083833End?blog=/pub/wlg/1798
Means,by combining both these configurations a SAP to MAIL Scenerio is created.Is it?
Also, please tell me cant we generate the XSD to be used as Message Type for the MAIL Adapter ?If yes then how and if not then how to get it?Is there any standard format?
Thanks in advance
Hi
> Means,by combining both these configurations a SAP to MAIL Scenerio is created.Is it?
yes
> Also, please tell me cant we generate the XSD to be used as Message Type for the MAIL Adapter ?If yes then how and if not then how to get it?Is there any standard format?
Default structure is available for the mail adapter, we can download that file from sap and we can use.
Regards
Ramesh
Hi,
Check this link
Take this below data to notepad and save it. after import to PI through external definition and use it
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://sap.com/xi/XI/Mail/30" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><wsdl:types><xsd:schema targetNamespace="http://sap.com/xi/XI/Mail/30" xmlns="http://sap.com/xi/XI/Mail/30" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:element name="Mail"><xsd:annotation><xsd:documentation>Mail package for XI - Mail Adapter</xsd:documentation></xsd:annotation><xsd:complexType><xsd:sequence><xsd:element name="Subject" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="From" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="To" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="Reply_To" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="Content_Type" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="Date" type="xsd:dateTime" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="Message_ID" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="X_Mailer" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="Content" minOccurs="0"><xsd:annotation><xsd:documentation>any type</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence><xsd:attribute name="encoding" type="xsd:string" /></xsd:complexType></xsd:element><xsd:element name="MailReceipt"><xsd:annotation><xsd:documentation>Mail Receipt for XI - Mail Adaper</xsd:documentation></xsd:annotation><xsd:complexType><xsd:sequence><xsd:element name="Server" type="xsd:string" /><xsd:element name="Format" type="xsd:string" /><xsd:element name="UseMailPackage" type="xsd:boolean" /><xsd:element name="Encoding" type="xsd:string" /><xsd:element name="Subject" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="From" type="xsd:dateTime" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="To" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="Date" type="xsd:dateTime" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:sequence></xsd:complexType></xsd:element></xsd:schema></wsdl:types><wsdl:message name="Mail"><wsdl:part name="Mail" element="generateduniqueprefix2:Mail" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:generateduniqueprefix2="http://sap.com/xi/XI/Mail/30" /></wsdl:message><wsdl:message name="MailReceipt"><wsdl:part name="MailReceipt" element="generateduniqueprefix3:MailReceipt" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:generateduniqueprefix3="http://sap.com/xi/XI/Mail/30" /></wsdl:message></wsdl:definitions>
Regards
Ramesh
Hi VenkataRamesh,
Thanks for the reply.
Can you please explain this?I did not get it.
Check this link <a class="jive_macro jive_macro_message" href="" __jive_macro_name="message" modifiedtitle="true" __default_attr="8391918"></a> Take this below data to notepad and save it. after import to PI through external definition and use it Mail package for XI - Mail Adapterany typeMail Receipt for XI - Mail Adaper
Thanks in advance
Hello Sweta,
For mail scenario as inbound...
you can either use the Mail.xsd package which will have the necessary mail attributes or you can generate the mapping structure required
for your interface ...where the same data can be posted to mail as attachment...
so why cant you share the exact details what you are looking for..so that some experts can tell how to proceed for the same
HTH
Rajesh
Hi Rajesh,
Thanks for the reply.
I am new to mail adapter.
I am looking for FILE-PI-MAIL(and vice-versa) and SAP-PI-MAIL(and vice versa) scenerios.
Also, I need to know how to generate XSD and if any standard format is available then how to use it?
Can you please tell me?
Thanks in advance
Edited by: Shweta Kullkarni on Dec 8, 2009 5:27 PM
Hi VenkataRamesh,
Thanks for the reply.
Actually i pasted the data type structure code here, but it is not displaying fully (i think space is not enough)
Can you please paste the data type structure ?
<a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1526743"></a>
Check this link.
XSD generation is not mentioned there.Can you please expalin how to generate XSD?
Thanks in advance.
Edited by: Shweta Kullkarni on Dec 8, 2009 5:35 PM
I searched on SDN but only thing that I got which was mentioning either Sender or Receiver part and not the entire Scenerio.
To be honest you wont find documentation for each and every type of scenario.....now coming to your Q....the configuration shown in any blog about a File Sender and a Mail receiver (even if two blogs are not related) should help you configure the entire flow.
When you say File_to_Mail scenario do bear in mind that the the basic settings wont change....what changes is the mapping logic and what protocol you want to use in the receiver channel (XIALL/ XIPAYLOAD).....so once you know the difference/ meaning you should be able to do any scenario.
Happy Learning!
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mapping logic remains the same...you have the file MT as source Message Type and the Mail.xsd structure on the target end....
There is no specific/ standard mapping pattern that is to be developed for a File_to_Mail (or vice-versa) scenario.
If you want the Mail.xsd (called the Mail package) then you can get it from SMP:
https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
Regards,
Abhishek.
EOD
Hi Abhishek,
Thanks for the reply.
Mapping logic remains the same...you have the file MT as source Message Type and the Mail.xsd structure on the target end....
There is no specific/ standard mapping pattern that is to be developed for a File_to_Mail (or vice-versa) scenario.
If you want the Mail.xsd (called the Mail package) then you can get it from SMP:
https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
Can't we generate the XSD or use the one generated in the Mapping?Or is there any standard XSD that we need to use?
Thanks in advance.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.