cancel
Showing results for 
Search instead for 
Did you mean: 

idoc to idoc scenario

Former Member
0 Kudos

Hi all,

I'm an BI consultant but a new comer with XI.

My task is build up a XI system which can do this job:

S1 -


idoc--> Idoc Adapter -


XML> Mapping -
XML
> Idoc Adapteridoc-->S2

can you summarize all of the needed step to install this scenario.

I read the installation document but it's hard for me to follow.

note: points will be rewarded for the valuable answers.

Thanks,

Chuong Hoang

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Welcome to XI

IDOC---IDOC Scenario

http://saptechnical.com/Tutorials/XI/IDocToIDoc/page1.htm

REgards

Seshagiri

Former Member
0 Kudos

Hey,

you need to do your ALE settings on both the R3 servers.

you need to do the settings in XI as well.

I' ll provide you with the 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.

Now the difference betweent sender settings and reciever settings is in partner profile(WE20)

sender idoc will have outbound message

reciever idoc will have inbound message.

Now you XI configuraiton.

SLD:

Create a product

Create a software component.

Create technical systems for each R3

Create business systems over your tech systems.

Integration repository

Import both the Idoc.

do the required mapping

do the interface mapping.

Idoc itself can act as a message type as well as message interface.

Integration directory

Create a configuration scenario.

Assign business systems from SLD.

create receiver communication channel.

you do not require sender communication channel.

create reciever and interface determination.

create a receiver agreement.

regards,

Milan

Former Member
0 Kudos

hi

check the below thread if u have any doubt on this scenario

Note: reward points if solution found helpfull

Regards

Chandrakanth.k

Former Member
0 Kudos

If you are doing to Idoc ->XI->Idoc scenario.

For any interface development, you need to have Interface Determination Step in XI. It is a part of Pipeline Process. But you can avoid createing a message interface, mapping etc based on the requierments. If you are using Idoc/RFCs etc, then no need of creating message interface separately in the Repository. as this itself acts as a message interface.

Refer this doc-

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb...

Is this may help you~ Some problem with Idoc side.

Also reimport the idoc into Repository and activate it..

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b805a43d711d1893e0000e8323c4f/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b805a43d711d1893e0000e8323c4f/content.htm

http://sap.ittoolbox.com/groups/technical-functional/Sap-r3-acct/inbound-idoc-processing-52395

Note: reward points if solution found helpfull

Regards

Chandrakanth.k

former_member537867
Active Contributor
0 Kudos

Hi Chuong Hoang,

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.

Reposting IDocs instead of Recreating - For Testing

/people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi

ALE configuration for pushing idocs from SAP to XI

/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi

IDOC testing using WE19

/people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi

On receiver side just configure partner profile in WE20.

Regards,

Vinod.