Articles on Trending Technologies

Technical articles with clear explanations and examples

View to find object dependency in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 13-Mar-2020 610 Views

In SAP HANA system, you have one view available in SAP System schema named called as “OBJECT_DEPENDENCIES”

Read More

Checking list of all available schema in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 13-Mar-2020 2K+ Views

This can be checked using below SQL query and it will display all the available schema in HANA system.select distinct BASE_SCHEMA_NAME from "SYS"."OBJECT_DEPENDENCIES"

Read More

Checking list of system schema in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 13-Mar-2020 1K+ Views

This can be checked using below SQL query and it will display all system schema in HANA system.select distinct BASE_SCHEMA_NAME from "SYS"."OBJECT_DEPENDENCIES" where BASE_SCHEMA_NAME like ‘_SYS%’;

Read More

Checking tables in a schema in SAP HANA database

SAP ABAP Expert
SAP ABAP Expert
Updated on 13-Mar-2020 3K+ Views

You can check this detail using a SQL query in HANA. You have to pass schema name in Where condition. Try running below SQL query and this will show you list of all tables in a schema.Select distinct BASE_OBJECT_NAME from "SYS"."OBJECT_DEPENDENCIES" where BASE_SCHEMA_NAME like 'AF_HANA';AH_HANA- Schema name

Read More

Checking all the list of fields for a table in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 13-Mar-2020 1K+ Views

You can check this detail using a SQL query in HANA. You have to pass schema name in Where condition. Try running below SQL query −SELECT "DEPENDENT_OBJECT_NAME" from "SYS"."OBJECT_DEPENDENCIES" WHERE "BASE_SCHEMA_NAME" = 'AF_HANA' AND "BASE_OBJECT_NAME" = 'STORE' AND "DEPENDENT_OBJECT_NAME" like '%hier%';

Read More

Using Where-Used option in SAP HANA Modeling

SAP ABAP Expert
SAP ABAP Expert
Updated on 13-Mar-2020 390 Views

With use of Where-used functionality you can easily find this information. Right click on object name → Where-Used

Read More

Deleting inactive objects in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 13-Mar-2020 2K+ Views

In SAP HANA, you can delete all inactive objects in workspace. In HANA Modeler Perspective → Delete Inactive Objects..You can also revert to last active version if exists.

Read More

Write an example to find whether a given string is palindrome using recursion

Arjun Thakur
Arjun Thakur
Updated on 13-Mar-2020 1K+ Views

Recursion is the process of repeating items in a self-similar way. In programming languages, if a program allows you to call a function inside the same function, then it is called a recursive call of the function.Following is an example to find palindrome of a given number using recursive function.Examplepublic class PalindromeRecursion {    public static boolean isPalindrome(String str){       if(str.length() == 0 ||str.length()==1){          return true;       }       if(str.charAt(0) == str.charAt(str.length()-1)){          return isPalindrome(str.substring(1, str.length()-1));       }       return false; ...

Read More

How to debug JShell in Java 9?

raja
raja
Updated on 13-Mar-2020 506 Views

JShell is a REPL tool that allows snippets of code to be run without placing them in classes. This tool provides a way to evaluate declarations, statements, and expressions in Java and no need to create the main() method to test some parts of the code.The command "/debug" can be used to display debugging information for the JShell tool implementation. Once we type the "/debug" command, the debugging mode is on. After enabling the debug mode and type something like a simple addition, or a simple string, then it prints as below.Example-1jshell> /debug | Debugging on jshell> 5+3 Compiling: ...

Read More

How to implement a String in JShell in Java 9?

raja
raja
Updated on 13-Mar-2020 458 Views

JShell is Java’s first official REPL application introduced in Java 9. It is a tool that helps in executing and evaluating simple java programs, and small logics such as statements, simple programs, loops, expressions, etc. Java REPL can provide a simple programming environment in a command-line prompt. It reads the input, evaluates it, and prints the output.In the below example, we can implement a string with pre-defined methods of String class.Examplejshell> String str = "{abcd}"; str ==> "{abcd}" jshell> str.substring(2, str.length() - 1) $7 ==> "bcd" jshell> String s1 = new String("abcd"); s1 ==> "abcd" jshell> String ...

Read More
Showing 54511–54520 of 61,297 articles
Advertisements