on 08-30-2012 5:58 AM
Hi All,
We have Implemented the BOUSER Variable in the END_SQL Parameter Of universe to fetch the BOXI Users who are running the Reports SQL in the database by looking at the query.
However at times the User use the Custom Sql functionality of the Webi and that By passes the Universe Parameters and the User is not fetched in the SQL.
what I think is while using the custom sql the universe Connection will still be used , My question is can we Put some parameters in the connection like Something in connectinit or Hint .( we are using oracle) to fetch the details of the boxi user
Also , we have to keep the Rights For Custom SQL and edit query for users as this is business Requirement.
BO XI 3.1 SP 2
Thanks
Issue is resolved after passing session parameters in connectinit ,
thanks everyone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kultar,
How are you doing?
Yes, even if the end users are using "Custom SQL" they have to use the same connection.
What I am not getting here is even if you have a parameter set in "END_SQL" it will not be removed if you select the option of "Custom SQL".
I am sure your users are removing this while pasting their own SQL statement.
Regarding connectinit and HINT they have their own concept but I am sure you can use this
@variable('BOUSER') thing in connectINIT also.
Thanks,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Vivek,
I am doing good
Yes the Problem is that user are omiting the BOUSER Parameter when they use the CustomSql option.
I have tried using the @variable('BOUSER') in connectinit , the connection tests OK However while running a report error comes Out SQL statement cannot be prepared.
we are commenting it /* @variable('BOUSER')*/ and passing it through connectinit , does Not work For Me
Used the
/* + @variable('BOUSER')*/ in the HINT again does Not work .Or i Might not be aware how to retrive In dbase side .
the connection is Ok , reports Run fine , Bit when I see the Sql in database , No value For BOUSER and nothing specific In the SQL.
Is there another way or something else needs to be checked at Dbase side
Hi Kuitar,
try the syntax suggested here
https://service.sap.com/sap/support/notes/1494759
the difference is that there are no spaces or other characters
If you still experience problems please open a support message with the Semantic Layer component
thanks!
Best regards,
Simone
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.