Skip to Content
avatar image
Former Member

CALL_FUNCTION_REMOTE_ERROR when calling a remote function call through PI

Hello. Thanks in advance for your perspective on this.

We are developing an interface that runs in an R/3 system and is suppossed to perform a lookup in another R/3 system via a PI 7.0 system.

Here's what we are trying to do, let's call these systems "A", "B", "C" respectively.

R/3 -> PI -> R/3

The R/3 system (A) executes code, which calls this function module like this:

CALL FUNCTION 'Z_CHK_MAT' DESTINATION 'XI_RFCADAPTER'

EXPORTING

iv_region = lv_region

iv_matnr = ls_matnr-matnr

IMPORTING

ev_flg_is_purchased = e_flg_is_purchased.

This code, is set via the "DESTINATION" parameter to use the RFC destination 'XI_RFCADAPTER'. This destination, points to the PI (B) system above.

Anyhow, we're getting a short dump in the R/3 (A) system, which is like this:

CALL_FUNCTION_REMOTE_ERROR

"JCO.Server could not find server function 'Z_CHK_MAT'"

From my analysis, I believe this is because the remote function module Z_CHK_MAT does not exist, in the PI (B) system.

Our developer, believes this should just "pass through" the PI (B) system, and call the function module in the R/3 (C) system.

Any insight on this? In this scenario, does this Function Module need to exist in the PI abap side? Can you give perspective / guidance on this?

Thanks a lot

Steve

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 23, 2009 at 08:27 PM

    No need to exist in PI ABAP side.

    Just make sure that:

    1. as Michal said, you import it in Integration Repository (and use it in your configurations);

    2. the RFC Destination type that points to XI is of type T, not 3;

    3. both the RFC Destination & the Sender RFC Adapter (and only them) are using the same Program Id.

    Regards,

    Henrique.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 23, 2009 at 05:05 PM

    Hi,

    you just need to download the RFC into XI

    and configure integration directory with this downloaded RFC

    than it will work

    that's a very simple scenario so not a lot to do

    Regards,

    Michal KRawczyk

    Add comment
    10|10000 characters needed characters exceeded