Ready to get started?

Learn more about the CData FireDAC Components for SAP SuccessFactors or download a free trial:

Download Now

Viewing SAP SuccessFactors Data in RAD Studio Data Explorer

How to view SAP SuccessFactors data in RAD Studio Data Explorer using the CData FireDAC Components for SAP SuccessFactors.

Embarcadero RAD Studio provides a development environment for Delphi and C++Builder applications. With the CData FireDAC Components for SAP SuccessFactors, you gain access to live SAP SuccessFactors data within RAD Studio, abstracting the data into tables, views, and stored procedures that can be used to both retrieve and update SAP SuccessFactors data. This article will walk through connecting to SAP SuccessFactors using the Data Explorer.

Connecting to SAP SuccessFactors Data Using Data Explorer

You can create a simple application for displaying SAP SuccessFactors data by utilizing the CData FireDAC Components for SAP SuccessFactors and a new VCL Forms Application:

  1. Open the Data Explorer in RAD Studio and expand FireDAC.
  2. Right-click on CData SAP SuccessFactors Data Source and click Add New Connection.

  3. Name the connection.
  4. Fill in the necessary connection parameters and click OK.

    You can authenticate to SAP Success Factors using Basic authentication or OAuth with SAML assertion.

    Basic Authentication

    You must provide values for the following properties to successfully authenticate to SAP Success Factors. Note that the provider will reuse the session opened by SAP Success Factors using cookies. Which means that your credentials will be used only on the first request to open the session. After that, cookies returned from SAP Success Factors will be used for authentication.

    • Url: set this to the URL of the server hosting Success Factors. Some of the servers are listed in the SAP support documentation (external link).
    • User: set this to the username of your account.
    • Password: set this to the password of your account.
    • CompanyId: set this to the unique identifier of your company.

    OAuth Authentication

    You must provide values for the following properties, which will be used to get the access token.

    • Url: set this to the URL of the server hosting Success Factors. Some of the servers are listed in the SAP support documentation (external link).
    • User: set this to the username of your account.
    • CompanyId: set this to the unique identifier of your company.
    • OAuthClientId: set this to the API Key that was generated in API Center.
    • OAuthClientSecret: the X.509 private key used to sign SAML assertion. The private key can be found in the certificate you downloaded in Registering your OAuth Client Application.
    • InitiateOAuth: set this to GETANDREFRESH.

  5. Back in the Data Explorer, expand the tables for the connection.
  6. Create a new VCL Forms application and drag a table (for example: ExtAddressInfo) onto the form.

  7. Select the ExtAddressInfoTable object on the form and set the Active property to true.
  8. Right-click on the object, bind visually, and link everything (*) to a new control (TStringGrid).

  9. Arrange the TStringGrid on the form and run the application to see the ExtAddressInfo data.