cancel
Showing results for 
Search instead for 
Did you mean: 

Mail adapter

Former Member
0 Kudos

Hi.

I have the following scenario: I want to send an e-mail from SAP ERP, using XI mail adapter.

I would like to ask the experts if what I'm doing is correct:

- In the Integration Directory I defined the following objects:

1) Business system "IED_200", for SAP ERP client 200.

Defined communication channel with adapter type XI, sender, transport protocol HTTP 1.0. (I want to use sproxy).

2) Business service "Mail" ( is this necessary). Defined communication channel with adapter type Mail, receiver, use mail package = 'X'.

3) Receiver Determination for service IED_200 as sender, with interface determination for service IED_200 also as sender. All this with interfaces defined and mappings.

4) Receiver agreement with service and party = '*', and Receiver = 'Mail', with receiver communication channel defined in 2).

Please, tell me if I'm doing something wrong.

Thanks!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

When you create Datatype, Messagestypes and Interfaces right as well it look right to me.

Just test and you will see if something is wrong

Regards,

Robin

Former Member
0 Kudos

Well, I've tested it, and in SXMB_MONI I have the following error: "HTTP response contains status code 401 with the description Unauthorized".

What to do? I dont' have to do anything in SCOT, do I?

Former Member
0 Kudos

hi,

check if the logon data to your mail server are correct.

Regards,

Robin

MichalKrawczyk
Active Contributor
0 Kudos

hi,

this indicates that one of your service users

may not have a correct password

have a look at this doc and search for 401

https://websmp203.sap-ag.de/~sapidb/011000358700005909032005E.PDF

no scot necessary

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

why do you sue the mail package?

if you use that your message must have a correct format

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

but there's no need to use that

as you can set subject and receivers in the mapping

with com channel specific identifiers

is seems ok

in directory you can use the directory wizard

that will help you to create all objects in ID

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>