Oracle® Fusion Middleware Application Adapters Guide for Oracle Data Integrator 11g Release 1 (11.1.1) Part Number E17466-06 |
|
|
PDF · Mobi · ePub |
This appendix describes the privileges that are required for connecting to SAP System, how you can test the connection outside of ODI using a standalone java utility, and how to uninstall SAP components.
This appendix contains the following sections:
A SAP dialog user is required for connecting to the SAP system, for the RKM installation, and for the LKM execution during development. A SAP RFC user is NOT sufficient. During development, this user must have a developer license key. License keys can be retrieved from http://service.sap.com
. Any execution attempts without this developer license key will lead to failure and may cause the need for clean-up operations.For RKM and LKM execution in production, a SAP RFC user is sufficient. The following sections list the privileges required for using SAP ERP Knowledge Modules:
The authorizations listed in Table B-1 are required for setting up the configuration for the RKM SAP ERP and install the required RFC programs to retrieve the metadata about SAP tables.
Table B-1 RKM SAP ERP Setup Authorizations
Object | Field Name | Value |
---|---|---|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_C_FUNCT |
ACTVT |
|
S_C_FUNCT |
CFUNCNAME |
|
S_C_FUNCT |
PROGRAM |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_DATASET |
ACTVT |
|
S_DATASET |
ACTVT |
|
S_DATASET |
ACTVT |
|
S_DATASET |
FILENAME |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_DATASET |
PROGRAM |
|
S_RFC |
RFC_TYPE |
|
S_RFC |
RFC_NAME |
|
S_RFC |
ACTVT |
|
S_DEVELOP |
ACTVT |
|
S_DEVELOP |
DEVCLASS |
|
S_DEVELOP |
OBJNAME |
|
S_DEVELOP |
OBJTYPE |
|
S_DEVELOP |
P_GROUP |
|
S_DOKU_AUT |
DOKU_ACT |
|
S_DOKU_AUT |
DOKU_DEVCL |
|
S_DOKU_AUT |
DOKU_MODE |
|
S_RFC_ADM |
ACTVT |
3 |
S_RFC_ADM |
ICF_VALUE |
|
S_RFC_ADM |
RFCDEST |
|
S_RFC_ADM |
RFCTYPE |
|
S_RZL_ADM |
ACTVT |
|
S_TABU_DIS |
ACTVT |
|
S_TABU_DIS |
DICBERCLS |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
Table B-2 lists the transaction codes.
The authorizations listed in Table B-3 are required for running a reverse-engineering using the RKM SAP ERP.
Table B-3 Authorizations for RKM Execution
Object | Field Name | Value |
---|---|---|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_C_FUNCT |
ACTVT |
|
S_C_FUNCT |
CFUNCNAME |
|
S_C_FUNCT |
PROGRAM |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_DEVELOP |
ACTVT |
|
S_DATASET |
ACTVT |
|
S_DATASET |
FILENAME |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_DATASET |
PROGRAM |
|
S_RFC |
RFC_TYPE |
|
S_RFC |
RFC_NAME |
|
S_RFC |
ACTVT |
|
S_DEVELOP |
ACTVT |
|
S_DEVELOP |
DEVCLASS |
|
S_DEVELOP |
OBJNAME |
|
S_DEVELOP |
OBJTYPE |
|
S_DEVELOP |
P_GROUP |
|
S_DOKU_AUT |
DOKU_ACT |
|
S_DOKU_AUT |
DOKU_DEVCL |
|
S_DOKU_AUT |
DOKU_MODE |
|
S_RFC_ADM |
ACTVT |
|
S_RFC_ADM |
ICF_VALUE |
|
S_RFC_ADM |
RFCDEST |
|
S_RFC_ADM |
RFCTYPE |
|
S_RZL_ADM |
ACTVT |
|
S_TABU_DIS |
ACTVT |
|
S_TABU_DIS |
DICBERCLS |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
The authorizations listed in Table B-4 are required for using the LKM SAP ERP to Oracle (SQLLDR). This set of authorization is needed to install the ABAP code generated by the LKM and execute it.
Table B-4 Authorizations for LKM Execution
Object | Field Name | Value |
---|---|---|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_C_FUNCT |
ACTVT |
|
S_C_FUNCT |
CFUNCNAME |
|
S_C_FUNCT |
PROGRAM |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_DEVELOP |
ACTVT |
|
S_DATASET |
ACTVT |
|
S_DEVELOP |
ACTVT |
|
S_DATASET |
FILENAME |
|
S_DEVELOP |
ACTVT |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_DEVELOP |
ACTVT |
|
S_DEVELOP |
ACTVT |
|
S_DATASET |
ACTVT |
|
S_DEVELOP |
ACTVT |
|
S_DEVELOP |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
ACTVT |
|
S_TABU_DIS |
ACTVT |
|
S_RZL_ADM |
ACTVT |
|
S_DATASET |
PROGRAM |
|
S_RFC |
RFC_TYPE |
|
S_RFC |
RFC_NAME |
|
S_DEVELOP |
ACTVT |
|
S_DEVELOP |
DEVCLASS |
|
S_DEVELOP |
OBJNAME |
|
S_DEVELOP |
OBJTYPE |
|
S_DEVELOP |
P_GROUP |
|
S_DOKU_AUT |
DOKU_ACT |
|
S_DOKU_AUT |
DOKU_DEVCL |
|
S_DOKU_AUT |
DOKU_MODE |
|
S_RFC_ADM |
ACTVT |
|
S_RFC_ADM |
ICF_VALUE |
|
S_RFC_ADM |
RFCDEST |
|
S_RFC_ADM |
RFCTYPE |
|
S_RZL_ADM |
ACTVT |
|
S_TABU_DIS |
ACTVT |
|
S_TABU_DIS |
DICBERCLS |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
The authorizations listed in Table B-5 are required for using the LKM SAP ERP to Oracle (SQLLDR) in a production environment. In such environment, the ABAP code generated by the LKM is not installed by the LKM but simply executed.
Table B-5 Authorizations for LKM Execution for Production
Object | Field Name | Value |
---|---|---|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_ADMI_FCD |
S_ADMI_FCD |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_C_FUNCT |
ACTVT |
|
S_C_FUNCT |
CFUNCNAME |
|
S_C_FUNCT |
PROGRAM |
|
S_CTS_ADMI |
CTS_ADMFCT |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_DEVELOP |
ACTVT |
|
S_DATASET |
ACTVT |
|
S_DATASET |
FILENAME |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_DATASET |
PROGRAM |
|
S_RFC |
RFC_TYPE |
|
S_RFC |
RFC_NAME |
|
S_RFC |
ACTVT |
|
S_DEVELOP |
ACTVT |
|
S_DEVELOP |
DEVCLASS |
|
S_DEVELOP |
OBJNAMEv |
|
S_DEVELOP |
OBJTYPE |
|
S_DEVELOP |
P_GROUP |
|
S_DOKU_AUT |
DOKU_ACT |
|
S_DOKU_AUT |
DOKU_DEVCL |
|
S_DOKU_AUT |
DOKU_MODE |
|
S_RFC_ADM |
ACTVT |
|
S_RFC_ADM |
ICF_VALUE |
|
S_RFC_ADM |
RFCDEST |
|
S_RFC_ADM |
RFCTYPE |
|
S_RZL_ADM |
ACTVT |
|
S_TABU_DIS |
ACTVT |
|
S_TABU_DIS |
DICBERCLS |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TCODE |
TCD |
|
S_TRANSPRT |
ACTVT |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
S_TRANSPRT |
TTYPE |
|
This connection test should be performed after configuring the SAP ABAP data server in the topology.
This test preforms the following operations:
It establishes a test connection to the configured SAP system.
It validates the proper setup of SAP JCo by displaying the About dialog.
This test is performed using an RKM called RKM SAP ERP Connection Test. This KM does not perform any reverse operation. It simply runs the connection test.
To run the connection test:
Create an SAP ERP Model based on the SAP ABAP technology and on the SAP ABAP logical schema using the standard procedure, as described in "Creating a Model" of the Oracle Fusion Middleware Developer's Guide for Oracle Data Integrator.
In the Reverse tab of the SAP ERP Model, select the RKM SAP ERP Connect Test.
Save the model.
Click Reverse-Engineer to start the reverse.
Within a few seconds, the SAP JCo About dialog should appear. If not, review the session execution log in the Operator Navigator.
In addition to the Connection Testing, a test can be performed outside of ODI using a standalone java utility. This utility is available with the Standalone agent.
To use a standalone java utility to test the connection:
Open a command window.
Go to the <ODI_HOME>/odi_misc
directory.
Make sure that JAVA_HOME points to a supported JVM.
Make sure that you have installed SAP Java Connector and that the sapjco3.jar
and the sapjco3 library are in the <ODI_HOME>/odi_misc
directory.
Launch the utility using the following command:
java –cp sapjco3.jar;../oracledi/agent/lib/odi-sap.jar oracle.odi.sap.km.test.JCoTest
This command generates a ODI_SAP_CON_POOL.jcoDestination file in the folder <ODI_HOME>/odi_misc
folder.
Use a text editor to open the ODI_SAP_CON_POOL.jcoDestination file. This file should look as follows:
#for tests only! jco.client.lang=EN jco.destination.peak_limit=10 jco.client.client=800 jco.client.passwd=<SAP Password> jco.client.user=<SAP User> jco.client.sysnr=00 jco.destination.pool_capacity=5 jco.client.ashost=<SAP Application Server>
Enter you SAP connection information, which you have received from your SAP administrator.
Launch the utility using the same command. The utility uses the file that you have edited, and outputs the test results or the possible issues.
In addition to just testing the SAP connection, the utility will also validate the existence of certain Function Modules required for the RKM. These are installed during first execution of the RKM (UPLOAD_ABAP = Yes
).
Delete the ODI_SAP_CON_POOL.jcoDestination file after execution, as it contains the SAP login credentials.
In case of upgrading to a newer ODI SAP Connector release or for permanently removing ODI connectivity, please follow the steps described in this section.
Please note that this will delete ALL components including generated extractor programs.
To upgrade to a newer ODI SAP Connector release or to permanently remove the ODI connectivity:
Start the SAP GUI.
Connect to the SAP systems you want to uninstall.
Go to the transaction SE80
.
Select the package or development class option from the drop down box.
Enter ZODI_DEVCLASS
in the package or development class field.
Right-click the ZODI_DEVCLASS
object below the object name tab.
Select Delete in the drop down menu and delete the development class.
If it does not allow deleting the development class individually, delete all the objects one by one and then delete the development class.
Go to transaction SE10
. Select Modifiable and Workbench Requests. Click Display.
Select the transport requests which have the ODI Objects and Release them.
Now repeat the steps 3 to 7 to delete Development Class.
Go to transaction SE01
. Select Modifiable and Workbench Requests. Click Display. Release the Transport Request which has ZODI_DEVCLASS
.