cancel
Showing results for 
Search instead for 
Did you mean: 

Unale to configure CRM with PI

Former Member
0 Kudos

Hi Experts,

I'm facing problem in configuring CRM server with PI server for sending IDOCs

Could you provide me with the step by step procedure ALE/IDOC configuration

Thanks

Praveen

Accepted Solutions (1)

Accepted Solutions (1)

former_member183906
Active Contributor
0 Kudos

Apart from all, you need to convert BDOC to IDOC. It can be done as below-

Idocs can be used to send messages to an EDI sub system in contrast to an ALE converter ,The EDI sub-system does not use direct program to program communication for transferring IDocs.

Create RFC destination (SM59)

Create logical ssystem(sale)

Create receiver port WE21

Create partner profile WE20

Enter outbound parameter

Create Site(SMOEAC)

Maintain subscription for publication

Assign maintained site to interface type

Former Member
0 Kudos

Dear Vijaynath,

Thanks for the information, but I'm getting error

Transaction IDX1 : port SAPCRD client 251 contains RFC destination error

I have created RFC destination, Port, Partner Profile, properly.

RFC destination working fine in CRM. And I have maintained RFC destination, IDX1, and IDX2 in PI.

when I'm posting the IDoc from test environment (TCode WE19)

it is giving the above error.I'm posting the IDOC that is generated from BDOC through we19 TCode.

Please reply me soon

Praveen

Edited by: Praveen Kurni on Sep 6, 2008 8:14 AM

Former Member
0 Kudos

Dear Experts,

Any help regarding this issue.

Thanks in advance

Former Member
0 Kudos

So your IDOC has never got XI system, it is correct?

And in WE02 or WE05 of your CRM an error related with a RFC is displayed, it is correct?

Have you check the test connection in SM59? Do remote logon, not only connection test

What user are you using in this connection? Check if this user is locked in your XI system.

Regards,

Carlos

Answers (4)

Answers (4)

Former Member
0 Kudos

got the answer.

many thanks for the replies

Former Member
0 Kudos

Dear Experts,

Many thanks for sending configuration details. I'm getting one error RFC destination can't be reached in CRM.

Test connection is working fine and Remote logon working fine.

I think you are aware of CRM server how it communicates with other systems. It is using XIF in middle to convert BDOCs to IDOCs. so literally speaking we got

CRM>XIF>PI. So do I need to provide any other configuration details apart from normal configuration.

Thanks

Praveen

former_member192295
Active Contributor
0 Kudos

Hi,

Follow below steps

1. Define Logical system (bd54) and assign logical system to client (scc4) at CRM

2. Define RFC destination(sm59) and configure receiver system parameters for triggering idoc

3. Define port(we21) and partner profile(we20), in partner profile outbound window configure idoc parameters & ports properly

4. In XI import idoc from CRM in IR window

5. Create IDX1 & IDX2 ports

6. Define Logical system & RFC destination in XI system (based on receiver system)

7. configure scenario according to your requirement in IR & ID window

Triggered idoc from crm system it will reach to XI, we can see IDOC through IDX5 transaction. after that we can see transaction complete log in SXMB_MONI transaction code.

I hope above one will hlep u

Former Member
0 Kudos

Hi Praveen,

Steps to be done:

1. create LS for your SAP R/3 system

2. LS for your SAP XI system

3. Create Business system for the SAP R/3 system in the SLD ( Assign LS to the TS associated with this BS)

4. Create RFC destination (SM59) and port(WE21) pointing to SAP XI in SAP R/3 system

5. Create RFC destination (SM59) and port(IDX1) pointing to SAP R/3 in SAP XI

6. Create Partner profile WE20 in SAP R/3

7. Complete your COnfig in integration Repostioruy and Directory.

To check ALE Settings:

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

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.

Go thru this -

Go thru these for Idoc to XI scenarios-

Regards,

Swathi

Edited by: swathi suresh on Sep 5, 2008 1:44 PM

Edited by: swathi suresh on Sep 5, 2008 1:46 PM