Configure the SAP ERP system Stay organized with collections Save and categorize content based on your preferences.
This page describes how to configure your SAP system to use one of the SAPplugins in Cloud Data Fusion.
Install SAP plugin components in SAP using the SAP transport files
To use the SAP plugins in Cloud Data Fusion, add Remote Function Modules(RFMs) andAuthorization Roles in your SAP system. TheRFMs provide the extraction APIs called by the plugin in Cloud Data Fusion.
Download the transport file
You get the required SAP code and configurations through SAP transportfiles, which are archived in a zip file.
The transport zip file is available for download when youdeploy SAP plugins in the Cloud Data Fusion Hub.
The transport zip file contains two zip files:
- Thecofile, which has the following naming convention:
KSIX_DIGITS.SID - Thedata file, which has the following naming convention:
RSIX_DIGITS.SID
Example:
ODP
The following example shows the files in the SAP ODP transport zip file:
| Zip filename | Transport request ID | Cofile | Datafile | Content |
|---|---|---|---|---|
Google_CDF_connector_SAP_ODP.zip | SIDK123456 | K123456.SID | R123456.SID | SAP RFMs in a Google namespace |
Authorization_Role_SAP_ODP.zip | SIDK123456 | K123456.SID | R123456.SID | Authorization Role |
Table
The following example shows the files in the SAP Table transport zip file:
| Zip filename | Transport request ID | Cofile | Datafile | Content |
|---|---|---|---|---|
SAP_TABLE_READER_TR.zip | SIDK123456 | K123456.SID | R123456.SID | SAP RFMs in a Google namespace |
Import the SAP transport files
To install the SAP transports, follow these steps:
- Sign in to the operating system of the SAP Instance.
- To get the path for the
DIR_TRANSfolder, use the SAP transaction codeAL11. Typically, the path is/usr/sap/trans/. - Copy the cofile to the
DIR_TRANS/cofilesfolder. - Copy the data files to the
DIR_TRANS/datafolder. - Set the User and Group of data and cofiles folders and files to
SIDadmandsapsys.
An SAP administrator can import the transport request files by using the SAPtransport management system or the operating system command line:
Transport management
- Sign in to the SAP system as an SAP administrator.
- Enter the transaction
STMS. - ClickOverview> Imports.
- In theQueue column, double-click the current SID.
- ClickExtras> Other Requests> Add.
- Select the transport request ID and clickContinue.
- Select the transport request in the import queue and clickRequest> Import.
- Enter the client number.
- On theOptions tab, selectOverwrite Originals andIgnoreInvalid Component Version (if available).
- Optional: To plan for SAP system upgrades and backup restorations, youcan choose to import the transports again later. ClickLeaveTransports Requests in Queue for Later Import andImport TransportRequests Again.
- ClickContinue.
- Verify that the function module and authorization roles were importedsuccessfully by using transactions, such as
SE80andPFCG.
SAP CLI
- Sign in to the SAP system as an SAP administrator.
Add requests to the import buffer:
tp addtobufferTRANSPORT_REQUEST_IDSIDReplace the following:
TRANSPORT_REQUEST_IDwith the transport request IDSIDwith the SAPID
Example:
tp addtobuffer IB1K903958 DD1Import the transport requests:
tp importTRANSPORT_REQUEST_IDSID client=CLIENT_NUMBER U1238Replace
CLIENT_NUMBERwiththe client number.Example:
Note:tp import IB1K903958 DD1 client=800 U1238U1238indicates to set the options described in steps 9-10 in the Transport management tab on this page. The numbers indicate the corresponding option order number in the SAP user interface, which might vary by system. The numbers must be adjusted by an SAP administrator.Verify that the function module and authorization roles were importedsuccessfully by using appropriate transactions, such as
SE80andPFCG.
After the transport is imported into the SAP system, the following SAPobjects are created:
ODP plugin
- RFC-enabled function modules:
/GOOG/ODP_DS_EXTRACT_DATA_V2/GOOG/ODP_DS_FETCH_DATA_V2/GOOG/ODP_DS_METADATA_V2/GOOG/ODP_REPL_CLEANUP_V2
- Authorization Role:
/GOOG/ODP_AUTH
Table plugin
- RFC-enabled function modules:
/GOOG/RFC_READ_TABLE/GOOG/RFC_READ_TABLE_SNAPSHOT/GOOG/RFC_READ_TABLE_CLEANUP/GOOG/RFC_READ_TABLE_JOBSTATUS/GOOG/RFC_TABLE_STAGE_READ/GOOG/RFC_GET_PACKAGE_SIZE/GOOG/RFC_GET_TABLE_LIST
Set up authorizations in SAP
To set up user authorizations in SAP, either assign the ODP authorization rolethat's included in the transport file, or manually create an authorization role.
From Transport
SAP ODP plugin
In SAP, assign the Authorization Role,/GOOG/ODP_AUTH, which is included inthe SAP transports you download when you deploy the SAP ODP plugin.
Create
To create the Authorization Role manually, follow these steps:
- In the SAP GUI, enter the transaction code
PFCG. TheRoleMaintenance window opens. - In theRole field, enter a name for the role—for example,
zcdf_role. - ClickSingle Role. TheCreate Roles window opens.
- In theDescription field, enter a description—for example,
Authorizations for ODP pluginorAuthorizations for Table plugin. - ClickSave.
- Click theAuthorizations tab. The title of the window changes toChange Roles.
- In theEdit Authorization Data and Generate Profiles section, clickChange Authorization Data.TheChoose Template window opens.
- ClickDo not select templates. TheChange role: Authorizationswindow opens.
- ClickManually.
- Provide the authorizations shown in the following SAP Authorizationtable.
- ClickSave.
- To activate the Authorization Role, click theGenerate icon.
SAP Authorizations include the following:
ODP
Note: To restrict a user from running ODP pipelines with specificDataSources, for authorization object S_RO_OSOA, provide the requiredDataSource names in OLTPSOURCE (for example,2LIS_02_ITM,0MATERIAL_ATTR). Don't use*.The following authorizations apply for the ODP plugin:
| Object class | Object class text | Authorization object | Authorization object text | Authorization | Text | Value |
|---|---|---|---|---|---|---|
AAAB | Cross-application Authorization Objects | S_RFC | Authorization Check for RFC Access | ACTVT | Activity | 16 |
AAAB | Cross-application Authorization Objects | S_RFC | Authorization Check for RFC Access | RFC_NAME | Name of RFC object to which access is allowed |
|
AAAB | Cross-application Authorization Objects | S_RFC | Authorization Check for RFC Access | RFC_TYPE | Type of RFC object to which access is allowed |
|
AAAB | Cross-application Authorization Objects | S_TCODE | Transaction Code Check at Transaction Start | TCD | Transaction Code | SM50 |
BC_A | Basis: Administration | S_ADMI_FCD | System Authorizations | S_ADMI_FCD | System administration function |
|
BC_A | Basis: Administration | S_BTCH_ADM | Background Processing: Background Administrator | BTCADMIN | Background Administrator ID | Y |
BC_A | Basis: Administration | S_BTCH_JOB | Background Processing: Operations on Background Jobs | JOBACTION | Job operations | RELE |
BC_A | Basis: Administration | S_BTCH_JOB | Background Processing: Operations on Background Jobs | JOBGROUP | Summary of jobs for a group | '' |
MM_E | Materials Management: Purchasing | M_BEST_BSA | Document Type in Purchase Order | ACTVT | Activity | 03 |
MM_E | Materials Management: Purchasing | M_BEST_BSA | Document Type in Purchase Order | BSART | Purchasing Document Type | * |
RO | Authorizations: BW Service API | S_RO_OSOA | SAP DataSource Authorizations | ACTVT | Activity | 03 |
RO | Authorizations: BW Service API | S_RO_OSOA | SAP DataSource Authorizations | OLTPSOURCE | DataSource (OSOA/OSOD) | * |
RO | Authorizations: BW Service API | S_RO_OSOA | SAP DataSource Authorizations | OSOAAPCO | Application Component of a DataSource (OSOA/OSOD) | * |
RO | Authorizations: BW Service API | S_RO_OSOA | SAP DataSource Authorizations | OSOAPART | Subobject for DataSource | DATA |
Table
The following authorizations apply for the Table plugin:
| Object class | Object class text | Authorization object | Authorization object text | Authorization | Text | Value |
|---|---|---|---|---|---|---|
AAAB | Cross-application Authorization Objects | S_RFC | Cross-application Authorization Objects | ACTVT | Activity | 16 |
AAAB | Cross-application Authorization Objects | S_RFC | Authorization Check for RFC Access | RFC_NAME | Name of RFC object to which access is allowed |
|
AAAB | Cross-application Authorization Objects | S_RFC | Cross-application Authorization Objects | RFC_TYPE | Type of RFC object to which access is allowed | FUNC |
AAAB | Cross-application Authorization Objects | S_TCODE | Transaction Code Check at Transaction Start | TCD | Transaction Code | SM50 |
BC_A | Basis: Administration | S_ADMI_FCD | System Authorizations | S_ADMI_FCD | System administration function | ST0R |
BC_A | Basis: Administration | S_TABU_NAM | Table Access by Generic Standard Tools | ACTVT | Activity | 03 |
BC_A | Basis: Administration | S_TABU_NAM | Table Access by Generic Standard Tools | TABLE | Table Name | * |
Set up the SAP Java Connector
Download the following SAP Java Connector (SAP JCo) artifacts.The minimum supported JCo version is3.0.20.
- One platform-independent (
sapjco3.jar) - One platform-dependent (
libsapjco3.soon Unix)
Copy the files to the Cloud Storage bucket.
For ODP: Activate data sources for extraction
To extract the data, a DataSource must be activated in the source SAP system. Toactivate a DataSource in SAP, follow these steps:
- Sign into the SAP system.
- Go to the transaction code
RSA5. Expand theDataSources list.
- Open the CDS view in the SAP CDS Editor.
In the CDS view, look for the following annotations:
@Analytics.dataCategory@Analytics.dataExtraction.enabled
If the CDS view has both of these annotations, then it's exposed for ODPdata extraction. Without them, it isn't exposed.
ClickSearch.
Provide the DataSource name and click
If the search is successful, the DataSource appears in the result list.
Select the DataSource name and click
Select the DataSource and clickActivate DataSources.
In theCreate Object Directory Entry dialog, enter the Package name andclickSave.
In thePrompt for transportable workbench request dialog, enter theTransport Number in theRequest field. Click
The selected DataSource is activated in SAP.
Check that the DataSource is exposed for extraction
- Sign in to the SAP system.
- Go to t-code
SE16N. - Enter the table name,
ROOSATTR, and enter the DataSource name inOLTPSOURCE. - ClickExecute or press F8.
- If theEXPOSE_EXTERNAL field has an
X, the DataSource is exposed andready for extraction.
If the DataSource doesn't appear in theROOSATTR table, or theEXPOSE_EXTERNAL field is blank, follow these steps to expose the DataSourcefor ODP extraction:
- Sign in to the SAP system.
- Go to t-code
SA38. - Enter the program name,
RODPS_OS_EXPOSE, and clickExecute. - Enter the DataSource name and clickRelease DataSource.
- Save the changes in the transport.
What's next
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-15 UTC.