13
Page 1 of 13 Connecting to Alteryx via ODBC to SAP HANA Database Landscape: 1. SAPBPCHANA - BPC Client 2. HANA Studio & SAP GUI 3. Alteryx Designer Step 1: Connect to ODBC Driver on computer that has Alteryx Designer. a. Login to the Alteryx Designer b. Search for “ODBC” on your desktop c. Choose “ODBC Data Sources (64-bit)” d. e. A window will appear. Go to “System DSN” tab and click “Add” to add a new ODBC connection to your HANA database

Connecting to Alteryx via ODBC to SAP HANA Databaseequalone.com/pdf/equalOne_Connecting_HANA_to_Alteryx_Feb...Page 1 of 13 Connecting to Alteryx via ODBC to SAP HANA Database Landscape:

  • Upload
    others

  • View
    7

  • Download
    1

Embed Size (px)

Citation preview

  • Page 1 of 13

    Connecting to Alteryx via ODBC to SAP HANA Database Landscape:

    1. SAPBPCHANA - BPC Client 2. HANA Studio & SAP GUI 3. Alteryx Designer

    Step 1: Connect to ODBC Driver on computer that has Alteryx Designer.

    a. Login to the Alteryx Designer b. Search for “ODBC” on your desktop c. Choose “ODBC Data Sources (64-bit)” d.

    e. A window will appear. Go to “System DSN” tab and click “Add” to add a new ODBC connection to your HANA database

  • Page 2 of 13

    f. Choose “HDBODBC” as the driver to set up a data source g. Click “Finish”

    Note: SAP HANA Client has to be installed on the machine that has Alteryx Designer as the HDBODBC Driver is within the installation files of HANA Client

    h. Key in a data source name and description i. Key in your Server and Port of your SAP HANA Database

    j. After inserting all necessary details, click “Connect”

  • Page 3 of 13

    k. Key in your username and password to access your SAP HANA Database. Press “OK”

    l. If connection is successful message “Connect successful!” will be displayed. m. Connection via ODBC complete. This connection will be used in Alteryx Designer to import data

    from SAP HANA

  • Page 4 of 13

    Additional Notes: If unsure of server address and port, you can logon to your HANA Studio and right click on your System-> Properties and Logon. 1. Go to “Database User Logon”---> ”Hosts Used to Connect” 2. This will be your server address and port number to connect to for ODBC connection above.

  • Page 5 of 13

    Step 2: Connecting Alteryx Designer to the SAP HANA ODBC Connection

    a. Open Alteryx Designer and create new workflow b. Drag “Input Tool” to the canvas c. Double click “Input Tool” to access the configuration setting d. Click on the drop down button

    e. Go to -> Other Databases ->ODBC

    f. Choose ODBC Connection that is created in Step 1 g. Key in your username and password for your SAP HANA DB

  • Page 6 of 13

    h. You will be able to connect to SAP HANA tables and queries successfully. Choose your tables, use visual query builder or sql editor to access the database.

    i. Press “OK” to import specific tables or queries.

    j. Visual Query Builder can be used to build your query against HANA Views k. You may drag and drop specific views, select only selected fields and rename the column fields. [You

    can also join few views together with primary and foreign keys]

  • Page 7 of 13

    l. The output will be displayed after running the workflow

  • Page 8 of 13

    Step 3: Getting BW Cube Data into HANA via manual import

    a. To view BW Cube data in HANA, cube settings need to be set to be able to output to External HANA View

    b. Log into your SAP GUI BW on HANA c. Go to transaction code RSA1 to view which cube that you want to import into HANA. d. Take note of the tech.name -> /CPMB/SKITS7Z

    e. Go to transaction code RSDCUBE to change the settings of the cube f. Key in tech name of the cube -> Edit

  • Page 9 of 13

    g. Check “External HANA View reporting”

    h. Click “Save”

    i. After saving, click “Tick” if there are no errors.

    j. Activate the cube

    k. Now go to HANA studio, go to Quick View perspective. l. If there is no Quick View perspective in HANA studio, please go to Window ->Show View-> Quick

    View m. Under Quick View -> Click Import

  • Page 10 of 13

    n. Click SAP HANA Content->SAP Netweaver BW Models o. Then click “Next”

    p. Key in your server credentials [Username and password is SAP GUI credentials] q. Click “Test Connection” to test your connection

  • Page 11 of 13

    r. Connection should be successful. s. Press “OK” t. Press “Next”

    u. Select your target system v. Click “Next”

  • Page 12 of 13

    w. Select the BW objects that you want to add x. Browse for the package that you want to save your BW object under y. Click “Finish”

  • Page 13 of 13

    z. A job will run to import the BW objects into HANA. aa. Wait for it to be completed. Once done, you can access BW object data into your Alteryx Designer

    [Usually the views auto-generated are under “_SYS_BIC” catalog in HANA studio]