on 03-17-2008 4:18 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.