Skip to Content
author's profile photo Former Member
Former Member

Help me, please.

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)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 17, 2008 at 11:31 AM

    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-9b44d2693e6c

    Also please vist

    Exception: (120) JCO_: JCO.Server could not find server function

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 02:18 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 02:37 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.