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

IDoc change into XML in PI

Hello @ll,

I need to convert an IDoc ORDERS05 into an XML Message within Enterprise Service Builder. The XML Message will be send via FTP to a Navision System later.

What are the required steps to accomplish that task?

I have already imported the IDoc ORDERS05 into PI Enterprise Service Builder.

I have opened the IDoc on the left side in the Message-Mapping dialogue. How do I convert it into a XML Message on the right side? Do I have to create a new Message-Type or a Data-Type and then copy the Source code from the IDoc to the new Message?

Is there any good tutorial or documentation on this issue?

Please help. I am totally new to this.

Thanks

Gorbi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2008 at 07:46 PM

    Hi Gorbi,

    Point1 :You dont need to create a data type or message type or message interface for IDOC. IDOC can be directly used in the message mapping as well as in interface mapping.

    In your case, If you just want to convert your ORDERS05 idoc into xml format. You dont even need to create a message mapping or interface mapping.

    Once IDOC is imported in IR, you can directly switch to the Integration directory and create follow the below steps to create your xml file.

    In ID , you have to create

    a Receiver File communication channel

    One interface determination

    One receiver determination and

    One Receiver Agreement.

    No sender Agreement.

    For more details, you have documents link already provided above.

    Thanks,

    Pooja

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2008 at 06:13 PM

    Hi,

    you can directly use the same idoc on the target side also.

    Map all the required fields from source to target

    Configure the Receiver File Adapter it will generate the XML file without any content conversion required.

    Refer this IDOC to File scenario :

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

    regards

    Ganga

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 16, 2008 at 06:23 PM

    You need to create a idoc to file scenario. create data type,message type,interfaces,mapping and interface mappings. and routing,collaboration agreements in ID part.

    thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2008 at 07:36 PM

    Hi Gorbi

    You can use the same IDOC as the File structure. Check with the guide given above

    Do all IR steps MI (MM, IM)(optional) and ID steps (RA, ID, RD) and test it.

    Thanks

    Gaurav

    Correction for IR & ID steps Thanks Pooja !!

    Edited by: Gaurav Bhargava on Dec 17, 2008 1:25 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 01:02 PM

    Hi @ll,

    thanks for your help, i will try your solution, sounds really easy.

    I keep you informed.

    Thanks a lot!

    Regards

    Gorbi

    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.