cancel
Showing results for 
Search instead for 
Did you mean: 

Mail-Sender-Adapter, FetchReport

0 Kudos

Hello,

can anyone explain me how to use the FetchReport option in the Mail-Sender-Adapter?

In the Adapter-Audit-Protocol the Adapter I always get an error.

The SAP-Help pages are not very helpful, an in SDN there are no articles about this.

--

kind regards

Thorsten Gawantka

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

What kind of error do you get when adapter tries to pick up mails ?

Chris

PS : I'm not sure about the Fetch Report option, but each time a mail document will be retrieved, a message containing the log will be generated (ns: http://sap.com/xi/XI/Mail/30 and if name FetchReport, I think its definition can be found in the XI mail package)

0 Kudos

Hi Chris,

the Definition is imported already.

Here are the message-data:

Message-Daten

Attribut Wert

Status fehlerhaft beendet

Wiederholbar Nein

Beendbar Nein

Fehlerkategorie XI_J2EE_ADAPTER_XI_HANDLER

Fehlercode CALL_CONSUMER_ERROR

Start 30.04.2008 13:27:03

Ende 30.04.2008 13:27:03

Sender-Partner

Sender-Service opx

Empfänger-Partner

Empfänger-Service

Interface http://sap.com/xi/XI/Mail/30

FetchReport

Quality-of-Service Best Effort

Message 5b2e4a20-16a8-11dd-c67c-00145e36a4e4

Referenz

Konversations-ID

Version 0

Bearbeitet Nein

Serialisierungskontext

Richtung OUTBOUND

Message-Typ Call

Profil XI

Verbindung Mail_http://sap.com/xi/XI/System

Transport HTTP

Endpunkt http://op-sap-xi:8000/sap/xi/engine?type=entry

Berechtigung SAPPasswordCredential(PIAFUSER):password=********:sapclient=001:saplang=

Sequenznummer 0

Anz. Wiederh. 0

Fehlg. 1

Wiederh. 0

and the audit-protocol:

Audit-Protokoll für Message: 5b2e4a20-16a8-11dd-c67c-00145e36a4e4

Zeitstempel Status Beschreibung

2008-04-30 13:27:03 Erfolgreich Mail: calling the module processor for channel CC_AeroDB_Mail_Send

2008-04-30 13:27:03 Erfolgreich MP: Tritt in den Modulprozessor ein

2008-04-30 13:27:03 Erfolgreich MP: Lokales Modul localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean wird verarbeitet

2008-04-30 13:27:03 Erfolgreich Mail: message leaving the adapter (call)

2008-04-30 13:27:03 Erfolgreich Die Anwendung versucht eine XI Message synchron zu senden über Mail_http://sap.com/xi/XI/System

2008-04-30 13:27:03 Erfolgreich Versuch die Message in die Call-Queue zu stellen

2008-04-30 13:27:03 Erfolgreich Message erfolgreich in Queue gestellt

2008-04-30 13:27:03 Erfolgreich Die Message wurde erfolgreich aus der Call-Queue abgerufen

2008-04-30 13:27:03 Erfolgreich Der Status der Message wurde auf DLNG gesetzt

2008-04-30 13:27:03 Fehler XI-Systemfehler erhalten. ErrorCode: NO_RECEIVER_CASE_BE ErrorText: ErrorStack: No receiver could be determined

2008-04-30 13:27:03 Fehler Rückgabe synchroner Fehlerbenachrichtigung an rufende Anwendung: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:.

2008-04-30 13:27:03 Fehler Die Übertragung der Message über http://op-sap-xi:8000/sap/xi/engine?type=entry ist fehlgeschlagen, weil: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:

2008-04-30 13:27:03 Fehler Der Status der Message wurde auf FAIL gesetzt

2008-04-30 13:27:03 Fehler Zurück zur Anwendung. Ausnahme: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:

2008-04-30 13:27:03 Fehler Mail: error occured: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:

2008-04-30 13:27:03 Fehler Mail: error occured: com.sap.aii.af.mp.module.ModuleException: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE: caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:

2008-04-30 13:27:03 Fehler MP: Ausnahme aufgetreten mit Grund com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:

2008-04-30 13:27:03 Fehler Mail: failed to call the module processor: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:

Now the question is, how do i define the receiver in an asynchrounious scenario? And what does the FetchReport option exactly?

--

thx for your help

Thorsten

Former Member
0 Kudos

Thorsten,

It looks like your receiver determination is either missing or wrong ! How did you set it up in XI ID ?

The FetchReport may be a friendly way to receive "logs" each time a mail is picked up by the adapter ... But I've never used it, the audit log is sufficient enough

Chris

PS : btw, it looks like you're in a synchronous scenario (BE suffix, that means BestEffort)

Edited by: Christophe PFERTZEL on Apr 30, 2008 5:22 PM