cancel
Showing results for 
Search instead for 
Did you mean: 

Help me, please.

Former Member
0 Kudos

Hi,

I have a scenario where a R/3 (ECC 6.0) should send messages via the XI to ABAP PROXY. My problem is, that I am not able to send an synchronious RFC to the XI. I got the following error: JCO.Server could not find server function 'ZXI_CA_BB_02_REQ'

What happened?

Error in ABAP application program.

The current ABAP program "ZXI_CA_BB_02_REQ==============FT" had to be

terminated because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

The error occurred in an RFC call to another system.

The target system has also written a short dump.

Consult this short dump for more precise information about

the cause of the error.

In the communction channel of the XI I got the following error

com.sap.mw.jco.JCO$Exception: (123) JCO_ERROR_FUNCTION_NOT_FOUND: JCO.Server could not find server function 'ZXI_CA_BB_02_REQ'

I set up the communication channel, sender agreement, receiver determination,...

sender communication channel program id : SAP_XI

CALL FUNCTION 'ZXI_CA_BB_02_REQ' DESTINATION 'SAP_XI'

EXPORTING

gjahr = gjahr

zfictr = zfictr

IMPORTING

e_result = e_result

e_subrc = e_subrc

e_lines_01 = e_lines_01

e_lines_02 = e_lines_02

e_lines_03 = e_lines_03

e_lines_04 = e_lines_04

e_lines_05 = e_lines_05

TABLES

e_tab = e_tab.

IF sy-subrc <> 0.

e_lines_02 = 'F'.

ENDIF.

FUNCTION ZXI_CA_BB_02_REQ.

*"----


""Local Interface:

*" IMPORTING

*" VALUE(GJAHR) TYPE CHAR04 OPTIONAL

*" VALUE(ZFICTR) TYPE CHAR100 OPTIONAL

*" EXPORTING

*" VALUE(E_RESULT) TYPE CHAR100

*" VALUE(E_SUBRC) TYPE SY-SUBRC

*" VALUE(E_LINES_01) TYPE ZCHAR500000

*" VALUE(E_LINES_02) TYPE ZCHAR500000

*" VALUE(E_LINES_03) TYPE ZCHAR500000

*" VALUE(E_LINES_04) TYPE ZCHAR500000

*" VALUE(E_LINES_05) TYPE ZCHAR500000

*" TABLES

*" E_TAB STRUCTURE ZXI_CA_BB_02

*"----


ENDFUNCTION.

What's wrong with this scenario?

Thank you for your help

Jeongbok

PS: If it is important, we use SP 18 (NW2004)

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Jeongbok,

the programm-id in communication channel and the name of the programm-id in your RFC (SM59) have to be identical !!!

Thats very important

regards Mario

Former Member
0 Kudos

Hi Jeongbok!

Check that you have created and activated the sender agreement for that RFC sender adapter in XI before testing the execution of the RFC from R/3.

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Regards,

Matias.

ps: please award points if helpful.

GabrielSagaya
Active Contributor
0 Kudos

Under server properties of the listener make sure to set the unicode property to 1.

If you are still having issue please also refer to Idoc Config Guide.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3861e693-0e01-0010-e791-9b44d269...

Also please vist