![]() |
VOOZH | about |
The CData Excel Add-In for SAP HANA XS Advanced provides formulas that can query SAP HANA XS Advanced data. The following three steps show how you can automate the following task: Search SAP HANA XS Advanced data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as SAPHanaXSAConnection1, or a connection string. The connection string consists of the required properties for connecting to SAP HANA XS Advanced data, separated by semicolons.
SAP HANA XSA uses the OAuth authentication standard. Before connecting, it is necessary to establish an SAP HANA XSA OData Service. See the OAuth section in the Help documentation for a guide.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM WHERE = '"&B6&"'","OAuthClientID="&B1&";OAuthClientSecret="&B2&";URL="&B3&";CallbackURL="&B4&";InitiateOAuth="&B5&";Provider=SAPHanaXSA",B7)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for SAP HANA XS Advanced to get started:
Download NowLearn more:
👁 SAP HANA XS Advanced IconThe SAP HANA XS Advanced Excel Add-In is a powerful tool that allows you to connect with live SAP HANA XS Advanced data, directly from Microsoft Excel.
Use Excel to read, write, and update SAP HANA XS Advanced data. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!