Generating Dependencies for Calculation/Analytical View in SAP HANA.

Hi Everyone,
I am trying to find out the dependencies for a specific Calculation/Analytical View. I have used sys.object_dependencies but that gives only the table names on which the calculation view is dependent on, but not theanalytical and attribute views.
For example, consider a calculation view which is developed by joining 2 analytical views and the analytical views in turn uses some attribute views. So my ask is to get all these object information not just the tables. This is very basic info and I assume it must be captured in some metadata views. My aim is to query such metadata views and get the dependencies. Any pointers to this would be highly helpful.
Best Regards. 

Hi Samarpan,
You can right click on the view and select option 'Auto Documentation' with content type as 'Model Details' in the wizard. Select a target location for the document to generate.
When you open the generated document, in the last there is a section as 'Cross References' which will give you full hierarchy of views/tables used.
Hope this will solve your problem
Regards,
Rashmi

Similar Messages

  • 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

  • Issue with SQL converter: Query Migration Tool for Microsoft SQL Server to SAP HANA

    Hello,
    I found the following blog : http://scn.sap.com/community/business-one/blog/2013/04/10/how-to-convert-sql-from-ms-sql-server-to-sap-hana
    I am trying out this migration tool for converting my MS SQL queries to HANA.
    I am running into issue while converting certain queries.
    The issue is specific to "set" commands which set local variables inside "create procedure" commands.
    e.g.
    a standalone set command:
    SET @var = (SELECT TOP 1 name FROM mytable ORDER BY name)
    is converted well:
    SELECT (SELECT TOP 1 "name" FROM "mytable" ORDER BY "name") INTO var FROM DUMMY;
    But when the same is part of create procedure:
    CREATE PROCEDURE [dbx].[XXXXX_YYYY_ZZZZ]
    AS
    SET @var = (SELECT TOP 1 name FROM mytable ORDER BY name)
    it fails in converting the same:
    --Statements in the input file contain errors; conversion was canceled
    I would like to understand who can help me here.
    Thanks...

    Hi Mayur,
    that tool cannot convert stored procedures. it is still being developed. For these you have to do it manually.

  • Generating PDF for Any document No in SAP

    Hi All,
    My requirement is to create a  general Zprogram, which requires to pass "DOCUMENT No , Company Code, Fiscal Year"
    and generates PDF file corresponding to that document inn SAP.
    Though their is an standard program which requires to pass "SPOOL No" and generates the PDF.  But How to link Doucment no with the spool, I amnot bale to figure out.SO please do the Suggest.
    Thanks in Advance.

    Basically in FI , spool is generated for payment advice and check.
    Now generally the payment advice is printed and sign off and then given to vendors.
    But sometime it also requires to send payment adive by mail because of miss place of advice from vendor end.
    Now user can eaily search out the payment documnet no corresponding to that paymnet.
    Now gain they need to generate a new spool, print it out ans scan and finally send it via mail.
    So the requiremnt is to generate a z program in which if a uaser passes a Document No, Fiscal Yera and company code. and the required PDF got generated.
    Hope now exactly got my requiments.
    Regards

  • Error while validating/activating views in SAP HANA

    Hi,
    I are getting below error while activating/activating view in HANA
    "exception 40109:nrepository/base/activation/activator.cpp:176nRepository: Encountered an internal error in the repository code, this is most likely a bug in the implementation;Activator failed to retrieve/lock NRIV entry for domain activation_idnexception 71000139:nptime/query/plan_executor/trex_wrapper/trex_wrapper_body/trex_update.cc:2123n[2458] current operation cancelled by request and transaction rolled backn "
    Please suggest why this error is coming & how can we rectify it.
    Regards
    Divyank Mehta

    Hi Krishna,
    I am getting  same error while activating the View.HANA Studio version is 85.
    Thanks

  • 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

  • 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.

  • Output data differs in Analytic view

    Hi Everyone,
    I am trying to figure out the solution for the Analytic view. I have created a calculated column based on the Input parameter.
    In the Input paramter I have defined as  ('$$IP_TRANSACTIONYEAR$$'='2012',"SALES REVENUE"*50,"SALES REVENUE").
    So in the output , when the Year 2012 is declared the sales revenue has to be multiplied by 50 and must view the data.
    But all the rows are bring multiplied and i get the resultant data. I dont know the root cause of the error.
    Can any one guide me in this approach?
    Thanks and regards
    Sanjay

    Hi Krishna,
    Have decared the code as:
    IF("TRANSACTION YEAR"='$$IP_TRANSACTIONYEAR$$',"SALES REVENUE"*50,"SALES REVENUE")
    Have got the output as expected.!!
    Thanks and regards
    Sanjay

  • Crystal Reports prompting for creds when viewed from BO 4

    The environment:
    Business Objects Enterprise 4, sp2 patch 8
    SAP ECC 6.0, kernel 701, sup. pkg. lvl 137
    This is a new BOE 4 installation on a test system.  The BOE installation has been configured to use Windows AD authentication with SSO.  When I run a Crystal Report that is based on SAP ECC data, I am prompted for credentials.  So I used the following document to configure BOE for SSO to DB:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers
    This didn't fix the problem.  SAP ECC reports in BOE still prompt for creds when viewed.  SAP Authentication is verifiably working, but I'm not sure if SSO to DB is working.  One thing I've noticed is that when I log in to BOE using SAP authentication and view the report, I'm not prompted for creds.  In BOE I added my Windows AD acct as an alias in my SAP acct, but I may have either done this incorrectly, or there may be something I need to do in addition.
    question 1:  Is there an easy way to verify if SSO to DB is working correctly?
    question 2:  In CMC --> Authentication --> SAP --> Entitlement Systems --> User Name, I'm assuming that this is an SAP user name.  What roles/profiles does this account need?  Should it be a dialog acct?
    question 3:  Our ECC system is configured to use SNC.  Do I need to configure SNC in BOE for SSO to DB to work?
    question 4:  I added my Windows AD user as an alias on my SAP user record.  I'm not sure this is correct...  can someone verify?
    Any help or suggestions are much appreciated.

    Thanks, Ingo.  Once I got snc configured, everything began working wonderfully.
    I used this document as a guide:
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3134343630363726

  • How to - Extract data from Cloud For Customer into SAP HANA system

    Hello Community,
    I have a requirement for extracting the existing data from Cloud for Customer into separate SAP HANA Box.
    Is it possible to achieve the same ? If yes, Please guide me for the same.
    Awaiting quick response.
    Regards
    Kumar

    Hi Kumar,
    In addition to what Thierry mentioned you could also use the C4C integration via standard Operational Data Provisioning (ODP) interfaces. This integration was acutally built for SAP BW and allows you to access any C4C data sources. From my perspective you can also build upon that for a native SAP HANA integration. Please also have a look at this guide: How To... load SAP Business Suite data into SAP... | SAP HANA.
    Besides that question let me also add the following: SAP Cloud for Customer already runs on SAP HANA since Nov. 2013. You may also use the powerful built-in analytics within C4C for analyzing data and any of your reporting demands. If your report should consider external data as well, you can combined the existing C4C data source with an external, so-called Cloud Data Source. More infomation is published in the C4C Analytics Guide: http://help.sap.com/saphelp_sapcloudforcustomer/en/PDF/EN-3.pdf.
    I hope this helps...
    Best regards,
    Sven

  • SAP HANA XSODATA service (Service exception: column store error.)

    Hi all,
    i have a problem with my calculation view using xsodata service on it. (There's an input parameter called P
    _SWERK)
    In my calculation view, the data origin are two analytic views (on which the input parameter P_SWERK should be filter data at beginning of the sql script code).
    First i read the analytic views with function CE_OLAP_VIEW and after i do a CE_PROJECTION function on them using the input parameter P_SWERK like a filter on field SWERK.
    But when i run my application on browser the following error occurs :
    <message xml:lang="en-US">Service exception: column store error.</message>
    The link is this :
    http://host:port/Project_DM/services/Test/TEST_ZIIG_PDM_CALC_VIEW_FINAL_service.xsodata/PianiDiManutenzioneParameters(P_SWERK='CO05')/Results
    The service definition is :
    service {
    "EricssonItalgas/TEST_ZIIG_PDM_VIEW_FINAL.calculationview" as "PianiDiManutenzione" keys generate local "ID"
    parameters via entity;
    The SAP HANA AWS revision is 60.
    Someone could you help me,please?
    Thanks in advance.
    Dario.

    Hi Dario,
    Does the calculation view work without xsodata service? From the URL, your XS project name should be Project_DM, but from the xsodata source, the project name is EricssonItalgas. I'm confused with this. Did you use rewrite_rules or?
    Best regards,
    Wenjun

  • Joining multiple views from different HANA systems

    Hi
    We are on Business suite on HANA environment ;that means ECC , CRM , BW on different HANA DB / instances.
    For reporting ; i would like to combine calculation / analytical views from these different  systems.
    Any thoughts on approach?
    Thanks in advance

    If you are looking at something like HANA Live from multiple systems then check following
    How to Realize Cross System Reporting Using SAP HANA Live Content
    But if you are really looking at multiple HANA systems and remote connectivity options then may be links below helps out. There are bunch of articles on Cross-System reporting/SDA so may be you can do some research.
    I have not tried this so can't give real hands-on feedback
    SAP NetWeaver BW on SAP HANA & SAP HANA Smart Data Access
    Smart Data Access: Connecting multiple SAP HANA... | SAP HANA

  • SAP Hana implementation project - beginning tasks

    Hello,
    We want to implement a new SAP landscape running with SAP Hana database. As I understand, the SAP Hana database is a database that runs on a specific server appliance, am I right?
    For we can know which SAP Hana server appliance to buy we need first to estimate the sizing about it! We want to implement SAP ERP product (EHP6 or 7) on Hana DB, but we don´t know how to start... this is, we don´t know how to measure this, in order to buy the best solution (server appliance) for our own scenario!
    I checked some information in the following areas:
    service.sap.com/sizing
    and also the Quick Sizer tool (service.sap.com/quicksizer) but this is so much confused tool... I don´t understand it at all.
    Can you help me with your experience which SAP Hana server appliance we need to buy for this kind of project?!
    Thank you,
    samid raif

    Hi Dario,
    Does the calculation view work without xsodata service? From the URL, your XS project name should be Project_DM, but from the xsodata source, the project name is EricssonItalgas. I'm confused with this. Did you use rewrite_rules or?
    Best regards,
    Wenjun

  • How to change the unload priority of a table in SAP HANA?

    Hi Experts,
    How we can change the unload priority of a table in SAP HANA? I know by default the priority is 5. Is there any way so that we can check the unload priority of a particular table in HANA studio? Is there any SQL statement to get the same?
    Please suggest.
    Thanks in advance.
    Regards,
    Arindam

    Hello Arindam,
    Just for the future:
    ALTER TABLE - SAP HANA SQL and System Views Reference - SAP Library
    To check before hand:
    select
    table_name, unload_priority from SYS.TABLES
    where table_name = '<Your Table>'
    To Make the change:
    alter table <Your Table>unload priority <Priority You Want>.
    As you have asked in the BW on HANA section I assume you're on BW and you could also have checked this with tx SE14.
    Hopefully the above gives you everything you need.
    Kind Regards,
    Amerjit

  • Where to download SAP HANA Studio and Client files

    Hello all,
    I am trying to learn SAP HANA and started watching the tutorial videos from SAP HANA Academy.  Would it be possible for me to download the SAP HANA Studio and Client files so I can practice development on my PC?  The video, HANA Academy - Installing the SAP HANA Studio and SAP HANA Client tools - YouTube, points to an old SAP Service Marketplace interface and I am unable to follow the instructions on where to get these files.
    Thanks in advance.
    Doods

    Doods,
    you can download HANA Client, Studio and Driver at:
    SAP | HANA Developer Edition
    cheers
    m./

Maybe you are looking for