Skip Headers
Oracle® Identity Manager Connector Guide for SAP User Management
Release 9.0.1

Part Number B31137-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

3 Testing the Connector

After you deploy the connector, you must test it to ensure that it functions as expected. Tests that you can run on the connector can be divided into the following high-level categories:

Note:

In earlier releases of this guide, the connector was referred to as the integration.

This chapter contains the following sections:

Running Test Cases

You can use the troubleshooting utility to connect to the SAP server and to perform basic operations aimed at identifying the cause of problems. You can also use it to run test cases to test the connector functionality.

The SAP User Management_versionno\troubleshoot directory contains the troubleShoot.properties file. The troubleshooting utility uses this file to connect to the SAP server. This file contains the following information:

This file also contains commands to test the connector functionality. You need to make the place the contents of the troubleshoot directory in the installation media in a test directory, for example: C:\test\troubleshoot.

Next, set the following SAP server connection parameters in the troubleshooting.properties file:

sapClient=800
sapUser=xellerate
sapPassword=project
sapLanguage=EN
sapSystem=00
sapIP=172.20.70.206
sapType=R3
SAPsnc_mode=0
SAPsnc_myname=p:CN=win2003, OU=SAP, O=ORA, C=IN
SAPsnc_qop=3
SAPsnc_partnername=p:CN=I47, OU=SAP, O=ORA, C=IN 
SAPsnc_lib=C:\\usr\\sap\\sapcrypto.dll

In the log.properties file in the same directory, set the path for the log files in the following parameter:

log4j.appender.logfile.File=log_file_path

Note:

Ensure that all the JAR files associated with this connector are included in the CLASSPATH.

Creating a User

To test the connector for the creation of a user, specify the following information for a new user object in the troubleshooting.properties file.

userId=R37003
password=IKK123
dummyPassword=OERFYE
lockStatus=UnLock
userGroup=SUPER
lastName=kiran
firstName=inguva
userTitle=Mr.
langComm=E
department=IT
langLogIn=N
timeZone=AUSVIC
telephone=12345678
extension=1234
Fax=12345678
email=sapuser@sap.com
dateFormat=1
decimalNotation=X
function=Function
roomNo=06
floor=1st
building=LBP
code=1
commType=FAX 
alias
startMenu=000
userType
dummyPwd=INITIAL
validityDate=
validityChange=
lockChange=
pUserGroup=

On the command line, use the following command to create a user:

java -DTproperties=connector_test_directory\troubleshoot\troubleShoot.properties -Dlog4j.configuration=file:\connector_test_directory\troubleshoot\log.properties TroubleShootingUtility C

Deleting a User

Delete an SAP R3 user as follows:

java -DTproperties=connector_test_directory\troubleshoot\troubleShoot.properties -Dlog4j.configuration=file:\connector_test_directory\troubleshoot\log.properties TroubleShootingUtility D

Modifying a User

Specify the following parameters in the troubleshooting.properties file to modify a user:

changeUserId=cuakk21
fieldName=
fieldValue=jane
bapiKey=ADDRESS
bapiKeyX=ADDRESSX

Use the following command to modify a user:

java -DTproperties=connector_test_directory\troubleshoot\troubleShoot.properties -Dlog4j.configuration=file:\connector_test_directory\troubleshoot\log.properties TroubleShootingUtility M

Testing Reconciliation

To test reconciliation, specify a timestamp for the From Date of the reconciliation run as shown:

fromDate=Apr 10, 2006 at 10:00:00 GMT+05:30

To test reconciliation from the timestamp specified to the current time, run the following command:

java -DTproperties=connector_test_directory\troubleShoot.properties -Dlog4j.configuration=file:\connector_test_directory\troubleshoot\log.properties TroubleShootingUtility R

Troubleshooting

The following table lists solutions to a commonly encountered problem associated with this connector.

Problem Description Solution
Oracle Identity Manager cannot establish a connection to SAP.

Returned Error Messages

SAP.CONNECTION_ERROR

  • Ensure that the SAP server is up and running.
  • Ensure that the IP Address of the SAP server is correct.

  • Check that information in the IT Resource, such as the user name and password, are correct.

  • Restart SAP server if nothing works.