SAP HANA: IMPORT/EXPORT Views

We can Import/export tables using hdbsql CLI.
But Is there any way by which we can export/import Views(attribute,analytic,calculation) using hdbsql CLI.
I raised above question some days back
SAP HANA: IMPORT/EXPORT Views | SCN
Also while checking on internet I found another link for the same issue:
http://scn.sap.com/thread/2141404
And from experts answers, I came to conclusion that Import/Export Views(Attribute/Analytic/Calculation views)in SAP HANA is not possible through hdbsql CLI/ SQL commands.Now Is there a way where I can confirm this from SAP HANA program management guys?

Lars,
Thanks for the explanation.
What I am trying to achieve is to create an automate script which should export all tables and views for a schema and again import tables and views in a different schema.
table part is done, But stuck in view part.
I tried the below command and was able to export the calculation view which I created in Content and exists as
_SYS_BIC-->Package(same name as schema where all the tables are stored) --> View Name.
Command used was:
EXPORT  "<Schema_Name>"."<Package_Name>/<View_Name>"  INTO '<path>'
Now I have 2 ques :
1) I am not sure how to import this exported view. I tried below command but it failed:
IMPORT  "<Schema_Name>"."<Package_Name>/<View_Name>"  FROM '<path>'
2) Not sure how to export and import all the views.
I did IMPORT SCAN of the path as well and found below entries for the exported view in the mentioned path:
SCHEMA_NAME, OBJECT_NAME, OBJECT_TYPE, EXISTS
"_SYS_BIC", "<Packagename>/CalculationViewName>", "VIEW", 1
"_SYS_BIC", "<Packagename>/AnalyticViewName>", "VIEW", 1
"_SYS_BIC", "<Packagename>/CalculationViewName>/olap", "VIEW", 1
"_SYS_BIC", "vwTile1ALLData", "VIEW", 1
Any Inputs would definitely help. Thanks.

Similar Messages

  • How to make a BW Infoprovider for a SAP HANA Calculation-/Analytcial-View

    Hi
    I have got a BW 73 with a Hana.
    How can I  make a BW Infoprovider for a SAP HANA Calculation-/Analytcial-View in SAP BW ?
    Thank You
    Best Martin

    Hi Rekha,
    No need to do anything, just we need do migrate standard info cube to In-memory Optimized Info Cube. Once it is turned to In-Memory optimized Info Cube(We will have F table surrounded by master data tables) and no dimension tables in HANA.
    F-tables is nothing but Analytic View in HANA and Master data tables are nothing but Attributes in HANA.
    once you migrate to In-Memory Info Cube, your tables are ready in HANA and you can create different view.
    have a look at the below videos.
    https://www.experiencesaphana.com/blogs/bwonhana/2011/10/18/prerequisites-for-bw-on-hana
    http://www.sdn.sap.com/irj/scn/data-warehousing-elearning
    Regards,
    Venkatesh

  • Importing Masters through SAP B1 Import Export Utility

    Hi guys,
    I am using Import and export utility to import BPs and Items. If anyone has used it please tell me if there any issues / future implications regarding it or it is just ok.
    Thanks and regards
    Pardeep

    hi pradeep,
    Only limited amount of columns(limited no. of data) can be
    imported through the import from excel.
    Date from excel should be mapped exactly with
    as with columns and fields in Import from excel for both BP/Items.
    Excise and other tax information in BP can't be uploaded
    through import from excel,this can be possible in DTW.
    Excisable,Material Type,Chapter ID and assesable value
    can't be uploaded through import from excel,this is also not
    possible in SAP B1.
    You need to set warehouses manually if
    "Auto add all warehouse to New Warehouses" is not ticked,this
    is possible in DTW using template oWarehouses.
    Considering above limitations you can better opt for DTW
    to import datas to SAP B1.
    Jeyakanthan

  • SAP database import export

    Hi Gurus
    My R3 database is 1.8 TB and the no. of datafiles are around 188, all are of 10GB each , how i can minimise the no.of datafiles and reorg the entire database., will it help in reducing the current database size.

    I would like to know the maximum no.of datafiles in one tablespace
    The answer is in SAP Note 606395 - FAQ: Oracle Limitations
    Database files
    maximum per tablespace : on most operating systems 1022
    maximum per database :   65533 total, further limited by the
                            db_files init<SID>.ora parameter
    And please don't ask now: What is the exact limit for my operating system? (You didn't tell us, by the way.)
    Try Google or SDN search instead!
    hope this helps

  • SAP HANA XSJS - Analytic view & XSODATA

    Hello all,
    We have a requirement to expose an analytic view as a xsjs service, could some one assist providing the syntax for xsjs ?
    Regards.

    Hey Kumar
    this script will read your table an expose all Data via JSON
    try {
      var conn = $.db.getConnection();
      var query = "select * from YOUR_VIEW";
      var pstmt = conn.prepareStatement(query);
      var rs = pstmt.executeQuery();
      var line = {};
      var list = [];
      var i = 1;
      while (rs.next()) {
           line = {};
           for (i = 1; i <= rs.getMetaData().getColumnCount(); i++) {
                line[rs.getMetaData().getColumnLabel(i)] = rs.getString(i);
           list.push(line);
      var body = JSON.stringify(list);
      $.response.contentType = "application/json";
      $.response.setBody(body);
    } catch (e) {
      $.response.status = $.net.http.INTERNAL_SERVER_ERROR;
      $.response.setBody(e.message);

  • Can we import all BW object to SAP HANA ?

    Hi to all,
    Can we import all BW object to SAP HANA.
    Can I get relevant URL / PDF for same.
    Regards
    Pavneet Rana

    Hi Paveena,
    There are diffent ways to achieve this and here is the info.
    when you are importing the BW Cube it is Extended Star schema Structure hence the BW HANA Interface model can easily build in HANA Using Calculation View.
    when it comes to other models there are some complexities hence still they not supporting.
    Suppose if you go using Multi Provider it have limtations like we need to get Key Figure value only from One cube and it applies to the character as well.building this is bit complesx in HANA ( interface needs implement ) , hence SAP may not look in this are as they are looking more possibilities in other areas.
    If you go for query it is more complexity to build such a model in HANA using the exception , conditions and rest.
    Instead of importing models to HANA why can't use expose them directly when you are in BW Powered HANA.
    Regards
    Jagan

  • Cannot execute import/export database hana studio

    Hi,
    We need to create a new Test company from the Productive Company Database, A few days ago we didn't have any problem executing the import/export functionality in HANA Studio:
    export "DB_PRD"."*" as binary into '/hana/Backup' with replace threads 10;
    import "DB_PRD"."*" as binary from '/hana/Backup/' with replace threads 10
    rename schema "DB_PRD" to "DB_TST";
    But now, when we want to do this we have the next error:
    Could not execute 'import "DB_PRD"."*" as binary from '/hana/Backup/' with replace threads 10 rename schema ...' in 674 ms 276 µs .
    SAP DBTech JDBC: [2]: general error: DB_PRD.ETL_S  DB_PRD:OACT_tracking not found in the import directory.
    Does anyone has the same situation?

    Hi,
    Please check SAP note:
    1944485 - Cannot import schema into SAP HANA if data staging is
    enabled
    Thanks & Regards,
    Nagarajan

  • IMPORT a VIEW from an export dump file

    I'm trying to import a view from an export dump file. In using the Import Utility, do I use the TABLE parameter and give the View name ie: TABLES=view1
    null

    Only I want to do is import ONE view from an export dmp file that contains hundereds of table, many views and procedures. I do not want to reimport everything from the export file.

  • XML --import/ Export in SAP BW

    Hi
    I need to import/export from my production to my development systems to maintian the consistencies. This is due to some changes that has been incorporated in the production on exigent basis.
    Now we wish to maintain the consistencies in Develeopment.
    I will be oblized if somebody can help me with the steps to achive the purposes..
    Regards

    Hi
    Chekc these links..
    help.sap.com/saphelp_bw30b/helpdata/en/60/2edd3b8f1b127de10000000a114084/content.htm
    www.bwexpertonline.com/search.cfm?bwe=yes&q=bw
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/xml-import-query-elements
    regards
    ashwin

  • Import/Export in back stage view

    What is the use of import/Export in back stage view of customize ribbon and Quick access toolbar

    Shiv --
    Pardon me for bumping into this thread.  Here is a scenario that might answer your question:
    You create a customized ribbon and Quick Access Toolbar.  Your ribbon has a new tab called Initiate which contains the commands you use to initiate a new project, such as setting the Start date of the project, setting the Project and Nonworking Time
    calendars, etc.  Your customized Quick Access Toolbar contains the buttons you most frequently use, such as Zoom In, Zoom, Out, Scroll to Task, etc.
    A fellow PM sees how you have customized the ribbon and Quick Access Toolbar in your copy of Microsoft Project and asks if you would give him/her the customizations.
    You navigate to the Backstage and export your ribbon and Quick Access Toolbar customizations to an *.exportedUI file and you e-mail the customization file to your fellow PM.
    Your fellow PM launches Microsoft Project, navigates to the Backstage, walks through the import process, and imports the ribbon and Quick Access Toolbar customizations from the customization file you sent him/her.
    As Guillaume correctly points out, this is how to transfer ribbon and Quick Access Toolbar customizations from one computer to another, or from one user to another.  One of the things I have done since Microsoft released the 2010 version Microsoft Project
    is to give my students a customization file that has customizations they can use in the real world with their ribbon and Quick Access Toolbar.  The export/import process is very easy, and very useful.  Hope this extra helps.
    Dale A. Howard [MVP]

  • Import failed when Import a SBO Database in SAP Hana

    Hi all,
    When I try to import a SBO database Rev 69 to SAP Hana with Rev 74, I receive this error:
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30151] Object not found in the import directory;object=SBOCOMMON:ETL_Sen
    I guess that the error not have relationship with different Revs. I imported another DB with this Rev and this work.
    The import was done in 2 ways:
    Script:
    IMPORT DATABASE."*" FROM '<directory>' WITH REPLACE
    Click right in Database, Import, select directory, select tables, import...
    Does anyone know what can be or the solution??
    Thanks
    Best regards
    Marcos Taira

    Hello Marcos.
    You could check this note.
    1981315 - HANA import fails with error "not found in the import directory"
    Regards.
    Mario.

  • Defining a recursive view in SAP HANA

    Hi All,
    Currently SAP HANA does not support defining recursive views as already mentioned in Tals discussion as per the following link:
    Defining a recursive view in SAP HANA
    I would like to ask again if this limitation is still exist in latest SAP HANA version or not?
    Some background:
    In our MDM product we can create a hierarchy tables which organizes information in a hierarchy where each record is related to a parent record and may also be related to sibling records and/or child records.
    On other hands, MDM product generates database views that are saved as database queries representing MDM data. Currently HANA limitation prevents creating a database view on top of hierarchy database tables.
    Lars Breddemann
    Best regards,
    Ahmad

    Hi Ahmad,
    just as I mentioned in BOM explosion there is a feature available in SAP HANA (column view type hierarchy aka hierarchy views) that is used (SAP-) internally.
    AFAIK there are some ideas to make this available via SQL, but I don't know when or how this functionality will make it into the standard product.
    Ruediger Karl the core HANA PM might be able to answer that.
    Until then, you might be better off contacting SAP HANA development about possibly using hierarchy views for your development.
    - Lars

  • SAP HANA Live Views for ERP

    Hi Experts,
    We are planning to implement SAP HANA Live for ERP operational reporting, I saw there are 786 views delivered with this which includes -
    1) Query views
    2) Reuse Views
    3) Private Views
    Query views always contains the word "Query" at the end of the view name which helps in identifying it but I am unable to distinguish between reuse and private views. Can anyone tell me how do we distinguish whether a view is a reuse view or a private view?
    Thanks in anticipation.
    Regards,
    Victor

    Hi Ramakrishnan
    How do you get access to the 'VDM properties' Tab ?
    I don't have it on my own HANA Studio.
    I guess this tab is also the good one to assign a view to the proper product/ module hierarchy in the HANA Live Browzer.
    Currently, all my custom view fall into the "N/A - Undefined" section, which is highly frustrating !
    Is this view dedicated to SAP developpers?
    Otherwise do you know how to get access to it.
    Thanks.
    Best Regards
    Stephane

  • Foreign Trade Import/Export Tab in Material Master of SAP R/3

    Hi
    What is the use of Foreign Trade Import/Export Tab in material master of SAP R/3

    Hi Akhil ..
    Sounds like you need to enrol for the SAP Foreign Trade training course!
    The tab holds various attributes for determining Foreign Trade data - for example the Customs classification and Country of Origin.  Those data are used to determine and/or populate fields in the Foreign Trade data when processing MM and SD documents.
    Some, but not all, of the fields in that tab become redundant if GTS is in use.
    If you have more specific questions in this area, it might be easier to give better explanations.
    Regards,
    Dave

  • Creating Logic and modeling for SAP BW datasource in SAP HANA views and SLT

    Hi to all,
    I have small question.
    We have BW system and SAP ECC as source system and to get data from SAP ECC source system we are using SAP ECC Standard data source.
    Now we required to, create modeling in SAP HANA by use of HANA View and get data from SAP ECC source table via SLT.
    So we can replicate same modeling,as we done in SAP BW system.
    But  my question is that, as SAP ECC standard data source hit multiple table and do run-time calculation, before sending to SAP BI.
    How we can derives such calculation and logic, in our HANA studio, because as we know in SLT data transformation can be done in limited way also
    in view we can not drive such logic via SQL script ?.
    Is there any way we can do such modeling and logic in SAP HANA ?
    or
    is there any standard document for this type of case, which we can use ?
    Note: We don't want to use SAP DS or DXC for data loading to HANA, as  we want it in more real time.
    Regards
    Pavneet Rana

    Thanks for reply,
    As SLT is based on ABAP, so we can write complex logic in it.
    But if we talk about SAP ECC standard data source, they have complex logic, based on multiple table.
    So we need to write code from scratch in SLT to derive same result. but it will be huge time consuming , and required good ABAP skills, also it will lead to bug in code.
    Also it will reduce the real time performance of SLT, due to complex logic.
    Second option is procedure via SQL script, which is again huge effort in term if logic and can lead to error/bug in logic.
    Does we have any other way or architecture to do this is very simple way, with high performance and less error issue.
    Regards
    Pavneet Rana

Maybe you are looking for

  • Removing backup files from external hard drive

    Hi, I hope you can help me here. My macbook (the silver 2010 model) has become horrendously slow so I wanted to move all of my photos and music to my external drive. Come to plug it in I found out that I only had 45GB left on it and located an old sy

  • MSI fx5600 VTDR-128, video in function don't work

    VIDEO IN DO NOT WORK!!! drivers ver: 52.16 and wdm: 2.20 tried many different capturing software checked video source and cable don't work s-vhs nor composite nview: disabled Any help welcome!!!

  • How do I get Logic to reference files instead of importing them?

    Hey guys, I've been trying to figure this out for a while now with no luck. How do I get Logic X to reference audio files on my hard drive without importing them in to the project itself? I've got a lot of remix type tracks that use long audio files,

  • Control OB52 per Business Area

    Hi All, We are having multiple Business areas under 1 company code. Any idea on how to control posting period per business area? Thx Best Regards, Kawi

  • Find a record in spread sheet

    I'm new to numbers. How can  do a searches in my spread sheet to find a text match or number match? I have iPad 3