cancel
Showing results for 
Search instead for 
Did you mean: 

XML file without mapping.

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

> 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?

Former Member
0 Kudos

Dear Sarvesh,

Actually i want to get target XML file, but dont have the mapping to do the test the mapping and get target XML structure after that.

Thanks.

Former Member
0 Kudos

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.