Escolar Documentos
Profissional Documentos
Cultura Documentos
**The SQL here is for indicative purposes only ... for instance the query should be against the active table of
the DSO which is /bic/azosales00 and not zosales as given above ....
** I have chosen a very simple example .. consider something like the user wants all the purchase orders for
materials whose sales is greater than 1000 and in this case you would have to do a lot of development to
deliver BW Objects and it would not be worth the effort if this was for a one off requirement...
Sounds easy right..? but then there are pitfalls....
1. Security
If you have secure areas in the database like finance information - then this kind of access would not be
something that is recommended - especially since you are going to access the same through a different tool unless you have a very good team of DBAs and setup security at the table level based on the user ID ( not sure
if this is possible though )
2. Accessing Cubes
Accessing cubes is a bit sticky - since you have to access the fact table and then joining the dimension tables
based on the DIMIDs and then join the SID Tables....
3. Performance
Unlike BEx you do not have any OLAP processor , cache etc - it is a plain relational query that is being fired...
think twice before triggering a massive query which takes way too long.
4. Editing rights
Depending on how the user IDs are configured - you can get write permission on the tables as well - make sure
that you do not give this to users unless absolutely required ... users can be creative and you might have some
data entered into the tables and set off alarm bells for SOX
5. Cannot use accelerators
Since you are hitting the tables directly even though you may have BW Accelerator indices on the DSO ( post
BWA7.3 ) you cannot use them.
6. Educating people about SQL Use
You do not want BASIS to come at you with firearms because you executed a select * from on a table with 15
million rows ...
7. Managing DB Sessions
It is dangerous especially when you have someone who wants a dump of a very large table and decides to do
a select * from and then exports it to a text table from the desktop...
8. Nature of access
You actually do not need an SQL client - you can do the same from SQL Plus which can be accessed from the
command prompt but then editors are so much eaiser to work with...
In all SQL editor access to the BW tables is something that might save you a lot of time and increase the
responsiveness of the IT team if used properly ... and if not used properly then you might find yourself on the
wrong end of the line with possible licensing issues and a lot of BW issues relating to data that was not handled
properly...
Given the constraints - do you think it is worth giving this level of access to a small team of SQL aware
developers and possibly decrease response times ?
518 Views
dealing with a cumbersome Line of Business -> IT -> Line of Business process when what we really need is a
self-service solution. Even just in native BW, more viable options would be:
1. Allowing certain power users in the line of business to create queries to service these ad-hoc requests.
(Peter's suggestion)
2. Giving access to APD for line of business power users.
3. Creating queries on analysis cubes (or even standard DSOs) that contain all characteristics in free
characteristics, allowing a user to create this query on their own in BEx.
Introducing the BusinessObjects tools introduces another level of self-service, though to be fair it is based on
the type of query defined in option 3 above and mostly provides a nicer user interface (super important!) rather
than significantly improved functionality.
Food for thought.
Ethan
Peter Baumann
20 Jan, 2011 12:51 AM
That's the problem and the solution. I don't recommend to let every user make queries in production system. All
depends on the company and the way people use BW. But in the end having a power user with rights to create
queries in production and using a intelligent authorization concept this shouldn't be a problem from my point of
view.
Starting to give people an SQL editor is like opening Pandora's Box.
Best regards,
Peter