cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to RFC JCO.Server could not find server function 'Z_MAT_TXT'

Former Member
0 Kudos

Hi,

I've scenario RFC(R31) to RFC(R32)

for RFC sender, i have configured:

1.- SM59 (system R31) connection 'XI'

type connection 'T'

ID program 'senderRFCprogram'

Host Gateway -> IP xi machine

TCP service 'sapgw00'

2.- XI, i've created my scenario. In the Intergration Repository i've import the function RFC 'Z_MAT_TXT'

3.- XI, i've configured the sender RFC channel: Aplication Server -> IP xi machine

Aplication Server Service (gateway) 'sapgw00'

Program ID 'senderRFCprogram'

4.- For test, in system R31, i've created a program. this program call function Z_MAT_TXT as follow:

CALL FUNCTION 'Z_MAT_TXT'

destination 'XI'

EXPORTING

MATNR = ld_matnr

IMPORTING

ZDESCR = ld_maktx.

(this function, 'Z_MAT_TXT' has been created in R31 system)

When i execute this program the follow error occurs:JCO.Server could not find server function 'Z_MAT_TXT'

I may be doing something wrong, is the first time you use the RFC sender adapter

According to the thread i don't see any errors

very thanks by your help

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks all!

now, other error occurs: CPI-C error text: "alternativeServiceIdentifier: party/service from channel

configuration are not equal to party/service from lookup of alternative"

i've review other questions in this forum and don't have solution. The business system is web as abap..

i don't understand..

can you help me please?

very thanks!!

Former Member
0 Kudos

Hi

Check this SAP note 730870 (Question 26), this deals with your problem.

Regards

Vishnu

Former Member
0 Kudos

Thanks Prateek,

The program ID don't appears in SMGW, the test TCP/IP connection fails, ther error is:

program senderRFCprogram not registered

SAP-Gateway on host macxi / sapgw00

TP senderRFCprogram not registered

SAP-Gateway

4409

gwr3cpic.c

1778

679

0

700

Fri Feb 13 11:20:39 2009

2

can you help me?, thanks very much

prateek
Active Contributor
0 Kudos

Are you sure that the gateway host is macxi? Try creating a new TCP/IP connection with a different program ID name.

Regards,

Prateek

Former Member
0 Kudos

Hi,

First u create rfc destination type 'T',then u enter IP address for SAP sender syetem ,then sapgateway 'sapgw00',when ever rfc using asa a sender u need program id.This is for communicating SAP and XI.select register server then u give any name for ur program id.After completion of this u will configure sender rfc adapter.In that u need SAP SENDER system details Like IP,user password and Program Id.after completing u r configure then u active u r ID.Then the connection will be establised otherwise it shows error.register server program is not registerd.

Thanks

Ravi

Former Member
0 Kudos

Thanks all!

I've changed the Aplication Server (gateway) in communication channel. Now the value is IP machine sender R3, however other error occurs:

'program senderRFCprogram not registered'

How can i do for register the program ID?

thanks!

prateek
Active Contributor
0 Kudos

As soon as you create the program Id in TCP/IP connection and save it, it gets registered automatically. You may check it in transaction smgw. If it is not getting registered, it should be somehow related to the improper gateway details. Test the TCP/IP connection

Regards,

Prateek

prateek
Active Contributor
0 Kudos

The problem must be related to the gateway.

Host Gateway -> IP xi machine

This should be sender gateway and not XI.

Regards,

Prateek

former_member181985
Active Contributor
0 Kudos

Hi

Step3 is some what wrong.

>3.- XI, i've configured the sender RFC channel: Aplication Server -> IP xi machine

>Aplication Server Service (gateway) 'sapgw00'

You should give Sender RFC machine IP instead of XI machine IP in the RFC sender communication channel.

Thanks,

- Gujjeti.

Edited by: Praveen Gujjeti on Feb 13, 2009 2:37 PM