cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Sender Mail Adapter

Alfredo_Lagunar
Participant
0 Kudos

Hi experts,

I'm developing a Mail-XI-RFC scenario and have a problem in the mapping. I have created a MI based in the structure of the attachment of the mail. I have a mapping that does xml->RFC and tests OK. When I send a mail to the account of the sender adapter, the system generates two payloads, the 'MailMessage' and the 'MailAttachment-1' that is the xml to map, but I have an error in SXM_MONI 'Cannot produce target element /ns0:...RFC name'.

The Sender Adapter configuration uses message protocol XIPAYLOAD, I have checked Mail Package, base 64 and keep Attachments. Interface namespace is the same as the xml and default interface name is the message interface created of type my xml.

What is wrong?

Best Regards,

Alfredo Lagunar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In this case you need to use payloadswap bean for swapping the payload and attachment

http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/frameset.htm

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step check this

Rajesh

Edited by: Rajesh on Feb 4, 2009 2:52 PM

Alfredo_Lagunar
Participant
0 Kudos

Hi Rajesh,

very helpful answer. Problem solved.

Best Regards,

Alfredo Lagunar.

Answers (0)