Skip to Content

XI sender RFC adapter?  Is it a little strange? Let’s work out the scenario RFC to JDBC.

Key Point:

  1.  Develop a RFC function module.
  2.  How to configure the RFC sender adapter.
  3.  How to design JDBC interfaces.

In the SAP Application system, go to T-Code SE37, copy BAPI_BANK_GETLIST to ZBAPI_BANK_GETLIST, and delete ALL the source codes.  We are going to use this function later.

 

Create a  RFC sender adapter, input all neccesary parameters and activate it.

 

Create TCP/IP type RFC destination with the same Program ID, in the SAP Application system.

 

 And make sure you have a connection test without problem.

Then prepare a table with the following SQL script in Oracle database:

 CREATE TABLE “HR”.”ZBANK”
(
   BANK_CTRY varchar2(5),
   BANK_KEY varchar2(10) PRIMARY KEY NOT NULL,
   BANK_NAME varchar2(50),
   CITY varchar2(20)
)
;

 

Any other thing is ready. Let me show you a test.

 

Please be aware that this only happens after you have finished in IR & ID part.

 

 

 

Run the function in SE37 with the TCP/IP RFC connection.

 

 RUN! RUN!

There are 4 entries which retrieved from the database.

 

 

It works. In this scenario we can run RFC function to retrieve data from non-SAP systems.

 

I’ll talk about interface designing later.
 

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Haresh Khandal
    I’ve created RFC Sender Adapter with required parameters, created RFC Destination in ECC Application Server and then copied the function BAPI_BANK_GETLIST with empty codes.

    But when I try to run this new function ZBAPI_BANK_GETLIST with RFC Destination it gives me error “Exception       SYSTEM_FAILURE”.

    What could be the problem?

    (0) 

Leave a Reply