Skip to Content
author's profile photo Former Member
Former Member

How to read an IDOC flat file and send it to XI

Hi,

I'm looking for a way to read a complicated Idoc structured flat file sent to XI by a legacy system and then pushing that data to and R/3 system. Can anyone recommend a good technique?

Thanks,

Steeve

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 04:01 PM

    Hi Steven,

    I understand your issue, to pickup an IDOC flat file & post it to R/3 (with or without mapping).

    There is no straight forward solution but there are some ways (Normal way of Working as of now ?!!!) provided in the "How to"

    check this link

    https://websmp101.sap-ag.de/nw-howtoguides

    and look for this guide

    How To Convert Between IDoc XML and Flat Files in XI.30

    Probably you need to automate this using some programs,

    - Create an ALE port of type File

    using transaction WE21 on your

    Integration Engine.

    - Run report RSEINB00 on your

    Integration Engine. The report will

    upload the file, filter the IDoc header

    data, perform the conversion to IDoc

    XML and put the data into the

    pipeline of the Integration Server.

    Therefore it is crucial, that the IDoc

    control record data is populated

    correctly and corresponds to the

    adapter-specific identifiers of your

    sender service. Once the message

    is put successfully into the pipeline

    of the Integration Server, the file is

    deleted.

    Hope this fixes your issue

    Regards

    Vishnu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 05:34 AM

    hi steven....

    this shud help u...

    for File XI IDoc

    File->XI->IDOC (how to start?)

    also check this blog for specifying adapter specific identifiers in this scenario

    These are steps to follow:

    STEPS IN DESIGN

    1. Import idoc from the SAP System (SAP02) through imported objects.

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

    3. Create Message Mapping with file Message and idoc (Matmas04)

    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. Mention the RFC Destination and the port created for the same.

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

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

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

    8.Create the Receiver Agreement for the Business system.

    TCODES for File >XI >IDoc

    SM59-rfc destination on recving side

    IDX1-port on recving side

    IDX2-load metadata

    Bus. service adapter specific Identifiers-->Logical sys name (check this blog:/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system )

    we05-IDoc status records

    BD54-Create Partner Number

    We20-Create Partner Profile

    and also go thru this blog...

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

    hope it helps....

    regards...

    vishal

    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.