cancel
Showing results for 
Search instead for 
Did you mean: 

using BAPI OCX to access XI interfaces?!

Former Member
0 Kudos

Dear collegues,

we use bapi.ocx (wdobapi.ocx) to access R/3 systems from VB6 successfully.

Now we want to integrate with Netweaver XI.

Is it possible to communicate with the RFC adapter of XI with the BAPI OCX? If not, how can we get access to XI adapters (RFC, etc.) with VB6?

Regards,

Gerhard

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Actually you would not have to implement a SAP Gateway Service on the client application.

As every XI-system has the WEB AS 6.40 as its core component, you can call a remote function on the xi itself and later on call the rfc-adapter through a tcp-ip connection, customized in transaction sm59.

We have already done this in a few customer projects. All you habe to do is to implement a remoteable function, like your original one, on the xi.

OK, that might not be the proper way to do this, but the behavior of your client-system remains the same and your investment of the former interface is save.

Former Member
0 Kudos

Hi Gerhard,

You could potentially do this but it's probably not an efficient way to connect VB6 to XI.

Instead of an RFC call I would recommend making an HTTP call to XI.

If you still want to communicate using the RFC protocol from a non-SAP system to XI, you would probably need to:

1) Install an SAP Gateway Service for the sender system, so you may need to install the SAP Standalone Gateway. There was an NT version available about 5 years ago. I'm not sure where you'd find it these days.

2) Configure an RFC Sender Communication Channel in XI, and specify the gateway server, service, and program id.

3) Continue with standard XI design and configuration steps (mapping, receiver communication channel, etc).

As you can see, this isn't straightforward, and an HTTP approach would be much cleaner.

Thanks,

Jesse