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

XML file without mapping.

Hi Friends,

I am doing IDOC-to-File scenario. As XSD to create target structure is not available, hence i need to fix the XML structure which client can use. So i want to get the target message in XML file with values.

By testing the mapping we can do this, but i need to get XML file without mapping.

How can i get XML file without doing the mapping? Any way?

Thanks.

SM.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2010 at 08:28 AM

    > By testing the mapping we can do this, but i need to get XML file without mapping.

    Are you looking for IDOC-xml file? or the xml file structure is something else?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      The concept of "without mapping" ONLY works when source and target structures are exactly same.

      So as you said "XSD to create target structure is not available" therefore it means the structue is different and then will not be possible without creating the target structure to produce the xml file.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2010 at 09:38 AM

    hey,

    If you are creating exactly the same structure as your IDoc structure just follow the following blog.

    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository

    But if you want the XML file without mapping, then you must make sure that IDoc Structure and XML File structure are same.

    Regards

    Ramesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2010 at 06:04 PM

    Hi,

    i hope you have imported the IDOC in ESR. As client has not shared any xml structure from thier side, then you have

    the option of suggetiong IDOC strucuture to be used to simplify the design.But yes you need to share xml/xsd to the client so that they can validate if IDOC strucuture can be used from thier side.

    So if you are planning to use same IDOC structure then:

    Export the XSD of the imported IDOC and share the same.

    You have other option to rename the segments only (based on the segment definition in WE60 to make it more understandable to third party which might be a non SAP and cant make out what EDI_DC40 etc means) in the exported XSD.

    Other way,if you can set up a simple one to one scenario(surely will not take more then 10 mins to set up).

    Import the XSD in external definition, use that as target MT in mapping, run your scenario end to end to genertate a xml

    in any FTP location.this will give you a proper xml with sample IDOC data also.

    Regards,

    Srinivas

    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.