SAP Knowledge Base Article - Preview

3370110 - How to add comment to HANA user

Symptom

You would like to add comment to HANA user but you don't know how to achive it.
You tried to update comment with following SQL but it was failed.

update "SYS"."USERS" set comments = 'test' where user_name = '<user name>';
Error:
Could not execute 'update "SYS"."USERS" set comments = 'test' where user_name = '<user name>''
SAP DBTech JDBC: [361]: data manipulation operation not legal on this view: USERS: line 1 col 14 (at pos 13)
 
update "SYS"."P_PRINCIPALS_" set comments = 'test' where name = '<user name>';
Error:
Could not execute 'update "SYS"."P_PRINCIPALS_" set comments = 'test' where name = '<user name>''
SAP DBTech JDBC: [258]: insufficient privilege: only internal SYS user can modify objects in SYS and _SYS_AUDIT schema


Read more...

Environment

HANA

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0

Keywords

"SYS"."P_PRINCIPALS_" , KBA , HAN-DB-SEC , SAP HANA Security & User Management , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.