Snapshot in HANA

Hello There,
I need to understand how a snapshot for the transnational table can be done in SAP HANA for every month end.
Snapshot can be taken against Cumulative and Non-Cumulative key figure.
Thanks.
Regards,
Neha Singla

Hi Neha,
There is an excellent blog about Snapshot in Hana by Lars, here is link below
http://scn.sap.com/community/hana-in-memory/blog/2012/12/11/say-cheese-on-taking-snapshots-with-sap-hana
How to create and recovery a snapshot in HANA, read page numbers from 17-23 in the given below link.
http://www.saphana.com/servlet/JiveServlet/previewBody/4270-102-1-8994/HANA_SPS07_NEW_BACKREC.pdf

Similar Messages

  • Error while creating a BO Universe (using IDT) on top of SAP HANA Calculation View with Input Parameters

    Hi All..
          We are trying to create a Universe (using IDT-Version4.0) on top of the HANA Calculation view. The Calculation view has 4 input parameters, So
    in Universe side we have created the respective prompts. For the creation of derived table we have used the following code
    SELECT *
    FROM "_SYS_BIC"."<schema_name>.<CV_Calculation_View_test>"
    'PLACEHOLDER'=('$$IP_A$$','@Prompt(A)'),
    'PLACEHOLDER'=('$$IP_B$$','@Prompt(B)'),
    'PLACEHOLDER'=('$$IP_C$$','@Prompt(C)'),
    'PLACEHOLDER'=('$$IP_D$$','@Prompt(D)')
    While validating the above code we are getting an error.
    I have attached the snapshot of that error for your reference. Please find the attachment and help me in resolving it.
    Thanks in advance.

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Error during phase XPRAS_TRANS in module MAIN_TRANSEXEC while updating to EHP7 on HANA

    Dear Gurus,
    I request your help to resolve the below mentioned error.
    I got the below error while updating my system from EHP6 to EHP7 SPS03.
    The details of the logs and the versions are mentioned below for your reference:
    SAPup_troubleticket.log
    SAPup broke during phase XPRAS_TRANS in module MAIN_TRANSEXEC / Downtime for transport mode
    Error Message: Detected 99 errors summarized in 'XPRASUPG.ELG'
    Calling 'E:\usr\sap\ERH\DVEBMGS00\exe/tp' failed with return code 8, check F:\SUM\SUM\abap\log\SAPup.ECO for details
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    XPRA ERRORS and RETURN CODE in SAPR-617BRINSAPAPPL.ERH
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    A3 ESNHI_DELIVERY_UNIT 007 Number of deleted objects: "0"
    A3 ESNHI_DELIVERY_UNIT 010 A complete HANA delivery unit was imported.
    A3 ESNHI_DELIVERY_UNIT 013 Content snapshot was uploaded in source system " " at " ".
    A3 ESNHI_DELIVERY_UNIT 014 Details: Vendor " ", Version " ", Support Package " ", Patch " "
    A3 ESNHI_DELIVERY_UNIT 081 HANA delivery unit name: " "
    A2EESNHI_DELIVERY_UNIT 080 Aggregated import of HANA Delivery Units failed
    A4EESNHI_DELIVERY_UNIT 025 "Repository: Encountered an int""ernal error in the repository""code, this is most likely a bu""g in the implementation;failed"
    A4EESNHI_DELIVERY_UNIT 025 "to write attached content to""file"" "" "
    A3 ESNHI_DELIVERY_UNIT 007 Number of deleted objects: "0"
    A3 ESNHI_DELIVERY_UNIT 010 A complete HANA delivery unit was imported.
    A3 ESNHI_DELIVERY_UNIT 013 Content snapshot was uploaded in source system " " at " ".
    A3 ESNHI_DELIVERY_UNIT 014 Details: Vendor " ", Version " ", Support Package " ", Patch " "
    A3 ESNHI_DELIVERY_UNIT 081 HANA delivery unit name: " "
    A2EESNHI_DELIVERY_UNIT 080 Aggregated import of HANA Delivery Units failed
    A4EESNHI_DELIVERY_UNIT 025 "Repository: Encountered an int""ernal error in the repository""code, this is most likely a bu""g in the implementation;failed"
    A4EESNHI_DELIVERY_UNIT 025 "to write attached content to""file"" "" "
    2EEPU133 Errors occurred during post-handling "SNHI_DELIVERY_UNIT_IMPORT" for "NHDU" "L"
    3 EPU135 "SNHI_DELIVERY_UNIT_IMPORT" belongs to package "SNHI_DELIVERY_UNIT_PROXY"
    2EEPU136 The errors affect the following components:
    2EEPU137    "BC-DWB-AIE-AHI" ("Tools for ABAP and HANA Integration")
    1 ETP111 exit code           : "8"
    Details of the version:
    Start Release:        731
    Target Release:        740
    OS Type:        Windows NT X86_64
    OS Version:        6.1
    Database Type:        hdb
    Database Version:    1.00.70.00.386119
    SUM Version:            Patch 0 for SOFTWARE UPDATE MANAGER 1.0 SP10
    As per the release note 1737650 - EHP7 for SAP ERP 6.0 SP Stacks - Release & Information Note, I have to follow the below note :
    1981346    SAP HANA activation error during XPRA phase
    But I am not pretty sure if I can ignore this and go ahead , and then do the actions as mentioned in the note, as the symptom says "The error message in the log file tells you that the MultipleFiles repository import failed.", which is not my case.
    I have searched for SAP Notes with the below keywords but did not find any relevant , either there is a version mismatch or does not apply to the above error :
    SNHI_DELIVERY_UNIT_IMPORT
    SNHI_DELIVERY_UNIT_PROXY
    Aggregated import of HANA Delivery Units failed
    Errors occurred during post-handling "SNHI_DELIVERY_UNIT_IMPORT"
    Please help me to resolve the issue.
    Kind Regards,
    Anuj

    Hi Anuj,
    Can you check index server trace for more details into the error .
    Based on the error message please check whether below SAP notes are valid
    1996489 - Aggregated import of HANA Delivery Units failed with PackageStoreAccessor::createPackages
    1996392 - Multiple delivery unit import fails with error code 301
    Hope this helps.
    Regards,
    Deepak Kori

  • Error while exceuting a SAP HANA Procedure

    Hi HANA Gurus,
    I am new to HANA SQL Scripting and I have created the following procedure
    CREATE PROCEDURE "RAJ_HANA"."CURSOR_FOR_LOOP" LANGUAGE SQLSCRIPT
    AS
    VAR_EMNO INTEGER;   
    CURSOR EMP FOR SELECT EMPNO FROM "RAJ_HANA"."EMP";
    BEGIN  
    FOR EMP_CUR AS EMP DO
    FETCH EMP INTO VAR_EMNO;
    INSERT INTO "RAJ_HANA"."EMP_1" VALUES(:VAR_EMNO) ;
    SELECT * FROM "RAJ_HANA"."EMP_1";
    END FOR;
    END;
    Error:
    Could not execute 'Call "RAJ_HANA"."CURSOR_FOR_LOOP"' in 41 ms 684 µs .
    SAP DBTech JDBC: [150]: statement cancelled or snapshot timestamp already invalidated: [150] "RAJ_HANA"."CURSOR_FOR_LOOP": line 8 col 1 (at pos 147): [150] (range 3): statement cancelled or snapshot timestamp already invalidated
    Please help

    If you want to copy data between two tables why use a cursor at all. This seems rather inefficient.  You can bulk insert data by embedding the select into the insert.  Here is an example:
    insert into "SP8DEMO"."playground.sp8.data::PurchaseOrder.Header"
      select * from "SP7DEMO"."playground.sp7.data::PurchaseOrder.Header";
    In your case I believe you could accomplish the same with
    INSERT INTO "RAJ_HANA"."EMP_1" (EPMNO) SELECT EMPNO FROM "RAJ_HANA"."EMP";

  • Candidates for HANA sidecar usage

    Hello folks - we have a financial landscape running ERP6 EHP4 on Oracle RDBMS, and are considering 2 options
    1) once ECC/ERP on HANA is available - migrate to HANA from Oracle (so the entire system would run on HANA)
    2) setup a sidecar HANA - and then use it for a select group of tables/processes - to help improve performance against those objects (so data from the ERP system would get pulled into the HANA sidecar and queries/jobs would run against the sidecar instead of the original ERP system itself)
    For the 2nd option - is there any SAP service or tool that can help us pinpoint what tables would be the best candidates for use in the sidecar?  I can't find this anywhere but would think SAP would be more than happy to guide customers to anything that gets them using HANA. (the first option is probably more long-term for us BTW)
    Thanks

    Hi Ben,
    As you have mentioned, Option 1 should always be the long term approach. However , to leverage the benefits of HANA immediately, suggested approach could be to choose option 2, i.e. HANA is used in side car approach, where in the SAP products - ERP, CRM, SCM etc continue to use classical database , but the table and data in these are replicated to HANA database. This can be done for selected scenarios or select transactions / business processes - ex: - CO-PA or Custom transactions / reports that have huge performance issues.
    Following SAP tools can be used to identify potential programs/scenarios for Optimization.
    SQLM- SQL Monitor - This logs all the SQL statements that are executed on an ABAP application , would help to identify the programs that have performance issues due to SQL statements. The log for around 1-2 weeks can be checked to identify potential areas of optimization.
    SWLT- Performance Tuning Worklist    - Used to combine static check results with SQLM snapshot to identify the hotspots  within programs. We can use this tool in the production system for few days to identify the programs/transactions that need optimization.
    Enhanced SCI- Code Inspector  - this tool can be used to perform Static checks within ABAP programs and identify code patterns that could be optimized. This can be very useful for Custom ABAP programs and can be readily used in dev/quality systems as well.
    SAP also suggests the use of  Business scenario recommendations report for SAP Business Suite powered by SAP HANA, This report identifies the specific business value scenarios most relevant to you after analyzing your current production usage and your productive SAP landscape. Although this is suggested for option 1, same can be used to identify potential areas of Optimization. Details of the same can be found on www.suiteonhana.com , you will need to upload your production log details so that you can receive your results report by email. The site also has a sample report.
    Regards,
    Suma

  • HANA - backup at User level

    Hi..
    Is it possible in SAP HANA to take backup at user level (to take backup of specific user including schemas, objects, constraints etc)?  Currently upto release SPS07, I can only see "full DB backup" option as available.
    Thanks..

    HI Virendra
    nope - like most DBMS SAP HANA does not support user or schema based backup/recovery.
    You may however perform an export/import to store a snapshot of a specific users data.
    - Lars

  • HANA High Availability System Vs Storage Vs VIP failover

    Dear Experts,
    Hope your all doing great. I would like to seek your expertise on HANA high availability best practice. We have been deciding to use TDI for BW on HANA. The next big question for us is how make it available atleast 99.99%.
    I was going through multiple documents, SDN forums, etc..but would like to see how the experts are performing in real time.
    My view -
    Virtual IP failover is a common HA practice which have been used to failover CI / DB hosts depends on failure/maintenance. In this case, both nodes can be used to run app servers.
    System replication - HANA based required secondary standby node, which doesn't accept user requests, but replicate the database from primary using logs after initial data snapshot either synchronous or Asynchronous. (Can be used as HA or DR - if servers are between different data centers).
    Storage replication - HANA based required secondary standby node, which replicates SAN for HA/DR.
    Could you please provide your expertise method you followed for HANA HA and what are the pros, cons and challenges that you have faced or facing.
    Thanks
    Yoga

    Thanks forbrich
    Do you know any specific doc that describes the installation and configuration steps of 10g RAC on NAS? If possible, can you provide some link that I could use to perform this task?
    I have done RAC installations on SAN without any problems and its something I'm fairly experienced with. With NAS I am not really comfortable since I can't seem to find any documentation that describes step by step installation procedure or guidelines for that matter.
    Thank you for your input
    Best Regards
    Abbas

  • SAP Hana FAQ Frequently Asked Questions

    Hi All,
    SAP have published a fantastic Knowledge Base Article containing an extremely detailed
    SAP Hana FAQ - Frequently Asked Questions
    Go and download it now, it's here:
         2000003 - FAQ: SAP HANA
    And then come back to it from time to time, because not everything in there is released yet.
    Best regards,
    Andy.

    For the sake of completeness, there are now a number of very useful Hana FAQ OSS Notes, here's the list so far:
    . OSS 2000003 - FAQ: SAP HANA
    . OSS 2000000 - FAQ: SAP HANA Performance Optimization
    . OSS 1640741 - FAQ: "DB users for the DBA Cockpit for SAP HANA"
    . OSS 2039883 - FAQ: SAP HANA database and storage snapshots
    . OSS 2044468 - FAQ: SAP HANA Partitioning
    . OSS 2057595 - FAQ: SAP HANA High Availability
    . OSS 1999997 - FAQ: SAP HANA Memory
    . OSS 1999880 - FAQ: SAP HANA System Replication
    . OSS 2044468 - FAQ: SAP HANA Partitioning
    . OSS 2000002 - FAQ: SAP HANA SQL Optimization
    . OSS 2073112 - FAQ: SAP HANA Studio
    . OSS 1999998 - FAQ: SAP HANA Lock Analysis
    . OSS 1905137 - FAQ: SAP HANA - Obsolete tables
    . OSS 1999930 - FAQ: SAP HANA I/O Analysis
    . OSS 1914584 - SAP HANA Live Browser FAQ
    . OSS 2057046 - FAQ: SAP HANA Delta Merges
    . OSS 1642148 - FAQ: SAP HANA Database Backup & Recovery
    . OSS 2104291 - FAQ - SAP HANA multitenant database containers
    . OSS 2100009 - FAQ SAP HANA Savepoints
    . OSS 2082286 - FAQ: SAP HANA Graph
    . OSS 2081591 - FAQ: SAP HANA Table Distribution
    . OSS  2053330 - FAQ: Operations Recommendation on SAP HANA Alerts
    If you are interested in Hana Basis related OSS Notes, then the longest list of Hana OSS Notes publicly available on the internet is over here.
    Best regards,
    Andy

  • Unable to see External HANA Repository view

    Dear Experts,
    I want to create a HANA views from BEx Query and followed the steps:
    Create Query snapshot index via RSDDB--> Quey as infoprovider Tab --> Release Query as infoprovider -->click on create button. --> SAP HANA/BWA Settings Tab -->enable the External HANA Repository view -->Activate and fill index
    But I didn't see the option "External HANA Repository view for reporting" to before Activate and Fill Index,
    please help me why that options not available for my query.
    Thanks,
    Regards,
    Karuppiah N

    H Karuppiah,
    Can you not use the transaction RS2HANA_ADMIN for this? Please see the documentation here:
    Generating SAP HANA Views from the BW System - Using the SAP HANA Database - SAP Library
    Kind Regards,
    Des

  • HANA hardware instead of Business Warehouse Acellarator in the Enterprise Search scenario

    Hello SAP experts,
    we have a use case at the Australian Department of Human Services where we
    want to try out SAP Enterprise Search but have no BWA hardware. Instead we have HANA boxes.
    Can we use HANA hardware for the functionality the Business Warehouse Acellarator in the Enterprise Search scenario delivers (Trex indexing , Snapshot queries)?
    Thanks for a quick answer...
    Cheers
    Oliver Buschmann

    Hi Oliver,
    in generally it should be possible. However in the BWA case it could be hardware dependend . You can prove  if your HANA box is fine for BWA installation using the checkBIA.py script which is a part of the BWA installation. Or you can just put the information about your HANA hardware here and we check it for you.
    Best regards,
    Mikhail

  • Oracle error: Ora-01555 : snapshot too old: rollback segment number 1......

    System Error: Unknown Database error (type qqdb_ResourceException) on WMS_WH1: Execute failed for SQL statement ............... error from database is: ORA-01555: snapshot too old: rollback segment number 1 with name "_SYSSMU1$" too small...
    Any ideas ? Please help.
    Thank you.

    You either have
    - an UNDO tablespace that is way too small (rollback segments that are too small); or
    - an application that does way too many COMMITs (common with apps ported from SQL Server)
    From the added info, I would guess that the Java program has a major loop and does processing on each of the values it gets in that loop. At the end of each turn in the loop, it does a commit. Then it tries to look at the next record in the master list. After a while (say around 388 loops ;-) ) it dies.
    The reason is that when it looks for information in the master query, it needs to rebuild that information to the moment that query was initiated. It uses rollback (AKA undo) to rebuild that. But rollback is not guaranteed to exist after a commit (unless forced) and once a commit happens, that area can be reused. When it is reused, the information is no longer there to rebuild the row, and that raises an ORA-01555
    Edited by: Hans Forbrich on Sep 11, 2009 3:44 PM

  • 'Function in SAP HANA is currently not possible' error message at KE91 transaction

    System details:
         HANA Server - SPS7
        and  IDES ECC 6.0 EhP 6
    Background:
    Trying to implement  ERP Profitability Analysis accelerator for SAP HANA. We completed the configurations successfully as per the RDS building block guide
    V29 – ERP Finance and Controlling Accelerator with SAP HANA General Configuration and  VD1 – ERP profitability Analysis Accelerator with SAP HANA Configuration
    We could also see the tables (with data) replicated to HANA via HANA Studio.
    And all the statuses at tcode KEHC shows as green.
    Issue Description: When we try to test the Accelerated Transactions like KE91 kind of drill down reports
    Execute.I get the following pop-up. So, here Since I need to get data from HANA I select NO button
    Surprisingly I get the following error message.
    We have tried with other Accelerated transactions like KEU5,KEUB.But I get the same pop-up msg, and get the same error msg at status bar .
    Any help in this would be very helpful.

    Hi Kenny,
    Sorry for my late reply
    Here is the snapshot of SM21 system log
    I realized, this join path 'JP01' error msg I am getting even when running column views at HANA SQL editor.
    Could not execute 'select VRGAR, sum(vv010001) from "ERPTRI_800"."CE2CE4IDEA_HDB" group by vrgar' in 386 ms 128 µs . SAP DBTech JDBC: [2048]: column store error: search table error:  [2920] invalid schema: found inconsistent join path  "jp01" for viewattribute "MANDT" with fact table "ERPTRI_800:CE4IDEA" on olap index; for cube ERPTRI_800:CE2CE4IDEA_HDB
    Actually, All these Column Views and its underlying tables are got created from the given RDS solution only. Not sure why is this errorgetting triggered.IS this kind of bug in RDS solution?!!
    Regards
    Lokesh

  • HANA SPS6 revision 60

    Is is possible to upgrade my HANA AWS development edition to revision 60 much like I upgraded it to 56?  I followed these steps to get to 56.
    http://scn.sap.com/docs/DOC-30980
    Thanks,
    Clark

    Hi Clark,
    I believe we are waiting for a small issue to be resolved and for a snapshot ID to be created for each region, see this thread:
    http://scn.sap.com/thread/3386655
    Thanks.

  • Can not refresh snapshot changes after importing data of master site

    Hello !
    I have two database computer,one as master site,one as snapshot site.Because the error of the hard disk of master computer,I use the exporting data file to recover my database.after importing ,I found I can't refresh the refreshgroup on snapshot,who can tell me why?
    thinks in advance!
    (exp system/manager full=y inctype=complete file='/home/save/backdata/xhsdcomp.dat')
    (imp system/manager inctype=system full=Y file='/home/save/backdata/xhsdcomp.dat'
    imp system/manager inctype=restore full=Y file='/home/save/backdata/xhsdcomp.dat')
    null

    You haven't listed the errors that you're receiving when attempting to refresh your refresh group, but if your snapshots are attempting to fast refresh, I suspect it's because the creation timestamp of the snapshot log on the master site is newer than the creation timestamp of the snapshot. In this case you will need to do a complete refresh of the snapshot (or drop and recreate the snapshot) before you will be able to fash refresh it again.
    If this is not the case, please post the errors you are receiving when you attempt to refresh the refresh group.
    HTH,
    -- Anita
    Oracle Support Services
    null

  • I am trying to print a snapshot taken from a PDF multiple times on one page.

    Reader Will not print multiple copies of a snapshot on one page. I read the help files for Acrobat itself and all it said was take the snapshot and print it. Does anyone know if Acrobat can print multiple copies of the snapshot on one page?
    From some reading in another forum page it looks like Acrobat can do it by saving the snapshot repeatedly with different names and the printing all of them at once. I really hate that workaround as I need to do this often.
    Message was edited by: duckles10

    I tried to do it using Reader. I have a one page PDF document with a UPS shipping label on one side and a special box label with a barcode on the other. This is designed to print on a standard 8.5 x 11 sheet of paper. There are many times when I need to be able to print the box labels more than once. At home, I do it by taking a snapshot of the box label and printing it to a Label printer as many times as I need it. The distributor who also ships items for me only has a full page printer but he can print 4 on a page labels on UPS provided stock. Reader won’t print a snapshot multiple times, the option is grayed out. What I wanted to know is if Acrobat itself can print that snapshot multiple times. I don’t think it can without being able to cut and save that PDF multiple times as separate files. That would be a slow and cumbersome operation. If it would take a snapshot or a single cut and save and print that PDF 4 times on a page it would be a reason to spend the money to buy the program because we need to perform this operation OVER and OVER on a regular basis. On some shipments we might need to print 12 or more extra box labels. We tape smaller boxes together for one UPS label and need to make sure EACH box gets a separate label. Otherwise they sometimes get lost on the other end.
    Doing the save 4 separate PDFs process we might actually need TWO copies of Acrobat unless reader can print 4 on a page if it has 4 PDF’s to work from. I have not yet found a good way to save those snapshots from reader. I have tried since I found that it was possible to cut and save them in other formats but not PDF’s as reader can’t save them. The quality of the saved items in other formats is not acceptable. I recently discovered that Microsoft publisher which I have can save a document as a PDF. I’m going to see if I can import to that program next.

Maybe you are looking for