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

682 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

384 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

528 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"

Checking List of System Schema in SAP HANA

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

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%’;

Checking Tables in a Schema in SAP HANA Database

SAP ABAP Expert
Updated on 13-Mar-2020 07:40:03

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

Check Dependent Objects of a Table in SAP HANA

SAP ABAP Expert
Updated on 13-Mar-2020 07:38:59

1K+ Views

This can be checked via SQL query on view in HANA system. Try run the below query −SELECT "DEPENDENT_OBJECT_NAME" from "SYS"."OBJECT_DEPENDENCIES" WHERE "BASE_SCHEMA_NAME"  = 'AF_HANA' AND "BASE_OBJECT_NAME" = 'STORE' AND "DEPENDENT_OBJECT_NAME" Not like '%hier%';

Advertisements