On This Page

Overview

See the iJAG FAQ for instructions on generating Java data object classes for an SAP RFC.

The sap2java open source project provides a developer-friendly API for working with the Open Enterprise Foundation's SAP Java Connector.  This is the code that is executed in the sap2java jar that you will find in your app's WebContent/WEB-INF/lib.

The project also includes a useful tool for the automatic generation of Java data object classes from an SAP remote-enabled function (RFC) interface. 

The iJAG group has modified the sap2java source code to expand its functionality to include handling of more complex RFC interfaces than the original project allowed. On 17-September-2007, per an iJAG decision, the source code was updated to use the same ABAP-to-Java data type mapping that is used in the SAP NetWeaver 2004s product.  This change comprises version 3.0 of the sap2java project. 

Since this change to the data type mapping affected both the wizard and the code accessed in the sap2java jar within your project's WebContent/WEB-INF/lib they have to be in-sync. This means that if an older OAS project needs to have a proxy regenerated because the interface to the RFC has changed or a new RFC has been created for the project, either the project must be upgraded to the latest version of sap2java or, if that is not practical, the proxies must be generated using the version of sap2java that matches the project's sap2java jar.

Revision History

(latest on top)

Date

Documentation Updated By

Description of Change

17-Sep-2007

Amy King

Added comments regarding sap2java version 3.0

16-Aug-2007 

Amy King

Original Version

  • No labels