cancel
Showing results for 
Search instead for 
Did you mean: 

Evaluate tRFC-Call

Former Member
0 Kudos

Hi experts,

I have a tRFC-call to the XI in this form:

CALL FUNCTION 'Z_MY_RFC_CALL'

IN BACKGROUND TASK

DESTINATION my_destination

TABLES

lt_tab = my_tab

.

COMMIT WORK.

Sometimes if the XI is down or the destination is switched, I need the information wether the XI call was succesfully or not (waiting in SM58).

Is this possible to get an returncode?

Regards

Mathias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI mathias,

you can always find the whetehr XI server is up or down by executing the below FM

1)RFC_GET_SYSTEM_INFO OR

2)RFC_SYSTEM_INFO

better use RFC_GET_SYSTEM_INFO for getting server availabiltiy n then execute any TRFC.

it depends on how u deploy the FM fucntionality.

Thanks & Regards,

Rama Krishna

Answers (1)

Answers (1)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi

did you try use RFC.Exception,

there you have a description of error. also you can trigger ir into your alert inbox o exchange profile

to do this, in your MT define the rfc.exception as message fault.

check this pef to see how the message type is configured

Thanks,

Rodrigo

Edited by: Rodrigo Pertierra on Mar 17, 2008 1:34 PM

Former Member
0 Kudos

Hi,

I need the information about the succesfully call of the XI in the ERP-System (not in the XI).

E. g. , if the call stucks in TA SM58, so I need the Information in the calling report.

Regards

Mathias