Table of Contents

How To's

1. How to migrate a SAP HANA schema between different instances

Export

Use the following command in SAP HANA Studio to export the schema as a binary export. The files will be saved on the SAP HANA server, in the folder specified in the command.

EXPORT "SBODEMOUS"."*" AS BINARY INTO '/usr/sap/HDB/HDB00/backups/SBODEMOUS' WITH REPLACE THREADS 10

After this, the /usr/sap/HDB/HDB00/backups/SBODEMOUS folder will contain a copy of the SBODEMOUS schema.

Use the following command to create a compressed archive of the export folder:

tar -cvzf sbodemous.tar.gz /usr/sap/HDB/HDB00/backups/SBODEMOUS

Import

First copy the exported archive onto the target server.

Then extract the archive:

cd /usr/sap/HDB/HDB00/import/SBODEMOUS
tar -zxvf sbodemous.tar.gz

Finally, execute the following command in SAP HANA Studio in order to import the schema onto the database server instance:

IMPORT "SBODEMOUS"."*" AS BINARY FROM '/usr/sap/HDB/HDB00/import/SBODEMOUS' WITH REPLACE

If you need to import the schema with another name, you have to use the following command to rename it during the import:

IMPORT "SBODEMOUS"."*" AS BINARY FROM '/usr/sap/HDB/HDB00/import/SBODEMOUS' WITH REPLACE RENAME SCHEMA "SBODEMOUS" TO "SBODEMOUS_COPY"

2. How to convert a SAP delivery report to a Produmex delivery report

It can happen that for infrastructural reasons, SAP delivery reports cannot be printed directly from Produmex. In such cases, the SAP report needs to be converted to a Produmex report.

This only works for reports built with Crystal Reports.

Introduction

SAP document reports use 2 input parameters: ObjectID@ and DocKey@. However Produmex uses only 1 input parameter for delivery note reports, so ObjectID@ should be removed and forced to the value 15.

Conversion process

3. How to get an overview of the open amount of clients/suppliers on a certain date

Introduction

They want to have an overview of the account balances and open amounts for all the customers/suppliers before 31/12/2015

solution

Financial / Financial Reports / Accounting / General Ledger

you get an overview of the open balance for each client/supplier

You can export this to excel