Code Completion in HANA Studio

Friends
Any idea, if we have to configure some where in Studio to see this Code Completion (CTRL + SPACE) feature in HANA Studio
Thanks for your responses
Regards
Giri

For UI development, make sure you have installed the UI5 add-on. This will ensure the installation of the Eclipse Web Tools with an HTML editor.  However if you also want UI5 library code completion you must make sure you are using an SAPUI5 project. Have a look at this HANA Academy video for more details: HANA Extended Application Services:  Using... | SAP HANA

Similar Messages

  • HANA Studio: Installation and usage

    Hi,
    I am currently retaking the the introduction course in the HANA development and wonder about the HANA studio GUI presented there.
    Installation:
    I see on the HANA Dev site that there is the Studio and the Client. Do I need both for installation? Or is in the studio already the client provided? If not, why are they separated? (instead of combined?)
    Short: What is finally required for installation?
    Plus in the intro on the second unit it is mentioned that I have to install as well some regi (???) client to access the HANA repositories. Is this still true? Also reg. config I see in the 1.0.80 version not the config-items as mentioned in the video. So, do I need them? resp. where to configure them?
    Usage:
    And last but not least I wonder about the statement that the System View is not much used. Better use the Project Explorer (or so). According to the video you could create your own files with the extensions you like and they will automatically associate with the proper editor. Is it really that in daily business the System View is hardly used? One creates his/her own files with appending the appropriate file ending?
    roland

    >Since everything is done in the System View (e.g. create an Analytic View) where is it stored?
    It doesn't matter if you use the Systems View or the Project Explorer; the content is stored the same place/way on the server. When you save/commit in either tool the content is always stored in the HANA Repository.  The HANA Repository is just a set of database tables (_SYS_REPO schema).
    >Before activation and after?
    You shouldn't really go picking around in the Repository database tables, but if you are curious before activation the content is stored in _SYS_REPO.INACTIVE_OBJECT and after activation in _SYS_REPO.ACTIVE_OBJECT.
    >Therefore that I cannot switch forth and back with versions of a View, correct?
    If you use the project explorer you can just access the version management from the History tab and restore or compare from any previous versions:
    >When I follow your video, than I create first a package in the System, which will be updated in my repository view. Checkout, checkin, compare old vs. older version, etc. can only be done in the Repository View, correct?
    You have to keep in mind that the Systems view was created before we really had a developer perspective in HANA Studio. It was design with Information Modeling (view creation) only in mind. Therefore in SPS05 when we added the developer perspective and many of the new development artifacts we introduced the repository and project explorer view.  When you create a package via either tool - they are the same thing. However if you want to then work with a project or any of the newer development artifacts you must check out the project from the repository view and edit the objects via the project explorer.
    >Is it also possible to check (resp. compare) if something in a folder structure was changed?
    Changed by someone else after you checked it out? If so, you usually would just do another check out from the project.  Otherwise you will find any conflicts when you activate.
    >In SPS08 the project is automatically connected with the Team and I don't have to do anything further, like Share. Correct?
    Correct.  We continue to make usability enhancements and the automatic sharing of a project during the project creation wizard is one of those.  We will continue with such enhancements in SPS09 - allowing the project creation wizard to also general some of the basic development artifacts (like xsapp and xsaccess) for you.  You might be interested to know that we have a new openSAP course for HANA development starting at the beginning of October and it is based upon SPS08 and will showcase these improved workflows.
    >For SPS08 is there an easier way to create the .xsaccess-file?
    There is a new wizard that inserts a template content. It certainly shouldn't lock up your system to choose the wizard. Not sure why that would happen.  You can also use the HANA Application Lifecycle Management tools and its Application Creation Wizard to generate the initial development objects with template content. For the complete list of all available options, please refer to the developers' guide on help.sap.com.
    >Editor = at least two tabs, one with drop-down lists and one with text-files
    Not within the Studio.  After you have created the XSACCESS File it can be 'configured' via the XS Admin web interface. Not all options of the xsaccess file can be set from the XS Admin tool yet, however. Today you can mainly configure the authentication options.
    In SPS09 we will extend these options to also include the CORS and Headers configuration:
    >Does this mean, the files are automatically synced?
    They are automatically committed upon any create or save operation.  Originally in SPS05 you had to always choose to commit via a context menu.  To improve the user experience we changed this to automatic. The manual commit menu option is still there (team->commit from the right mouse context menu). However it is really only needed if something goes wrong with the communication to the server or if you were developing offline and then want to force sync with the server at a later time.
    >Since in the connection no specifics reg. server, port is provided I wonder how the magic is done
    No magic.  The XSJS code executes within the database.  There is nothing for it to connect to since by its very definition it is always running within the database. The XS server isn't a separate application server connecting via JDBC or ODBC.  The main point of XS is that it is a light weight application server fully embedded within the database.

  • Problems in creating RLANG stored procedure in HANA studio

    Hi,
    While I am creating a stored procedure (using .hdbprocedure file) in HANA studio with language as RLANG, I am getting an error message like this: "It is not supported to use another language than sqlscript".
    I have the following setting configured.
    HANA System -> Administration -> Configuration ->indexserver.ini -> repository -> sqlscript_mode = UNSECURE
    Any clues will be appreciated.
    Best Regards
    Surya

    HI Raj,
    This happens even for the empty procedure as following
    PROCEDURE "IDMANALYTICS_OPER"."idmanalytics.hana.db.hdbprocedures::MC_ROLEMINING_CLUSTERING_R" ( )
      LANGUAGE RLANG
      SQL SECURITY INVOKER
      READS SQL DATA AS
    BEGIN
      Write your procedure logic
    END;
    The procedure that I wanted to write is following.
    PROCEDURE MC_ROLEMINING_CLUSTERING_R(IN rolemining_input "_SYS_BIC"."idmanalytics.hana.db.views/MC_ROLEMINING_VINPUT",
      IN params "IDMANALYTICS_DB"."idmanalytics.hana.db.hdbtables::MC_ROLEMINING_PARAMETER",
      OUT result MC_ROLEMINING_CLUSTERS_TYPE,
      OUT result_hierarchy MC_ROLEMINING_HIERARCHY_TYPE,
      OUT result_userorder MC_ROLEMINING_USERORDER_TYPE
    LANGUAGE RLANG AS
    BEGIN
      noofclusters <- params$INT_VALUE[1];
      simindex <- params$DOUBLE_VALUE[2];
      distancemethod="jaccard"
      clusteringmethod="complete"
      usercol <- rolemining_input$USER_ID
      privcol <- rolemining_input$PRIV_ID
      #--generate user-permission matrix from user-permission table
      uptable <- data.frame(users = usercol, privileges = privcol)
      uniqueusers <- sort(unique(uptable$users))
      uniqueprivileges <- sort(unique(uptable$privileges))
      upmatrixdata <- vector()
      index <- 0
      for(i in uniqueusers )
      for(j in uniqueprivileges) {
      row_to_find <- data.frame(users=i, privileges = j)
      if(duplicated(rbind(uptable, row_to_find))[nrow(uptable)+1]){
      upmatrixdata <- append(upmatrixdata, 1, after = index)
      else {
      upmatrixdata <- append(upmatrixdata, 0, after = index)
      index <- index +1
      upmatrix <- matrix(
      upmatrixdata ,
      nrow = length(uniqueusers),
      ncol = length(uniqueprivileges),
      byrow = TRUE,
              dimnames = list(
              uniqueusers,
                  uniqueprivileges
      #--apply hierarchical clustersing
      require(vegan)
      distance<-vegdist(upmatrix,method=distancemethod)
      clusters<-hclust(distance,method=clusteringmethod)
      #--fill clusters for given h and k
      if(noofclusters > 0){
      userclusters<-cutree(clusters,k=noofclusters)
      tempresult <- as.data.frame(userclusters)
      result <- data.frame(USER_ID=row.names(tempresult), CLUSTER_ID=tempresult$userclusters)
      if(noofclusters <= 0 & simindex >= 0){
      userclusters<-cutree(clusters,h=simindex)
      tempresult <- as.data.frame(userclusters)
      result <- data.frame(USER_ID=row.names(tempresult), CLUSTER_ID=tempresult$userclusters)
      #--fill role hierarchy
      clusters_merge <- as.data.frame(clusters$merge)
      clusters_height <- clusters$height
      clusters_order <- clusters$order
      result_hierarchy <- data.frame(HEIGHT=clusters_height, V1=clusters_merge$V1, V2=clusters_merge$V2)
      #--fill user order
      clusters_order <- clusters$order
      result_userorder <- data.frame(USERORDER=clusters_order)
    END;

  • Intellisense and code completion

    Hi all,
    this is maybe not WDA question, but I think all WDA developers have to deal with this problem and I want to know your opinions. The problem is something like intellisense and code completion in abap editor. I'm coming from .NET and Visual Studio world, where this features are implemented and they are very very useful.
    Now when I'm programming something in SE80 I type some_class_instance-> and I want to from editor to show me all methods with description, then I choose some method and editor fill in all method parameters. Now I have to memorize methods and parameters or search for them, which cost a lot of time.
    Example: http://www.fileguru.com/images/b/editor_net_development_microsoft_net-8526.gif
    Best regards Jiri

    Hi
    Check this video
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/90db53c4-812d-2c10-0789-dc18f6c9c725&overridelayout=true
    Regards
    Manas Dua

  • Code completion deletes text

    I'm wondering if there is any way I can prevent JDeveloper from deleting text already in my document when it does code completion. In particular I'm dealing with XML files...
    Consider this text-editing task:
    I have this test:
    Today is a wonderful day.
    I want to mark this text up to look like:
    Today is a <bold>wonderful</bold> day.
    If I locate my cursor (marked by ^) next to wonderful:
    Today is a ^wonderful day.
    And then enter the &lt; character followed by the b character Jdeveloper pops up a menu of the possible choices ( bold )...
    If I then select that choice ( press 'enter' ) it assumes that I'm replacing the tag <bwonderful with the tag <bold> and deletes the text wonderful. The end text and cursor position I get is:
    Today is a &lt;bold^ day
    Is there any way to configure JDeveloper to have the behavior I desire:
    Today is a &lt;bold^wonderful day
    I find that because of JDeveloper's deletion of text, I end up having to think about whether I would rather type the tag name manually ( not use completion) or retype the following text ( use completion ) every time I insert a tag into my xml documents.

    I'm using the December release of JDeveloper:
    Studio Edition Version 11.1.1.0.1
    Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
    If there is a space, then it doesn't replace the text, as in the example you show:
    Today is a ^ wonderful day
    works correctly giving:
    Today is a <bold^ wonderful day
    It also works well if you're inserting in front of a tag:
    Today is ^<bold>wonderful</bold> day
    can easily be changed to
    Today is <blink^<bold>wonderful</bold> day
    where code completion lists the tag <blink>

  • SAP table replicated in HANA Studio not displayed.

    Hi Experts,
    I have started replication of the ECC table MHND (which have only 350K records) several hours ago through Data Provisioning SLT in HANA studio, but the table replication status was never displayed.
    I have refreshed the target schema several times but could not find the table.
    Also, the table is is shown as active in DD02L, DD02T.
    I do not have access to Replication Server. So, is it possible to see the replication status from HANA Studio?
    Thanks,
    Krishnendu Roy.

    Hi,
    if any records are available in RD_ORDER for a longer time, it seems like that there is a connection problem between SLT and HANA.
    You find here the action codes: http://scn.sap.com/community/replication-server/blog/2013/06/24/how-to-start-data-provisioning-without-using-the-data-provisioning-ui
    M & T inidicate that someone manually or via LTRC started the process.
    Best,
    Tobias

  • Unable to add ABAP plug-in in hana studio

    Hi Gurus,
    I installed below version
    SAP HANA Studio
    Version: 1.0.48
    Build id: 201301130825 (372847)
    I am trying to add ABAP tools from https://tools.hana.ondemand.com/juno but I am getting below errors.
    Cannot complete the install because one or more required items could not be found.
      Software being installed: ABAP Core Development Tools (Developer Edition) 2.24.0 (com.sap.adt.core.devedition.feature.group 2.24.0)
      Missing requirement: ABAP Development Tools Connectivity 2.22.0 (com.sap.adt.connectivity.feature.group 2.22.0) requires 'org.eclipse.platform.feature.group [4.2.0,5.0.0)' but it could not be found
      Cannot satisfy dependency:
        From: ABAP Core Development Tools (Developer Edition) 2.24.0 (com.sap.adt.core.devedition.feature.group 2.24.0)
        To: com.sap.adt.core.feature.group [2.24.0]
      Cannot satisfy dependency:
        From: ABAP Core Development Tools 2.24.0 (com.sap.adt.core.feature.group 2.24.0)
        To: com.sap.adt.connectivity.feature.group [2.22.0]
    Please help me out in resolving those.
    Regards,
    Rahul

    Hi Rahul ,
    Can you try to install ABAP plugin again with the option of "Direct" or "Manual" Active providers.
    You can change above mentioned Active providers as following:
    1. Go to Window [Eclipse Menu Bar]->Preferences->General->network Connections [then change Active providers to "Direct" or "Manual" ].
    2. press OK.
    3. Install your ABAP plug-in again.
    Hope this helps.
    Best Regards,
    Vaibhav
    Message was edited by: Vaibhav Kumar

  • Basic hello world application is not running in SAP hana Studio

    Hi,
    I have successfully added the SAPUI5 development toolkit on my Hana studio (ver 1.80.3) and i created the sample hello world project as per the sap Hana developer guide (SPS08) but while the run the application using   web app preview it showing a empty page.Please guide how the run the SAPUI5 application on hana studio as well as please provide some sample code to understand in a better way.
    Note : Right now i can able to run as a html but not web app preview
    Thanks
    Gopinath

    I have something similar here: How to use SAP UI5 in HANA Studio rev. 60
    Maybe it can help you.

  • 30 days HANA trial: can I recreate VM for "SAP HANA Studio" in cloudshare?

    Dear experts,
    got the VM's for the 30 days trial both up and running.
    Is it possible to recreate the VM's  mentioned below to start from scratch again ?
    a. SAP HANA SPS5 server
    Installed: SAP HANA SPS5 server
    OS: SUSE Enterprise 11 SP1 64 bit
    OS: Linux
    State: Running
    b. SAP HANA Studio
    Installed:
    • SAP HANA studio
    • SAP HANA client
    • Office Professional Plus 2010 SP1
    • Visio 2010 Premium Edition
    OS: Windows 7 Pro x64 SP1 
    OS: Windows
    State: Running

    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

  • SAP HANA studio plugin errors

    Hello,
    I am facing an plugin error in my Hana studio.
    In the SAP HANA DEVELOPMENT perspective under the Repository tab, I am getting an error as,
    "Plug-in com.sap.ndb.studio.dwb.team.ui was unable to load class com.sap.ndb.studio.dwb.team.ui.views.RepositoryBrowserView."
    Please find the attached image and please help me to resolve this issue.
    Thanks and Regards,
    Vicky.

    Hi Bhupender,
    Its working fine now. But I don't know how it happens.  I have just uninstalled Hana Studio server and client completely from my system including all the cache files.
    1. Freshly installed the client and then server.
    2. Then click Help->install new software->added the link->"https://tools.hana.ondemand.com/kepler"
    3. Installed the plugins one by one and restarted the studio, accordingly. eg. first select the package  "UI development Toolkit for HTML5" and download the plugins and restart the studio. next "SAP HANA Cloud Integration Tools", next "SAP HANA Cloud Platform Tools" and finally "SAP HANA Tools". Install "Modeling Tools for SAP BW powered by SAP HANA", if required.
    Note:  install "ABAP Development Tools for SAP Netweaver" only if it is necessary. Because I faced some plugin errors in Hana studio. Do not install eclipse plugins in Hana studio unnecessarily, because some plugins are vulnerable and it makes the studio, heavy.
    The above procedures are working fine for me, till now. Now my studio is healthy and working as expected, without any plugin errors.
    Thanks and Regards,
    Vicky.

  • Regarding Modeler in SAP Hana Studio

    Hello Experts,
    I am trying to connect to SAP HANA Trial System with  my in house NSP System through Business Object Data Servicies.
    I have completed the steps till configuring the import server in HANA studio now when click on "Import Link"  Under Content,  i am not getting "information modeler" option to get table structure.
    Please help on this.
    Please find the screenshot attached here.
    Regards
    Bhasin

    Bhasin,
    To import table structure, Click on SAP HANA Content --------> Selective Import of Metadata.
    Once you click on above, it will ask you to mention Source connection details and type of import objects like tables & extractors.
    Regards,
    Kulwinder

  • HANA Studio Import- Manage connection error.

    Hi
    In HANA studio, while import, Manage connection is giving error.
    In BO Dataservice4.0, i have created Data store and gave ERP connection details to connect ERP system.I am able to import tables from ERP in Datastore.
    Also I gave input to Server address(DS IP) and Repository name(Local repository) in Configure import server at Studio.
    Import click gives below error in Manage connections
    Error while opening the connection DS_XXX. Use "Manage Connections" to check the connection details.
    Any settings has to be done? pls advice.
    Regards
    Magalingam

    Hi Chandra,
    We have solved the problem.
    We have completed the following steps of the master guide of HANA:
    Configuring Data Services for Metadata Import:
    1. Setting the Passphrase
    1.1. Log into the Central Management Console of SAP BusinessObjects Enterprise (BOE).
    1.2. Choose Manage > Applications
    1.3. Choose Data Services Application.
    1.4. Choose Settings.
    1.5. Enter the Encryption Passphrase.
    1.6. Choose Save.
    Note: The passphrase you set here should be the same as the one you set in the SAP In_Memory Computing
    studio.
    Postrequisite: Restart the TOMCAT and BOE services.
    Regards,
    Enrique.

  • Any free online C# editors with code completion?

    Hello, I am looking for an online IDE for C#. I have come across many IDEs that have claimed to 'support' C#, but in reality only offer syntax highlighting. Compilr (compilr.com) looked promising, but it requires a subscription. I found .NET Fiddle (dotnetfiddle.net),
    but it seems very limited (you can't compile multiple files at a time, for example) and you can't download files/push to Github. Finally, I came across Chpokk at chpokk.apphb.com (which at first looked really promising), but even though it says it has "Intellisense",
    when I try typing something like 'Console.' nothing shows up (was I doing something wrong?).
    So in summary, does anyone know of an online, C# IDE that offers:
    code completion
    some way to save files outside of the website (downloading, pushing to Github)
    its services for free (or at least, a one-time payment)
    (I don't even need it to run the code, as long as I can download it somehow.)
    Thanks!

    I checked it out before; I thought that was just Microsoft's version of GitHub? If you go over to www.visualstudio.com/get-started/set-up-vs it says that you have to connect to it with Visual Studio (which I can't do since I'm on ARM and Linux). I tried
    creating a sample project in it, but it doesn't create solutions for you and pushing with Git on the terminal appears to be very convoluted. (I don't want to push every time I want to create a new .cs file.)
    Are there no other IDEs?

  • Extendscript Toolkit 2 code completion

    Hi,
    I've read that the Extendscript Toolkit 2 has code completion feature build into it. But how does it work ?
    When entering some code and adding a point does not launch the auto completion ... What do I do wrong ?
    Using Visual studio, I've been used to work with autocompletion ...
    Can anyone share any hints ?
    Thanks
    Tim

    It was already enabled...
    Maybee I'm to demanding... I was expection code completion on a level of visual studio...
    Thanks for your feedback Peter...

  • Exception during code completion

    Hi:
    I am using sun one studio 4 CE. When editing java code in a specific project, I try to use code completion but get the following exceptions:
    Wed Feb 12 15:45:32 EST 2003: java.lang.IllegalArgumentException: Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@b874d2
    java.lang.IllegalArgumentException: Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@b874d2
    at org.netbeans.modules.java.JavaParserGlue.getBinding(JavaParserGlue.java:263)
    at org.netbeans.modules.java.JavaParserGlue.sourceToText(JavaParserGlue.java:650)
    at org.netbeans.modules.java.JavaParserGlue.findElement(JavaParserGlue.java:618)
    at org.netbeans.modules.editor.java.NbJavaSyntaxSupport.getMethodStartPosition(NbJavaSyntaxSupport.java:100)
    at org.netbeans.editor.ext.ExtSyntaxSupport.buildLocalVariableMap(ExtSyntaxSupport.java:322)
    at org.netbeans.editor.ext.ExtSyntaxSupport.getLocalVariableMap(ExtSyntaxSupport.java:315)
    at org.netbeans.editor.ext.ExtSyntaxSupport.findType(ExtSyntaxSupport.java:296)
    at org.netbeans.editor.ext.java.JavaCompletionQuery$Context.resolveItem(JavaCompletionQuery.java:404)
    at org.netbeans.editor.ext.java.JavaCompletionQuery$Context.resolveExp(JavaCompletionQuery.java:264)
    at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:104)
    at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:52)
    at org.netbeans.editor.ext.Completion.actionPerformed(Completion.java:382)
    at org.netbeans.editor.ext.Completion.popup(Completion.java:337)
    at org.netbeans.editor.ext.Completion.setPaneVisible(Completion.java:281)
    at org.netbeans.editor.ext.ExtKit$CompletionShowAction.actionPerformed(ExtKit.java:1031)
    at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:133)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2470)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
    at java.awt.Component.dispatchEventImpl(Component.java:3468)
    [catch] at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Window.dispatchEventImpl(Window.java:1585)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    However this DOES NOT happen in other projects!
    Any help is resolving this would be appreciated.
    Thanks.
    vjktm

    Try posting to the Studio forum. This forum is for general Sun ONE issues.

Maybe you are looking for