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

SAP .NET Connector IDOC receiver/sender

We are currently trying to create a middleware application to link a SAP system to a non-SAP system. We were thinking of using the IDoc Connector for XML in order to send/receive XML formatted IDocs to and from the SAP system. Unfortunately it has come to our attention that you cant use this component without using the SAP DCOM connector (for authentication), which we are trying to avoid as its support is being discontinued. We would like to use the .NET Connector but are wondering if this connector supports XML transport of IDOC's (send/receive)?? If not does it allow for support of the IDoc Connector for XML control... IE will it authenticate for that component? If the .NET connector doesn't support XML transport of IDOC's does anyone know how IDOC's are handled within this environment... do they come out as straight text... that we will parse... or some other object???

Any information you can supply in this area would be greatly appreciated.

Thanks for the help


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 29, 2003 at 05:24 PM

    Hello Dave,

    the .NET Connector currently has a feature that supports uploading and downloading of Text-based IDocs. We are planing to extend the IDoc support in the following ways:

    - WebAS 6.20 and higher can support HTTP uploads and dowloads of XML idocs directly. To use them from .NET you don't need additional software. Just grap the XML schema of your IDOC (e.g. from and use Microsoft's tool XSD.EXE to generate classes for the IDOC. Then you use XmlSerializer to read or write your classes from/to SAP server.

    -For older SAP servers we are currently implementing an "IDocSerializer" class that does the same reading and writing of your classes, but to the "text" idoc format. This serialized data can be written to or read using the existing IDocSender/IDocReceiver classes.

    - Both together allow you to do conversion between text idocs and XML idocs in .NET.

    Hope this information helps you.


    Add a comment
    10|10000 characters needed characters exceeded

    • As I wrote before, there will be a .NET connector feature to parse/generate text based IDOCs in a strongly typed fashion in a future version. Don't ask me when this version will be available.

      If you need this feature now, you need the structure of the IDOC with all it's length and offset information, e.g. from the schema files on

      If you need a generic tool to create /send/receive IDOCs, you can use XI server or SAP Bussiness Connector.


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.