Show TOC Start of Content Area

Procedure documentation Configuring CAF for SAP NetWeaver BW Integration  Locate the document in its SAP Library structure

Use

To use data from CAF you need to connect the SAP NetWeaver Business Warehouse (SAP NetWeaver BW) and the Application Server Java (AS Java) (where the composite application is deployed) using SAP JRA. This step includes configuration of the JRA adapter on the AS Java and creation of TCP-IP RFC connection on the SAP NetWeaver BW.

...

Procedure

 

1. (Optional) Check the CAF connector status on the AS Java

To establish the connectivity between the SAP NetWeaver BW and AS Java, CAF uses a connector.

The connector has the following specifics:

      This connector implements standard UD connector interfaces, enabling its use from the SAP NetWeaver BW. Note that the connector implements only the relational interfaces and supports only relational data representation.

      The extraction of data from SAP NetWeaver BW happens through an UD Connect Source System using the connector com.sap.ip.bi.sdk.dac.connector.java with the name SDK_JAVA. Note that for backward compatibility, the name of the connector may also be SDK_CAF.

      The connector type is JDBC.

By default, the connector is started. In case you experience troubles with the connector, follow these steps to check if it is started:

       1.      Open SAP NetWeaver Administrator tool.

Open the following URL in your browser: http://<host>:<port>/nwa

       2.      Navigate to Operation Management Systems Start & Stop and choose Java Applications.

       3.      Make sure the application caf~bw~adapter~ear is started.

       4.      (For backward compatibility) Make sure the application caf~bw~adapter~assembly (vendor sap.com) is started.

For more information about working with the SAP NetWeaver Administrator, see Starting and Stopping Java Applications.

If the application does not start automatically after server restarts, logon to the Config Tool and add а custom filter to the template that starts the application caf~bw~adapter~assembly explicitly. For more information, see Adding Filters.

2. Configure the resource adapter on the AS Java

You have to configure a resource adapter on the AS Java, to use it to establish connection between the SAP NetWeaver BW and the AS Java.

...

       1.      In the SAP NetWeaver Administrator tool, choose Configuration Management  Infrastructure and open the Application Resources links.

       2.      Choose the resource adapter SAPJavaResourceAdapter15.

       3.      Maintain the required values for the connectivity in the Properties tab page.

       4.      Clone the connection factory eis/SAPJRAFactory. You need the new connection factory for connectivity with the SAP NetWeaver BW.

To clone the connection factory, choose SAPJavaResourceAdapter15 Dependent JCA Connection Factories tab page. Choose JCA Resource Details Copy & Add New JCA Connection Factory.

       5.      Configure the cloned connection factory to point to your SAP NetWeaver BW. Save the new connection factory.

       6.      Save the resource adapter settings.

For more information about configuring the JRA, see SAP JRA Configuration: Procedure.

3. (Optional) Configure the CAF runtime properties for SAP NetWeaver BW integration

If you want to disable the CAF SAP NetWeaver BW integration, or to change the default configuration, you can change the properties cited below.

...

       1.      Logon to the Config Tool.

       2.      Navigate to Template Instance Applications sap.com caf~runtime~ear.

Disabling CAF SAP NetWeaver BW Integration

To disable the connectivity, change the value of the property CAF_BI_INTEGRATION_ENABLED to false. The default value is true.

Changing Name Prefixes

You can change the default values of the name prefixes used when creating the DataSources. This can be helpful if you need to provide connectivity for several different AS Java systems, and you have to distinguish between the source of data.

You can change the values of the following properties:

      CAF_BI_DATASOURCE_NAME_PREFIX. Default value is BW.

      CAF_BI_LD_DATASOURCE_NAME_PREFIX. Default value is LD.

4. (Optional) Setting up the CAF security role to use explicitly for the data extraction process

If your environment is secured, your user might need special permissions to perform the extraction process. You have to assign the security action CAFBIAdministrator to the user that should perform the data extraction. During the extraction CAF checks if this user has the required permissions to read business object node (BON) data. Note that CAF security is applied only for the DataSources for BON attributes. You can use  DataSource to extract business object node language-dependent attributes and business object node associations without read permissions for this business object node. CAF does not enforce security on these types of DataSources because their data is not useful without the BON attribute data.

In addition, you must have configured business rules for each secured BON you extract data from. You must have set up the users, roles, or groups with the security credentials necessary to access BON’s content.

For more information about securing business objects, see Protecting Access to Business Object Operations.

...

       1.      In the SAP NetWeaver Administrator tool navigate to Operation Management Users and Access Identity Management.

       2.      in the Overview tab page, from the Search Criteria dropdown list, select Action.

       3.      Choose Advanced Search.

       4.      For Name, enter CAFBIAdministrator and chooseSearch.

       5.      Select the table row and choose Modify.

       6.      Open the Run-As Identity tab page and in Direct Association field enter the name of the user that you want to be used for extraction.

       7.      Choose Save.

5. Create RFC destination on SAP NetWeaver BW

Finally, create and RFC destination on your SAP NetWeaver BW system.

For more information, see Customizing for Business Warehouse under  UDI Settings by Purpose   UD Connect Settings Establish the RFC Destination for the J2EE Engine.  

To execute the described steps, you can use transaction SM59 in the SAP NetWeaver BW system.

 

 

End of Content Area