Found 694 Articles for SAP HANA

Exposing xsjs file data through web browser in SAP HANA

Rahul Sharma
Updated on 11-Dec-2019 06:40:38

253 Views

Note that you have to ensure that Port number 80+ should be open on network. Also URL you are using should be properly built. Below is correct path:server:port/repository_path/file_nameIn your case, you should be using:host: hanacloud port: 8000 (80 + instance_number) SAP HANA Repository tree: mdo ->    sap ->       sflight ->          test ->             test.xsjsSo your URL should be in this format:hanacloud:8000/mdo/sap/sflight/test/test.xsjs

SAP SuccessFactor OData API access

Priya Pallavi
Updated on 30-Jul-2019 22:30:20

882 Views

You need to sign up a demo account for SAP Cloud platform. SAP SuccessFactors and SAP HANA Cloud Platform, you can easily get SAP Cloud Applications Partner center program. You have to perform some additional configuration for both.For more details, you can go through below link:https://blogs.sap.com/2013/11/25/get-your-hands-dirty-successfactors-api-access-for-hcp-based-extensions/With use of OData API, it provides with built on protocols like HTTP following the REST methodologies for data transfer. With OData API, you can make use of SuccessFactors in providing Restful integration services for HR data in SAP Cloud.SAP SuccessFactors uses OData API for extraction and still there is some crucial sets of data ... Read More

Combining LIKE and CONTAINS operator in SAP HANA

Samual Sam
Updated on 26-Feb-2020 06:11:45

574 Views

The code you are using \1+ just removes consecutive occurrences only. You can use the below code.SELECT REPLACE_REGEXPR('(.)(?=.*\1)' IN '22331122' WITH '' OCCURRENCE ALL)  FROM DUMMYThe output will come out to be “312”. This will remove all multiple occurrences and only last one will be kept.

Using Group by hour in SAP HANA table

Prabhas
Updated on 26-Feb-2020 10:10:15

442 Views

You can try this method to convert time to date and hour format −select to_varchar(time, 'YYYY-MM-DD'), hour(time), sum(r_time) as r_time, sum(p_time) as p_time from t1 group by date(time), hour(time) order by to_varchar(time, 'YYYY-MM-DD'), hour(time);You can also try using Series_Round() with a group by clause.select SERIES_ROUND(time, 'INTERVAL 1 HOUR') as time, sum(r_time) as r_time, sum(p_time) as p_time from t1 group by SERIES_ROUND(time, 'INTERVAL 1 HOUR') order by SERIES_ROUND(time, 'INTERVAL 1 HOUR');

Taking schema wise backup in SAP HANA

vanithasree
Updated on 14-Feb-2020 08:11:37

357 Views

Data backup in any RDBMS system comes under Data Persistence layer. SAP HANA holds the bulk of its data in memory for maximum performance, but it still uses persistent storage to provide a fallback in case of failure.When you refer a schema in database, it refers to a namespace in the database. It is not possible to take backup schema wise as you do for complete database.However it is possible to export a schema using below command −EXPORT "MY_SCHEMA".* AS BINARY INTO '/tmp/my_schema' WITH REPLACE;SyntaxEXPORT AS INTO [WITH ] [ ]Note that you shouldn’t take schema ... Read More

Extracting data from SAP HANA database and load to ORACLE database

Paul Richard
Updated on 14-Feb-2020 05:38:34

601 Views

There is a number of ways you can achieve this. Here are few of the methods to do the same.a) There are many standard tools in SAP by use of which you can extract the data and also automate the whole process. With the use of an ETL tool, this can be achieved like SAP Data Services, OWB, etc.b) The other option is to write a code in ABAP to fetch the data from the database and the write into a format as per your requirement.c) You can also write a RFC or remote-enable function module which can be called ... Read More

Replacing multiple occurrence by a single occurrence in SAP HANA

Kumar Varma
Updated on 14-Feb-2020 05:37:57

683 Views

The code you are using \1+ just removes consecutive occurrences only. You can use the below code.SELECT REPLACE_REGEXPR('(.)(?=.*\1)' IN '22331122' WITH '' OCCURRENCE ALL) FROM DUMMYThe output will come out to be “312”. This will remove all multiple occurrences and only last one will be kept.

Setting up a JDBC connection to remote SAP HANA system

Manikanth Mani
Updated on 05-Dec-2019 09:36:57

752 Views

You are using the correct Port number for instance number “00”. Port number 300315, here 00 represents instance number of your HANA system.Try using HANA client jar file ngdbc.jar instead of SAP Jar file.try {    Class.forName("com.sap.db.jdbc.Driver");    String url ="jdbc:sap://xx.x.x.xxx:30015/DBNAME"; //IP Address of HANAsystem followed by Port number    String user ="user";    String password = "password";    Connection cn = java.sql.DriverManager.getConnection(url, user, password);    ResultSet rs = cn.createStatement().executeQuery("CALL Test.STORED_PROC");    // ...Enter the action here } catch(Exception e) {    e.printStackTrace(); }

Finding where-used list of SAP standard programs

radhakrishna
Updated on 13-Feb-2020 12:48:11

756 Views

You would need to SAPRSEUB. This will enable you to use the where-used functionality of standard SAP programs and provide you with indices of the programs. Please note that this program runs for a long time and require some disk space.SAPRSEUB is a standard Executable ABAP Report available within your SAP system.SAPRSEUT Update Object Lists after TransportSAPRSEUB Generate Where-Used List (For All Programs)SAPRSLOG Refresh Navigation Indexes and Object ListsNote −Note that this report needs around 10 GB space in the DB and takes about 2 days to complete.

Benefits of Transaction SE83- SAP reuse library

mkotla
Updated on 13-Feb-2020 12:46:56

281 Views

Reuse library is basically a repository for various function and classes that can be used. One of the main benefits is that it has a number of source code examples for these functions present. These examples are quite useful as these could be used as a base code and you don’t have to start from scratch. I don’t think that it is used for documentation of internal functions, although it varies from user to user and can be used for keeping the documentation.There are no regular updates scheduled with various releases.Menu Path for transaction SE83 −SAP Menu→Tools→ABAP Workbench→Overview→Reuse LibraryTransaction Description: ... Read More

Advertisements