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

.net connector 2.0 and idocs with xml

I want to use the .net connector 2.o to intercept outgoing (from SAP perspective) Idocs. I subsequently like to pass them along as well-formed xml to another application.

Do I need XI for that or is there an easy way to do that in c#. We are trying to replace the BC which is outdated with the .net connector which I have enjoyed using for rfc related applications.

Best ragards

Hans

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 31, 2005 at 09:28 AM

    SAP .NET Connector can send and receive Text-IDOCS (not XML) using IDocSender and IDocReceiver classes. It can NOT automatically interpret or create them.

    For XML-based IDocs you can use Microsoft's XML Servializer (in conjunction with an XSD that you get from ifr.sap.com). To send or receive them, SAP .NET Connector doesn't have a built-in feature. However, AFAIK newer SAP servers (6.20 or higher) have an XML/TCP port that allows to send or receive them directly using normal sockets. Unfortunately I'm not an expert in this area - I can't tell you details. Of cause you can also use XI for sending and receiving XML-IDocs.

    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.