cancel
Showing results for 
Search instead for 
Did you mean: 

File - XI - IDOC

Former Member
0 Kudos

Hi,

I am testing File to IDOC scenario in XI 3.0

I use client 100 as XI system and client 200 as the receiving system.

business systems:

XI system : XID_Business_system

Sender system : FileMat_BS_XX

receiver system : XID

I Use Bank_create idoc.

The file i give as input ( validated in the inteface mapping)

<?xml version="1.0" encoding="UTF-8"?>

<ns:BANKCREATE_MT xmlns:ns="http://um.xiTrainingLabs.groupXX">

<BANK_CTRY>IN</BANK_CTRY>

<BANK_KEY>123</BANK_KEY>

<BANK_METHOD>siva</BANK_METHOD>

<BANK_FORMATTING>123</BANK_FORMATTING>

<BANK_NAME>SBI</BANK_NAME>

</ns:BANKCREATE_MT>

....

XI picks up the file and creates a SOAP XML successfully.

I see two XML's corresponding to this one input file

1) one from sender service to the receiver service -

technical inbound channel - XIRA

technical outbound channel - IDOC

client 100.

sender service : filemat_bs_xx

receiver service : XID

( Here it has picked the correct mapping)

this XML messages has black and white flag

the XML document created is

<?xml version="1.0" encoding="UTF-8" ?>

- <BANK_CREATE01>

- <IDOC BEGIN="1">

- <EDI_DC40 SEGMENT="1">

<TABNAM>EDI_DC40</TABNAM>

<MANDT>100</MANDT>

<DOCNUM>0000000000001835</DOCNUM>

<DOCREL>640</DOCREL>

<STATUS>03</STATUS>

<DIRECT>1</DIRECT>

<IDOCTYP>BANK_CREATE01</IDOCTYP>

<MESTYP>BANK_CREATE</MESTYP>

<SNDPOR>SAPXID</SNDPOR>

<SNDPRT>LS</SNDPRT>

<SNDPRN>LSDEMO</SNDPRN>

<RCVPOR>SAPXID</RCVPOR>

<RCVPRT>LS</RCVPRT>

<RCVPRN>XID200</RCVPRN>

<CREDAT>20070518</CREDAT>

<CRETIM>030736</CRETIM>

<ARCKEY>2FF431D0051F11DCAD2202004C4F4F50</ARCKEY>

</EDI_DC40>

- <E1BANK_CREATE SEGMENT="1">

<BANK_CTRY>IN</BANK_CTRY>

<BANK_KEY>123</BANK_KEY>

<BANK_METHOD>siva</BANK_METHOD>

<BANK_FORMATTING>123</BANK_FORMATTING>

</E1BANK_CREATE>

</IDOC>

</BANK_CREATE01>

2) second one i see a XML from XI system ....

technical inbound channel - IDOC

sender system : XID_Business_system

and there is no oubound channel

here the it shows the error RCVR_DETERMINATION.. and has failed

I dont know why there are two xml messages corresponding to one inbound file.and second why it has failed with RCVR determination from XI system to Receiver system.

can some one please help me on this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sivasakthi,

Have you configured all the settings for the Idocs in the reciever ecc system ?

Why is that you have three business systems defined inthe ID?

Priyanka

Former Member
0 Kudos

Hi Priyanka,

I said three business system including the XI system that is my Client 100.

my sender system is Filesystem

my receiver system is client 200.

i have included the XI system (XID_Business_system - as defined in SLD) also in the ID as a business service.

Otherwise i have done all the required configuration.I am able to test the reverse scenario (IDOC to FILE ) successfully.

I am able to see the messages in IDX5 as well ( as mentioned i am seeing two messages - One inbound and one oubound )

I am new to XI .I am not sure if we get one outbound and one inbound message in IDX5.

Thanks and Regards

Siva Sakthi

Answers (3)

Answers (3)

Former Member
0 Kudos

Hey,

Some trouble shooting.

Check the with transaction IDX2 first can you see the metadata of the idoc you are transferring and then IDX-5 in the XI . Does the idoc you are transferring appear ?

If not then follow the steps as srinivas suggested.

When the message is received at the the IDOC adapter if converts into Native idoc format using metadata. This metadata is accessed at runtime using the port define on the idoc adapter idx1.

If problem still persist post again.

<b>

Cheers,

*RAJ*

*REWARD POINTS IF FOUND USEFULL*</b>

Former Member
0 Kudos

Hi Raj,

I checked the metadata and looks fine.

Can you explain, Why there is a inbound and oubound messages in IDX5 or SXMB_MONITOR. Is it the case normally when the output is IDOC ?

Can you please tell me if the configuration in ID matter once the SOAP XML message is created successfully in XI.

Thanks and Regards

Siva

Former Member
0 Kudos

Siva,

In your case you should see only one message in SXMB_MONI.

Check your sender system information in SXMB_MONI for both messages....is it same? I think it should be different hence there is no receiver for second sender system..

Nilesh

Former Member
0 Kudos

hi Nilesh

yes the sender system for the two messages are different.For second message it is the XI system.

Former Member
0 Kudos

hi

While going to file to idoc scenario u have to follow different steps. ie.

1)Configure your xi sytem creation of rfc destination for your r/3 system in xi system and then createion of port in xi system tcode is idx1.

2)create logical system in the r/3 system in tcode bd54.

3)create a port in tcode we21 and use this logical system.

and then do the remaining steps.....

Reward if useful,

Regards,

Srinivas.D

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Check whether you have created Receiver agreement and cross check the Message Interface you have selected particular to your Scenerio

Regards

Agasthuri Doss