on 05-11-2015 2:53 PM
Hi Experts,
I am trying to achieve the following:
Create a user on HANA System through code. I have managed to do this for ABAP systems, but I know that Hana systems are a bit different.
In the ABAP systems there are BAPI's to create users, reset their passwords etc.
My question is how can I do this through code, but for HANA system?
There are SQL statements to do this. Look for CREATE USER in the online help.
CREATE USER - SAP HANA SQL and System Views Reference - SAP Library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Hubert,
I understood your requirement.
We have to create user at HANA DB through ABAP, that means our ABAP written code should hit to HANA.
Well, It can be done by using ADBC.
For ref. ABAP Keyword Documentation
You should have to pass create user DDL commands as well as DCL commands as suggested by Thomas in ADBC.
e.g. for creation user 'CREATE_USER user name password, for role assignment GANT role to user name, for activation and deactivate you can use ALTER USER etc.
-Amol Samte
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.