cancel
Showing results for 
Search instead for 
Did you mean: 

Connection between R3 and XI

former_member182412
Active Contributor
0 Kudos

Hi Experts,

Connection between R3 and XI is not working.

I want to give the connection settings between R3 and XI, can anyone tell me what steps i need to do.

Can anyone give me step by step procedure.

Kind Regards,

Praveen.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183908
Active Contributor
0 Kudos

Hi Praveen

To Establish Connection Between R/3 To XI follow the below steps:

In R/3 System:

1)Create Logical system thru BD54 or SALE t-codes

2)Assign logical system to Client thru SCC4 or SALE t-codes

3)Create RFC destiniation type 3 poiniting to XI Sytem thru SM59

4)Create Port Thru WE21

5)Create Partner Profiles Thru WE20

In XI system:

1)Create RFC destination pointing to R/3 System thru SM59

2)Create port Thru IDX1 T-code

After done with the above settings we can import your idoc's or rfc's into your XI system.

When we are dealing with the proxies we need to create :

In XI and R/3 System we need to create 3 RFC Destinations 1 is Type H(HTTP) and other 2 are Type T(TCP/IP)

Thanks

Former Member
0 Kudos

Hi

If the Connection is for RFC, you need to create and RFC connection in SM59 and the connection type is TCP/IP. also you need the below information for you to configure an Sender RFC adapter

RFC Server Parameter

The RFC server parameters identify the sender system.

Specify the following parameters:

Parameter

Entry

Application Server (Gateway)

Gateway host name of the sender system.

Application Server Service (Gateway)

Gateway service of the sender system. This can be the numeric description of the service port in the sender system or the alphanumeric equivalent (for example, sapgwXX, where XX is the system number of the sender system).

Program ID

Program ID of the registered server program. The selected program ID must uniquely describe the RFC sender channel in the configured gateway (Application Server (Gateway) and Application Server Service (Gateway) parameters).

Regards

Shankar

Answers (4)

Answers (4)

former_member238007
Contributor
0 Kudos

HI Praveen,

Actually to interact with any R/3 system either at source side or at target side you need to follow some basic settings that is used to connect with SAP R/3 to PI or from PI to SAP R/3.

So, depending on the scenario the settings will differ. for example if the transmission is an Idoc then we have some settings as defined above with the links and if it is an RFC in such case u need to develop the synchronous scenario where u need to configure or custimize the response .. and for these you need a BAPI to import into SAP PI and then do necessary mapping configurations in IR and do the module configuration in the adapter for handling responses..

so, totally it depends on the requirement ..

Can u elaborate your question regarding with your problem..

regards,

Kishore

former_member307485
Active Participant
0 Kudos

Hi Praveen

Here are steps in brief

1 )Maintain the Sender R/3 System:

SM59 : Create a RFC destination to XI

WE21 : Create a TRFC Port ->Specify the RFC Destination Created

BD54 : Create a Logical System for the Idoc Receiver

WE20 : Create Partner Profile ->Maintain Outbound and the Inbound Parameters

2)Log on to XI System:

SM59 : RFC Destination for Sender System

IDX1 : Create the port to get Idoc Metadata from Sender System ( The Port Name must match the port name in the idoc header - Usually in format SAP<System ID>. eg. SAPID1 [Optional Step. Not mandatory]

IDX2 : Maintain the Idoc Metadata. This is needed only by XI, and not by other SAP systems. IDX2 is needed because XI needs to construct IDoc-XML from the IDoc. No other SAP system needs to do that.

To Enable Acknowledgement:

SXMB_ADM ->Integration Engine Configuration ->Specific Configuration ->Add New entry -> Select parameters as:

Category: RUNTIME

Parameters: ACK_SYSTEM_FAILURE

Current Value: 1

GO TO SLD:

1..Create Technical System: Choose WEB AS ABAP if the system is R/3 -> Define SAP SID, Installation Number and Database Host Name a Maintain message Server Details according to Sender System -> Maintain Client Details of Sender System ->Select a Installed Product for Sender System

2..Create Business System: Choose WEB AS ABAP if the system is R/3 -> Choose the Technical System and the client Created Before -> Choose the Installed Product -> Set:

Business System Role: Application System

Related Integration Server: Integration Server

Regards,

Divya

Former Member
0 Kudos

Hi,

Connecetion Between R/3 and Xi. u can achieve this by doing ALE configurations.

Go thru this Blog. this Explains to with and Example doing IDOC to File Scenario (Basic Level) with ALE settings.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/909760cb-0ec8-2a10-4a96-ee8417ac...

Regards,

Madhav

Note: Points If Useful.

Shabarish_Nair
Active Contributor
0 Kudos

If the connection is for IDoc communication ref: https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&

For proxy ref: /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies