How to map when using mail adapter
Hi:
I'm doing a test with mail adapter in XI. The scenario is I put an XML representation content based on the outbound interface used by sender mail adapter directly in inbox mail content and send it. At the other side, I want to using receiver file adapter sotre the content as a file in file system. But some mapping is needed.
What I have already done is to define one outbound interface(<b>IF_Mail</b>) which is used by sender mail adapter.IF_Mail using the structure like
<MT_Mail>
<mail>
</mail>
</MT_Mail>
I also defined an inbound interface(<b>IF_File</b>). IF_File is using the structure like
<MT_File>
<file>
</file>
</MT_File>
I want to map the value of <mail> in mail to <file> in file. I did structure mapping between two message types in IR and all of the configuration in XI.
I put the below content
<MT_Mail>
<a> test
</a>
</MT_Mail>
as inbox mail content and send it. But when I monitor the XI message. It always says something is wrong with mapping.
what am I doing wrong? Thanks.
Hi Oscar,
copy the payload of incoming message (SXMB_MONI) to your desctop and test the mapping inside the IB Repository (Test Modus of IF-Mapping or Message Mapping), switch the trace to "all".
Regards,
Udo
Similar Messages
-
When using mail on my iMac, my folders disappeared. I am using OS X Yosemite v 10.10.1 and Mail v 8.1 How do I get them back?
The mailbox list is divided into categories with headings in caps, such as ON MY MAC. When you hover the cursor over one of those headings (except for MAILBOXES), you should see the word Show or Hide on the right. Click Show. The MAILBOXES category can't be hidden.
In each category, the mailboxes are arranged in groups, such as Inbox. To the left of each group is a small disclosure triangle. If the triangle points to the right, click it so that it points down. -
How to Send Appointment via mail adapter
Hi Guys,
I need to send the appointment and vTodo via mail adapter, any way i need to develop a mail adapter module. Till now i have finished this part,and i can send normal mail even normal mail with attachment. But i don't know how to send appointment via mail adapter.
This is payload content of appointment which got from Exchange server to gmail:
_=_NextPart_001_01C71EC0.97A011C6
Content-Type: text/plain;
charset="GB2312"
Content-Transfer-Encoding: quoted-printable
When: 2007=C4=EA6=D4=C227=C8=D5=D0=C7=C6=DA=C8=FD 3:30 =CF=C2=CE=E7-4:00 = =CF=C2=CE=E7 (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi.
Where: China
~*~*~**
This is calendar content
_=_NextPart_001_01C71EC0.97A011C6
Content-class: urn:content-classes:calendarmessage
Content-Type: text/calendar;
method=REQUEST;
name="meeting.ics"
Content-Transfer-Encoding: 8bit
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZID:(GMT+01.00) Sarajevo/Warsaw/Zagreb
X-MICROSOFT-CDO-TZID:21
BEGIN:STANDARD
DTSTART:20070112T140000
TZOFFSETFROM:+0100
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20070112T140000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20061213T141132Z
DTSTART;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T140000
SUMMARY:This is calendar test
UID:040000008200E00074C5B7101A82E0080000000030D51864C81EC701000000000000000
010000000CA9F127EA8947844BC4DD47F269BDEA9
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky":MAILTO:rocky@***.com
ORGANIZER;CN="Xu":MAILTO:rocky@**.com;roc*@gmail.com
LOCATION:Shanghai
DTEND;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T160000
DESCRIPTION:This is calendar content\N
SEQUENCE:0
PRIORITY:5
CLASS:
CREATED:20061213T141132Z
LAST-MODIFIED:20061213T141133Z
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-OWNERAPPTID:367904726
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20061213T141132Z
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20061213T141132Z
END:VEVENT
END:VCALENDAR
_=_NextPart_001_01C71EC0.97A011C6--
My question is
1. How to generate this kind of payload in mail adapter module?
2. It is possible to send appointment via mail adapter?
Following i can get from other system, even using mail package check or not using mail package check.
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZID:(GMT+08.00) Kuala Lumpur/Singapore
X-MICROSOFT-CDO-TZID:21
BEGIN:STANDARD
DTSTART:16010101T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0800
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20070608T025852Z
DTSTART;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T110000
SUMMARY:This is meeting request with attachment
UID:040000008200E00074C5B7101A82E0080000000000A9BD0BA7A9C701000000000000000
010000000C5E16D144D1612498C0EF7E2115EFEC4
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky
":MAILTO:roc*@**
ORGANIZER;CN="Xu,y":MAILTO:roc*@**
LOCATION:India labs
DTEND;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T113000
DESCRIPTION:This is content! <<shanghai.txt>> \N
SEQUENCE:0
PRIORITY:5
CLASS:
CREATED:20070608T025925Z
LAST-MODIFIED:20070618T033505Z
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
ATTACH:CID:008501c7b159$a9d41d3b$_CDOEX
X-MICROSOFT-CDO-OWNERAPPTID:1468557271
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20070608T025852Z
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20070608T025852Z
END:VEVENT
END:VCALENDAR
Thanks & regards
RockyHi
have a look at this
You can use Java/ABAP proxies to do this job for you..
Java Proxy >> will read the mail(with the attachments) with the help of Java APIs and send the message into XI ABAP Proxy >> for this you will have to first convert the attachment into a message and then you can proceed in the regular fashion.
Not all adapters can process attachments, I'm not sure why you are having trouble with using module processor in the mail adapter. Just check if the service pack that you are using supports this feature.
If you are on WAS 6.10 and above you can achieve this and there is an excellent weblog by Thomas Jung on this topic at
/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
reading Pdf Through mail easly done with Java Proxy, which will read the mail(with the attachments) with Java APIs and send the message into XI and then map with the Target ABAP proxy structure .
Thanks -
Sending Formated email content using Mail Adapter !
Hi,
I would like to send email notification to customer using mail adapter, could you please to advise how to prepared the content of the email with little bit formated like sample below :
Dear Madam / Sir
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx :
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Best Regards,
Since the constant function only can accept single line, how i can add change line.
thank you and Best Regards
FernandHi Fernand,
There are a couple of blogs in SDN regarding sending formatted mail using Mail adapter. I guess there is one written by Prakash Arunachalam. Just do a search and it will give you some idea on using XSLT to achieve the result.
If all you need is multi line in the content, use a UDF and use \n when ever you need a new line and \t for tab space.
Regards,
Jaishankar -
HI Experts,
I have a scenario. Import IDOC into PI and PI transform IDOC to Excel. Using mail adapter attach that Excel using pi and send to vendor. Can you please help me on the same?
Thanks
SaiSreevastavHi Sai,
you can use XSLT or java mapping or adapter module to convert IDOC xml to XLS. Please refer the below blog
Convert incoming XML to Excel or Excel XML – Part 1 - XSLT Way
Convert incoming XML to Excel Sheet Part 2 – Adapter Module way
Convert incoming XML to Excel Sheet
then after converting to Excel, you can use the payloadswap bean in mail adapter
XI: Sender mail adapter - PayloadSwapBean - Step by step
regards,
Harish -
How to extract header in Mail adapter
Hi All,
I have a scenario where the data is read from a file and sent to another file server iwthout any modifications to the data, so no IR used here.
but along with this I need to extract header data from the same incoming file and send it to an email using mail adapter. Now is there a way not to involve IR in this too.
Cause this is a //le communication, for one no IR and for the other we are looking at ways not use IR too.
Regards,
XIerHi,
If you want only the header data of the file (expecting you are having other data also) then it is not possible to do so without mapping. What I would suggest is to do the mapping for header and use this in ID.
So configure two receivers one for mail and another with file. In the receiver determination for the mail you use mapping and for file you dont use mapping at all. This would resolve your issue.
Regards,
---Satish -
Since installing iCloud I get the pinwheel a lot when using Mail
Hi Since installing iCloud i have been getting the pinwheel on and off a lot when using mail on my macbook pro. Does anybody know how to make that go away? Perhaps it's going back and forth to the cloud a lot?
20 inch, 2009
Processor 2.66 GHz Intel Core 2 Duo
Memory 2 GB 1067 MHz DDR3
Graphics NVIDIA GeForce 9400 256 MB
Software OS X 10.8.4 (12E55)
I have 2GB installed
Kind: Volume
Created: 3/24/09
Modified: 6/21/13
Version 10.8.4
Format: Mac OS Extended (journaled)
Capacity: 319.21 GB
Available: 113.4 GB
Used: 205,814,046,720 bytes (205.81 GB on disk)
The breakdown is of usage is:
Audio: 11.69
Movies: 32.79
Photos:115.55
Apps: 8.86
Backups: 0
Other: 36.93
I have no crapware; I also don't have any anti-viral software because when I bought my Mac the guy said I didn't need it.
I usually have Mail, Calendar, Stickies and Safari going. If I launch iPhoto, my system totally slows down, almost to the point that I almost give up waiting. -
Thin flickering white line at the very top of screen when using mail
using an imac 27 inch, new...
there is a thin flickering white line at the very top of screen when using mail.
usually when sending a mail or when the cursor moves over a link ( in apple mail )
the flickering line is just under the very top menu bar which has the date on etc...
anyone else had this or know how to fix it?
cheersI am facing the same problem. In fact mac book pro 13 retina was in the 14 day period so I got it retuned today, after directions from the apple telephone support. However, the new machine I got in exchange has the same problem or flickering line under the menu tab.
The only relief it seems is the fact that it's not a hardware problem probably. I also think so because if I do a full screen which essentially means there is no menu bar, then there is no flickering white line.
Hope apple fixes this. Sad to notice this drop in apple quality, and yet not fixed. -
I'm a Microsoft Outlook for Mac user, I need information of how to know when e-mail was readed and confirm receipt of e-mails sent. thank you! regards Mauricio
Mail and Address book
-
On a Mac v10.6.6 Firefox v3.6.13 Right click on Google Map does not bring up the drop down box, with the first item being "directions from here", the right click does work on Google map when using Safari
Your above posted system details show outdated plugin(s) with known security and stability risks.
*Shockwave Flash 9.0 r999
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
http://java.com/en/download/faq/firefox_newplugin.xml
See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html -
Why do I get a spinning wheel when using Mail
Recently I have noticed that I get the rainbow spinning wheel when using Mail.
I have upgraded to Mavricks
This seems to happen when looking for an address
Also when I attempt to move emails from inbox to another mailbox this does not happen.A general cure for Mail problems is Mailbox > Rebuild. Don't know if it applies to your problem but it shoud not hurt.
P.S. Have a current Time Machine or other backup before attempting any major software updates or rebuilds. -
I've set up Mail on my new Mac, but the folders I have set up in my Hotmail are not visible. Funny, coz I can see the folders when using Mail on my Iphone. Have I set the connection between Hotmail and my Mac incorrectly? It was very automated so I don't know what I did incorrectly. Can anyone out there give me a tip?
Cheers, PaulI've set up Mail on my new Mac, but the folders I have set up in my Hotmail are not visible. Funny, coz I can see the folders when using Mail on my Iphone. Have I set the connection between Hotmail and my Mac incorrectly? It was very automated so I don't know what I did incorrectly. Can anyone out there give me a tip?
Cheers, Paul -
When use mail, or safari mounting lion, get too slow.
i install mountain lion and actualize with version 10.8.2. after a days, when use mail, or safari mounting lion, get too slow. But extremely slow.
I restart, and use google crome, and everything is ok. But when i try to use again the mail (mac) get slow after 5 minute. If i dont open mail or safari, o calendar, everything is ok.
What i see is in spotlight the signal " INDEXING USER COMPUTER"
Can someone help me?
I am disappointed with this new system.
sorry for my english!
juanMuchas gracias!!! Ralston Champagnie
Is true, we must to be patient in life!!!
juan -
Prerequisites To Use Mail adapter
hi All,
Are there any prerequisites to use Mail adapter in PI (like anydrivers etc ),pls guide me on this.Hi Sagar
AFAIK there is no additonal drivers or specific installation for using mail adapter .
Please follow below links to setup a channel and test it out.
https://help.sap.com/saphelp_nw73ehp1/helpdata/en/ad/bf93409c663228e10000000a1550b0/content.htm
856599 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 Mail Adapter
Best Regards
Srinivas -
How to set fetchsize of sql Query when using Database Adapter.
Hi All,
I am using DatabaseAdapter to connect to database and retriving huge amount of data.For improvement in the performance I want to set the "fetchsize" of sql query. I know fetchsize can be preset in Java using Jdbc 2.0 API.Please let me know how to set this value in BPEL when using DBAdapter?
Thanks
ChandraI talked to the developer of the db adapter - and he told me this feature will be available in BPEL PM 10.1.3 (which is supposed to be production later this year, and a public beta soon). If this is an emergency I would recommend going throug Oracle support and have them file an enhancement for 10.1.2.0.2
hth clemens
Maybe you are looking for
-
Layout Question - How to print a frame on the bottom of the last page ?
I have a summary frame for my report. I want to print the summary information at the bottom of the last page of the report. Currently depending on the data, the summary frame prints anywhere on the last page. How do I make sure it prints exactly at t
-
A couple months ago, I went to work on my Mac Pro. I found that there had been an apparent restart - for which I was not present - and the screen now was blue, with a folder on which was a ?, as in the Pro could not find a startup folder. After an ag
-
CC Desktop App will not install
CC Desktop App will not install -- every time CC desktop has an update
-
BB Curve slow to react and some buttons not working
This are my Blackberry Curve 8520 specs: Signal: -65dBm Battery: 100% File Free: 106342756 Bytes V5.0.0.681 (bundle 1168, Platform 5.2.0.67) Carrier: TIGO Apps installed: Dropbox Bible Evernote Free Chat for Facebook Google Maps Google Sync Handylogs
-
Getting error in TNS connection from Oracle hosted on LINUX machine
Hello, We moved our databases from Solaris to Linux servers. I am running one multithreaded process which creates a pool of db connection which are shared by threads. On moving to Linx db I am getting below error message [SERVERERROR] ORA-12520: TNS: