Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFC on AS/400

Former Member
0 Kudos

Hallo,

we are trying to connect an SAP server with an AS/400 server by RFC, but we get the message "function Z_XXXX not available".

Did anyeone ever get the same message?

9 REPLIES 9

Former Member
0 Kudos

Are you calling this function from SAP to AS400, or the opposite?

0 Kudos

Are you sure the Target system does contain the function Z_XXXXX

It must exist on the target system not the source.

regards

0 Kudos

Hallo,

I am calling from R/3 to AS/400.

0 Kudos

So, the function Z_XXXX should exists on AS/400 Server?

0 Kudos

That's it marco !

the Z should exists there and must be flagged a REMOTE ENABLED !!!!

If I did help you do not forget the reward . . .

Greetz

0 Kudos

When you are calling an RFC function on external system (AS400 in your case), the called function has to be defined there.

This function needs to be created in a particular way and shall be a part of the RFC server program (you can see the server program name in RFC destination definition for AS400) running on the external system.

0 Kudos

Perhaps I did not explain the situation very well:

We have R/3 installed on Linux Server and we have to call a program that is on AS/400 server (That has not R/3 installed).

The function (on R/3) is, of course, RFC enabled.

We have also installed RFCLIB on AS/400 server.

0 Kudos

Perhaps I did not explain the situation very well:

We have R/3 installed on Linux Server and we have to call a program that is on AS/400 server (That has not R/3 installed).

The function (on R/3) is, of course, RFC enabled.

We have also installed RFCLIB on AS/400 server.

0 Kudos

So you do not call a function module on AS/400 you just call a program ?

If I resume, you have a function module that calls a program on another system is that it?