cancel
Showing results for 
Search instead for 
Did you mean: 

File to Idoc

Former Member
0 Kudos

Hai ,

can anyone please tell me the step by step scenario of file to idoc scenario.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

FILE TO IDOC SCENARIO

Steps to be followed in Creation of Technical and Business System

Technical System

1 In SLD, click on technical landscape->New Technical System->

WebAS ABAP. Following screen appears.

2. Fill in the SID, installation number and database hostname and click next

3.Enter the instance number and the hostname of Central Application Server

5. Next screen opens for additional application server. Mention the XI server host name and instance number and proceed.

6.This step is of high importance because the logical system name must be declared here. Once this technical system creation is done we cannot add a logical name for it later.

So though it is mentioned as optional create a logical name

7.Add the software components required for the technical system being created.

Creation of Business System.

1. Goto Business Landscape->New Business System->Name the business system ( eg SAP02).

2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.

3. Select the technical system for the business system.

Steps in Design:

1. Import idoc from sap system(sap27) through imported objects.

. 2. Create Data Type for outbound type.

3.Create message type for the Data Types

4.Create the Message interfaces.

4.Map idoc fields to the Message type.

5.Map the Interfaces Crreated

Configuration Scenario

1. Create the RFC Destination in SM59.

2.Create Port in IDX1.

3.Create Logical System in BD54

4.Create A Scenario

5. Select a Business System in Service with out Party

6.Create a Receiver Communication Channel.

7. Create a new Business Service

8. Create a new Communication Channel

9. Mention the logical Name in the Service->Adapter Specific Parameters of both the File Sender Service as well as the business system.

10. create sender agreement

11. Create Receiver Determination

12. Create Interface Determination

13. Create Receiver Agreement

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

for file to idoc scenario u ahce to do the following things in the XI.

create the source data type

source message type

outbound message interafce

no need to carete the inbound message interface since u r using the IDoc.

message mapping b/w the sorce message type and the idoc

interface mapping

ID part:

create the sender business service

add business system as receiver in ur scenario

craete the sende communication channel as file

craete the receiver communication channel as idoc

craete the sender agreement

carete the receiver determination

craete the interface determination

craete the receiver agreement.

in the idoc adapter u have to define theRFC destinarion

the RFC destination u will create in the R/3 system using the transaction SM59 that will ping to ur XI server.

so the RFC destination u will creat in the R/3 u will give the sam RFC destination name i the IDoc adapter

if u still face the problem please reply me back.

Thanks

Rinku

Former Member
0 Kudos

Hi,

Refer this links:

Thread:

this provides complete picture of the scenario.

Also refer to these links:

How To…Convert an IDoc-XML structure to a flat file and vice versa in XI

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1...

Troubleshooting File-to-IDOC Scenario in XI.

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

regards,

Nithiyanandam

Former Member
0 Kudos