cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert iDocs in flat format to Xml

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

After my first step with ERP consisting in getting iDocs for changes using the SAP .NET Connector I'm ready for a next step.

From SAP Connector I receive the iDocs in flat format, but it would be much easier if I had them in xml format. Do you know an easy way for transforming them?

I'm a C# developer, so the best solution for me would be to have a small sample showing how to do it.

Thanks in advance

Trinidad.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Trinidad,

you should use ERPConnect.

http://www.theobald-software.com/cms/de/erpconnect.net/erpconnect.net-sap-und-.net-nahtlos-verb.html

This Library is better than SAP .NET Connector. You have here also an void to save the Idoc as XML.

Regards,

Bülent

Former Member
0 Kudos

Hi,

you can also take a look to the new WCF LOB Adapter from Microsoft at http://www.microsoft.com/biztalk/en/us/adapter-pack.aspx, this adapter is certified by SAP and enables you to convert the IDocs into XML documents or you can use SAP directly if you are running on a newer SAP release based on WebAS 6.20 and higher. Take a look to the paper at http://download.microsoft.com/download/5/7/f/57f1490e-8a8d-497b-bbae-ec2a44b3799f/CollaborationBrief... here you will find a guide of how to configure SAP in order to send IDocs in SML format via HTTP, it's standard functionality.

- Juergen

PS: Please provide points if answer was helpful!