Changing Ownership of Schema in SAP HANA Database

SAP ABAP Expert
Updated on 13-Mar-2020 07:56:00

2K+ Views

I don’t think you can change ownership of schema in database. Easiest way to change ownership of schema is by exporting a schema, drop it from the database and then recreate the schema owned by the target user and import the objects back into the database.In recent version, you can create schema and set other users as an owner of the schema however you can’t change it later −Create SCHEMA TEST123 owned by Demo;In same way, you can collect the script for "Create procedure" from database and drop the procedures in the earlier user schema and then these can be ... Read More

Check SAP HANA Schema Owner Name

SAP ABAP Expert
Updated on 13-Mar-2020 07:55:07

3K+ Views

To check schema owner, you need access on “SYS” schema. Open SAP HANA SQL console and run the following SQL query −SELECT * FROM "SYS"."SCHEMAS";

Checking Schema Creation in SAP HANA Database

SAP ABAP Expert
Updated on 13-Mar-2020 07:54:21

2K+ Views

To check this detail, you should have access on “SYS” schema. Run the following SQL query and it will fetch the following columns −SELECT * FROM "SYS"."SCHEMAS";Schema_NameSchema_OwnerHAS_PRIVILEGESCreate_Time

Authoring Schema vs Physical Schema in SAP HANA

SAP ABAP Expert
Updated on 13-Mar-2020 07:53:14

1K+ Views

In SAP HANA system, schema is used to group logical objects tables, Stored procedures and database views. When objects are moved from one system to other, you can consider involvement of following schema types −Authoring SchemaThis schema is used in design time views. This schema is used in creating objects in content development system. Let us say you are developing some objects in development system and schema used is Dev_schema that contains all the required tables. Dev_schema is authoring schema to create modeling views.Physical SchemaLet us say you move objects from development system to other system. In target system you ... Read More

Using Package Specific Default Schema in SAP HANA

SAP ABAP Expert
Updated on 13-Mar-2020 07:45:39

652 Views

 In SAP HANA, you can define package specific default schema as an authoring schema in your schema mapping definition and maintain it in the table M_PACKAGE_DEFAULT_SCHEMA.To perform this, navigate to SAP HANA Modeler perspective →; Maintain Package Specific Default SchemaSelect HANA system and it will show you schema names mapping as per package.  You can maintain a default schema for each package. You can also add packages by clicking on Add button.

Setting Schema Mapping in SAP HANA

SAP ABAP Expert
Updated on 13-Mar-2020 07:44:32

2K+ Views

Schema mapping in SAP HANA is used to move objects from one system to other system i.e. from Development system to Test or Test system to production system.To open schema mapping, navigate to SAP HANA Modeler → Schema Mapping → Select system you want to perform operationIn next window, you have to perform schema mapping between Authoring schema and physical schema.

Checking Authoring Schema Job Details in SAP HANA

SAP ABAP Expert
Updated on 13-Mar-2020 07:43:47

365 Views

Go to Job log → Current and you can see last job ran for changing authoring schema. You can double click on job type to open the details. In job details, you can see status of job details.

View to Find Object Dependency in SAP HANA

SAP ABAP Expert
Updated on 13-Mar-2020 07:42:30

495 Views

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

Check Object Dependency in SAP HANA System

SAP ABAP Expert
Updated on 13-Mar-2020 07:41:51

2K+ Views

In SAP HANA system, you have one view available in SAP System schema named called as “OBJECT_DEPENDENCIES” and it can be used to get the information of SAP Tables.To see details in this view, run this query: select * from "SYS"."OBJECT_DEPENDENCIES";This will display all the details of SAP HANA system.

List of All Available Schemas in SAP HANA

SAP ABAP Expert
Updated on 13-Mar-2020 07:41:18

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"

Advertisements