

{"id":53986,"date":"2019-05-16T12:14:03","date_gmt":"2019-05-16T06:44:03","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=53986"},"modified":"2021-12-04T13:08:52","modified_gmt":"2021-12-04T07:38:52","slug":"connect-web-intelligence-to-sap-hana","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/","title":{"rendered":"How to Connect Web Intelligence to SAP HANA in 4 Ways &#8211; Seamless Process"},"content":{"rendered":"<p>Now, it&#8217;s time to connect Web Intelligence (Webi) to SAP HANA and retrieve data from it. Webi is a reporting tool which is a part of SAP BusinessObjects BI Platform.\u00a0The data fetched from SAP HANA will be used for creating reports and conducting the analysis.<\/p>\n<p>Firstly, let&#8217;s learn the working of Webi with SAP HANA.<b><\/b><\/p>\n<h3>Web Intelligence and SAP HANA<\/h3>\n<p>Webi i.e. Web Intelligence is an advanced reporting tool having capabilities for ad-hoc reporting, detailed reporting, using query panels, data visualization, creating\/modifying queries, etc. Webi access data from semantic layers from universes created using IDT tool.<\/p>\n<p>The semantic layer is created on top of a non-SAP data source. You can also create universes from UDT. With IDT, you can access multiple data sources, whereas, with UDT you can only access one data source at a time.<\/p>\n<p>Webi is a part of SAP BusinessObjects Platform client tools. It connects to the SAP HANA system using <strong>JDBC or ODBC connection<\/strong>.<\/p>\n<h3>How to Connect Web Intelligence to SAP HANA?<\/h3>\n<p>In this section, we will learn to connect Web Intelligence (Webi) to SAP HANA in four different ways.<\/p>\n<h4>1. Universe Connection<\/h4>\n<p>To begin with, let&#8217;s find out how to connect to SAP HANA from Web Intelligence via a Universe.<\/p>\n<p><strong>Step 1:<\/strong> Open<strong> Web Intelligence Rich Client.<\/strong> Click on the <strong>document icon<\/strong> to create a new document\/connection.<\/p>\n<p><strong>Step 2: Select a Data Source<\/strong><\/p>\n<p>In the next dialog, select the\u00a0<strong>Universe<\/strong> as the data source. Click <strong>OK<\/strong>\u00a0to continue.<\/p>\n<p><strong>Step 3: Select a Universe<\/strong><\/p>\n<p>Select your preferred universe from the list of available universes. Click on <strong>Select <\/strong>to continue.<\/p>\n<p><strong>Step 4: Query Panel<\/strong><\/p>\n<p>The <em>Query Panel<\/em> will open, having all the measures and dimensions.\u00a0You will have a list of objects of the selected universe in the <strong>Universe outline<\/strong> section given on the left.<\/p>\n<p>You can select measures and dimensions for this panel and add it to the <strong>Result Objects<\/strong> section. Drag and drop the measures and dimensions in the<strong> Result Objects<\/strong> section.<\/p>\n<h4>2. SAP HANA Direct Connection<\/h4>\n<p>Follow the steps to directly connect to SAP HANA from Web Intelligence Rich Client:<\/p>\n<p><strong>Step 1: Select a Data Source<\/strong><\/p>\n<p>Open <strong>Web Intelligence rich client<\/strong>. Click on the document icon given on the topmost bar, to create a new document\/connection.<\/p>\n<p>Select the <strong>SAP HANA<\/strong> as the data source. Click on <strong>OK<\/strong>.<\/p>\n<p><strong>Step 2:<\/strong>\u00a0Now, select the SAP HANA connection name from the list of connections. Click <strong>OK.<\/strong><\/p>\n<p>Then inside that connection, select the folder containing the information views you require. All the objects within that folder will appear on the right window. Click <strong>OK<\/strong>.<\/p>\n<p>You can <strong>cross-check<\/strong> in the\u00a0<strong>SAP HANA Information Modeler,\u00a0<\/strong>all the information views under the folder you selected in Webi are the same.<\/p>\n<p><strong>Step 3:<\/strong> In the Query Panel you will find the list of all the attributes (dimensions) and measures available in the selected view.<\/p>\n<p>The list is available in the<strong> Universe Outline<\/strong> panel on the left in <em>Query Panel<\/em>.<\/p>\n<h4>3. SAP HANA Online<\/h4>\n<p>Follow the steps given in this section to make an SAP HANA Online connection.<\/p>\n<p><strong>Step 1: Select a Data Source<\/strong><\/p>\n<p>Open <strong>Web Intelligence rich client<\/strong>. Click on the document icon given on the topmost bar, to create new document\/connection.<\/p>\n<p>Select <strong>SAP HANA Online<\/strong> as the connection type. Click on <strong>OK.<\/strong><\/p>\n<p><strong>Step 2:<\/strong> Select the SAP HANA specific connection from the list of connections available. For instance, we select a folder <em>DTF_HANA<\/em>. Click <strong>OK<\/strong>.<\/p>\n<p><strong>Step 3:<\/strong> Select the data folder from the list under the <strong>Folder<\/strong> section. Then select the view which you want to use for report creation from the left section. Click <strong>OK<\/strong>.<\/p>\n<p><strong>Step 4:<\/strong> The SAP HANA Online type connection does involve a <em>Query Panel <\/em>and it directly opens the reporting interface.<strong>\u00a0<\/strong>On the reporting interface, you can instantly create reports using data from your SAP HANA data folders\/views.<\/p>\n<h4>4. Free-hand SQL Connection<\/h4>\n<p>The fourth type of connection is a Free-hand SQL connection where you get to write an SQL script to establish a relational connection to the data source.<\/p>\n<p><strong>Step 1: Select a Data Source<\/strong><\/p>\n<p>Open <strong>Web Intelligence rich client<\/strong>. Click on the document icon given on the topmost bar, to create new document\/connection.<\/p>\n<p>Select <strong>Free-hand SQL<\/strong> as the connection type.<\/p>\n<p><strong>Step 2:<\/strong>\u00a0Now, select the connection specific to HANA from the list of available connections. Click on <strong>OK<\/strong>.<\/p>\n<p><strong>Step 3:<\/strong>\u00a0Then, a\u00a0<em>Query Script editor<\/em> will open where you can write your SQL script.\u00a0You can use the data tables and views from HANA in your SQL script.<\/p>\n<p>A sample script is shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">SELECT\r\n\"DTFProject_Title\u201d,\r\nsum(\"Current_Phase\u201d) AS \"Current_Phase\u2122,\r\nsum(\"Schedule_Status\u201d) AS \"Schedule_Status\u201d,\r\nsum(\"Est_Capital\u201d) AS \"Capital\u201d,\r\nsum(\"Est_Expense\u201d) AS \u201cExpense\u201d,\r\nsum(\"Total_Cost\") AS \"Iotal_Coat\u201d<\/pre>\n<h3>Developing Reports in Web Intelligence<\/h3>\n<p>Once you have established a connection to SAP HANA through one of the four ways we just learned, we are ready to create reports in Webi. The reports are created from the dataset we fetched from SAP HANA.<\/p>\n<p><strong>Step 1:<\/strong>\u00a0To create a report, select the measure and attribute fields from the list available of the contents of the information views.\u00a0You can find this list in the <strong>Universe Outline<\/strong> section of the <strong>Query Panel<\/strong>.<\/p>\n<p>Drag the measures or attributes and drop them on the<strong> Result Objects section<\/strong> to finalize for the report.<\/p>\n<p><strong>Step 2:<\/strong> You can also access the <em>Query Script<\/em> and make changes in it if you prefer.\u00a0The Query Script can be opened from a script icon present on the top bar of the <em>Query Panel<\/em>.<\/p>\n<p>A sample of query used in Query Script editor is given below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">SELECT\r\n\r\nTable_1.\"PRODUCT\",\r\nTable_1.\"NAME\",\r\nTable_1.\"CATEGORY\u201d,\r\nTable_1.\u201cUNITSSOLD\u201d, \r\nSUM(Table__1.\u201cGROSSAMOUNT\u201d)\r\n\r\nFROM\r\n\r\n\"_SYS_BIC\u201d.\"9QBEXSQL\/ZAV_SALES_USING_AT_001\" Table_1\r\nGROUP BY\r\n\r\nTable_1.\"PRODUCT\",\r\nTable_1.\"NAME\",\r\nTable_1.\"CATEGORY\u201d,\r\nTable_1.\u201cUNITSSOLD\u201d,<\/pre>\n<p>Also, you can apply query filters on the selected data fields from the section Query Filters on Query Panel.<\/p>\n<p><strong>Step 3.<\/strong> Once you made all the selections, click on <strong>Refresh<\/strong> in the <strong>Data Preview<\/strong> section. You will get a preview of the data fields you selected in tabular form.<\/p>\n<p><strong>Step 4.<\/strong> Click on<strong> Run Query<\/strong> to execute the query.<\/p>\n<p>The data will appear in reporting view in a tabular representation.<\/p>\n<p>You can work on the report further using the tabs like <em>Report Element<\/em> (to add visualizations), <em>Format, Data Access, Analysis and Page Setup.<\/em><\/p>\n<h3>Summary<\/h3>\n<p>We hope you liked our tutorial of steps to connect SAP HANA to Web Intelligence.<\/p>\n<p>If you have any queries or suggestions regarding this or any SAP HANA topic, do leave a comment in the comment section below. We will be glad to help.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now, it&#8217;s time to connect Web Intelligence (Webi) to SAP HANA and retrieve data from it. Webi is a reporting tool which is a part of SAP BusinessObjects BI Platform.\u00a0The data fetched from SAP&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":54081,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18002],"tags":[19496,19497],"class_list":["post-53986","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sap-hana","tag-connect-web-intelligence-to-sap-hana","tag-web-intelligence-and-sap-hana"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Connect Web Intelligence to SAP HANA in 4 Ways - Seamless Process - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn the ways to connect Web Intelligence to SAP HANA; Universe Connection, Direct Connection, SAP HANA Online &amp; Free hand SQL Connection. Explore more!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Connect Web Intelligence to SAP HANA in 4 Ways - Seamless Process - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn the ways to connect Web Intelligence to SAP HANA; Universe Connection, Direct Connection, SAP HANA Online &amp; Free hand SQL Connection. Explore more!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-16T06:44:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-04T07:38:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/04\/Ways-to-Connect-Web-Intelligence-to-SAP-HANA-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Connect Web Intelligence to SAP HANA in 4 Ways - Seamless Process - DataFlair","description":"Learn the ways to connect Web Intelligence to SAP HANA; Universe Connection, Direct Connection, SAP HANA Online & Free hand SQL Connection. Explore more!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/","og_locale":"en_US","og_type":"article","og_title":"How to Connect Web Intelligence to SAP HANA in 4 Ways - Seamless Process - DataFlair","og_description":"Learn the ways to connect Web Intelligence to SAP HANA; Universe Connection, Direct Connection, SAP HANA Online & Free hand SQL Connection. Explore more!","og_url":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2019-05-16T06:44:03+00:00","article_modified_time":"2021-12-04T07:38:52+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/04\/Ways-to-Connect-Web-Intelligence-to-SAP-HANA-1.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"How to Connect Web Intelligence to SAP HANA in 4 Ways &#8211; Seamless Process","datePublished":"2019-05-16T06:44:03+00:00","dateModified":"2021-12-04T07:38:52+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/"},"wordCount":1036,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/04\/Ways-to-Connect-Web-Intelligence-to-SAP-HANA-1.jpg","keywords":["Connect Web Intelligence to SAP HANA","Web Intelligence and SAP HANA"],"articleSection":["SAP HANA Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/","url":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/","name":"How to Connect Web Intelligence to SAP HANA in 4 Ways - Seamless Process - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/04\/Ways-to-Connect-Web-Intelligence-to-SAP-HANA-1.jpg","datePublished":"2019-05-16T06:44:03+00:00","dateModified":"2021-12-04T07:38:52+00:00","description":"Learn the ways to connect Web Intelligence to SAP HANA; Universe Connection, Direct Connection, SAP HANA Online & Free hand SQL Connection. Explore more!","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/04\/Ways-to-Connect-Web-Intelligence-to-SAP-HANA-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/04\/Ways-to-Connect-Web-Intelligence-to-SAP-HANA-1.jpg","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/connect-web-intelligence-to-sap-hana\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"SAP HANA Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/sap-hana\/"},{"@type":"ListItem","position":3,"name":"How to Connect Web Intelligence to SAP HANA in 4 Ways &#8211; Seamless Process"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/53986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=53986"}],"version-history":[{"count":15,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/53986\/revisions"}],"predecessor-version":[{"id":104912,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/53986\/revisions\/104912"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/54081"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=53986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=53986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=53986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}