cancel
Showing results for 
Search instead for 
Did you mean: 

How to Configure Receiver Mail Adapter?

Former Member
0 Kudos

I need to designed a BPM if Message is failed to update database then send an e-mail to alias group in Microsoft outlook by using Receiver Mail adapter.

Can someone help me to design above BPM and how I need to configure receiver mail adapter.

Thanks in advance!

Mrudula

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I changed the content encoding to BASE64 and it worked!

Thousands thanks to all of you who helped me to configure Receiver Mail Adapter and BPM.

Mrudula

Former Member
0 Kudos

Hi Mrudula,

Thats cool. So you can award me 10 points

cheers

Sameer

Answers (11)

Answers (11)

Former Member
0 Kudos

Sameer,

I gave you 10 point..........

Smile now........

Mrudula

Former Member
0 Kudos

I have to give point to Sameer and Suresh for their helpful replies.

I would give Sameer 10 points next time if he helps me resolve my other question.

Thanks to all of you! I really appreciate all your help!

Mrudula

Former Member
0 Kudos

Sameer

Thank you very much Sameer!

It worked! I am able to send e-mails now.

I am using Message Protocol as XIPAYLOAD. E-mail has the attachement of XIPAYLOAD in XML format. Is there anyway I can convert it into "Text" format? Any idea??

Thanks in advance!

Mrudula

Former Member
0 Kudos

Sameer

Thank you for your reply.

I would check with Basis guys for the correct URL address.

Thanks!

Mrudula

Former Member
0 Kudos

I am getting <Trace level="3" type="T">Unknown channel type: Mail</Trace> when it tries to call "MAIL" adapter.

Does anyone has any clue where should I look?

Thanks!

Mrudula

<Trace level="3" type="T">Calling pipeline service: PLSRV_CALL_ADAPTER</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>

<Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>

<Trace level="3" type="T">ADRESSMOD = SD</Trace>

<Trace level="3" type="T">P_CLASS =</Trace>

<Trace level="3" type="T">P_IFNAME =</Trace>

<Trace level="3" type="T">P_METHOD =</Trace>

<Trace level="3" type="T">FL_LOG =</Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Unknown channel type: Mail</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>

<Trace level="3" type="T">PLSRVTYPE = AENGINE</Trace>

<Trace level="3" type="T">ADRESSMOD = SD</Trace>

<Trace level="3" type="T">P_CLASS = CL_XMS_PLSRV_IE_ADAPTER</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG =</Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T" />

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />

Former Member
0 Kudos

Hi Mrudula

The exception that you receive 'com.sap.aii.af.mp.module.ModuleException' is because of incorrect URL.

You say that you are using, the following

URL - smtp://xyz.corp.abc.com

I guess that is where the problem is, try checking with your basis or system admin folks if the smtp server is correct and running.

cheers

Sameer

Former Member
0 Kudos

Hi Saravana,

Thanks for the link.

Now I am using URL - smtp://xyz.corp.abc.com and I still getting the same error. Does anyone has any clue what am I missing in configuration?

Thanks!

Mrudula

Former Member
0 Kudos

I have used following parameters to configured the receiver mail adapter. We are using Microsoft outlook-2003.

Transport protocol - SMTP

Message Protocol - XIALL

Adapter Engine - Integration Server

URL - xyz.corp.abc.com

From - mt1@abc.com

To - mt1@abc.com

Subject - Test mail

I am getting following error while calling the mail adapter :

Mail: error occured: com.sap.aii.af.mp.module.ModuleException

Can someone please help me to resolve this issue.

Thanks in advance!

Mrudula

Former Member
0 Kudos

The URL is not well formed in your config, chk this link

http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

cheers

Saravana

Former Member
0 Kudos

Hi,

Can someone please guide me how to configure receiver Mail adapter? What steps we needs to do etc......

Thanks in advance!

Mrudula

Former Member
0 Kudos

Suresh,

Thank you very much for explaining me step by step.

Let me design and configure the BPM and I would update this message if I have more questions or with the results.

Thanks again!

Mrudula

Former Member
0 Kudos

Michal,

I am using "SEND" step to update database by JDBC adapter. Do I need to use "Exception-System error" when message is failed to update database system in the above "SEND" step? If yes, can you please explain me in detail how to use "Exception-System errors" as I have not used it in the past.

Thanks a lot!

Mrudula

Former Member
0 Kudos

As Michal was saying you use Exception handler only when the database update fails systemically. i.e. there were technical errors or connectivity problems during update. In order to handle this, you can do the following,

1.Create a block and assign an exception (say)DBException in the Exceptions property of the block.

2.Insert your send step in the block and select DBException from the drop down for the System errors in the send step properties.

3.Create an exception handler by using the context-menu for the block (by right-clicking on the block).

4.Select DBException as exception handler for the property of the exception handler branch.

5.Insert the send mail step inside the exception handler branch either by throwing an alert or by using the mail receiver adapter.

Regards,

Suresh

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>I need to designed a BPM if Message is failed to update

if depends what are you trying to achive:

1. you update didn't update any fields:

<update_count>0</update_count>

you can use switch step if count = 0 then send mail

2. if your send step (to the database) failed

then you have to use exception branch in which you can use a send step to send an e-mail

anything particular you want to know about

receiver mail adapter config? :

http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

Regards,

michal