SlideShare a Scribd company logo
1 of 43
Download to read offline
[Pick the date]




SRINIVASULUREDDY     SRINIVAS.HANA@GMAIL.COM




  Srinivasulureddy                                  Page 1
1. How to add system to HANA Studio?
Answer:
   Choose Start > Studio.




    Choose Window > Open Perspective           > Other.
    Choose Modeler            .
    Choose OK.
    Navigate to the Navigator pan




    From the context menu, choose Add System

Srinivasulureddy                                           Page 2
 Enter the host name, instance number, and a description for the
     system you want to add.




    Choose Next.




Srinivasulureddy                                                   Page 3
 Choose Next.




    Select the required options.
    Choose Finish.
Srinivasulureddy                    Page 4
 Check the system is the system is added or not




2. Understand the components under server
   Answer:
        See the content and catalog files




        Check Under Catalog we have




       Users

Srinivasulureddy                                      Page 5
 For example check for system user check
         Granted roles
         SQL privileges
         Analytic privileges
         System privileges
         Package privileges




        Roles

Srinivasulureddy                               Page 6
    Granted roles
               Part of roles
               SQL privileges
               Analytic privileges
               System privileges
               Package privileges
    Public synonyms




        Schemas



Srinivasulureddy                      Page 7
 under schema we have
                Column views
                Procedures
                Tables
                Views...Etc...




    Under catalog we have packages


Srinivasulureddy                      Page 8
 Under the package we have
               Attribute views
               Analytic views
               Calculation views
               Analytic privileges
               Procedures...etc.
              
   3. Switch to one perspective to other perspective
       Open perspective




             Select other


Srinivasulureddy                                       Page 9
      Under perspective you have the following
                        Administration control
                        Debug
                        Graphiti
                        Life cycle management
                        RCP perspective
                        Resources.
                        Team synchronizing




4. Check all Standard Schemas
   1. SYSTEM

Srinivasulureddy                                         Page 10
2.   SYS
   3.   SAP_IC
   4.   IC_TABLES
   5.   _SYS_REPO
   6.   _SYS_STATISTICS
   7.   _SYS_BI_SYS_BIC
   8.   _SYS_REPL



5. Create custom schema


    From the Quick Launch tab page, choose SQL Editor.




    In the SQL editor, write the script, create schema <schema name>.


Srinivasulureddy                                                         Page 11
 Execute the script.




Srinivasulureddy           Page 12
 Write grant statement




    Execute.




6. Create Row Based Table in SQL Editor
    Go to modeler
    Click on SQL editor




Srinivasulureddy                          Page 13
 Write the ROW table query




      Execute




    REFRESH AND CHECK




Srinivasulureddy                 Page 14
7. Create Column Based Table in SQL Editor
    Go to modeler
    Click on SQL editor




    Write the ROW table query




      Execute


Srinivasulureddy                                Page 15
 Refresh and Check




8. Create New Column/Row Based Table from already Existed Row
   Based Table


Srinivasulureddy                                         Page 16
I.)Creation of row table from already created column table
    Select any COLUMN table
    right click & select generate
    Use Table as Template




    PROVIDE Name schema name & type of store




Srinivasulureddy                                             Page 17
 Execute




II.)Creation of row table from already created column table
    Select any ROW table
Srinivasulureddy                                              Page 18
 right click & select generate
    Use Table as Template
    PROVIDE Name schema name & type of store




   9. Export SQL Statement(Creation of table) from Table


Srinivasulureddy                                           Page 19
 Select any table




           Double click on the table




           Click on export SQL     .




Srinivasulureddy                        Page 20
 Check the SQL table




   10.        Insert data into Tables Manually
Srinivasulureddy                                 Page 21
 Select any table
           right click & select generate
           Insert Statement




           We will get SQL Statement




           Insert the values




Srinivasulureddy                            Page 22
 After inserting the values , execute




           Check the table




Srinivasulureddy                                   Page 23
11. Select Data from Tables
         Select any table
         Right click & select generate
         Select Statement




               We will get SQL Statement & click on Execute.

Srinivasulureddy                                                Page 24
 Check the table




Srinivasulureddy                  Page 25
DATA PROVISIONING




   12. Execute .DDL File to create Schemas & tables under studio
     level
Srinivasulureddy                                             Page 26
 Select .DDL file




               open it & copy code




               Log on to Studio

Srinivasulureddy                      Page 27
 click on SQL Editor




               paste the copied DDL data file on SQL editor




               click on execute




               Check the Schema and Tables


Srinivasulureddy                                               Page 28
13. Keep our .DDL file in HANA Data Base
          PATH: “usr/sap/HAN/HDB(XX)”



Srinivasulureddy                              Page 29
 Go to programs
               WINSCP
               Give the credentials




               Click on Log on
               We use WIN SCP to execute “DDL scripts” from a customer
                schema in HANA database




Srinivasulureddy                                                   Page 30
 Select the DDL file in source pane




               Copy the DDL file
               Paste in target location (PATH: “usr/sap/HAN/HDB(XX)”)




Srinivasulureddy                                                         Page 31
 Go to programs  Extra putty




    Give the host name or IP address & port
    Select the SSH
    Select load
    Click on load
    Click on open




Srinivasulureddy                               Page 32
 Give the credentials
    Login as :
    Password
    Switch user to HANA user
    Su – username Ex: su – hanadm




Srinivasulureddy                     Page 33
 To check is ddl file is copied or not by using ls -1 cmd




    To execute the SQL file
    write the following cmd




Srinivasulureddy                                                Page 34
hdbsql –i52 –uSYSTEM –pNine1234




Srinivasulureddy                  Page 35
 Check the schema in HANA studio




Srinivasulureddy                       Page 36
14. Export Efashion_Tutorial Schema & It’s tables to Client
     Location & It’s tables to one sever to other
     server(DevTestProd)
Answer:
    Go to modeler
    Click on file
    Choose export




    Open as below
    Select export destination file format
   


Srinivasulureddy                                                 Page 37
Srinivasulureddy   Page 38
Srinivasulureddy   Page 39
Srinivasulureddy   Page 40
Srinivasulureddy   Page 41
Srinivasulureddy   Page 42
Srinivasulureddy   Page 43

More Related Content

Similar to Sap hana

Getting started-with-qlikview-part-i
Getting started-with-qlikview-part-iGetting started-with-qlikview-part-i
Getting started-with-qlikview-part-i
Amit Sharma
 
Informatica complex transformation ii
Informatica complex transformation iiInformatica complex transformation ii
Informatica complex transformation ii
Amit Sharma
 
Incremental update-with-data-driven-approach
Incremental update-with-data-driven-approachIncremental update-with-data-driven-approach
Incremental update-with-data-driven-approach
Amit Sharma
 
Sap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-iSap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-i
Amit Sharma
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
Amit Sharma
 
Xml transformation-doc
Xml transformation-docXml transformation-doc
Xml transformation-doc
Amit Sharma
 

Similar to Sap hana (20)

IDRAC 7 with ad whitepaper_v1.1
IDRAC 7 with ad whitepaper_v1.1IDRAC 7 with ad whitepaper_v1.1
IDRAC 7 with ad whitepaper_v1.1
 
Db2
Db2Db2
Db2
 
Getting started-with-qlikview-part-i
Getting started-with-qlikview-part-iGetting started-with-qlikview-part-i
Getting started-with-qlikview-part-i
 
Big Data: Explore Hadoop and BigInsights self-study lab
Big Data:  Explore Hadoop and BigInsights self-study labBig Data:  Explore Hadoop and BigInsights self-study lab
Big Data: Explore Hadoop and BigInsights self-study lab
 
Big Data: Big SQL web tooling (Data Server Manager) self-study lab
Big Data:  Big SQL web tooling (Data Server Manager) self-study labBig Data:  Big SQL web tooling (Data Server Manager) self-study lab
Big Data: Big SQL web tooling (Data Server Manager) self-study lab
 
Informatica complex transformation ii
Informatica complex transformation iiInformatica complex transformation ii
Informatica complex transformation ii
 
Acad acg
Acad acgAcad acg
Acad acg
 
Incremental update-with-data-driven-approach
Incremental update-with-data-driven-approachIncremental update-with-data-driven-approach
Incremental update-with-data-driven-approach
 
Sqlref
SqlrefSqlref
Sqlref
 
Archivists toolkit SQL - a tutorial
Archivists toolkit SQL - a tutorialArchivists toolkit SQL - a tutorial
Archivists toolkit SQL - a tutorial
 
20141002 delapsley-socalangularjs-final
20141002 delapsley-socalangularjs-final20141002 delapsley-socalangularjs-final
20141002 delapsley-socalangularjs-final
 
WMI for Penetration Testers - Arcticcon 2017
WMI for Penetration Testers - Arcticcon 2017WMI for Penetration Testers - Arcticcon 2017
WMI for Penetration Testers - Arcticcon 2017
 
Windows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive InfoWindows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive Info
 
Cloud view platform-highlights-web3
Cloud view platform-highlights-web3Cloud view platform-highlights-web3
Cloud view platform-highlights-web3
 
Sap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-iSap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-i
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
 
Xml transformation-doc
Xml transformation-docXml transformation-doc
Xml transformation-doc
 
DBMS_Lab_Manual_&_Solution
DBMS_Lab_Manual_&_SolutionDBMS_Lab_Manual_&_Solution
DBMS_Lab_Manual_&_Solution
 
Db2 version 9 for linux, unix, and windows
Db2 version 9 for linux, unix, and windowsDb2 version 9 for linux, unix, and windows
Db2 version 9 for linux, unix, and windows
 
Iaas+FD,+Oracle+Special+5th+Edition+9781119909538.pdf
Iaas+FD,+Oracle+Special+5th+Edition+9781119909538.pdfIaas+FD,+Oracle+Special+5th+Edition+9781119909538.pdf
Iaas+FD,+Oracle+Special+5th+Edition+9781119909538.pdf
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Sap hana

  • 1. [Pick the date] SRINIVASULUREDDY SRINIVAS.HANA@GMAIL.COM Srinivasulureddy Page 1
  • 2. 1. How to add system to HANA Studio? Answer:  Choose Start > Studio.  Choose Window > Open Perspective > Other.  Choose Modeler .  Choose OK.  Navigate to the Navigator pan  From the context menu, choose Add System Srinivasulureddy Page 2
  • 3.  Enter the host name, instance number, and a description for the system you want to add.  Choose Next. Srinivasulureddy Page 3
  • 4.  Choose Next.  Select the required options.  Choose Finish. Srinivasulureddy Page 4
  • 5.  Check the system is the system is added or not 2. Understand the components under server Answer:  See the content and catalog files  Check Under Catalog we have  Users Srinivasulureddy Page 5
  • 6.  For example check for system user check  Granted roles  SQL privileges  Analytic privileges  System privileges  Package privileges  Roles Srinivasulureddy Page 6
  • 7. Granted roles  Part of roles  SQL privileges  Analytic privileges  System privileges  Package privileges  Public synonyms  Schemas Srinivasulureddy Page 7
  • 8.  under schema we have  Column views  Procedures  Tables  Views...Etc...  Under catalog we have packages Srinivasulureddy Page 8
  • 9.  Under the package we have  Attribute views  Analytic views  Calculation views  Analytic privileges  Procedures...etc.  3. Switch to one perspective to other perspective  Open perspective  Select other Srinivasulureddy Page 9
  • 10. Under perspective you have the following  Administration control  Debug  Graphiti  Life cycle management  RCP perspective  Resources.  Team synchronizing 4. Check all Standard Schemas 1. SYSTEM Srinivasulureddy Page 10
  • 11. 2. SYS 3. SAP_IC 4. IC_TABLES 5. _SYS_REPO 6. _SYS_STATISTICS 7. _SYS_BI_SYS_BIC 8. _SYS_REPL 5. Create custom schema  From the Quick Launch tab page, choose SQL Editor.  In the SQL editor, write the script, create schema <schema name>. Srinivasulureddy Page 11
  • 12.  Execute the script. Srinivasulureddy Page 12
  • 13.  Write grant statement  Execute. 6. Create Row Based Table in SQL Editor  Go to modeler  Click on SQL editor Srinivasulureddy Page 13
  • 14.  Write the ROW table query  Execute  REFRESH AND CHECK Srinivasulureddy Page 14
  • 15. 7. Create Column Based Table in SQL Editor  Go to modeler  Click on SQL editor  Write the ROW table query  Execute Srinivasulureddy Page 15
  • 16.  Refresh and Check 8. Create New Column/Row Based Table from already Existed Row Based Table Srinivasulureddy Page 16
  • 17. I.)Creation of row table from already created column table  Select any COLUMN table  right click & select generate  Use Table as Template  PROVIDE Name schema name & type of store Srinivasulureddy Page 17
  • 18.  Execute II.)Creation of row table from already created column table  Select any ROW table Srinivasulureddy Page 18
  • 19.  right click & select generate  Use Table as Template  PROVIDE Name schema name & type of store 9. Export SQL Statement(Creation of table) from Table Srinivasulureddy Page 19
  • 20.  Select any table  Double click on the table  Click on export SQL . Srinivasulureddy Page 20
  • 21.  Check the SQL table 10. Insert data into Tables Manually Srinivasulureddy Page 21
  • 22.  Select any table  right click & select generate  Insert Statement  We will get SQL Statement  Insert the values Srinivasulureddy Page 22
  • 23.  After inserting the values , execute  Check the table Srinivasulureddy Page 23
  • 24. 11. Select Data from Tables  Select any table  Right click & select generate  Select Statement  We will get SQL Statement & click on Execute. Srinivasulureddy Page 24
  • 25.  Check the table Srinivasulureddy Page 25
  • 26. DATA PROVISIONING 12. Execute .DDL File to create Schemas & tables under studio level Srinivasulureddy Page 26
  • 27.  Select .DDL file  open it & copy code  Log on to Studio Srinivasulureddy Page 27
  • 28.  click on SQL Editor  paste the copied DDL data file on SQL editor  click on execute  Check the Schema and Tables Srinivasulureddy Page 28
  • 29. 13. Keep our .DDL file in HANA Data Base PATH: “usr/sap/HAN/HDB(XX)” Srinivasulureddy Page 29
  • 30.  Go to programs  WINSCP  Give the credentials  Click on Log on  We use WIN SCP to execute “DDL scripts” from a customer schema in HANA database Srinivasulureddy Page 30
  • 31.  Select the DDL file in source pane  Copy the DDL file  Paste in target location (PATH: “usr/sap/HAN/HDB(XX)”) Srinivasulureddy Page 31
  • 32.  Go to programs  Extra putty  Give the host name or IP address & port  Select the SSH  Select load  Click on load  Click on open Srinivasulureddy Page 32
  • 33.  Give the credentials  Login as :  Password  Switch user to HANA user  Su – username Ex: su – hanadm Srinivasulureddy Page 33
  • 34.  To check is ddl file is copied or not by using ls -1 cmd  To execute the SQL file  write the following cmd Srinivasulureddy Page 34
  • 35. hdbsql –i52 –uSYSTEM –pNine1234 Srinivasulureddy Page 35
  • 36.  Check the schema in HANA studio Srinivasulureddy Page 36
  • 37. 14. Export Efashion_Tutorial Schema & It’s tables to Client Location & It’s tables to one sever to other server(DevTestProd) Answer:  Go to modeler  Click on file  Choose export  Open as below  Select export destination file format  Srinivasulureddy Page 37
  • 38. Srinivasulureddy Page 38
  • 39. Srinivasulureddy Page 39
  • 40. Srinivasulureddy Page 40
  • 41. Srinivasulureddy Page 41
  • 42. Srinivasulureddy Page 42
  • 43. Srinivasulureddy Page 43