cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger Outbound ABAP proxy from PI

Former Member
0 Kudos

Hi Guru's,

We have one scenario in which we want interface to be run at 5 minute interval in PI but it has to get data from R/3 via RFC or ABAP Proxy (No file interface). Is there any way to trigger PI interface to get data from R/3 and after mapping send it via AS2.

Thanks in Advance.

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

schedule a job in R/3 with SM36.

Former Member
0 Kudos

Thanks Stefan.

Yes we can do that but we are looking for option from PI.

stefan_grube
Active Contributor
0 Kudos

> Yes we can do that but we are looking for option from PI.

Why?

Former Member
0 Kudos

Because we cannot get any alerts when job in sap fails or no run.

stefan_grube
Active Contributor
0 Kudos

> Because we cannot get any alerts when job in sap fails or no run.

You will never have an alert in PI, when any interface is not running because the sender does not provide data.

Former Member
0 Kudos

Hi,

if you want alert form SAP side, call one function module in the ABAP Proxy when sy-subrc # 0 and trigger an Mail.

or try to call any event through work flow which will send a mail to the enduser.

Regards,

Phani

Former Member
0 Kudos

Thanks Stefan and Phani,

So there is no option in PI. We have to use SAP job scheduling for this.

Former Member
0 Kudos

Hi Gyaneshwar,

What Phani said is correct. Better you go with ABAP proxy, where you can validate the data with the condition, if fails you can raise an alert mail.

The code something looks like:

CALL FUNCTION 'Z_UTL_SENDMAIL'

EXPORTING

i_email = gv_sender

i_toemail = ''

i_subject = gv_subject

IMPORTING

e_return_code = gv_subrc

TABLES

it_text = git_text

it_emails = git_emails.

ENDIF.

ENDIF.

There is no option to do it from PI.

Thanks,

Edited by: Hareenkumar on Feb 24, 2011 10:08 AM

Former Member
0 Kudos

Thanks to all for your valueable inputs.

Answers (0)