SAP Professional Journal –
Writing programs that exchange Intermediate Documents (IDocs) with an SAP system has traditionally been difficult, requiring you to either spend considerable time and effort writing complex custom code or license expensive third-party middleware. But it doesn’t have to be that way anymore. This article, the first in a two-part series, introduces the new SAP Java IDoc Class Library, a free add-on to the SAP Java Connector. Through many working examples, you will learn how to use this library to write efficient and reliable Java programs that compose and send IDocs to an SAP system (i.e., IDoc client programs), and how to implement robust transactional RFC (tRFC) management for the IDoc client programs.