Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Flat file to Iinbound DOC conversion

Former Member
0 Kudos

I have requirement to pick up file up the .txt input files from INPUT archive folder of Seeburger system, converting them to IDOC to trigger the SAP XI system.

I am developing pOC on it.

Idoc is inbound.It use program for creating idoc RSEINB00.

Can any one tell me stepwise procedure to create Idoc?

Please focus more on we21 transaction that which parameter we can put in it?

I wanted to pick up file from my local system.Is it possible?

7 REPLIES 7

Former Member
0 Kudos

Hi,

To start receiving IDOCs from any other system below are the basic steps:

1. Transaction WE20 : Create an appropriate partner profile. Say if data is recived from legacy systems

partner type should be LS (Logical System). Define the message type, process code and processing mode.

2. Transaction WE21: Create an appropriate port tRFC port, File port etc and mention RFC details/ file location details.

3. Transaction SM59 : Maintain RFC destination. Else if it is a file port ensure that the file folder is created.

Regards,

RK.

0 Kudos

Hi

Can u elaborate steps in details manner?

If I ma using program RSEINB00 to create IDOC .then which RFC should I mentioned?

In WE21,What are essential parameters? From where I will get Value?

If u paste any screenshot it will help me lot

Edited by: harshalata Gaonkar on Apr 22, 2009 7:15 AM

Former Member
0 Kudos

hi ,

To start receiving IDOCs from any other system below are the basic steps:

1. Transaction SM59 : Maintain RFC destination. Else if it is a file port ensure that the file folder is created.

2. Transaction WE21: Create an appropriate port tRFC port, File port etc and mention RFC details/ file location details.

hope it will help u .

0 Kudos

hi

My question is which RFC should I mentioned.if already program is there to convert file rto IDOC then there is any need to create RFC?

Can i pick file from my hard disk D drive?

0 Kudos

Hi,

best thing to do in your case would be to create a file port. Thus you dont have to create a RFC destination etc. Simply go to WE21. Select folder FILE and click on Create Icon. You need to define the inbound file location here it will be something like /usr/sap/P01/interface/outbound/data/

Also you might need to take help of BASIS cosnultants to create the appropriate folder which you have mentioned in the Inbound File. Once this is done place the file at this location.

Then go to program RSEINB00 and select the appropriate File Port and location and proceed.

Regards,

RK

0 Kudos

HI

I have done changes as you suggested.

Now IDocs are getting created.

But it is throwing 56 error.Partner profile error.

I have added Parameter in Inbound file in TRanscation WE20.Even I ma getting error.

Parametrs added are MSGTYPE,Process Code.

But in Process code is there any need of assign FM?

Former Member
0 Kudos

close