Testing requirements

Review the software and system requirements for using the SAP capabilities with HCL OneTest™ API.

SAP systems and product libraries

The following SAP systems are compatible with HCL OneTest™ API:
  • SAP R/3 4.7
  • SAP ECC 5.0
  • SAP ECC 6.0
To connect to supported SAP systems, Library Manager must be configured with the required SAP libraries. On Microsoft Windows systems, the required libraries are usually located in C:\Program Files\SAPJCo. Specifically, the SAP JCo (Java™ Connector) v3.x JAR file, sapjco3.jar, is required.
Note: In addition to the JAR file, the sapjco3.dll file must be present within the system path; for example, C:\WINDOWS\System32.
To enable the use of SAP IDocs within HCL OneTest™ API, the SAP IDoc Connector 3.x JAR file, sapidoc3.jar, is required.
Note: Default locations for the specified libraries can be modified by using Library Manager.
Note: The internal version of sapjco3.jar and sapidoc3.jar must be 7.11.x. To determine the internal version, extract the JAR files and use a text editor to open META-INF/MANIFEST.MF. The internal version is recorded in a line similar to the following: Specification-Version: 7.11.1.

You can download the SAP JCo and IDoc libraries from the SAP Service Marketplace website. The architecture of the library must be the same as that of HCL OneTest™ API. For example, if you have installed the 32-bit version of HCL OneTest™ API, ensure that you download the 32-bit Java Connector.

SAP application server requirements

Before you use HCL OneTest™ API with your SAP system, you need an SAP user ID and password that enable access to a dedicated SAP application server. You need authorization from your SAP system administrator to execute remote function calls (RFCs) and access tables in SAP. Such authorization is required to extract metadata from the Business Object Repository (BOR) so that Business Application Programming Interfaces (BAPIs) can be tested with HCL OneTest™ API.

Specifically, ensure that the following RFCs can be executed successfully from transaction SE37 in your SAP GUI: SWO_QUERY_API_OBJTYPES and SWO_QUERY_API_METHODS.

Your login parameters specify the correct language. BAPIs specific to a particular language are not retrieved if you log into SAP with a different language.

Feedback