Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8533

Re: GetMemberList for authorization relevant objects

$
0
0

Lieselot,

 

I tried this and is working fine.  When you run in local mode it will take your authorization, make sure you run from the BI Platform.

 

The following code is added to the onstart up event to populate the dropdown (looked same as your code). In this case InfoObject 0D_NW_CODE is the auth relevant object, in the backend the user is authorized to see only one Company Code and that is the only one which is populated in the dropdown.

DROPDOWN_1.setItems(DS_1.getMemberList("0D_NW_CODE", MemberPresentation.EXTERNAL_KEY, MemberDisplay.KEY, 200));

 

Is the OLAP Connection you are using set to use SSO?  You can check this from BOBJ CMC --> OLAP Connections. Make sure it is set as below and does not use a pre-defined ID which has access to all Company Codes.

 

OLAPConnection.png

 

 

If the connections uses SSO check the following:

 

Compare the result when trying to run the query from tcode RSUDO with the end user ID who has one company and check what you see in the navigation block (run in HTML mode) and the output in Design Studio.  If the output is different then it could be a Program error.

 

RSUDO.png

 

My platform is:

 

BW 7.4 SPS 8

BI 4.1 SPS 5

DS 1.4

 

 

Thanks.


Viewing all articles
Browse latest Browse all 8533

Trending Articles



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