cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC TO FILE SCENARIO

former_member529475
Active Contributor
0 Kudos

Hi

Hi I am doing Idoc to File Scenario in XI 3.0

In R/3 I created LS,RFC,PartnetProfile as decclnt150 and in XI I created it as dxiclnt111.

and using we19 i generated an IDOC and it will be sent to my xi system. in we05 i am getting the green status and the idoc is successfully transfered with status code 03. but i am not getting the idoc in xi.

then I went for sm58 there it shows no service for sapdec, client 100 in the Integration directory......

What it is ? how is it rectified....

1) I am working in SAP XI(PI) 7.0 & it allows you to make Sender Idoc Adapter, now how do I need to configure it. Do I need to give the name of this Adapter same as the port/RFC Destination, I created in SAP R/3 with we21/sm59.

2) In we20 ( partner profile ) on SAP R/3 do I need to give

Legacy Server logical System name ( from SLD )

XI Server logical system name ( from SLD )

SAP R/3 logical system name ( from SLD )

3) I need Idoc XML format in Legacy Server, Do I still need to create XI Data types to store/map Idoc fields ?

Regards

- Lalit -

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Vasu,

You can also get status successful but IDOC will not go when you opt for "collect IDOC" in Partner profile definition.

Regards,

Chintamani

former_member192798
Active Contributor
0 Kudos

Hi Vasu,

SLD-

1) Create a Product/Software Component

2) Technical System pointing to R/3 system

3) Business System for the above technical system

In the Repository

1) Import the Software component created in the sld

2) Create a namespace,

3) import the idoc and then create sender data type/message type etc and mapping

4) Mapping Rules is depends on the requirement

In the Directory

1) Create a Scenario /import the business system

2) Create Receiver/Interface determination

3) Create communication channels for sender and receiver

4) Sender Agreeement and Receiver Agreement.

Then the file adapter configuration is depend on the input file format.

Also you need to have Logical destionation created in the XI , and the IDX1 entry

In R/3 Port, Partner profiles etc should be created

Have a look into this document~

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38...

In addition do the following in XI:

1. SM 59 - Create RFC destination pointing to R3.

2. IDX1 - Create a port for R3

3. IDX2 - Import IDOC metadata.

Regards.

Praveen

former_member192798
Active Contributor
0 Kudos

Hi Vasu,

Cross check whether you have covered all these steps:-

SLD-

1) Create a Product/Software Component

2) Technical System pointing to R/3 system

3) Business System for the above technical system

In the Repository

1) Import the Software component created in the sld

2) Create a namespace,

3) import the idoc and then create sender data type/message type etc and mapping

4) Mapping Rules is depends on the requirement

In the Directory

1) Create a Scenario /import the business system

2) Create Receiver/Interface determination

3) Create communication channels for sender and receiver

4) Sender Agreeement and Receiver Agreement.

Then the file adapter configuration is depend on the input file format.

Also you need to have Logical destionation created in the XI , and the IDX1 entry

In R/3 Port, Partner profiles etc should be created

Have a look into this document~

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38...

While doing an File -> XI -> IDoc scenario, The Points to noted are:

1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.

2. You import the IDOC and use the same in your mapping.

3. In this configuration note that you will need a sender agreement for the file.

4. In this configuration note that you will also need a receiver agreement for the IDOC.

For any File -> XI -> IDoc scenario ref:

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

Hope this helps you.

Regards.

Praveen