How to Figure Type of HANA View in ABAP?

Hi,
Is there a way in ABAP to find out (by looking up some table or calling an FM/method) the type of a HANA view? I have an ABAP system that has a HANA database. Views of different types (calculation, attribute, analytic) have been created in HANA. In my ABAP code, I have the name of the view from which I want to find out the type of the view. Any ideas?
Thanks,
Akshat

Hi Kumar,
why would you need to know at all?
Anyways, you would have to know the name of the corresponding HANA entity. That is displayed when you open the external view in the ABAP Development Tools in Eclipse.
Additionally, you would have to know to which HANA Transport Container the HANA view belongs, have a look at the HTC (in the ABAP Development Tools in Eclipse). There are two tabs "Overview" and "Content". On the "Content" tab, you can find a list including package, name, and the type information you are looking for.
Cheers,
  Jasmin

Similar Messages

  • Consuming HANA views using ABAP

    Hi Experts,
    We have ABAP reports in ECC which is taking very long time to process it. So we decided to push down the complex logic to HANA where ever it is taking long time to fetch data.
    We have standalone HANA System. So can we use HANA as secondary database??? If yes, how can i consume HANA views in ABAP reports??
    Can some one guide me.
    Thanks in advance.
    Best Regards,
    Krishna.

    Hi Sundar,
    Thanks a lot for your valuable inputs.
    You need to access the native HANA artefacts (like HANA information views) from your ABAP system using native SQL and ADBC in case HANA is not the primary DB.
       - If i want to pass values to the views can we use HANA input parameters in this case as a PLACE HOLDER       in Native SQL??? else do i need to create a procedure for it???
    Basically ABAP team is optimized the code but still we are hitting with performance. So we want to utilize existing HANA databse as secondary db to push down the complex logic to HANA.
    Best Regards,
    Krishna

  • How to create types of materialized views

    Hi
    Can you please tell me how to create vaious types of materialized view.Also please tell me differences among them.

    Oracle docs at tahiti.oracle.com contain exactly the info you need as said previous poster. You can look into SQL reference about MV create statement that contains a brief overview of all types as well as data warehousing guide which contains at least 4 chapters that are about MVs - Basic MV, Advanced MV, Basic query rewrite and Advanced query rewrite.
    Gints Plivna
    http://www.gplivna.eu

  • Consuming HANA views in ABAP

    Hi,
    I have created one attribute view and activated successfully but while I am creating database proxy and importing it in ABAP , its giving me below error.
    BR
    Sumeet

    Hi,
    These are the names I got ( below screenshot).My user ID is BEST by which I have logged it into ABAP which is not coming in this list. I have one more question here.  I have just debugged my report and I can see my select query is getting failed. How can i find out the reasob for the same. i am not worried about the window information but it must show output. below is the query which is getting failed.
    select  * from ztest_attr up to 10 rows
        into corresponding fields of table lt_test.
    BR
    Sumeet

  • How to hide unnecessary HANA views?

    Hi Expert,
    My HANA modeler has created more than 20 views (8 Attribute, 8 Analytical and 2 Calculation views) under “PKC” package but my requirement
    1.       For HANA super user; when they logs in to HANA modeling; To hide 8 attribute and 8 analytical views and just make 2 calculation views visible
    2.       For HANA modeler; seeing all views without any restrictions
    I did create a role with package level “PKS” and object privileges restricted to “2 calculation views” (Without creating an analytical privilege) but when HANA super user logs in; seeing all 20 views of PKS package as if he/she is HANA modeler.
    Please advise how to restrict HANA view level access. Appreciate your inputs.
    Thanks,
    ~Ketan

    Hi Ketan,
    What are the package privileges you have granted? Only REPO.READ should be given .
    Object Privileges:
    1) SELECT ON _SYS_BI,_SYS_BIC
    2) EXECUTE ON REPOSITORY_REST
    Package Privileges:
    1) REPO.READ on the package
    Analytic Privileges:
    1) The Analytic Privilege only on that specific models
    Can you confirm that you have assigned only the above access?
    Regards,
    Krishna Tangudu

  • HANA views call in ABAP ECC 6.0 via secondary connection

    Dear Folks,
    We have created views in HANA, same views we need to call it in  ABAP ECC 6.0(Netweaver 7.3)  i.e. via secondary database connection.
    So,
    1.Is it possible to call HANA vies in ABAP ECC 6.0?
    2.Is there any version limitations? or will work fine on ECC 6.0
    3. If yes can you give me sample code of abap to access hana as secondary database
    Note : I have gone through Mr. Thomas Jung thread.
    Regards,
    Amol

    Hi Amol,
    so, ADBC is available in your system, but you have to make sure that the correct DBSL library for HANA (HDB) is available in your system. You can then just check if you can correctly communicate with the report ADBC_TEST_CONNECTION (using the secondary connection maintained in table DBCON) to your HANA database.
    You may have a look at the example on how to select from an external view in report ADBC_QUERY (which selects from a DB table), by using a secondary DB connection to your HANA DB and using the HANA view instead of a DDIC table.
    Of course in ADBC you have to take care about the correct type mapping (as you cannot use a DDIC type for definition of your internal table into which you select).
    Best,
    Jasmin
    BTW: One word of precaution, the tasks you try to accomplish is rather cumbersome. We definitively recommend to use a more recent release (e.g. NetWeaver 7.4 SP5 or beyond), however, I think that's not your decision, right?

  • 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

  • Explorer InfoSpaces on HANA Views - column label changes cause issues?

    Key question is – do simply label changes in HANA view cause issues with Explorer InfoSpaces?  Furthermore, on source view changes, does the InfoSpace also need to be adjusted?
    What we have observed is this
    1. InfoSpaces have been created using the “SAP HANA appliance” connection highlighted below. The corresponding “Home” screen is shown below that, so there are around 14 or so InfoSpaces that should be available.
    2. Yesterday, there was a production deployment that contained some changes to the underlying views in the form of label changes (not column name changes).
    3. Now, in the “Manage” screen we cannot see these same 14 InfoSpaces available under the expected connection. Instead, they are all available under the “Source Unavailable” node with the default action of “Change Source” shown.
    Additionally, we are seeing some strange behavior where certain facets are actually containing the wrong data. For example, in a facet/column called “Source Type”, where the expected values are “NBP or PBP”, we are seeing Material numbers like “00001112453”. This leads me to believe that there is a mapping issue under the covers.
    Thanks,
    Justin

    Our BOE Explorer is Version: 14.1.1 Build: 1072   - I’m not sure how this corresponds with your 69.01 to 74 numbers (release note numbers?).
    But it sounds identical to your description.
    One of our observations: if we change the sorting on a facet pane using the upper right sort control the values are corrected for a while, at least until we change a measure and the set of facets get updated with the miss-mapped values again.    This only occurs on some models and we haven’t been able to determine what the underlying criteria might be that aggravates the problem. 
    Thanks for your input – it helps us determine a viable path forward.
    Cheers,
    Tony

  • How to print from a planning view in APO SNP ?

    Does anybody know how to print on paper from the planning view in the planning book.
    I have made a view with a key figure.
    In the view, I can see the productnumber, the key figure and the values.
    Some users want to print it on paper.

    Hi,
    CSV method of download is the SAP standard format for saving the
    files.
    You can either create your own custom logic for saving in excel or
    use BW functionality for extracting the required fields and form a
    report to save & print in excel
    Regards
    R. Senthil Mareeswaran.

  • Authorization Issue while Data Preview from HANA View

    Hi Experts,
    We are using BW on HANA. We have created DSOs (info provider) in BW and generated HANA views from there. We have also created analysis authorizations in BW for authorization relevant characteristics. In HANA, we are able to go to the generated analytic view and preview the data from it successfully.
    Now I have created a test user and assigned a custom role with below authorizations to this user in HANA:
    - bw2hana/../REPORTING role (this role is automatically created by activation of DSO in BW).
    - Roles MODELING, MONITORING, CONTENT_ADMIN, USER.
    - Multiple system privileges although not needed, like REPO.EXPORT, REPO.IMPORT, etc.
    - Analytic Privilege  _SYS_BI_CP_ALL
    - Package Privilege: REPO.READ for all required packages (tried with ROOT package also).
    In BW system also, the test user has analysis authorizations providing access to the relevant info objects.
    But when I am trying to preview data for HANA view, I am getting attached error (also listed below):
    "Cannot get the data provider outline
    SAP DBTech JDBC: [2048]: Column store error: Search table error: [2950] user is not authorized"
    I tried to trace the situation is HANA and got below details in 2 trace files:
    indexserver_alert_saphana.trc:
    [6433]{416977}[66/-1] 2014-10-14 00:59:27.541187 e CalcEngine       ceAuthorizationCheck.cpp(02365) : AuthorizationCheckHandler::addAPsToSearchObject: Error during converting SqlAPs to Query entries
    indexserver_saphana.31003.075.trc
    [6433]{416977}[66/-1] 2014-10-14 00:59:27.541197 i TraceContext     TraceContext.cpp(00702) : UserName=TEST_SSO, ApplicationUserName=<<computer name >>, ApplicationName=HDBStudio, ApplicationSource=csns.modeler.datapreview.providers.ResultSetDelegationDataProvider.<init>(ResultSetDelegationDataProvider.java:118);csns.modeler.actions.DataPreviewDelegationAction.getDataProvider(DataPreviewDelegationAction.java:278);csns.modeler.actions.DataPreviewDelegationAction.run(DataPreviewDelegationAction.java:242);csns.modeler.actions.DataPreviewDelegationAction.run(DataPreviewDelegationAction.java:127);csns.modeler.command.handlers.DataPreviewHandler.execute(DataPreviewHandler.java:53);org.eclipse.core.commands
    [6433]{416977}[66/-1] 2014-10-14 00:59:27.541187 e CalcEngine       ceAuthorizationCheck.cpp(02365) : AuthorizationCheckHandler::addAPsToSearchObject: Error during converting SqlAPs to Query entries
    Do you know what this "Error during converting SqlAPs to Query entries" actually means"? How can we resolve this issue? The authorization is working properly for our user ids. But we need to provide restricted access for business users so trying to create test user and custom role.
    Thanks
    Nitesh Gupta

    Hi Pinaki and Prabhith,
    Yes, my issue was resolved. Sorry, missed to updated here.
    I was just a beginer for BW on HANA Security at that time and didn't know many small things. The solution was pretty simple.
    Whenever you assign analysis authorizations to a user in BW, you also need to generate corresponding HANA authorization. This is done through tcode RS2HANA_CHECK tcode. This tcode converts  BW analysis authorizations into HANA analysis authorizations and assign to the HANA user. You can see generated HANA authorization table RS2HANA_AUTH_STR in both BW and HANA.
    Once the HANA authorizations are successfully generated for a user, he should be able to see data from Views.
    Let me know if this solves issues. Then I will close this thread.
    Thanks

  • Window vs view - how can i jump to a view which was previously created?

    Hello!
    how can i jump to a view previously created without the push or pop to view function?
    I have a UITabBarController with several view(s) (controllers)* and in one of my views i am using a navigation controller which pushes to various views. At the end, i would like to have a button, where the user can go back to its initial view (when the application is starting) i guess, that it has something to do with the rootview Controller.. the problem is: i dont have a root view controller because i am working with the TabBar example from apple, which is using the IB.
    thx for any hints..
    alex
    *which still is not working.. availiable at http://www.learnclip.com/iphone_tutorials/ViewPusher.zip

    You know what, about 30 seconds ago I figured out what I did. I set the Quiz preferences to “Required to pass before continuing” instead of “Required to take quiz”.
    I am sure Action Script is the wrong term (I’ve only used Captivate for 2 weeks). I applied an Advanced action to skip over the knowledge checks. I got the tutorial from this link:
    http://blogs.adobe.com/captivate/2011/07/excluding-knowledge-check-questions-when-reviewin gretaking-the-quiz.html
    Thanks for replying!
      Tiffany Robinson│Instructional Designer│Design and Development Team
       Email: [email protected]<mailto:[email protected]> │ Phone: 386-218-3577
      Check out thousands of free books and reports from Books 24x7 in the Kelly Learning Center!
            Kelly Services, Inc.

  • How to get a tree-oriented view of a pdf document's sections in Acrobat 8 Professional?

    Hi, I have a PDF that has a document outline (with table of contents etc.). This may be a stupid question, but in earlier versions of Acrobat Reader -- I used to be able to get a navigation panel that showed the sections in a tree-form that made it easy to jump to a given section. I now have the Acrobat 8 pro.. and when I read PDF's with it, I do NOT get this tree-oriented view.. but just a thumbnail or page oriented view. How can I get the other view?
    Thanks,
    -Sundar

    Well.. the contents page seems ok, and when I click on the lines in the contents page, Adobe takes me to the right spot. Others (w/ earlier versions of Acrobat) also are able to see the outine. I have to conclude that perhaps pro8 is just broken. (I guess I have to talk to someone to figure out how I can get my reader back.. because right now even the reader launches Acrobat Pro..). Sigh.

  • How do I  set the default view size when I open a word.doc from mail

    I use the mail program all day long and open MS Word docs and the size is default of 100% but the actually view of the screen make it look like a font of 7 or 8
    I have a difficult time even viewing the document until I blow it up to 150%. It's not because I'm blind I have excellent vision..
    HOW DO I SET THE DEFAULT VIEW OF DOCUMENTS

    This document can help you set the print settings for any type of printing. Not just for photos as the title suggests. You should not have to keep setting it every time.
    Printer settings
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • How can I see the Query view created for a different user

    Hi All,
    How can a user see the View of a query created for a different user??
    I would like some info about how to give access ( if it is a access problem) or tell me the steps to do that.
    Regards, Federico

    Hi all,
    Maybe I didn't explain me as i should or maybe you dont know what is a Query View. Lets try again, showing you the steps to open a "Query view".
    This way is from Bex Analyzer (Excel)
    I open the Bex Analyzer and connect to the system -> Open query -> Under "Type" choose "Query View"...this is just a different view of the original query (more or least columns/rows).
    This way is from Bex Web:
    Once you open/execute the query, you have a ComboBox to choose the view (previously saved)
    The problem that we have is that the views created for a user, can NOT be found by other user. The only user who can is the owner.
    Could it be an authorization problem? or is ther any configuration possible to see it?
    Thanks in advance, Federico

  • Best Approach for Reporting on SAP HANA Views

    Hi,
    Kindly provide information w.r.t the best approach for the reporting on HANA views for the architecture displayed below:
    We are on a lookout for information mainly around the following points:
    There are two reporting options which are known to us and listed below namely:
    Reporting on HANA views through SAP BW  (View > VirtualProvider > BEx > BI 4.1)
    Reporting on HANA views in ECC using BI 4.1 tools
            Which is the best option for reporting (please provide supportive reasons : as in advantages and limitations)?
             In case a better approach exists, please let us know of the same.
    Best approach for reporting option on a mixed scenario wherein data of BW and HANA views is to be utilized together.

    Hi Alston,
    To be honest I did not understand the architecture that you have figured out in your message.
    Do you have HANA instance as far as I understood and one ERP and BW is running on HANA. Or there might be 2 HANA instance and ERP and BW are running independently.
    Anyway If you have HANA you have many options to present data by using analytic views. Also you have BW on HANA as EDW. So for both you can use BO and Lumira as well for presenting data.
    Check this document as well: http://scn.sap.com/docs/DOC-34403

Maybe you are looking for

  • NTFS permissions - Only access to folders created by the user himself

    Hi, I once came by an TechNet article explaining how to set up the NTFS permission on a shared folder, so the users would have rights to create a subfolder, and then only have access to this folder, and none of the co-existing folders on the same lev

  • Urgent need info

    Hi, Can anybody give me the SAP IGATE Current and previous clients infomation. Award points will be given. Rgds vgopal

  • 9i Standby without dataguard

    Hi all. Oracle 9i ( SE ) I'm trying to figure out how to create a standby database without dataguard. I've read that its possible, but I can't find any documentation on exactly how to do it. From what I've gathered I should be able to Create a duplic

  • Call.addNamedArgumentValue() ?

    Folks I am trying to call one stored procedure in Sybase, I am doing the following steps before executing any query Vector objs = new Vector(); ReadAllQuery query = new ReadAllQuery(); query.setReferenceClass(tclass); StoredProcedureCall call = new S

  • I cannot stop swearing to VERIZON Representatives

    (Removed) First of all, I "on vacation" in Europe and  yesterday I spent 1 hour an 38 minutes being transferred over and over and being placed on hold FOR ABSOLUTELY NOTHING. I have been trying to dispute my bill for a while but no one in customer se