Skip to Content
Former Member
Jul 26, 2012 at 10:05 AM

What is the attribute used for the Assigning privilege to user ?


Hi ,

I am assigning Privilege to the user , I have used the query

GRANT $FUNCTION.sap_core_getNamesOfAssignedPendingPrivileges(ACCOUNT%$IMDB_REPO%!!,!!)$$ TO %MSKEYVALUE%

and also i tried with the

GRANT $FUNCTION.sap_core_getNamesOfAssignedPendingPrivileges(%MSKEY%!!%$IMDB_REPO%!!ROLE)$$ TO %MSKEYVALUE%

Please let me know is this the right attribute which i have used in the above grant query.

I got the below error in the log , please let me know if you have any idea about this as early as possible.

Failed running function in string "GRANT $FUNCTION.sap_core_getNamesOfAssignedPendingPrivileges(23!!Z6R!!ROLE)$$ TO HANATEST4". Marking entry as failed. Exception was: org.mozilla.javascript.EvaluatorException: uSelect(SELECT priv_account_name.aValue FROM

Thanks in advance.