on 12-27-2016 12:41 PM
Hello SAP HANA Experts,
I'm currently following the tutorial Continuous Integration (CI) Best Practices with SAP: SAP HANA Extended Application Services (XS), cl... to setup CI for the SAP Event Registration app. To have a real integration test I would like to export the production DB schema SITREG and import it into the QA HANA DB. In the past I did that already manually by using the Catalog view of the Web-based Development Workbench. In the past I was able to export the complete schema in one go. But with the current Versions of HANA I have access to:
1.00.122.04.1478575636 (on HCP Trial)
1.00.122.02.1473345179 (on HCP Factory)
2.00.000.00.1479874437 (HANA Express Edition)
Only the first found object ist exported. I've debugged the behaviour by starting in the net.xsjs file which I call in the browser using:
/sap/hana/ide/common/remote/server/net.xsjs?action=exportObject&schemaName=SITREG&objectName=*&includingData=true&includingDependencies=true¶llelThreads=2&columnFormat=BINARY&fileName=SITREG
This xsjs script is calling /sap/hana/ide/common/plugin/catalogsystem/server/common/remote.xsjslib and there the checkObjectExport method. In this method the existence of objects to be exported is checked. But unfortunately instead of the objectName * that was submitted by the user only the first result is returned.
When I replace the line:
result.objectExport = "\"" + sSchemaName + "\".\"" + sObjectName + "\"";
by
result.objectExport = "\"" + sSchemaName + "\".\"" + inputObject.objectName + "\"";
the problem is fixed. And I get a full export.
Perhaps others can confirm this behaviour and I will file a bug using SAP Support.
Best regards
Gregor
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.