cancel
Showing results for 
Search instead for 
Did you mean: 

Step by Step Guide - File to IDOC Scenario

Former Member
0 Kudos

Hello friends,

Could anybody help me with file to IDOC scenario step by step ? I need help beginning from creating objects (starting from datatypes) in Integration Repository and Integration Directory for both sender and receiver (file sender and IDOC receiver).

Thanks in Advance.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi MeeRa,

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.

5.Map idoc fields to the Message type.

6.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

Former Member
0 Kudos

Mee,

could you pls give me your email address so that i can send you step by step implementation of file to idoc with screen shots.

Regards,

Ashish

Former Member
0 Kudos

thanx ashish,

my email id is rajesh_sapxi2k5@yahoo.com

Former Member
0 Kudos

Thanks Ashish. My email address: discuss.sap@gmail.com

Pls send me the document for file2idoc step by step.

Appreciate your help.

Thank you so much.

MeeRA

Former Member
0 Kudos

STEPS IN DESIGN

1. Import idoc from the SAP System through imported objects.

2. Create Data Type, Message Type, Message Interface for the Outbound File.

3. Create Message Mapping with file Message and idoc

5.Create Interface mapping between File Interface and the idoc.

Steps to be followed in Creation of Technical and Business System

Technical System

In SLD, click on technical landscape->New Technical System->WebAS ABAP.

Business System.

1.Goto Business Landscape->New Business System->Name the business system.

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

Preconfiguration steps for transfer of data to IDOCS

1.Create a RFC Destination in SM59 of XI Server of type.

2.In transaction IDX1 ,create a port for the client of XI server.

3. The port has to be displayed in the idx2 transaction and we should be able to view the idoc’s which we imported through integration repository.

Steps in Configuration

1. Goto service without party, right click->Assign a business system.

2. Choose the business system to be added.

3. Create a File Sender Service with communication channel for the same.

4. Create an idoc receiver channel under the business system.

5. The Idoc type( which data is to be written) is mentioned as inbound parameter.

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

7. Make the Sender Agreement for theFile Sender with communication channel.

8.Create the Receiver Determination and Interface Determination for the business system.

9.Create the Receiver Agreement for the Business system.

Step for Configuration fo IDOC in R/3

<i>

SM59-rfc destination

IDX1-port

IDX2-load metadata

we05-IDoc status records

BD54-Create Partner Number

We20-Create Partner Profile

WE19-Testing IDoc Processing

</i>

==================================================================

This might also help you :

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

==================================================================

Points to ponder in File to IDOC scenario:

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.

=============================================================

Thanks,

Pooja

Former Member
0 Kudos

hi pooja ,

can u explain wat is useful of IDX2(load meta data) and we19

Former Member
0 Kudos

IDX2 is used to load metadata. http://help.sap.com/saphelp_nw04/helpdata/en/8a/b8b13bb3ace769e10000000a11402f/content.htm

Well its not mandatory but its good practice to do that.

It is useful to do that as per <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi">Mastering IDoc Business Scenarios with SAP XI"</a> by Michal Krawczyk

WE19 is used to test the IDoc using the function module.

Following forum links might help you to understand it better :

Former Member
0 Kudos

which function module given to test the idoc??

Former Member
0 Kudos

Thank you so much Pooja.

MeeRA

Former Member
0 Kudos

Please let me know your mail id. so I can mail the File to IDOC Scenario document. I hope that document may help you.

Thanks,

vinay

Former Member
0 Kudos

hi vinay, can u send me the file to idoc document

Former Member
0 Kudos

This forum might also help you :

Thanks,

Pooja Pandey

agasthuri_doss
Active Contributor
0 Kudos

Hi,

File -> XI -> IDoc scenario

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

http://help.sap.com/saphelp_erp2005/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm

Regards

Agasthuri Doss

MichalKrawczyk
Active Contributor
0 Kudos

hi,

for all IDOC scenarios:

<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>