You are on page 1of 22

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.

com

Agenda
SAP HANA Implementation and Modeling

Unit 1: Approaching SAP HANA Modeling


Unit 2: Connecting Tables

Unit 3: Advanced Modeling


Unit 4: Full Text Search

Unit 5: Processing Information Models


Unit 6: Managing Modeling Content
Unit 7: Security and Authorizations

Unit 8: Data Provisioning using SLT

Unit 9: Data Provisioning using SAP Data Services


Unit 10: Data Provisioning using Flat File Upload

Unit 11: Data Provisioning using Direct Extractor Connection


2012 SAP AG. All rights reserved.

SAP AG
HA300
6-1
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Objectives
Managing Modeling Content

At the end of this Lesson you will be able to:

Explain how to manage schemas

Explain how to import and export data models


Explain Translating metadata texts

2012 SAP AG. All rights reserved.

SAP AG
HA300
6-2
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Schemas Creating Schemas


Managing Modeling Content
You create schemas to group the tables. For import you need to create
the schema where all the tables are imported.
Schemas are created with a SQL Script statement.
SQL Syntax

Parameters :

Description : The
current database.

Specifies the name of the schema owner.

statement creates a schema in the

2012 SAP AG. All rights reserved.

Example :

CREATE SCHEMA my_schema OWNED BY system;

SAP AG
HA300
6-3
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Schemas Managing Schemas Mapping


Managing Modeling Content
You use this procedure to map the logical schemas with the physical schemas
while transferring information objects from a source system to target in case of
SAP shipped content.
You can define different schema mappings in the same time.

2012 SAP AG. All rights reserved.

Authoring Schema = schema name in the source system


Physical Schema = schema name in the target system

SAP AG
HA300
6-4
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Schemas Managing Schemas Mapping


Managing Modeling Content
Export TABLE1
from SYSTEM S1
with SCHEMA_S1

SYSTEM S1

SCHEMA_S1.TABLE1

Import TABLE1 into


SYSTEM S2 and
modify SCHEMA_S1
into SCHEMA_S2

SCHEMA_S1.TABLE1

SYSTEM S2

SCHEMA_S2.TABLE1

2012 SAP AG. All rights reserved.

For example :

Consider a source system with information objects referring to physical schema S1 and a
target system with physical schema S2.

When you export content, the tables of S1 are copied to S2 but the copied objects at target
can't be opened, as they still refer to S1 which is not present at target.

To solve this, there is a mapping done by Administrator between the authoring (logical)
schema and physical schema both at source and target, where the authoring schema remains
same.
So now, if there is an authoring schema A1 which points to S1 at source and to S2 at target
then both at source and target A1 is referred in spite of S1 and S2.

SAP AG
HA300
6-5
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Delivery units, packages and models in


perspective

Transport
to another
HANA
system

Package 1

Delivery Unit
Package 2

2012 SAP AG. All rights reserved.

Models
and
objects

Models
and
objects

SAP AG
HA300
6-6
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export


Managing Modeling Content
You can import models from your local system or from a server.
Procedure :

SYSTEM
S1

2012 SAP AG. All rights reserved.

Creating
Delivery
Unit

Exporting
Models
(Client or
Server)

Importing
Models
(Client or
Server)

SYSTEM
S2

SAP AG
HA300
6-7
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com


HANA Content Transport Capabilities
In context of Data Marts:

2-step integration into CTS+ (lose coupling):

Manual preparation (server-side export)


Automated transport and deployment in target
system via CTS+

Potential for ABAP-based new applications (HPAs)

TLOGO-based transport
Encapsulating SAP HANA content in ABAP
objects
(allows transport SAP HANA content with
application code though standard CTS
mechanisms)

SAP Solution Manager


CTS+
CTS+

Export DIR
Manual

Source

Export DIR

CTS+

Target

In context of SAP NW 7.3 BW, powered by


SAP HANA
Leverage existing transport functionality
2012 SAP AG. All rights reserved.

SAP AG
HA300
6-8
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export Create Delivery Unit


Managing Modeling Content
You use a Delivery Unit to create a group of transportable objects for content
delivery and to export information models from source system to target server.
From the Quick Launch
tab page, choose
Delivery Units.. and
follow the steps given
below.

2012 SAP AG. All rights reserved.

SAP AG
HA300
6-9
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export Create Delivery Unit


Managing Modeling Content

From the Delivery Units


dialog box, choose
create.
You need to associate
packages with delivery
units. This is required
when you export
models.

2012 SAP AG. All rights reserved.

10

SAP AG
HA300
6-10
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export Create Delivery Unit


Managing Modeling Content
Enter the delivery unit name.
Enter the responsible user.

In the Version field, enter the delivery


unit version.
Enter the support package version of
the delivery unit.
Enter the patch version of the
delivery unit.

2012 SAP AG. All rights reserved.

11

To edit the information of an existing delivery unit, select the value.


To view the list of folders pertaining to a delivery unit, select it.

SAP AG
HA300
6-11
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export Export Model to Server


Managing Modeling Content
You use this procedure to
export models.
Prerequisites :
You have created a
delivery unit.

2012 SAP AG. All rights reserved.

12

Exporting objects using Delivery Units (earlier known as Server Export):

Function to export all packages that make up a delivery unit and the relevant objects
contained therein, to the client or to the SAP HANA server filesystem.
Exporting objects using Developer Mode (earlier known as Client Export):

Function to export individual objects to a directory on your client computer. This mode of
export should only be used in exceptional cases, since this does not cover all aspects of an
object, for example, translatable texts are not copied.

Importing objects using Delivery Unit (earlier known as Server Import):

Function to import objects (grouped into a delivery unit) from the server or client location
available in the form of .tgz file.
Importing objects using Developer Mode (earlier known as Client Import):

Function to import objects from a client location to your SAP HANA modeling environment.

SAP AG
HA300
6-12
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export Export Model to Client or Server


Managing Modeling Content
Select the delivery unit.
Then choose whether to export on the
server or the client and click on Next
button.

2012 SAP AG. All rights reserved.

13

A careful approach is needed with the Filter By Time option to avoid serious object consistency
problems! A general best practice recommendation is to periodically schedule full exports, and
have a few exports using Filter By Time in between. When using Filter By Time, it is
recommended to use a From date that corresponds to the date of the last full export. To ensure
that no object changes are missed, and therefore that a consistent export will be performed its
best to use a date and time that is slightly before the date and time of the last full export.

SAP AG
HA300
6-13
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export Import Model from Server


Managing Modeling Content
You use this procedure to
import models from the
server.

2012 SAP AG. All rights reserved.

14

SAP AG
HA300
6-14
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export Import Models from Server


Managing Modeling Content

Select the system.


Select the file repository on the server where
models have been exported.
Then select models you want to import.
Define parameters as Overwritten inactive
versions and Activate objects and then
click on Finish button
2012 SAP AG. All rights reserved.

15

To overwrite inactive objects in the target system, select the option Overwrite inactive
versions.
To activate objects in the target system, select the option Activate Objects.
The status of import can be viewed in Job log.

SAP AG
HA300
6-15
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Import & Export SAP Support Mode


Managing Modeling Content
In order to ease communication when
working together with SAP to gain
support for Information Models, the
export tool provides a method to
export Information Objects to the
server in a mode named SAP
Support Mode.
Only active objects can be exported
in this mode.
These will be exported to the server
and the file(s) can then be sent to
SAP support for troubleshooting
purposes.

2012 SAP AG. All rights reserved.

16

The status of export can be viewed in Job log.

SAP AG
HA300
6-16
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Copying Information Objects


Managing Modeling Content
Select the system and click
on Next button.
Then define the folder
location and select the
package or models you want
to export.
Then select a target
repository and click on
Finish button.

2012 SAP AG. All rights reserved.

17

SAP AG
HA300
6-17
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Copying Content Delivered by SAP


Managing Modeling Content
You use this procedure to copy standard content shipped by
SAP or an SAP partner to your local repository (see note
1608552 for implementing RDS content).
Prerequisite:
To copy the contents of objects, the administrator needs to
create a mapping in the
_SYS_BI.M_CONTENT_MAPPING table.
Procedure:
1. From the Quick Launch tab page, choose Mass Copy.
2. Select the required object(s).
3. Choose Add.
4. Choose Next.
Copy checkbox.
5. Choose Finish.
The status of content copy can be viewed in Job log.
2012 SAP AG. All rights reserved.

18

Note:

If you want to override a copied object, select the Copy checkbox.

Note:

To copy the content, you must have the following privileges:


REPO.READ on the source package

REPO.MAINTAIN_NATIVE_PACKAGES on the Root Package

Note:

REPO.EDIT_NATIVE_OBJECTS on the Root Package

See the following SAP note to implement RDS content


https://service.sap.com/sap/support/notes/1608552 ?

SAP AG
HA300
6-18
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Translating Metadata Texts

2012 SAP AG. All rights reserved.

19

The Repository includes features for translating metadata texts. In order to prepare for
translation, some metadata that is used by the translation system must first be maintained in
the package. This metadata maintenance is available from the Edit Package Details dialog.
Customers and partners can also maintain option Hints and Text Status values for the
package, which are essentially notes for use by someone later performing the actual
language translation.

Select the required terminology domain to determine the correct terminology of the text that
needs translation.

1.
2.
3.
4.
5.

Enter a Text Collection to associate a package with a collection in order to specify the
language into which the package objects are to be translated.
To provide a suggestion regarding the translation of the package, enter text in Hint.
Enter a text status.
Choose OK.

To specify the

SAP AG
HA300
6-19
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Repository Translation Tool (RTT)


The Repository Translation Tool (RTT) is a Java-based command
line tool that exports language files in a standard format for customer or
partner usage.
RTT implements this process in four steps:
Export: Exports the texts in the original language (written by the developer)
from the SAP HANA Repository text tables to the file system.
Upload : Uploads the texts from the file system to the SAP translation system.
After this step, the translators can translate the texts from the original
language into the required target languages.
Download: Downloads the translated texts from the SAP translation to the
file system.
Import: Imports the translated texts from the file system to the SAP HANA
Repository text tables.

2012 SAP AG. All rights reserved.

20

SAP AG
HA300
6-20
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

RTT Usage examples


Export the texts from those packages matching "pack*" from the database and upload the texts into the translation
system, using the default configuration file ("rtt.properties"):
rtt -e -p pack*
Download the translated texts from those packages matching "pack*" from the translation system and import the texts
into the database, using the default configuration file ("rtt.properties"):
rtt -i -p pack*
Export the texts from the database into the directory "exports":
rtt --export -p pack* -x exports
Upload the texts in the directory "exports" to the translation system:
rtt --upload -p pack* -x exports
Download the translated texts into the directory "imports":
rtt --download -p pack* -x imports
Import the translated texts from the directory
imports": rtt --import -p pack* -x imports
2012 SAP AG. All rights reserved.

21

SAP AG
HA300
6-21
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com

For SAP Online Training Email: Info@sritrainings.com Or Visit www.SriTrainings.com

Summary
Managing Modeling Content

You should now be able to:

Explain how to manage schemas

Explain how to import and export data model


Explain Translating metadata texts

2012 SAP AG. All rights reserved.

22

SAP AG
HA300
6-22
ForSAP
Online Training Email: Info@sritrainings.com
Or Visit www.SriTrainings.com