Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Installing, Upgrading, and Uninstalling webMethods Adapter for SAP 10.1 | Upgrading to Adapter for SAP 10.1 | Upgrading from Adapter for SAP 6.5
 
Upgrading from Adapter for SAP 6.5
 
Manually Upgrading
Adapter for SAP 10.1 is compatible with Adapter for SAP 6.5 at the public API level, and it is also compatible with most of the integrations built using Adapter for SAP 6.5.
Please read the following compatibility considerations before upgrading:
*Adapter for SAP 10.1 is compatible with Adapter for SAP 6.5 on the Public Service API; therefore, no action is required for public APIs.
*Adapter for SAP 6.5 uses the previous SAP IDoc Library 2 while Adapter for SAP 10.1 uses the redesigned SAP IDoc Library 3. SAP has changed the package name and internal structure of the SAP IDoc Class Library 3.
The new SAP IDoc Library 3 package name is com.sap.conn.idoc, whereas the package name of the old SAP IDoc Library 2 was com.sap.mw.idoc. The names of the main IDoc Library classes are also changed as follows:
SAP IDOC Library 3 class…
SAP IDOC Library 2 class
com.sap.conn.idoc.IDocDocumentList
com.sap.mw.idoc.IDoc.DocumentList
com.sap.conn.idoc.IDocDocument
com.sap.mw.idoc.IDoc.Document
com.sap.conn.idoc.IDocSegment
com.sap.mw.idoc.IDoc.Segment
com.sap.conn.idoc.IDocSegmentIterator
com.sap.mw.idoc.IDoc.SegmentIterator
com.sap.conn.idoc.IDocSegmentMetaData
com.sap.mw.idoc.IDoc.SegmentMetaData
com.sap.conn.idoc.IDocRecord
com.sap.mw.idoc.IDoc.Record
com.sap.conn.idoc.IDocRecordMetaData
com.sap.mw.idoc.IDoc.RecordMetaData
The redesign of the SAP IDoc Class Library 3 required the following changes to Adapter for SAP 10.1 IDoc Java API:
Package
Changes
com.wm.adapter.sap.idoc.IDataRecord
Return values and arguments might be of different type due to changes in the IDoc Library package structure.
The setField(..) methods have been renamed to setValue(..).
com.wm.adapter.sap.idoc.IDataSegment
Return values and arguments might be of different type due to changes in the IDoc Library package structure.
com.wm.adapter.sap.idoc.IDataDocument
Return values and arguments might be of different type due to changes in the IDoc Library package structure.
com.wm.adapter.sap.idoc.IDataDocumentList
Return values and arguments might be of different type due to changes in the IDoc Library package structure.
An IDataDocumentList may contain only IDocs of the same type. The addDocument(..) methods will therefore throw an IDocException if an IDoc of a different type is added to an non-empty IDataDocumentList.
com.wm.adapter.sap.idoc.IDocDocumentList
Return values and arguments might be of different type due to changes in the IDoc Library package structure.
IDataDocumentList might contain only IDocs of the same type. Therefore, the addDocument(..) methods have been removed. You must use the add(..) or addNew(..) methods instead.
See the API documentation of the SAP IDoc Library 3 for more details.