cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in SM59

Former Member
0 Kudos

Hi Experts,

While creating the RFC destination for IDOC Adapter we choose the connection type as " 3 " ( ABAP Connection )

But for the RFC adapter the connection type is " T " (TCP/IP) .

What is the reason behind this ?

And in the Sender RFC adapter we give a Program Id ( which is case-sensitive) and this is used in the Sender RFC communication channel.

what is the use of Program ID ?

what is the relation between the XI and SAP using this PROGRAM ID ?

Regards,

Jude

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

RFC adapter runs as a registered JCo server program in the Adapter Engine so that the communication is always routed through the SAP gateway.

for this you have to specify the host name of the Adapter Engine and the program IDs used in RFC sender channel configurations with the gateway.

SAP gateway provide services which enable SAP Systems and external programs to communicate with one another.

for connection from SAP R/3 to PI Server

1.Register the RFC server program of the RFC adapter at the gateway of the R/3 system.

2.Change the RFC destination in the R/3 system to reference the registered RFC adapter.

program ID uniquely describe the RFC sender channel in the configured gateway (Application Server (Gateway) and Application Server Service (Gateway) parameters).

iprieto
Contributor
0 Kudos

Hi Jude,

1.- What is the reason behind this ? The main diference is the protocol use for comunicate. The RFC protocol is the standard protocol for connecting SAP systems, TCP/IP is more related about the communication with third party servers.

2.- The programId links one server with another server, the relationship is made with this parameter. The destination are saved in the gateway, transaction SMGW. In this place all communications are matched each other.

The best choice for link SAP PI and SAP R3 servers is use ABAP connections destination in SM59.

Best Regards

Ivá

former_member187339
Active Contributor
0 Kudos

Hi,

>>While creating the RFC destination for IDOC Adapter we choose the connection type as " 3 " ( ABAP Connection )But for the RFC adapter the connection type is " T " (TCP/IP) .What is the reason behind this ?

IDoc used ALE layer for transport to PI/XI. But for RFC RFC Adapter is used which lies on JAVA engine of SAP XI/PI

>>And in the Sender RFC adapter we give a Program Id ( which is case-sensitive) and this is used in the Sender RFC communication channel. what is the use of Program ID ? what is the relation between the XI and SAP using this PROGRAM ID ?

PROGRAM ID binds a RFC DESTINATION with a RFC Sender Adapter. And hence it should be unique for each sender channel. Program id binds channel with RFC Destination

Regards

Suraj

Former Member
0 Kudos

IDOC adapter is built using ABAP engine so need to use connection type 3 which is used for fetching the metadata during runtime from the R/3 System with the help of credentials provided there

In case of RFC adapter is built on J2EE engine which requires connection of Type TCP...

And progid helps to determine the listerner for the connection established

i.e if R/3 needs to send data to other systems like PI then need to provide the rfc destinaiton created and progid helps in determining the listener who is interested in receiving the data

HTH

Rajesh