cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc configuration

Former Member
0 Kudos

Hi Experts,

We have a scenario IDoc to file and back i.e, file to IDoc, so make the scenario work how and what type of configuration need to be done in R/3 and in XI system.( like we20, SM59 in R/3 and IDX1,SM59 in XI)

And we are using three Business system for SAP R/3 QA system with client 10, 13 and 14.

Thanks in advance,

MK

Edited by: mk.xi on May 23, 2008 12:00 PM

Accepted Solutions (1)

Accepted Solutions (1)

samiullah_qureshi
Active Contributor
0 Kudos

Hi

In addition to Milan's reply, you have to configure IDoc receiver communication channel to receive IDoc from XI.

In Idoc receiver communication you can either directly give the info of your R3 system or you can create a *http type RFC destination* pointing towards your R3 system (in SM59) in XI and use it in Communicatoion Channel by selecting Http Destination.

Regards

Sami

Reward points if helpful.

Answers (4)

Answers (4)

Former Member
0 Kudos

Thank you all.

Just couple of questions to clarify the settings.

1. as have to connect back and forth from XI system to R/3 system client 10, 13, 14 and 16. please explain how to create the ports in XI system i.e, the port name = SAPDEV_010, SAPDEV_013

2. as we are using Partner type LI de we have to create the Logical system and assign it in SALE.

Please confirm the above.

former_member208856
Active Contributor
0 Kudos

Hi,

The port will be define as SAPDEV_010, SAPDEV_013 etc., it is OK.

Please use logical system for partner profile and make settings in SALE.

Regards,

Sandeep Kaushik

Former Member
0 Kudos

hi,

you need to create the ports in xi system using t.code IDX1,

the naming converntion should be: SAP<system id of R/3 system>.

and if you have partner type LI no need to create LS

Note: reward points if solution found helpfull

Regards

Chandrakanth.k

Former Member
0 Kudos

hi,

if you are usinf three business systems,then if u want to send the idocs based on the condition then you need to specify the condition , in the receiver determination...check the condition editor over there....

for the settings to be made check the blogs below:

- File to Idoc idoc settings

/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File

/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

idocs - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping

IDoc erros troubleshooting - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process

/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii

see the below links to get more details about IDocs ALE/ IDOC/ XML Troubleshooting of ALE Process - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp

http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm

Note: reward points if solution found helpfull

Regards

Chandrakanth.k

Former Member
0 Kudos

Hey,

refer to the following ALE settings.

Steps for ALE settings:-

Steps for XI

Step 1)

Goto SM59.

Create new RFC destination of type 3(Abap connection).

Give a suitable name and description.

Give the Ip address of the R3 system.

Give the system number.

Give the gateway host name and gateway service (3300 + system number).

Go to the logon security tab.

Give the lang, client, username and password.

Test connection and remote logon.

Step 2)

Goto IDX1.

Create a new port.

Give the port name.

Give the client number for the R3 system.

Select the created Rfc Destination.

Step 3)

Goto IDX2

Create a new Meta data.

Give the Idoc type.

Select the created port.

Steps for R3.

Step 1)

Goto SM59.

Create new RFC destination of type 3(Abap connection).

Give a suitable name and description.

Give the Ip address of the XI system.

Give the system number.

Give the gateway host name and gateway service (3300 + system number).

Go to the logon security tab.

Give the lang, client, username and password.

Test connection and remote logon.

Step 2)

Goto WE21.

Create a port under transactional RFC.(R3->XI)

Designate the RFC destination created in prev step.

Step 3)

Goto SALE.

Basic settings->Logical Systems->Define logical system.

Create two logical systems(one for XI and the other for R3)

Basic settings->Logical Systems->Assign logical system.

Assign the R3 logical system to respective client.

Step 4)

Goto WE20.

Partner type LS.

Create two partner profile(one for XI the other for R3).

Give the outbound or inbound message type based on the direction.

Step 5)

Goto WE19

Give the basic type and execute.

fill in the required fields.

Goto IDOC->edit control records.

Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)

Click outbound processing.

Step 6)

Go to SM58

if there are any messages then there is some error in execution.

Goto WE02.

Check the status of the IDOC.

Goto WE47.

TO decode the status code.

Step 7)

Not mandatory.

Goto BD64.

Click on Create model view.

Add message type.

BD87 to check the status of IDOC.

In case if not authorized then go to the target system and check in SU53, see for the missing object

and assign it to the user.

SAP r3

sm59(status check)(no message)

WE02(status check)

WE05(status check)

BD87(status check)

WE42 process code

WE47 status info.

The only difference between the two will be i.e. idoc sender and reciever is in WE20 i.e partner profile.

for sender select your message in outbound message type

for reciever select your message in inbound message type

reward points if useful.

regards,

Milan

vijay_b4
Active Contributor
0 Kudos

Hi mk,

Dont forget to reward the points

Let me know if you any queries....If you need ill send you idoc basic concepts and some blogs on idoc to file and file to idoc

these are the ALE settings u have to do

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

Reward points if this helps

Regards

Pragathi.

Edited by: Pragathi on May 23, 2008 4:24 AM