
In order to get the system privileges someone has to give them to your HDI container. This are the steps you have to follow to get them into the container. In this a sample the IMPORT/EXPORT privileges could be given.
-- DROP USERGROUP "HDI_CONTAINER_RIGHTS";
CREATE USERGROUP "HDI_CONTAINER_RIGHTS";
--DROP USER HDI_IMPORT_EXPORT_GRANTER;
CREATE USER HDI_IMPORT_EXPORT_GRANTER
PASSWORD Abcd1234 NO FORCE_FIRST_PASSWORD_CHANGE
SET USERGROUP "HDI_CONTAINER_RIGHTS";
CREATE ROLE HANAIMPORTEXPORT4HDI;
GRANT IMPORT TO HANAIMPORTEXPORT4HDI;
GRANT EXPORT TO HANAIMPORTEXPORT4HDI;
GRANT HANAIMPORTEXPORT4HDI TO HDI_IMPORT_EXPORT_GRANTER WITH ADMIN OPTION;
{
"user": "HDI_IMPORT_EXPORT_GRANTER",
"password": "Abcd1234",
"tags": [
"hana"
]
}
Now there is a CUPS service in your space that could grant your HDI Containers the role to import and export. Of course you need all this in a similar style in other landscapes you are using. Explain this to your SAP HANA Cloud ADMIN. Certainly there are only very few people in production allowed to see the passwords. The rights of the role had been selected by intention very limited.
That will appear as a "cross-container-service-n". (In my case I had another one as well)
or here the text version:
{
"ServiceName_3":
{
"object_owner":{
"global_roles": [
{
"roles": [
"HANAIMPORTEXPORT4HDI"
]
}
]
},
"application_user": {
"global_roles": [
{
"roles": [
"HANAIMPORTEXPORT4HDI"
]
}
]
}
}
}
and the prices are now imported and exported through my S3 bucket ( as BTP object store service)
Related Blogs:
https://community.sap.com/t5/technology-blogs-by-sap/create-virtual-table-in-hdi/ba-p/13577953
Summary:
To Import/Export table data in HDI you need:
Now a SQL command by the application user can import or export tables.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
12 | |
11 | |
9 | |
9 | |
8 | |
8 | |
7 | |
7 | |
6 |