Skip to Content
author's profile photo Former Member
Former Member

How to identify Involved tables within a HANA view

Hello Experts here,,

Need a basic help.

For a test purpose, we are evaluating a HANA LIve view, which is quite complex having multiple nodes.

Is there a way(am sure some SQl options) though which we can identify the involved tables in that view.

Many thanks in advance,

Amrith

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on May 18, 2015 at 01:50 AM

    Hello Amrith,

    As you rightly told, SQL would be a good option. Try querying on SYS.object_dependencies.

    Please try the code below:(this is what we normally do.😉..)


    Select distinct BASE_OBJECT_NAME from SYS.object_dependencies

    where (DEPENDENT_OBJECT_NAME LIKE 'sap.hba.ecc/BOMHeader/BillOfMaterial/hier/BillOfMaterial')

    and BASE_OBJECT_TYPE = 'TABLE'

    and DEPENDENT_OBJECT_TYPE = 'VIEW'

    order by BASE_OBJECT_NAME ASC

    Please note that here am using the view --> sap.hba.ecc/BOMHeader/BillOfMaterial/hier/BillOfMaterial

    Hope this helps.

    PS: This has already been discussed elsewhere..Please do a basic search before posting..

    BR

    Prabhith


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 18, 2015 at 07:58 AM

    This is the moment where you want to have read Ronald's blog Keeping your HANA system healthy with Mini Checks and checked out the set of scripts from Martin's SAP note “1969700 - SQL statement collection for SAP HANA” . 😊

    The script "HANA_Objects_ObjectDependencies" generates a dependency list for you.

    - Lars

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2015 at 05:33 PM

    Hi Amrith,

    the OBJECT_DEPENDENCIES view under SYS schema give you the complete details about the dependent object information in HANA.

    You check the data preview of the view and use the filters or you can write sql to know the object list.

    You can also check an article Where Used list in HANA

    Regards,

    Venkat N

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.