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: 

How to configure IDOCs between 2 servers

0 Kudos

Hi,i am an ABAP consultant and for some reason i was charged with configuring IDOCs between 2 different servers, i have been trying all tutorials that i could find for the past 2 weeks but i always get stuck in creating the partner profile step, most of the time i get an error "port could not be opened", also the tutorials i tried were never crystal clear about which steps to be configured on the sender server and which steps to be done on the receiver server, plus all the tutorials i tried never said the possible issues that could occur during configuration or how to fix them, so my question is could someone direct me to a comprehensive tutorial that is clear enough to be followed and also has tips on how to handle the possible issues that could happen during configuration i would be so thankful

2 REPLIES 2

paul_bakker2
Active Contributor
0 Kudos

Hi,

I know this isn't the answer you're hoping for, but you should get yourself some proper IDOC training.

You need to understand the concepts before you learn the config steps. They will make more sense that way, and the result will be a lot more robust.

Painful step-by-step tutorials can only cover one or two scenarios so you don't really learn much from them.

Does your employer offer any training? Often if you don't ask, you don't get!

cheers

Paul

Former Member
0 Kudos

Follow these steps

SAP XI

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (IDX1)

a) Select create new button

b) Enter the port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Load Meta Data for IDOC (IDX2)

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1.

SAP R/3

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (We21)

a) First Select Transactional RFC and then click create button

b) Enter the destination port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Create Partner Profile (WE20)

a) Create New

b) Create the Partner no. name as same the logical system name of the destination system.

c) Select Partner type LS

d) Enter details for Type: US/USER, Agent, and Lang.

e) Click on the + button to select the message type.

f) Select Partner no. and LS which ever create above.

g) Select Message type

h) Select Process code related to the Message type.

I) save.

In SLD – System Landscape Directory

TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.

Ts for Third Party (Logical system):-

BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.

BS for Third Party (Logical system):-Enter the XI logical system name.

In Transaction SALE

Define and Assign the logical system name.

after these settings

go to the Business System .

In the menu

go to servive then adapter specific identifiers and check wether the settings are right

Hope this is helpful