Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Problem scheduling XS job under different user

$
0
0

Hi folks,

 

In enterprise HANA I typically write procedures that run under a different user's credentials such as SYSTEM or JOB_ADMIN for example.  Recently I've been starting to do development on a BW HANA server and I can't seem to accomplish the same thing.  I've created this ultra simple test procedure;

 

PROCEDURE "BACHMANN"."MYPACKAGE::TESTPROC" ( )

LANGUAGE SQLSCRIPT

  SQL SECURITY INVOKER

  READS SQL DATA AS

 

BEGIN

 

select * from "BACHMANN"."MYTABLE";

 

END;

 

When I run this procedure as myself (user BACHMANN) it executes successfully.

 

When I change schema at the top of the procedure from BACHMANN to another user like SYSTEM or JOB_ADMIN (as I would normally do in our EHANA environment) it fails with 'not authorized' error.  I've given the other user(s) full access with grantable to my schema.  I've given them access to MYPACKAGE.  I've given them every XS* role known to mankind and still it doesn't work.  What might I be missing?  The only roles I'm seeing in my enterprise HANA users that I do not see available in BWHANA is these;

 

sap.hba.explorer.roles::Business

sap.hba.explorer.roles::Developer

 

Could it be related to these?  Other than that I'm completely stumped.

 

-Patrick


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>