cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy from XI

Former Member
0 Kudos

Hi,

I am trying to develop a report in XI and want to send some table data (about messages in moni) through mail to recepients.

Is it possible to create ABAP proxy in SAP XI (instead of R3 as in usual case) and execute the scenario XI - Mail using ABAP Proxy?

Thanks,

Bhavish

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Bhavish,

no, this is not possible, as you XI client is configurated as "Integration Server" and as "Application System" (SXMB_ADM). For that intention you need a second client.

Another option would be to access the table during a ABAP mapping. Here you have just the problem to create a suitable sender of your message. A possibility would be, to create a job/report, which is sending a http request. Use ABAP class <a href="http://help.sap.com/saphelp_nw04/helpdata/en/1f/93163f9959a808e10000000a114084/frameset.htm">cl_http_client</a> for that.

Regards,

Udo

Former Member
0 Kudos

Hi,

Thanks for your reply.

I need to send report of all the messages in moni to admin recepients. This report should have messages which are in Error, Scheduled as well as which have been successful.

I thought of developing an ABAP report, invoking RFC GET_MESSAGE_LIST to populate list of messages and sending this list as a file attachment in mail.

Could you suggest a better way to perform this task, if generating proxy from XI is not possible, as you mentioned.

Thanks,

Bhavish

udo_martens
Active Contributor
0 Kudos

Hi Bhavish,

i told u allready <b>2</b> ways: using proxy with a second mandant and invoking a message by cl_http_client, which is reading messages in the ABAP stack.

This are solutions, where you are taking XI for ur intention. There are some doubts about using of XI in that case, coz we have just a report and not connecting systems like it is ususally task of XI. You can write a job/report, which is invoking the RFC and sends the mail via ABAP coding. All messages in only one could lead to a quite huge file..

Regards,

Udo

Former Member
0 Kudos

Hi,

Thanks for quick reply again.

Could we directly send mail from ABAP code. If you could provide more details on this it would be really helpful.

Thanks,

Bhavish

udo_martens
Active Contributor
0 Kudos

Hi Bhavish,

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/58/97c43af280463ee10000000a114084/frameset.htm">SAP Library: Sending mails</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/97/afdd3a6dac703be10000000a11405a/content.htm">Method send</a>

Regards,

Udo

Message was edited by:

Udo Martens

Answers (0)