Using IC_PUBLIC Role in SAP HANA

John SAP
Updated on 30-Jul-2019 22:30:22

185 Views

Please note that IC_MODELER role assigned to your user means he can only create and use private Information Views. Normally IC_MODELER role also includes IC_PUBLIC role so users who has IC_MODELER role assigned, they are also granted with IC_PUBLIC role which is required to view Information views shared by other users.Please check If IC_PUBLIC role is available in that user profile, if not try adding that role separately.

Why Accessing an Array Out of Bounds Does Not Give Any Error in C++

Rishi Rathor
Updated on 30-Jul-2019 22:30:22

2K+ Views

This is due to the fact that C++ does not do bounds checking. Languages like Java and python have bounds checking so if you try to access an out of bounds element, they throw an error. C++ design principle was that it shouldn't be slower than the equivalent C code, and C doesn't do array bounds checking.So if you try to access this out of bounds memory, the behavior of your program is undefined as this is written in the C++ standard. In general, whenever you encounter undefined behavior, anything might happen. The application may crash, it may freeze, it ... Read More

IC Role to Create Physical Tables and Analyze Data in SAP HANA

John SAP
Updated on 30-Jul-2019 22:30:22

162 Views

To create physical tables, uploading data and creating information views IC_MODELER role is required. If these users are only assigned with IC_PUBLIC role, they can view information views created by other users but can’t create their own views.

Different Engine Types in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:22

656 Views

In SAP HANA, following engine types are available:Join Engine: This is used for attribute viewsOLAP engine: This is used for analytic viewsCalculation Engine: This is used for calculation views

Create Python Dictionary from Text File

Jayashree
Updated on 30-Jul-2019 22:30:22

13K+ Views

Assuming a following text file (dict.txt) is present1 aaa2 bbb3 cccFollowing Python code reads the file using open() function. Each line as string is split at space character. First component is used as key and second as valued = {} with open("dict.txt") as f: for line in f:     (key, val) = line.split()     d[int(key)] = val print (d)The output shows contents of file in dictionary form{1: 'aaa', 2: 'bbb', 3: 'ccc'}

Pass Objects to Functions in C++

Ankitha Reddy
Updated on 30-Jul-2019 22:30:22

850 Views

There are four ways of passing objects to functions. Let's assume you have a class X and want to pass it to a function fun, then − Pass by value This creates a shallow local copy of the object in the function scope. Things you modify here won't be reflected in the object passed to it. For example, Declaration void fun(X x); Calling X x; fun(x); Pass by reference This passes a reference to the object to the function. Things you modify here will be reflected in the object passed to it. No copy of the ... Read More

Publishing Data to SAP HANA Database using Information Composer

John SAP
Updated on 30-Jul-2019 22:30:22

187 Views

Once data is published to HANA database, you cannot rename the table. In this case, you have to delete the table from Schema in HANA database.

Possible Key-Value Delimiter in Python Dictionary

Chandu yadav
Updated on 30-Jul-2019 22:30:22

503 Views

You can use any hashable object like int, string, etc as a key in a python dict. You need to separate it from the value using the ':' delimiter. The value can be any type of object. Consecutive key value pairs must be separated by a comma.

Differences Between Struct and Class in C++

Ramu Prasad
Updated on 30-Jul-2019 22:30:22

398 Views

The members and base classes of a struct are public by default, while in class, they default to private. Struct and class are otherwise functionally equivalent.They are however used in different places due to semantics. a struct is more like a data structure that is used to represent data. class, on the other hand, is more of a functionality inclined construct. It mimics the way things are and work.

Meaning of Activation Mode in SAP HANA

John SAP
Updated on 30-Jul-2019 22:30:22

175 Views

This mode supports activation of the selected objects only if there are no inconsistent in affected objects in SAP HANA.

Advertisements