SAP .Net Connector 3.0 - How can I send an idoc from a non-SAP system?

孤街浪徒 提交于 2019-12-01 12:43:42

As far as I know there is currently no development library offered by SAP for the .NET Connector (NCo) for dealing with IDocs. If you would like to use the NCo, you have to code this IDoc handling stuff on your own. It's possible because also IDocs are usually transferred by calling special Remote Function Modules (e.g. IDOC_INBOUND_ASYNCHRONOUS). But this can become really cumbersome and difficult, especially if it should also work with non-unicode ABAP systems and multi-byte code pages like Chinese, Japanese or Korean.

But if you do not need to stick to NCo, I think the easiest way to do own development with using IDocs, is to switch to Java and use the SAP Java Connector (JCo) in conjunction with the SAP Java IDoc Class Library add-on. NCo and JCo have a very similar API, but this Java IDoc Class Library add-on is what is unfortunately missing for the .NET environment - at least it is not offered by SAP and I also do not know any other .NET library for this.

There is no functionality within the NCO to send IDOCs, the NCO is intended for development of RFC clients or RFC servers using .NET. A simple search on stack I found the following with some suggestions that might help you if this is still the way you want to go.

How to create and send Idocs to SAP using SAP .Net Connector 3

BTW I wouldn't say that IDOCs are the standard communication tool for SAP, it is one of many and they are all equally valid so just depends on your situation.

Later...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!