cancel
Showing results for 
Search instead for 
Did you mean: 

how to do idoc to file cenario?

Former Member
0 Kudos

Hi,

how we can do idoc to file cenario in sap-xi,

pls explain me?

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

Dear Madhu,

STEPS TO CREATE RFC DESTINATION:-

1. Create RFC destination in sm59.

2.Go to we21 and create a port.

3.Go to sale and create a logical system.

4.Go to we20 and create a partner profile

Steps in Design:

1. Import idoc from sap system through imported objects.

2.Create a datatype for outbound interface.

3.Create message type for that datatype.

4.Create the message interfaces

5.Now map the idoc fields with the file fields in Message Mapping.

6. Create Message interface for Message Mapping.

Steps in Configuration:

1.Create a Scenario for idoctofile.

2.Choose Service without party and in that import a service for the business system.

3.Now in Business Service create a new service for idoctofile.

4.Now create a receiver communication channel for the file.

5.Create receiver determination for idoctofile

Give sender service and receiver service in receiver determination.

6.Create interface determination

7.Then create receiver agreement.

To trigger an idoc:

1.Go to we19 and give idoc basic type and execute it.

Former Member
0 Kudos

HI

Refer the below links

FILE TO IDOC:

flat file to any Idoc /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping

Troubleshooting File to IDOC

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

idoc to file

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

Collection of IDoc to Single File

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

Handling different partners for IDoc

/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party

IDOC troubleshooting

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

cheers

Former Member
0 Kudos

Hey,

For Idoc to File Scenario you need to do ALE settings on R3 side as well XI side.

refer to the following Steps.

Steps for ALE settings:-

Steps for XI

Step 1)

Goto SM59.

Create new RFC destination of type 3(Abap connection).

Give a suitable name and description.

Give the Ip address of the R3 system.

Give the system number.

Give the gateway host name and gateway service (3300 + system number).

Go to the logon security tab.

Give the lang, client, username and password.

Test connection and remote logon.

Step 2)

Goto IDX1.

Create a new port.

Give the port name.

Give the client number for the R3 system.

Select the created Rfc Destination.

Step 3)

Goto IDX2

Create a new Meta data.

Give the Idoc type.

Select the created port.

Steps for R3.

Step 1)

Goto SM59.

Create new RFC destination of type 3(Abap connection).

Give a suitable name and description.

Give the Ip address of the XI system.

Give the system number.

Give the gateway host name and gateway service (3300 + system number).

Go to the logon security tab.

Give the lang, client, username and password.

Test connection and remote logon.

Step 2)

Goto WE21.

Create a port under transactional RFC.(R3->XI)

Designate the RFC destination created in prev step.

Step 3)

Goto SALE.

Basic settings->Logical Systems->Define logical system.

Create two logical systems(one for XI and the other for R3)

Basic settings->Logical Systems->Assign logical system.

Assign the R3 logical system to respective client.

Step 4)

Goto WE20.

Partner type LS.

Create two partner profile(one for XI the other for R3).

Give the outbound or inbound message type based on the direction.

Step 5)

Goto WE19

Give the basic type and execute.

fill in the required fields.

Goto IDOC->edit control records.

Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)

Click outbound processing.

Step 6)

Go to SM58

if there are any messages then there is some error in execution.

Goto WE02.

Check the status of the IDOC.

Goto WE47.

TO decode the status code.

Step 7)

Not mandatory.

Goto BD64.

Click on Create model view.

Add message type.

BD87 to check the status of IDOC.

In case if not authorized then go to the target system and check in SU53, see for the missing object

and assign it to the user.

Once this is done you can import the idoc in Your XI in the Imported Objects.

Now create the Data type and message type for the receiver file Structure.

Map the Idoc with the receiver file structure.

Do your Interface mapping and the required configuration Steps.

reward points if useful.

regards,

Milan

Former Member
0 Kudos

Dear Madhu,

I hope you can do a working scenario of IDOC-to-File with the links given by experts.

If you got the answer plz close the thread by selecting question answered.

Reagards

Praveen

Former Member
0 Kudos

Dear Madhu,

I hope you can do a working scenario of IDOC-to-File with the links given by experts.

If you got the answer plz close the thread by selecting question answered.

Reagards

Praveen

Former Member
0 Kudos

Hi madhu sudhan ,

The following r excellent websites containing PDF & PPT docs explaining in detail along with screen-shots

idoc to file cenario:

A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd...

How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0

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

Introduction to IDoc-XI-File scenario and complete walk through for starters.

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

IDOCs (Multiple Types) Collection in BPM

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

cheers!

gyanaraj

****Pls reward points if u find this helpful

aashish_sinha
Active Contributor
0 Kudos

Hi,

PLease refer this link

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd...

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi,

please have a look here:

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

Regards

Patrick

Former Member
0 Kudos