HANA Query

Hello, I have a question about disk size. Let's say if i have SAP BW on Oracle (traditional way). I have 3 DSOs and their data volume is about 50 GB. I want to do BW on HANA and i create another instance of my SAP BW on HANA. The data that i have on Oracle is not compressed at all. so when i bring my data in HANA environment, would it divide the data size by 5? which means i would only need 10 GB of HANA disk space to accomodate 50 GB of oracle data? is this how it works?
Thanks.

Hi Venkat,
    The formula is not straight forward as you did .It has little bit maths to it ,for the persons like me who are not good at maths SAP is helping out by giving redaymade solution via a ABAP report. Go through the SAP Note  1736976 - Sizing Report for BW on HANA.
there is a ABAP report attached to it run that report in your excisting BW on oracle system the report will give you the required size of HANA.
Thanks & Regards
  A.Dinesh

Similar Messages

  • SAP HANA Query

    Hello, I have a query about SAP HANA. If I want to bring BSEG table in HANA from ECC but do not want to do Live update(SLT) and do not want to create all the fields that exist in BSEG in ECC one by one. what features of native HANA would I use to do that?
    Thanks.

    Hi Venkat,
    You can go with BODS or SLT.
    In BODS, you can select required fields from BSEG table in ECC and map the same to HANA table.
    You can also go with SLT, do one time load using LOAD option. Even here you can select reruired fields, not all the fields from BSEG table.
    Regards,
    Chandu.

  • SAP LT 2.0 && SLT Replication in HANA : query

    Hello LT experts,
    I am sure that we could use SAP SLT Replication (Data provisioning method) using HANA with source system as SAP or Non SAP SYSTEMS.
    Please advise if the same works with SAP LT.20 for system landscape transformation project.I mean source for SAP LT2.0 would be Non-sap and target ofcourse would be SAP (which could be consolidation of many existing SAP productive systems).
    Thank you
    Shishupal.

    Hi Shishupal,
    If I understand correctly, you are looking for difference between SLT in HANA and SAP Landscape Transformation 2.o(SLT again ). Both these two tools are from same framework. But SLT in HANA is used as a replication tool, whereas, as you said we use HANA as a secondary database and the source is may be SAP or NON SAP. In case of SLT 2.0, this tool is used in during company marge, merging company code, merge profit area (used basically when two company merge scenario etc). May be you already know that for SLT in HANA requires DMIS addon in 7.02 netweaver systems like wise for SLT 2.0 DMIS is required for SLT 2.0 ad additionally one more addon component SHC_CONT is required. So we have two things
    SLT replication tool
    SLT 1.0 or 2.0
    Regards,
    Rafikul

  • SAP B1 HANA - Query conversion

    hello
    how would I change this to work in SAP b1 HANA Sbo trns notification stored procedure?
    IF @OBJECT_TYPE='17' AND @TRANSACTION_TYPE in ('U','A')
    BEGIN
    IF exists
    (select count(*) from rdr1 T0 inner join oitm T1 on T0.ItemCode = T1.ItemCode inner join OITW t2 on t2.ItemCode = t1.ItemCode and t0.WhsCode = t2.WhsCode     
    where T1.U_ALLOWNEG = 'No'      
      AND T0.DocEntry = @list_of_cols_val_tab_del     
    having  SUM(t2.OnHand + t2.OnOrder - t2.IsCommited ) < 0 )   
    select TOP 1 @ERROR = 1 ,@ERROR_MESSAGE = 'This Item Cannot be Ordered - Causing Negative Stock' END

    Hi,
    Please check this document http://scn.sap.com/docs/DOC-47664
    Thanks & Regards,
    Nagarajan

  • Passing values to global variables while running job via management console

    Hi All,
    I have a requirement, where I have to use HANA view with input parameters as source. I am doing the same by placing the HANA query for view with input parameters, in SQL transform and assigning values to placeholders using global variables. This is working fine at the designer level.
    But where I am stuck is, it possible to pass values to global variables while running job in Management console or in a third party scheduler. Should I do any changes in the batch job to achieve the same ?
    Please help me with the same and also let me know whether my approach of using Global variables to assign values to input parameter of HANA view is right?
    Thanks,
    Deepa

    Select Batch > Batch Job Configuration > Add Schedule and Expand the Global Variables section in the Schedule Batch Job tab. You can then specify a value for all your global variables.
    Alternatively, work with control tables and assign values to the global variables in an initialisation script.

  • Joining tables : Smart Access Connection

    Here's my scenario...
    I have data from 1 system existing as standard HANA tables.
    I have data from a second system, coming into HANA as a Smart Access Connection.
    My task is to build queries against each system's tables to obtain relevant data from each system, and then a top level query to join system A data to system B data.
    I'm from a SQL Server background, so my natural instinct is to NOT to join tables from linked servers directly to 'local' tables.
    I would normally query the remote source, stage the required data into a local temporary table, and then join local-to-local.
    However, I am unsure as to the best approach in this new world of HANA.
    I did some reading here : SAP HANA Smart Data Access - Using the SAP HANA Database - SAP Library
    "SAP HANA Smart Data Access optimizes execution of queries by moving processing as far as possible to the database connected via SAP HANA Smart Data Access. The SQL queries then work in SAP HANA on virtual tables. The SAP HANA Query Processor optimizes the queries and executes the relevant part in the connected database, returns the result to SAP HANA and completes the operation"
    .. but this is still a bit vague to me, and I am not sure that it was intended to be read in relation to simply querying the remote connection in isolation, or in queries involving other sources as well.
    Would anyone be able to clarify, or point me to better suited reading material ?
    many thanks for any pointers on this ....

    Not possible within SQL Dev.
    It pains me to suggest this.. but the simplest thing to do is to use an external table in Access to link to Oracle and make your joins in Access. I used to do it all the time and access is fairly good at only grabbing what is necessary from oracle. The only other product that comes to mind that does this type of operation is crystal reports.

  • ABAP For HANA as secondary DB problem in execute query decleration.

    Hello Experts,
    I am fetching data from HANA DB as secondary database using ADBC. When I am going to concatenate native SQL query its geting more than 255 char and here is the problem.
    Please suggest how can I deal with more than 255 char string query.
    GV_SQL is query which is string.
    e.g.  GO_RESULT = GO_SQL->EXECUTE_QUERY( GV_SQL ).
    Regards,
    Amol

    Hi Fernando,
         1.Actually I am not facing any problem with ADBC. Just ABAP predefined type STRING is not accepting more than 255 character length.
         2.At the time of concatenating fields, HANA view path and where conditions it is getting more than 255 character, hence at the time execution of query getting failed.
         3.  GV_SQL type string.
    GV_SQL =  |SELECT MANDT....(more than 255 character length)| &&
                       |FROM _SYS_BIC."dev.re.e10.cal.fi.tr/CV_COSTELEMENT_TEST" |
                 && |('PLACEHOLDER' = ('$$IP_BUKRS$$', '{ P_WERKS }')) |.
    GV_SQL storing only 255 character, I wanted a string to store more than 1000 character length.
    Regards,
    Amol

  • DataServices SQLDriverConnect Error [Source (ERP) → Query → Target (HANA) ]

    When the job is executed, including the following data flow, error occurs in SQLDriverConnect.
    Please tell us why.
    Source (ERP) u2192 Query u2192 Target (HANA)
    Error:
    ODBC call <SQLDriverConnect> for data source <data source name> failed: <[Microsoft] [ODBC Driver Manager] not found and no default driver specified data source name. >. Notify Customer Support.

    Hi Gaston2010Liber.
    Control Panel > Administrative Tools > ODBC Administrator
         User DSN   u2192 It got problem.
         System DSN u2192 It works well.
    Daisuke Washio

  • SELECT TOP query in HANA

       Hi,
    Can somebody give me the HANA equivalent of the following SQL query:
    SELECT TOP (731-624+1) COLUMNNAME FROM TABLENAME
    In case of HANA, it gives syntax error near "(".

    Hi Yash,
    As per the HANA SQL syntax supported case is
    <select_clause> ::= SELECT [TOP <unsigned_integer>] [ ALL | DISTINCT ]
    <select_list>
    After Top only an unsigned intger is expected and cannot handle an <expression> like in your example.
    Hope this is useful.
    Best Regards,
    Ranjit

  • Error in query ABAP using HANA as secundary data base

    Hi Experts,
    I have an error when I run a query from ABAP using HANA as alternative database. The query results empty, I do not know if something is missing or if additional error to the connection created by the BASIS consultant.
    The example I'm using is:
    ****Create the SQL Connection and pass in the DBCON ID to state which Database Connection will be used
       DATA lr_sql    TYPE REF TO cl_sql_statement.
       DATA lr_result TYPE REF TO cl_sql_result_set.
       DATA lr_adrc   TYPE REF TO data.
       DATA it_adrc   TYPE STANDARD TABLE OF adrc.
       DATA lv_oref   TYPE REF TO cx_root.
       DATA lv_text   TYPE string.
       CREATE OBJECT lr_sql
         EXPORTING
           con_ref = cl_sql_connection=>get_connection( 'HBT' ).
    ****Execute a query, passing in the query string and receiving a result set object
       TRY.
           lr_result = lr_sql->execute_query( 'select * from "PRD_300"."ADRC"' ).
           GET REFERENCE OF it_adrc INTO lr_adrc.
    ****Get the result data set back into our ABAP internal table
           lr_result->set_param_table( lr_adrc ).
           lr_result->next_package( ).
           lr_result->close( ).
         CATCH cx_sql_exception INTO lv_oref.
           lv_text = lv_oref->get_text( ).
           MESSAGE lv_text TYPE 'I'.
       ENDTRY.
    Regards.
    Richard.

    I resolved the problem myself.
    Regards,
    Richard.

  • 74 upgrade: query properties field: Operation in BWA/HANA

    Dear all,
    once we upgraded to BW 74 SP09 we experience some issues regarding query properties. In particular some queries are not having same value of field "Operation in BWA/HANA = RSRREPDIR-TREXOPS".
    The value of the field in RSRT is different comparing to table. As example query has setting set to "6=exception aggregation (default)" however the corresponding field in the table is blank. My consumption was that all the queries after the upgrade should be set to value "2=Individual access per IProv".
    I expected this as per SAP Note "1790426 - Processing MultiProviders in BWA" which saying about official SAP recommendation value of the field.
    My questions:
    1. Anyone experiencing same inconsistency between table and RSRT value?
    2. What is than really recommended value? E.g. in BW74 SP09 the option 6 has a word "default" in brackets.. but above mentioned Note says differently...
    PS: our BWA version is 7.20.32.00
    Thanks,
    martin

    This is a Duplicate Post. [url https://forums.oracle.com/forums/thread.jspa?threadID=2401881&tstart=0]Original Post Can be found here.

  • Private Reuse and Query views in HANA

    When you create custom views (models) how would you classify as private, reuse and Query views?
    In SAP provided views they classified the views into Private, reuse and query views.. we would like to categorize our views in the same way. Take a look at the attachment for how SAP provided views are classified.
    thanks

    Hi Vaithi,
    This categorization of views is in SAP HANA Live, and functionalities are as below.
    Private views are abstraction layer for SAP tables. These views are used in Re-use views. Private views cannot be modified.
    Re-use views are built on top of Private views and we can use Re-use views to build Query views.
    Query views are created on top of Re-use views and we use Query views for reporting in reporting tools.
    In general when we create models, we don't categorize this way because we use Attribute views, Analytic views and Calculation views according to our requirement. But in HANA Live, all models are calculation views and hence they are divided into separate categories.
    Are you planning to categorize models created by you or copying the HANA Live views and want to classify them?
    Regards,
    Chandu.

  • Can we import Bex query, SPO, MP, INFOSET, OHD to HANA studio

    Hi all,
    Can we import Bex query, SPO, MP, Infoset, OHD to hana studio ?.
    If yes then how ?.
    Note: We are already on BW on HANA, SP6 pack.
    Please can any one provide some light on it.
    Regards
    Pavnete Rana

    Can we import Composite provider, Hybrid provider, Virtual Porvider, Advance DSO, Transient Provider to HANA Studio?

  • BEx Query Slower in Hana?

    We are in the process of upgrading our BW system to Hana and after some testing on our test hana system we've noticed that one of our queries is taking double the time to run than it does currently on our production system which runs with accelerator.  Has anyone had any issues during their hana upgrading stages ran into queries that took longer to run than it did in a BWA system?

    Hana has inside differents engines that make the calculations on each step of the procces to obtain and show information.
    SAP says that you can migrate your current BW content to hana, but in order to get performance improvements, is needed to tune the query bex. Because is possible to have a problems like this.
    you need to see where is the bottleneck and attack it.
    consider this:
    1) Delegate all the calculations to the database level.
    2) apply filters in the database level
    3) only transfer results (see if you are having issues in your network)
    4) what Hana database version are you using with? Investigate if you are using a new HDB system.
    5) Hana has several traces inside that you can enable and investigate. look for some information and try to use it.
    hope it helps.

  • Business Objects Explorer  on bex query on HANA

    Hi BI/BW/BO experts
    if we implement BW on HANA, and run bex queries.
    What are the pros and epecially the cons for running BO explorer.
    Can Explorer connect to a bex query?
    What about iput variables ?
    Can the bex query connect to multiproviders?
    Does it run on IOS ?
    Does it run on Android ?
    Hope for a clarifying answer.
    (These things changes so fast)
    very best regards
    Ingrid

    Hi Ingrid,
    We can create information space over BWA and here is the steps;-
    Login to BW system from SAP GUI.
    Run T-code RSDDB.
    Click Query as InfoProvider button.
    Select one BEx query and click Release Query as InfoProvider menu.
    Click Create button.
    Click Activate and Fill BWA Index and select Immediate > Save.
    Run T-code /nRSDDTPS. Find the BEx query.
    Right click it and select Create... menu.
    Click Yes from prompted dialog.
    Enter User name and select "0BI_ALL" as BW Authoriz.
    Click Activate menu and select Immediate > Save.
    Run T-code /nTrexAdmin.
    Select Program > Get BIA Rfc Destination and click Execute button.
    =>You can find hostname of BWA system and trex instance number in Location field.
    =>It is generally formated as "<host>:3<instance number>##".
    Use the two information to enable Business Warehouse Accelerator to BusinessObjects Explorer by referring KBA 1618815.
    Login to Explorer 4.0 and click Manage Spaces menu.
    Find the BEx query and click New button.
    You can connect bex query to multiprovider through JCO connection from IDT.
    Hope this helps
    Regards,
    Pranay

Maybe you are looking for