Translations in SAPUI5 (on HANA XS)

Hello,
I am new to SAPUI5 development. I understand how translations are supported on ABAP (as described here:Translations in SAPUI5 Application), but while developing on HANA XS, I am unclear on how to manage translations.
Can someone please provide me suggestions/inputs/example?
Thanks,
Sunita

The Hana developer guide includes a section on translation text bundles on Hana XS (page 458)
9.3.5 Tutorial: Create and Translate Text Bundles for SAPUI5 Applications
http://help.sap.com/hana/SAP_HANA_Developer_Guide_en.pdf
Regards,
Jason

Similar Messages

  • SAPUI5 on HANA applications in Portal?

    Hello All,
    I would like to integrate the SAPUI5 applications consuming data from HANA database into SAP portal. I did ask my friend "GOOGLE" about the possibilities and found that one possible way would be like this.
    Note that this iView template is mainly intended for ABAP-based scenarios.
    What does the above statement actually mean? Does that mean, this is possbile for only applications consuming data from ERP?
    If so, can anyone suggest some resource or ideas how it could be achieved with SAPUI5 applications on HANA.
    Any suggestions would be highly appreciated.
    Thanks and Regards
    Sangamesh

    Sangamesh Hanumantha Sangamad wrote:
    Note that this iView template is mainly intended for ABAP-based scenarios.
    What does the above statement actually mean? Does that mean, this is possbile for only applications consuming data from ERP?
    If so, can anyone suggest some resource or ideas how it could be achieved with SAPUI5 applications on HANA.
    Any suggestions would be highly appreciated.
    I had similar questions some time ago and did not get any really exploitable answers till today: Integrating UI5 applications in EP with local system object
    In fact the practical idea is simple: take an UI5-plugins enriched Kepler (Luna?), write a native UI5 application and deploy it on your portal. Integration can be using available templates (you will need an backend loop, I have no idea how to motivate this effort) or URL iView. The context of data consumption within your application is entirely independent from this process and is up to you, in your case its HANA consumption as you mentioned. Of course you will need know-how on it, but its in fact not a portal question, take a look to available how-to's.
    I tryed a similar POC scenario for Fiori launchpad on portal and it worked more or less well for me. For my self it was something to play around with, imho: in current delivered quality (7.4 SP9 with last patches) its nothing I would suggest for a customer of my. There are serious bugs and restrictions on AS Java regarding this topic (e.g. new theme desginer (1890375), integration questions and so on). So if you are thinking about to sell this to somebody, think twice , but this is my very subjective imho.
    cheers

  • SAP HANA D3 Library errors - "queue" is not a function

    Hello all,
    i have a question regarding D3 Integration into SAP HANA and hope one can help me.
    The last days i developed a D3 Choropleth (spatial data) with hover effects, tooltips and a legend. I have an existing SAPUI5 and HANA XS application running and now i wanted to integrate my D3 Choropleth.
    1 ) First of all, i added the following tags into the head section of the index.html file of my SAPUI5 project as i need those libaries.
    <script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
    <script type="text/javascript" src="http://d3js.org/queue.v1.min.js"></script>
    <script type="text/javascript" src="http://d3js.org/topojson.v1.min.js"></script>
    2) Then, i added the program code of my D3 Choropleth into the view.js of my SAPUI5 project:
    var html2 = new sap.ui.core.HTML("d3choropleth", {
                    content: "<div class='D3Choropleth'>" + "</div>",
                    preferDOM: false,
                    afterRendering: function() {
                                  .... here is my code ...
    I have a SAPUI5 shell with different NavigationItems (tabs) and for this D3 Choropleth tab i am writing:
    case "WI_choropleth":
    oShell.setContent(html2);
    break;
    When i start my SAPUI5 project and klick on the tab where the D3 Choropleth should be rendered, i get the following errors:
    d3.scale.threshold is not a function
    d3.geo.albers center is not a function
    queue is not a function
    Moreover, i have to say that my D3 Choropleth works standalone outside HANA very well, that is why i assume it is a library integration issue.
    In my browsers (firefox) developer console i can see that there is a D3 library loaded by default (as it is one of SAPUI5s components) with the path: sap/ui5/1/resources/sap/ui/thirdparty/D3.js.
    BUT this is a really old version of D3 (2.9), the current release is D3 (3.4), so maybe the problem is that the D3 libary that is loaded by default overwrites my integration of D3 (script tag above)?
    Does anyone have the same issues and knows how to solve that? Furthermore it seems that the d3 queue library is also not integrated as the error "queue is not a function" occurs and i also ask me how to solve that error.
    We have SAP HANA Developer Edition Revision 80 (by AWS), HANA Studio and Client are on revision 73 (64bit).
    It would be great if anyone could help me with my issue.
    Further question: Is the current release of D3 going to be integrated into the next HANA revision?
    Thanks a lot & regards,
    Andreas

    Hi Andreas,
    You are right. The way you integrate the libraries in your code is not the way that will work for HANA XS projects. This is why it doesn't accept the queue function (library is not loaded) and also why the 3.x only D3JS funcitons are not accepted (only the internal D3JS library is loading and these functions were not a part of 2.9 yet).
    To integrate third party libraries, you need to add XSJSLIB files to your project. These need to pass the server-side JSLint checks before accepted by the XS engine. (Client-side checks that fail might not count though).
    Please see this post from David Brookler for more information.
    http://scn.sap.com/community/developer-center/hana/blog/2013/12/23/db001-using-libraries-in-xs
    Best regards,
    Tobias

  • SAP HANA Language file

    Hi Experts,
    I have deployed SAP HANA Live for ECC in my system, but I am not able to import the language file LANG_HCOHBAECC.tgz.
    When I try to import, as the same way I have done with the HCOHBAECC.tgz file, I receive the message "Repository: import failed;Import::import(): wrong archive type ET_LANGUAGE_TRANSPORT, you have to use importLanguage() to import this".
    How can I import this file to translate the content of HANA Live?
    Best Regards,
    Renato Ely

    Hello Renato,
    the way you chossed via importing DU's directly vom the HANA Studio is not the recommended way for doing that.
    Please check the HANA LIVE Admin Guide for some infos.
    The Recommended way which is documented there is the usage of "SAP HANA Lifecycle Manager".
    This tool automaticaly takes care of Content and Language Import.
    For more info please directly check within the Admin Guide, which you can find at:
    Download and Deploy Content Package - SAP HANA Live for SAP Business Suite Administrator's Guide - SAP Library
    Best Regards
    Stefan

  • SAP CEI: Modify title and customize theme

    Hi all,
    I have two questions:
    1.) Where can I maintain strings? I have to change the default title "SAP Customer Engagement Intelligence powered by SAP HANA".
    2.) I want to modify the default theme (sap_bluecrystal). I have added my modification via  theme designer and can see it within /UI5/THEME_TOOL
    In transaction /n/UI2/NWBC_CFG_CUST I  added the following entry:
    • Path Filter: SAP_FLP
    • Parameter Name: THEME
    • Value: <theme_id>
    But still the old theme is loaded?
    I have tested the theme via sap-theme=<theme ID>@<theme root> - in general theme ist available and could be used..
    Thanks and Regards,
    Patrick

    I found a solution to change the displayed title:
    In the mentioned i18n-File contains at first row a SAPUI5 translation-key.
    Copy this key, open transaction se63. Click in the main menu on entry "Translation" -> ABAP Objects -> Short texts. Select SAPUI5 Text Elements from the tree.
    Next we can select the language an modify the translations.
    More detailed described at Translations in SAPUI5 Application
    This means, question 1 is solved. Question 2 is still open. Any ideas?
    Regards,
    Patrick

  • System to system interaction through gateway

    Hi,
    I'm building an mobile/desktop application with SAPUI5 -> Gateway ->HANA as the architecture.
    Now apart from the end user inputs I have a scenario where I will get data from a system.
    Is system to system interaction via OData services acceptable?
    I know we traditionally use SAP PI for system - system integration.
    But I do not have PI here.
    So can you please tell me whether I can use OData services for this? If not I will do a direct file upload via the application layer.
    Thanks
    Shakthi

    Hi Ron,
    Thanks for your inputs.
    I will explain my scenario in detail.
    I will have to upload data from a file created by an external application into my HANA db tables.
    But this does not have to go through the UI.
    So Im wondering what would be the best way to load this data.
    Would it be better to ask the application to ftp it to a server and create an ABAP program to write it to DB table or create a OData service to which I would ask them to invoke and provide data?
    Thanks
    Shakthi

  • Installing SAPUI5 on Eclipse for HANA One on AWS

    Hello,
    I'm following the Thomas Jung video tutorials for SAP Hana XS, and have tried to install the SAPUI5 plugin into my Eclipse Indigo version. I notice that Thomas is on Juno, but as I got my HANA Studio from my AWS installation, I cannot easily change to a newer version (not sure how to "migrate" my Indigo plug-ins for HANA Studio to a newer Eclipse version).
    I have two questions: 1: do I really have to manually install the SAPUI5 plugins into my AWS-provided Eclipse to do UI5 development, or are the necessary features already there? 2: If I have to install manually, can I do this on Indigo, or do I have to "migrate" to Juno (and if so, how?) I tried to install the plugins for UI5 into my Indigo version, but it now complains about missing prerequisites (some web-ui plugin, which I cannot identify or find, even when enabling the Indigo download page in my install preferences...)
    This is a bit messy, but maybe a sign of where SAP is moving: away from the tried-and-tested all-in-one-box one-size-fits-all SE80, into the choppy and somewhat murky seas of Open Source :-)
    Regards,
    Trond
    PS: in order to get hold of the SAPUI5 IDE plugin, I had to download it from the SAP Marketplace. This, presumably, means that anyone without a valid (company) OSS user cannot get it...??? Is there a version out in the open somewhere?

    I found the solution here:
    http://scn.sap.com/thread/3284452
    I needed to install a specific version of certain plugins (below); therefore, I needed to un-check the ""Show only latest versions for available software", since I needed version 3.4.0 of these, and also un-check "Group item by category" in order to see them.
    Required plugins:
    Eclipse Faceted Project Framework (the one from the "dead link" I described above)
    Eclipse Faceted Project Famework JDT Enablement (same comment as previous)
    Eclipse Java EE Developer Tools
    Eclipse Java Web Developer Tools
    WST Common Core
    Of course, this was not explicitly documented anywhere - so, trial & error (I found thefinal solution by google'ing the error messages from eclipse) - which brings me back to my initial reservations about the way the way the development environment is being presented and delivered - not as a pre-packaged integrated offering from one vendor (SAP), but based on a range of components and plugins that we have to identify, retrieve and assemble ourselves. This is like IKEA without the user manual. Actually worse, since you don't even know which parts you need
    Of course, for enterprises using this platform, there will be proper packaging and managed installations of Eclipse/plugins/UI5, and SAP will hopefully update their documentation to properly include all steps needed to get the environment up and running - maybe even do some packaging of their own...
    OK, I'll stop being grumpy for today - I got the SAPUI5 tool installed, so I'm happy. I'll write it all up and publish it as a blog one of these days.
    Thanks to Thomas for an excellent job in promoting these new toys, and for being very responsive!! Looking forward to (finally) creating some UI5 interfaces.
    Regards,
    Trond

  • SAP HANA XS and SAPUI5 - how to live update a chart?

    Hi all,
    we are developing with SAP HANA Developer Edition and SAPUI5.
    We read data with an XSJS File out of the Database ( i read the recent 40 datasets of the table with an SQL statement and LIMIT).
    This is the code in my controller.js which calls the XSJS service that reads the data out of HANA DB.
    loadChart: function() {
            var model = new sap.ui.model.json.JSONModel();
            var aUrl = '../../../dev/data_HANAXS/services/readdata.xsjs?cmd=loadChart';
            jQuery.ajax({
                url: aUrl,
                method: 'GET',
                dataType: 'json',
                success: function(data) {
                    model.setData({modelData : data});
            return model;
    Then in my view.js i set the model for the line chart and i can see my data.
    var model = oController.loadChart();
    linechart.setModel(model);   
    What i want to do now is to live update the chart in regular time intervals, i am using SETINTERVAL ( you can also use jQuery.sap.delayedCall ) for that:
    function updateChart() {
                var model = oController.loadChart();
                linechart.setModel(model);
    setInterval(updateChart, 5000); // every 5 seconds refresh the chart
    And this works fine BUT the COMPLETE CHART (including x-axis and y-axis) is drawn again every 5 seconds , what i want to know is how can i realize it so that ONLY the DATA LINE is drawn again every 5 seconds?
    It would be great if anyone could help me regarding this issue?
    It must be possible to do a live update of a chart especially for cases where you get steadily new data that has to be visualized.
    Regards & Thanks,
    Andreas

    Hi Micha,
    yes i tried that some days before but it did not work. After your message here, i tried it again but same result, what i get after some seconds is "No Data". Moreover i am not quite sure how to set the data with model.setData().
    What i do is the following, maybe you know if there is a mistake: this is the code for updating the chart in the controller.js:
    update: function(oController) {
            var model = new sap.ui.model.json.JSONModel();
            var aUrl = '../../../xxxx.xsjs?cmd=loadChart';
            jQuery.ajax({
                url: aUrl,
                method: 'GET',
                dataType: 'json',
                success: function(data) {
                    model.setData({modelData : data});
                    oController.onUpdateCall(model, oController);
    onUpdateCall: function (updateJSONModel, oController) {
            oController.updateModel = updateJSONModel;
            var linechart = sap.ui.getCore().byId("linechart");
            var oModel = linechart.getModel();
            var oUpdateData = oController.updateModel.getData();
            oModel.setData(oUpdateData);
    I use the same cmd parameter and i call the same xs service method "loadChart" (which always returns the newest datasets - data is continuosly pushed in our HANA DB) that initially loads the data for the chart.
    I get no error messages in my browser.
    When i do oController.update(oController) in my view.js after 5 seconds, i get "No Data" but analysing the data in browser shows me that the xs service returns the data, so data is definitely there.
    Regards & Thanks,
    Andreas

  • Hana Repository Translation Tool

    Hi,
    I am using RTT tool to export XLIFF files for HANA models. I need to convert the texts in French Language. As part of help documentation SAP has recommended using ABAP translation system. However the command to do automatic export from HANA database and import into ABAP translation system is for SAP internal use.
    I need some help in uploading these XLIFF files manually into ABAP system and use transaction se63 for doing the translation. If anyone has done something like this in their project please let me know.
    Thanks,
    Aamod.

    Hi Wenjun,
    First of, thanks for your interest and taking the time to reply.
    The reason why I am exploring syncing two repositories or need them in two places, the rules used for text analysis need to reside in both locations, one copy is used for building a software that gets deployed on its own, another goes to HANA to implement the same software in HANA using HANA Text Analysis. So that is the reason why we try to manage these copies to sync automatically or an easier way than copying back and forth.
    Mert

  • Can't use filter when accessing hana table through link from another table in sapui5

    Hi all,
    Have a strange one and I was wondering if someone had come across this before.
    Hana table structure
          entity SalesOrder {
        key element name : String;
        element contact : Association[0..*] to Contact via backlink order;
    entity Contact {
    element location: Location;
        element order : Association to SalesOrder;
    ==
    each sales order has a number of contacts.
    In javascript, if I bind on list of contacts directly then I can use the filter
    oRowRepeater.bindRows("/Contact",oRowTemplate,null,[new sap.ui.model.Filter("location",sap.ui.model.FilterOperator.EQ, "Germany")]);
    and if I enter link i returns the number of entries
    Contact/$count?$filter=location eq 'Germany'
    But if I get contacts through the sales order it doesn't allow me to use the filter,
    oRowRepeater.bindRows("/SalesOrder('mike')/Contact",oRowTemplate,null,[new sap.ui.model.Filter("location",sap.ui.model.FilterOperator.EQ, "Germany")]);
    I can return the contacts same as accessing them directly and i can get the information such as
    new sap.ui.commons.TextView({text: "{location}"}) same as before but only difference is that i can't filter.
    When I try the following I get error
    /SalesOrder('mike')/Contact/$count?$filter=location eq 'Germany'
    Error
    "message": {
                "lang": "en-US",
                "value": {
                    "type": "ODataInputError",
                    "message": "Bad Request URL: U"
    When I open Chrome Developer Tools I see the following error
    SalesOrder/contact/$count?$filter=location%20eq%20%27EMEA%27 400 (Bad Request)
    Basically the $count doesn't work if you access contacts indirectly even though the link is there.
    Is this a bug or am I doing something wrong?
    Hana is sp8, I am up to date with almost everything.
    Many thanks,
    Matthew

    for the reading/writing from oracle to access, you could do something like this:
    for table in oracle/access with fields of id(number), name(varchar/text):
    Connection oconn = //connect to Oracle
    Connection aconn =  //connect to access
    //create the insert statement into access table
    PreparedStatement apstmt = aconn.prepareStatement("INSERT INTO accesstable (id, name) values (?,?)");
    //select all the results neeed from oracle table
    Statement ostmt = oconn.createStatement();
    ResultSet rs = ostmt.executeQuery("select id, name from oracletable where...");
    while ( rs.next() )
         apstmt.setLong(1, rs.getLong(1));
         apstmt.setString(2, rs.getString(2));
         apstmt.addBatch();
         //if your driver doesn't support batching, just use this:
         //apstmt.executeUpdate();
    //use this only if you use batch statements
    apstmt.executeBatch();
    rs.close();
    stmt.close();
    apstmt.close();
    oconn.close();
    aconn.close();

  • Why doesn't SAP use SAPUI5 for this and that

    This is my personal opinion about this topic! Again and again I stumble about this and now I want to share some of my thoughts about this topic. I want to share this from a point of view, when I was not a SAP Employee - I worked at a SAP Partner company - because this best reflects the view from the outside.
    1. SAP "wants" us to use SAPUI5
    I don't think that "wants" is the right word - the right word is offers! In terms of: hey now even included in your license and open sourced (because you wanted it so). Look - we build sooo many Fiori apps with it - and put in some great enterprise features (right to left, accessibility, translation, ...) and it is responsive. So if you want to build Fiori-like "apps" - there you go - this is your technology to go! This is what I understood.
    I was very very very happy that it was build with open standards. But the main point for me another thing - (because I worked with Sybase Unwired Platform and SAP Mobile Platform) OMG an open data protocol!!! OData FTW! I could use ANY front-end technology and consume SAP data - the protocol is REST based - a dream came true. And so I did - yes I played around with Sencha Touch and OData, I used data.js and used it in a standard HTML5 application. We played around with an iOS application we already had and consumed the data. I feed the data into d3.js. I prototyped around with SAPUI5 and I have build apps with it. Brilliant, so I could choose whatever UI technology I wanted.
    I always had the feeling, that SAPUI5 was meant for B2E applications - and building many of that - and they should look and feel the same and I can theme the apps. I can use it when I want to make my applications SAP like - so that the user thinks the apps are all the same and everything fits nicely into the Fiori launchpad - great if you want to build partner apps. In my ex company we won a SAP Pinnacle Award - for a native iOS app, no SAPUI5 in sight - but we have received an award, so SAP did not "want us" to use SAPUI5 ;-)
    2. Is it the right UI technology for everything?
    At my ex-company I was dealing with mobile applications and web apps. I always knew that I get the best user experience when I write a real native application and if you want it to look like in a very specific way with awesome UI --> you would not do it with a write-once-run-everywhere HTML5 super-styled wrapped (phone gap/cordova) app - you would write the apps for the specific platform and it should feel like it was written for the platform. SAP offered us the SAP Fiori Client that I could enhance the user experience for the Fiori apps, but I was never told to use SAPUI5 it for everything.
    The same discussion goes on with: why was the new SAP website not build with SAPUI5, or the UX Explorer (eat your own dog food), or a useful internal app - why Angular, or the other way around why do we even use SAPUI5 and not Angular JS itself. Back to the past - SAP did never tell me to build a website with it, or to build something tiny and small with it (a widget) - or to enhance parts of a website with it - or to build something super-specific with it.
    And yes maybe the UI in a mobile app was not SAPUI5 but do you know if it uses Gateway with OData or the SAP Mobile Platform, was the API managed with Apigee, was HCI involved in getting the data from different sources, was it maybe wrapped with SAP Mobile Secure, did it maybe use a HANA backend or some of its features (predictions, text analytics, ...) - are some backend parts maybe hosted on HCP - who knows? So yeah, maybe other SAP technology was involved which you don't see, but in the end it made your life simpler.
    Instead of arguing around why this and that was used for this and that - can we save our energy and instead look at the result - which is all what counts - that it was the right UI technology with the right user interface which makes the user happy? I stated something like - does Google use AngularJS for everything? Nope. They offer us something great we can use. Right, maybe AngularJS is not as important for Google like SAPUI5 is for us. But we have something with which we can build our day-to-day business apps with and we do so.
    3. We missed great opportunity in not using SAPUI5 for this and that
    Let's think about how projects are going: you want something, you look at the costs, you choose most efficient option. Yes this could mean reusing an existing native application which was written long ago and you pimped it up. Or you had outsourced it to a company which wrote a similar app. Or you bought the source code. Or you have some cheap internal staff which could do it (students, trainee), or you could outsource it cheaply. Or all you have is people with experience in this and that technology. Or it must look in a very very specific way (because marketing says so) and you go native. Or it maybe should even differentiate itself and should look NOT like a Fiori app. And no - I don't think - this is my employees view - we are not for example an event app producer. We normally build business applications. And I don't think that we can write an app from scratch "just" for an event in a certain technology. Yes it would be nice if this and that would use SAPUI5, I think if it would be possible in terms of time and costs and UI wishes and hundreds of other factors we would do it with SAPUI5.
    Working at the partner SAP showed me over 50 Fiori apps, now hundreds of Fiori apps are released. SAP now showed that SAPUI5 is going big with S/4HANA. We have seen the Simple Finance solution. I was walking around at the CeBIT this year and I was impressed myself which cool apps and screens have been shown with SAPUI5. I used the SAPUI5 app on a Samsung Smart Watch myself. The SAP Web IDE itself is built with SAPUI5 in its heart. I don't need any other "proves" that SAPUI5 is great. I have seen great use cases for it, but I also know myself when I would use other stuff.
    4. My conclusion
    There is never every anything which can cover all different use cases. One-size-fits-all clothes also does not fit for everyone even if it says so. If someone creates something great don't judge it by the UI technology. Judge it by the experience and the value it creates. There are reasons why this and that was chosen. Use what fits your needs best with your requirements. Make the end user happy!

    Hey Denise,
    Thanks for pulling this discussion into SCN. Makes it much easier to discuss compared to Twitter. But I also have to apologize in the beginning that my answer now exceeds 140 characters by 50 times.
    Let me share my thoughts and personal opinion as well. I will try to look at it from a strategic point of view, as you – as the technical UI5 expert - have already covered the technical perspective.
    SAP recommends using SAPUI5 where it fits to customers’ requirements
    Let me begin with a clear statement from my perspective: It makes no sense that SAP takes customer decisions.
    Of course, customers expect SAP to help them with their strategies and decisions and of course we are helping. But at the end, the decisions have to be taken by the customer who needs to take the specific conditions of the company into account. The most important condition in the context of UX is the end user. But we shouldn't forget the business strategy as the most important influence factor. I’m not saying that technical decisions are completely unimportant, but I would like to point out that other things are more important for a company.
    As a result, it wouldn't make a lot of sense if SAP would just want every customer to use SAPUI5. To me, customers need recommendations leading to solutions that satisfy their needs and requirements.
    There is not that one UI technology that serves all needs
    This headline might be a challenging statement and I can already imagine reactions to it. But in fact I can confirm this sentence easily. You always have to combine different technologies. Some of them are from SAP others not. The selection and combination of these technologies is different from customer to customer because the requirements are different. There are still reasons to use Web Dynpro ABAP and I’m still recommending SAP NetWeaver Business Client, POWL (Power Lists), WDA Chips, FPM based on the given environment of the customer. And obviously there are also reasons for UI5.
    SAP already proves the usage of SAPUI5
    In general, I see two different use cases here: Developing custom applications vs. adopting applications from SAP.
    In the one case, customers want recommendations on development environments and UI technologies that consider their development requirements and existing conditions (e.g. existing skills, given implementations). SAPUI5 is a great UI technology and there are some special aspects that make the decision obviously easy. If I want to create simple business applications that can be connected with my SAP system easily, especially in combination under responsive conditions on multiple devices and targeted for casual and/or occasional users UI5 might be the right choice for many.  Exactly this pattern is what many customers are searching for these days. So, the recommendation for UI5 comes quite often.
    Whether or not SAP proves the usage of SAPUI5 in their own world is to me more connected to the use case where customers want to adopt SAP applications. And in deed, SAP is using SAPUI5. There are hundreds of SAP Fiori applications that have been built with SAPUI5 and there have been a lot of other applications developed using SAPUI5, too. And again, there is a huge need for applications for casual and/or occasional users, so that’s a big reason for SAP to create such applications.
    Websites vs. Business Applications
    This discussion was triggered by some statements in twitter, that SAP sites such as sap.com, SAP UX Explorer or the latest mobile conference app are not developed using UI5. Actually I see these to be websites but not business applications. I have never told a customer to build a website in UI5 and I would continue to do so.
    Maybe we need to discuss the difference between a website and a business application. I guess it is not easy to find a common understanding here, as the borderlines between several worlds have disappeared in the last years.
    Some years ago it was more or less easy to differ between:
    Native desktop applications running on a specific desktop OS
    Native mobile applications running on a specific mobile OS
    Browser-based applications running in specific browsers
    Websites, basically running on many browsers
    In the first three categories we saw business applications. 1 and 2 were selected especially when specific functions of the device and OS where needed to be accessed (for example the camera of the mobile device, the fast rendering capability of the desktop). 3 was also used for business applications but in most cases on desktop browsers.
    Today, one can develop browser-based applications that look like native applications and even can access the devices like native applications. Responsive design breaks the borderlines even more. Now, browser-based content can be rendered perfectly on a desktop browser as well as on a mobile phone and a user might even not be able to judge whether it was originally intended to be developed for the one or the other.
    So maybe there is no big difference anymore between websites and browser-based applications. But there is still a difference between browser-based applications and browser-based business applications, where additional requirements such as integration into business systems are drivers. Here I see SAPUI5 as a very cool UI technology.
    That’s just my 2 (personal) cents,
    JJ

  • Currency translation - not picking up currencies from master data

    Hi,
    We have a currency translation defined for a key figure. We've defined a variable for users to select target currency. 0currency is set to pick up from master data, but the input help on the variable is only showing currencies from infoprovider. I debugged the query and it is trying to get the currencies from the cube. Any setting that I do or update?
    We're using BW 7.3 SP10 on HANA.
    Sonni

    HI
    Once check in the BEx tab of that IO, there select the f4 option.
    Regards,
    Sunil.

  • Not able to create row in HANA via .create or ajax call (oData Services)

    Hello Experts,
    SYSTEM: AWS (Amazone Cloud with HANA SPS06), tunneling via VPN. My HANA-Studio is rev.70 with the "Kepler" addons. I´m the owner of this Schema and granted the necessary privliegues to the __SYS_REPO User.
    The following issues when I try to add a row with SAPUI5 - GUI:
    The following code are in the index.controller.js implemented and triggered by a button:
    Further to the developer guide (SAPUI5....) there is a create Statement to add rows into the Table in HANA. I tried the following:
    //Einfacher Datensatz welcher in die HANA geschrieben werden sollte:
    var oModel = new sap.ui.model.odata.ODataModel 
    ("..(censored)../BL_TI/2005/zaginfothek/Opportunities.xsodata", false);
    var oEntry = {};
    oEntry.id = 7777;
    oEntry.LfdNr=1;
    oEntry.Customer=2;
    oEntry.Thema=3;
    oEntry.Leadueber=4;
    oEntry.Owner=5;
    oEntry.MarketDeveloper=6;
    oEntry.ThemenfokusnachBL=7;
    oEntry.Industry=8;
    oEntry.PDs=9;
    oEntry.Revenue=0;
    oEntry.Probability=1;
    oEntry.ProbableRevenue=2;
    oEntry.Start=3;
    oEntry.Finish=4;
    oEntry.Duration=5;
    oEntry.Phase=6;
    oEntry.Status=7;
    oEntry.ATPDecision=8;
    oEntry.Date=9;
    oEntry.SupplyChain=0;
    oEntry.Technology=1;
    oEntry.Region=2;
    oEntry.Kontaktquelle=3;
    oEntry.CASStatus=4;
    oEntry.Angebotsnummer=5;
    oEntry.Archiv=6;
    oEntry.Angebotabgelegt=7;
    oEntry.LeadmeldunganSAP=8;
    oEntry.ArtderAnfrage=9;
    oEntry.tmstmp= "/Date(1390557603727)/";
    //Instantzierung mit Anhang Opportunities
    oModel.create('/Opportunities', oEntry, nullfunction(){
    alert("Create successful");
               },function(e){
    for (var property in e.d){
    alert(property + "=" + e.d[property] + oEntry + "failed"); 
    I get the following Errormessage:
    ERROR: 2014-03-17 12:51:52 The following problem occurred: HTTP request failed501,Not Implemented,<?xml version="1.0" encoding="utf-8" standalone="yes"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code/><message xml:lang="en-US">Feature not supported.</message></error> -
    After this I tried it with an ajax call:
    var aUrl = '..(censored)../BL_TI/2005/zaginfothek/Opportunities.xsodata/Opportunities';
    //all in one ajax – Statement included and tried to create the row via POST:
    jQuery.ajax({
    method:'POST',
    url: aUrl,
    data: {"id": "7778",
    "LfdNr" : "1" ,
    "Customer" : "2",
    "Thema" : "3" ,
    "Leadueber" : "4",
    "Owner" : "5",
    "MarketDeveloper" : "6",
    "ThemenfokusnachBL" : "7",
    "Industry" : "8",
    "PDs" : "9",
    "Revenue" : "0",
    "Probability" : "1",
    "ProbableRevenue" : "2",
    "Start" : "3",
    "Finish" : "4",
    "Duration" : "5",
    "Phase" : "6",
    "Status" : "7",
    "ATPDecision" : "8",
    "Date": "9",
    "SupplyChain" : "0",
    "Technology" : "1",
    "Region" : "2",
    "Kontaktquelle" : "3",
    "CASStatus" : "4",
    "Angebotsnummer" : "5",
    "Archiv" : "6",
    "Angebotabgelegt" : "7",
    "LeadmeldunganSAP" : "8",
    "ArtderAnfrage" : "9",
    "tmstmp": "/Date(1390557603727)/"
    contentType: 'application/json',
    dataType: 'json',
    success: function(e){
    alert(e.response + "success");
    error: function onErrorCall(jqXHR, textStatus, errorThrown){
    alert(jqXHR.status);
    alert(aUrl);
    sap.ui.commons.MessageBox.show(jqXHR.status,   
    "ERROR",  
    "Error in calling Service" );   
    // return;  
    The last statement with ajax send me a success message back, but there is still no row added in the HANA.
    Has anyone an idea what´s going wrong?
    I woulb be happy for any hints, thanks
    André

    Hi Ben,
    well I tried out your code and it works with an small correction of your insert:
    save: function(){
            var oData = new sap.ui.model.odata.ODataModel('...censored.../BL_TI/2005/TEST_USER/Opportunities.xsodata', true); 
            // New user panel 
    //        var pnlUser = new sap.ui.commons.Panel({text: "User-Data"}); 
    //        var tfUserId = new sap.ui.commons.TextField({placeholder: "User-Id"}); 
    //        var tfUserName = new sap.ui.commons.TextField({placeholder: "User-Name"}); 
    //        var btnSave = new sap.ui.commons.Button({text: "Save"}); 
    //        pnlUser.addContent(tfUserId).addContent(tfUserName).addContent(btnSave); 
    //        btnSave.attachPress(function() { 
            var entry = {}; 
            entry.ID = "3"; //tfUserId.getValue(); 
            entry.USERNAME = "4"; //tfUserName.getValue(); 
            oData.create('/USER', entry, null, 
                    function() { 
                alert("Create successful"); 
            function() { 
                alert("Create failed"); 
    Try to write your id instead of  3 -> "3" That was the only what I´ve changed.
    Greetz,
    André

  • No authorization on HANA cloud platform odata and UI5

    Hi there,
    I'm building a SAPUI5 app on the trial cloud. I have a local table in the xs application, which i present via odata. In my SAPUI5 app i have a list showing the content of this table.
    I currently have the whole app working, but with authorization, i want to be able to access the data without authorization. I have tried the following based on this thread SAP Hana Anonymous User? And HTTP POST method? | SAP HANA
    So i have the following in my .xsaccess file
    "anonymous_connection": "XXXXXXX.myxsapp::anonuser",
    "exposed" : true,
      "authentication": null
    i have a anonuser.sqlcc file which have the following content
      "description" : "Anon SQL connection"
    In the above thread it mentions i should update the table _SYS_XS"."SQL_CONNECTIONS either via SQL command or the xs admin tool. However i don't have the privilege to use the SQL command and i can't seem to gain access to the xs admin tool.
    Please any help is much appreciated.

    Hi Jakob,
    for security reasons the HANA systems offered by the free HANA Cloud Platform Trial are not granting access to administrative features such as the xs admin tool. Also, certain operations are not permitted. For operations that are permitted your find a documentation for procedures and views to work with: SAP HANA Cloud Platform Documentation. If you require features that are not available on the free trial I recommend to get a SAP HANA Cloud Platform Starter Edition that will come without feature limits: SAP HANA Cloud Platform, starter edition | Information Technology | Lines of Business | SAP HANA Marketplace
    Best,
    Thomas.

  • Language missing in customizing = terms of payment = translation

    Hi Guys,
    system : R3 - 4.6C
    when we try to translate Terms of Payment we see a list of languages.
    Allthough Slovakian is installed we don't see this in the list.
    I found note Note 579937 - Additional Language Keys , but if I run the report RSCP0025 with the data out of the T002 table it is still not listed.
    Has any one of you have experience in this ?
    THanks
    Hans

    hello hans,
    then something in your system is incorrect.
    Because we have not installed SK, but have the entry of SK in T002.
    have you checked note:
    897411 - SM30: Übrstzg.sprachen fehlen in Sys. mit mehreren Codepages
    regards
    Stefan

Maybe you are looking for

  • HT4759 The calendar on my IPhone 4S is not showing up on the calendar when I log into ICloud.

    I am not seeing my the calendar that I use on my phone on the ICloud. I thought it automatically went up to the Cloud. There are a couple of items on the calendar but not all.....

  • Problem in Substitution

    Hi, I am doing substitution for one VO. It is not working for me. Giving some View Attribute not found error. I have one doubt. I am customizing the page so I am puting the files in different directories. I have created these directories. Do I need t

  • Siri not identifying songs correctly in iOS 8.3

    Siri no longer identifies the song I am listening to that is playing FROM my iPhone.  It listens to hear a song that it can potentially identify (with Shazam) being played out loud in the surrounding environment, hears none, then tells me it can't re

  • How can I get the number of pages of a report?

    Hello to everyone, I'm writing a small app that exports a report to PDF (the app is done and everything is ok). Along with the PDF I need to create an XML file that describes the PDF file properties. One of the properties I need to supply is the numb

  • Fastest method for searching within a PDF file?

    I have created a PDF document that holds all document reports for the last 10 years. It is currently 30,000 pages. As time goes on, incoming reports append to this PDF. This has proven to be an excellent way of holding and retrieving information, all