cancel
Showing results for 
Search instead for 
Did you mean: 

idoc to idoc

Former Member
0 Kudos

Hi All,

I have to configure idoc to idoc scenario. Also I have to do necessary configurations at r3 source side, xi side and r3 target side. For this, I have studied various weblogs and got confused.

I kindly request not to send the links, plz send in detail what tcodes are used in what system. like in r3 source what tcodes, xi side what tcodes and in r3 target what tcodes are used?

Regards,

Anil.

Accepted Solutions (0)

Answers (2)

Answers (2)

deviprasad_pothireddy
Active Participant
0 Kudos

Hi Satish

Also refer the tunneling concept

/people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get by Michal

Regards,

Deviprasad.

former_member529475
Active Contributor
0 Kudos

HI Satish

Refer the links given below...

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

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

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

<u><i><b>Steps</b></i></u>

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.

Cheers..

Vasu

<i>** Reward Points if found useful **</i>

Former Member
0 Kudos

Hi,

so in my scenario sourcer3->xi->targetr3,

In source R3 system, in SM59 I need to creaate RFC destination pointing to XI server

and in XI server, in SM59, I need to create RFC destination pointing to target R3 server.

am I right?

or in xi server i need to create rfc destinations to both source n target r3 systems?

plz clarify

anil.

Anil.

Former Member
0 Kudos

>>In source R3 system, in SM59 I need to creaate RFC destination pointing to XI server

and in XI server, in SM59, I need to create RFC destination pointing to target R3 server.

am I right?

This is the correct way.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi,

Sorry for late reply.

I configured idoc to idoc scenario. I took standard idoc at both source n target systems and did one to one graphical mapping. I created sender idoc com channel though its not required.

1.now how can i test the scenario?

2. how can i ensure that idoc is delivered from source system?

3. how can i ensure that idoc is reached from source to xi system?

4. how can i ensure that idoc is transferred from xi to target system?

Please guide me.

Regards,

Anil.

Former Member
0 Kudos

>>1.now how can i test the scenario?

For testing purpose, I would use WE19 transaction.

>>2. how can i ensure that idoc is delivered from source system?

If it is not delivered from source, you will either have a error status in WE02 or SM58.

>> how can i ensure that idoc is reached from source to xi system?

If IDOC has reached XI, you can see a corresponding entry in SXMB_MONI

>> how can i ensure that idoc is transferred from xi to target system?

In SXMB_MONI, when you scroll to right, you will find another flag that indicates wheter the IDOC has been sent to target or failed.

Regards,

Jai Shankar

Former Member
0 Kudos

1.now how can i test the scenario?

from the sender use WE19 to generate the idoc

2. how can i ensure that idoc is delivered from source system?

run report RBDMOIND in the sender (idoc status update)

look in WE05 and check that for the idoc status = 12

3. how can i ensure that idoc is reached from source to xi system?

as step 2 and check in XI SXMB_MONI

4. how can i ensure that idoc is transferred from xi to target system?

check the that the column 'C' in SXMB_MONI contains a chequered flag and in the target check in WE05 if your idoc is there.

Regards,

Sergio

former_member529475
Active Contributor
0 Kudos

Hi Anil

1. You can create the idoc using the test tool we19

2. You will see the status of the idoc using we05. If the idoc generated is with status 03 then the idoc is successfully delivered in the xi server. Also see the log errors in the sm58 at r3.

3. You can see the idoc as inbound to xi using the tcode idx5 in xi

4. You can see the success message in the moni..

Cheers..

Vasu

<i>** Reward Points if found useful **</i>

prateek
Active Contributor
0 Kudos

<i>1.now how can i test the scenario?</i>

bd14 to send a test idoc. also check we19

<i>2. how can i ensure that idoc is delivered from source system?</i>

when sent, it will show a Message specifying that IDOc sent successfully. U may view it in we05

<i>

3. how can i ensure that idoc is reached from source to xi system?</i>

first check for idx1 and idx2.. check for outbound status in moni

<i>4. how can i ensure that idoc is transferred from xi to target system?</i>

the message will be shown in sxmb_moni (of course with checked flag)

Regards,

Prateek

Former Member
0 Kudos

Hi,

Thank you all for giving answers.

I opened we19 in source r3 system, gave my idoc message type, i could able to see the segments only, not the fields in that...also the data fields are blank.

now do i need to give data manually? after giving data shall i click the test idoc for outbound processing?

plz guide me in sending the idoc with filled data.

thanks,

anil

Former Member
0 Kudos

yes, exactly.

Which idoc are you using?

Former Member
0 Kudos

Hi Satish,

<i>I opened we19 in source r3 system, gave my idoc message type, i could able to see the segments only, not the fields in that</i> - Click on these segments, then you will see the fields in these segments.....

<i>now do i need to give data manually?</i> - Yes

<i>after giving data shall i click the test idoc for outbound processing?</i> - Yes, and you will have to give the target port of XI which you have created in R/3.......then your idoc will be triggered from R/3 and it will reach XI.......

Thanks,

Rajeev Gupta

Message was edited by:

RAJEEV GUPTA

Former Member
0 Kudos

Hi,

i am using GLMAST01 as Basic type in we19.

even if i click or double click on segments I am not getting the field names. its giving an window with title change data record.

i m struck here.

anil.

Former Member
0 Kudos

Hi,

got it, the change data record consists of field names.....

as i m new to idoc, got many doubts.

awarded points to all.

thanks,

anil.

Former Member
0 Kudos

Hi,

if i want to send an idoc with n number of records at a time, how can i do this?

anil.

Former Member
0 Kudos

Hi Satish,

By we19, you can use an existing IDOC with multiple records by the IDOC number of the existing IDOC and you can retrigger this IDOC......You can see the existing idocs by we05 transaction.....if you want to trigger a new IDOC with multiple records then you will have to ask the functional guys which screen triggers those idocs and then by executing that screen you can trigger a new IDOC.......

Thanks,

Rajeev Gupta