Tuesday, January 3, 2017

H100 Lumira

Lumira

=Lumira Server:  Explore data: share with teammates
=Lumira Cloud:  Acquire data -> Build visualization -> explore the data -> and share with your teammates


=Lumira Desktop: Acquire data -> Enrich Data -> Build Visualizations -> Explore data -> Share with teammates


Acquire: 
-data from Excel, CSV, HANA, SQL, and BI universes (SAP BW BEx connectivity planned)
-Stored in columnar store for lightning fast experience
-Merge/Append datasets


Enrich:
-Combine multiple sources without scripting
-Cleanse, add calculations, custom groupings, etc.
-Enrich with geo and time hierarchies

Visualize + Explore
-Insight from structured and unstructured data
-Flexible and iterative workflow makes discovery insight engaging and powerful
-Filter/Exclude/Rank/Sort

Share:
-Share visualization by email
-Share datasets to Lumira Cloud and Server
-Publish as HANA view
-Save to BIP as Explorer Info Space

H100 BO Analysis for OLAP/BEX

BO Analysis for OLAP

·         Dedicated Ad-Hoc OLAP  client for Business users to analyze OLAP data
·         Interoperability between designer and ad-hoc client
·         Simultaneous connection to multiple queries from different data providers
·         Report off analytic views/calculation views
·         Web based applications

·         Save/open a workbook to/from the SAP BI platform server
·         Undo/Redo
·         Define style sets for crosstabs
·         Swap axes
·         Analyze data with the design panel
·         Filter members
·         Sort data by members and by measures
·         Insert Charts
·         Insert filter components
·         Convert crosstab cells to formula
·         Create Presentations
·         Pause/Refresh


Access Analytics and Calculation Views from Analysis Edition from OLAP via OLAP Connection defined inside the Central Management Console of BO Enterprise Server

BO Analysis, edition for OLAP = Multidimensional data analysis within a web-based environment


------------------------------------------------------------------------------------------
Org has got a vast amount of data to explore the data and find patterns to which no set report exists
------------------------------------------------------------------------------------------

Explain when to use Bex on top of HANA
Explain how to configure SAP BO to use HANA
Create an Explorer Info SPace to Explore HANA data within Explorer


1)Explain when to use Bex on top of HANA
·         Key word search to find bzn info
·         Answers on the fly and investigates questions

·         Searches directly on pre-indexed data
·         No previous reports or metrics need to exist
·         Fast exploration
·         Searches across all data sources
·         Any universe accessible source
·         Any netWeaver BW Accelerator accessible source


2) Explain how to configure SAP BO to use HANA
Connection defined in IDT
View created from HANA Studio
BO Explorer = Search relevant information and direct exploration of data


3) Create an Explorer Info Space to Explore HANA data within Explorer


1) Start SAP BI LaunchPad
2) When prompted to logon to BI Launchpad, enter the following information
3) In the My Application menu, choose Explorer
4) Choose manage Spaces
5) Expand the folder SAP Hana appliance -> HDB
6) Select the Calculation View 
7) to create a new info space on this calculation view, choose new
8) in the properties tab, define the following properties
         Measure
        Attribute
9)To index the new Infospace, in the Action column choose index now
10)Back to the home tab, to update the list of info spaces, choose refresh list
11) open the info space:
12) ready to explore the data set

H100 SAP BO Tools available/descriptions

SAP BO: 5 BI requirements:

·         Reporting: Crystal Reports
·         Dashboards and Visualization:  Dashboards, DesignStudio
·         Interactive Analysis:  WebIntelligence
·         Advanced Analysis:  Analysis for MS office/for OLAP
·         Search and Exploration:  Explorer, Lumira



Source Systems and data sources needed to be connected:
1)      Reporting Client Deployment (desktop, Web, MS Office Integation)
2)      Reporting Client Technology (HTML5, Flash, mobile requirements)
3)      Reporting Client features (hierarchies, variables, calculations, graphical visualization, Export to PDF/XLS, etc.)
4)      Deployment reporting content (NetWeaver Porta, BO BI Platform, etc.)


SAP Crystal Reports for Enterprise:
1)      Consume attractive, personalized dashboards online or offline
a.       Access to personalized, flash-based dashboards
b.       Secure visualizations anywhere- portal, reports, PDF, MS Office documents
2)      Empower business users with interactive information
a.       Powerful “what-if” analysis with sliders and controllers
b.       Ability to drill-down into details
c.       Pre-built components, skins, maps, charts, gauges, and selectors

Dashboarding and Data Visualization -SAP BO dashboard design

1)      Empower business with easy to use reporting
a.       Intuitive, web-based interface with offline capabilities
b.       Multi-source access
c.       Interactivity with filtering, ranking, sorting, calculations
d.       Data lineage
2)      Lighten IT workload
a.       Self-service data access and reporting
b.       Controlled and secure access with tight BI platform integration
c.       Intuitive, business-centric view of info. With universes

Ad Hoc Querying and Reporting- SAP BO Webi
1)      Office based analysis and hierarchical navigation of RT data in HANA
a.       Business analyst interface, integrated in MSFT office, for analyzing data
b.       Hierarchical navigation of HANA views
c.       Calculations pushed into the HANA engine or in the local document
d.       Excel rendering and storage of data for sharing with colleagues
2)      Key capabilities on HANA
a.       Direct access to Hana views
b.       Support of variables
c.       Support of hierarchies
d.       Full HANA online experience
e.       SSO to HANA

SAP BO for MS Office

1)      Bring BI to all Business users
a.       Data exploration/visualization
b.       Fast response/simplicity/speed of search
c.       Easy and efficient to manage/scale

SAP BO Explorer

1)      Discovery and visualization of RT data
a.       BA interface for visualization and data exploration
b.       Automated/user defined enrichment of information
c.       Dynamic filtering of tables and visualizations
2)      Key capabilities on HANA
a.       Support of variables/level based hierarchies
b.       SSO to HANA

c.       Direct access to HANA views

Data Connectivity HA100

SAP HANA DB Connectivity Options


SAP BO BI Solutions Architecture:
Connectivity to SAP HANA 





ODBO - OLE DB for OLAP

1)      ODBO – OLE DB for OLAP
a.       Microsoft-driven specification for Multidimensional reporting
b.       Request are sent to the DB via MDX
2)      ODBC -Open Data Base Connectivity
a.       Microsoft-driven specification for Relational reporting
b.       DB requests are made via SQL
c.       Heavily adopted in industry
d.       No longer Microsoft centric -Unix and Linux drivers exist for ODBC
3)      JDBC – Java Data Base Connectivity
a.       Relational reporting driver specified by the java community. Popular on Unix platforms
4)      BICS – BI Consumer Services
a.       SAP proprietary interface that offers advantages for OLAP access over MDX on multidimensional reporting objects
b.       Common driver technology used by SAP BO Analysis, office edition and semantic layer based BO clients for connectivity to SAP NetWeaver BW


1)      What is the connection and requests sent for:
 Crystal Reports 2011 vs CR 2013 vs CR for enterprise to SAP HANA DB?

1)      CR 2011: JDBC + SQL
2)      CR 2011: ODBC + SQL
3)      CR Enterprise: JDBC/ODBC + SQL

2)      What is the connection and request for Webi and Dashboards to SAP HANA DB?
a.       JDBC/ODBC + Semantic Layer (relational Universe) + SQL

3)      What is the connection and request for Design Studio to SAP HANA DB?
a.       BICS/JDBC + SQL

4)      What is the connection and request for Analysis Office to SAP HANA DB?
a.       ODBC/BICS + SQL

5)      What is the connection and request for Analysis OLAP to SAP HANA DB?
a.       BICS/JDBC + SQL

6)      What is the connection and request for BEX(Explorer) to SAP HANA DB?
a.       JDBC + SQL

7)      What is the connection and request for Lumira to SAP HANA DB?

a.       JDBC + SQL


Friday, December 30, 2016

SAP Replication Server/Sybase H100

SAP Replication Server:

·         Log based Database replication tool

SAP Sybase Replication server Intro:
·         Transactional data movement product that moves and synchronizes data across the enterprise
·         Real-time business intelligence
·         Zero operational downtime
·         Log based replication process
·         Non-intrusive
·         Very high performance
·         Improve recovery, resumption times and minimize downtime
·         Bi-directional replication
·         Standby DB is always available and can be used for read-only report server
·         Fresh data to enable timelier decision
·         Run resources intensive reports on reporting servers without implacting OLTP systems
·         Reduces info latency for reporting and optimize batch reporting
·         RT data sharing and synchronization
·         Facilitates decentralized business operations
·         Enables remote application to access data locally for improved performance

Relies on log based replication techniques:
·          Changed Data Capture
·         not done against the data volume of the source database
·         reads directly the database log
·         reduces the workload that the replication process brings to the source db
·         Data distribution and migration
·         Distribute: move centralized data to ops apps
·         Share data between ops apps
·         Synchronize: maintain consistency in overlapping data values
·         Migrate: move from older versions of database platform to newer
·         Real time decision support
·         Create ops data store
·         RT loading of DW (HANA< SAP IQ<SAP ASE, Oracle, Microsoft, IBM)
·         RT data sharing and synchronization
·         Enable bzn continuity in case of site wide disaster
·         Maintain app availability during planned/unplanned downtime

Source system = Primary DB
Target = Replicate DB


SAP replication server:
·          Heterogenous materialization( initial load)
·         Pre-req before you can replicate transactions
·         Optimized for numerous tables and big data volumes
·         Leverages native HANA ODBC driver

·         Strong bulk insert/delete capabilities







Qs:11 Your customer requires real-time replication. Where do you select the tables to be replicated to SAP HANA?

A. in transaction LTR in SAP Landscape Transformation (SLT) 
B. in the Import dialog of the Quick Launch of SAP HANA studio 
C. in transaction SAP ERP Tables and Indexes Monitor (DB02) 
D. in the Data Provisioning dialog of SAP HANA studio



2)  SAP HANA Appliance Software :
        a)  SAP HANA Studio                   = SAP HANA Load Controller
b)  Sybase Replication Server    = SAP Host Agent
        c)  SAP HANA Database Clients = LM Structure Files

        d)  SAP HANA Database              = SAPCAR


3)  SAP HANA Enterprise extended  edition : (For Log based replication)
i)  Sybase Replication Agent
              ii)  Sybase Replication Server

             iii)  SAP HANA Load Controller (R/3 Load in Source + R/3 Load in SAP HANA)

5)   Replication Methods Overview :
       a)  Source System-SAP ERP (Application Layer) Ã  Trigger Based Replication Ã  SAP In-Memory Database
       b)  Source System-SAP ERP (Application Layer) Ã     ETL Based Replication  Ã  SAP In-Memory Database
       c)  Source System-Database (Log File)                 Ã    Log Based Replication  Ã  SAP In-Memory Database

  RFC connection is required for connection from Replication server to HANA Database : False


  • HANA is connected to ERP systems, Frontend modeling studio can be used for load control and replication server management 
  • HANA Supports Sybase Replication Server – Sybase Replication Server can be used for real time synchronization of data between ERP and HANA 
  • Replication servers create tables in column store per default
  • A “What-if” scenario is the strength of SAP BO Dashboards.
    26)  a) SAP ERP Ã  SLT (Replication Server) ----(Real Time Replication) Ã  SAP HANA Ã  SAP BO  Ã  Presentation

C) SAP HANA Appliance (SLES 11 SP1)
                              i. SAP HANA Database – Clients Studio
                             ii. SAP HANA Load Controller
                            iii. SAP Host Agent 7.20
                            iv. Sybase Replication Server 15.5 + ECDA

Calculation View H100

Calculation Views:

·         Visible to reporting tools
·         When the view is accessed, a function is implicitly executed
·         Function is defined in the HANA-specific Language “SQL Script”
·         Functions contain SQL commands
·         SQL in functions must be ‘read only’(no insert, update, delete, drop,…)
·         Functions can call other functions

·         Composite Views, re-uses Analytical and Attribute views
·         SQL/SQL Script/Custom Functions




  • Calculation View – With custom functions and calculations
  • Calculation Views – Similar to Virtual provider concept in BW
  • Information Models – Attribute, Analytic, Calculation Views and Analytic  Privilege
  • Calculation View:

    • Define table output Structure
    • Write SQL statement
      • Ensure the selected fields corresponds to previously defined output structures
    • SQL Scripts unlike SQL procedure can't change any data they are read only

    Graphical:
    ·         3 types of calculated Views
    ·          Dimension
    ·         Used to build the equivalent of an attribute view.  No multidimensional reporting is enabled, and the last node is a projection node
    ·         Cube
    ·         Final node is an aggregation node.  Multidimensional reporting is possible
    ·         Cube with Star Join
    ·         Allows modeler to join one or several calculated views of type dimension in the very last stage of the model calculation

    Union: used to combine the result of 2 or more data sources
    ·         Know all the names of all the employees of a store with different branches maintaining their own employee table

    Join: used to query data from 2 or more data sources, based on some condition
    ·         Retrieve the sales of 2 stores maintaining the individual tables for sales based on the customer id

    Projection: Used to filter or create a subset with only the columns of a table or view that are required for you model.
    ·         Selecting the employee name and sales quantity from a table that includes many more columns

    Aggregation: Used to summarize the data of a group of rows by calculating values in a column.
    ·         To retrieve total sales of some product in a month.  The supported aggregation types are sum, min, and max

    Star Join:  Used only in Calculation Views of Type Cube with Star Join, and only as the last calculation step ( just before the Semantics node)

    SQLScript pushes data intensive application logic into the database

    ·         Define Function (with input and output parameters)
    ·         Can be a sclar value to pass parameters from the front-end tools in order to filter the results
    ·         Can be a table type -> to pass results from one function into another
    ·         The output parameter is mandatory
    ·         Can be locally defined table type

    Creating the database object for the calculation view:
    ·         Metadata(the calculation view coding0 has to be translated into run-time objects)
    ·         Executes the coding
    ·         Defined table type is dropped and created
    ·         SQL script function is created
    ·         Column views are created in the chosen output schema

    ·         Select the attributes and measures for the output node.  This will represent the definition of the column view that the front end tools will query against

    ·         Final Step:  Save and activate




    Qs:12 Which of the following can you use as a source for a graphical calculation view? (Choose three)

    A. Calculation view 
    B. SQL view 
    C. Decision table 
    D. Table 
    E. Procedure

    Qs:1 Which of the following nodes can you use when you create a calculation view with the SAP HANA studio graphical interface? (Choose two)


    A. Data Foundation 
    B. Aggregation 
    C. Join 
    D. Analytic Privilege


    Qs:19 Which of the following automatically aggregates data? (Choose two)

    A. Analytic view 
    B. Calculation view 
    C. Column table 

    D. Attribute view


    Qs:18 Where is the physical data stored, on which a calculation view is based?

    A. In the _SYS_BI schema 
    B. In a schema 
    C. In the _SYS_BIC schema 

    D. In a package

    Qs:43 Which of the following are required to build a SQLScript calculation view? (Choose two)

    A. Define a data foundation. 
    B. Define a measure. 
    C. Set the MultiDimensional Reporting property to false. 

    D. Add columns to the var_out output parameter.

    Qs:48 How can you create a computed column in an information model? (Choose two)

    A. Create a calculated attribute within a calculation view. 
    B. Create a counter in an analytic view. 
    C. Create a restricted measure in a calculation view. 
    D. Create a restricted measure in an analytic view.

    Qs:49 You create a graphical calculation view that is based on analytic views. What do you use to combine the data from the analytic views?

    A. Referential join 
    B. Projection node 
    C. Aggregation node 

    D. Union



    On calculation view 3 questions for example: In what situation the calculation view is required?

    Ans:  When we require complex logic that cant be delivered by Attribute and Analytical Views.


     How can you evaluate the actual speed of a calculation within HANA DB, Ans: (3 answers needed)
    a)  Write and execute SQL statement
    b)  Use data preview
    c)  Execute WEBI 

    d)  Execute information space view, e0 trace using python admin tool within TREX.

    What are the reasons for building a calculation view with SQL script rather than the graphical interface
    a)     To reuse standard SQL functions not provided within the modeler
    b)    To create custom reusable calculation functions

    3.     Which tool can you use to preview calculation view data?
    a)     Data Preview
    b)    SQL Editor


    1.  Calculation View can contain the following:
    a.     Database Tables
    b.    Attribute Views
    c.     Analytic Views

    d.    Calculation Views



      Without Analytic Privilege, no data can be viewed from
    a.     Attribute Views
    b.    Analytic Views
    c.     Calculation Views



    62.  Calculation engine performs the following:
    ·         Create Joins at run-time
    ·         Create Calculated Measures and Calculated Attributes

    ·         Compute and Execute Calculation Views



    76.  Calculation views can also be used as business reporting view ? True



    5.     How many result tables are generated from one calculation view per session,

    Ans: 1, other options 2,3,4

    6.     In a calculation view which node is used
    Ans: Projection, Union, there were other options

    10.  How can you evaluate the actual speed of a calculation within a DB,
     Ans: (3 answers needed) a) write and execute SQL statement, b) Use data preview, c) execute Webi, d) Execute information space view, e0 trace using python admin tool within TREX (don't ask me what I picked!)


             What is SQL Script ?

                SQL script is used for calculation view and is a proprietary language.











    -