Query Creation Rules

If you copy a query for a test, REMOVE the "(Core Query)" from the description and add "(Test)" in the description.

General best practices

Adding a variable/characteristic or changing the default characteristics is NOT a reason to create a new query !

Should the query be "Core" ?

To know if a query is core, then you can ask 2 questions : 

  1. Can it be used for any perimeter (GBU/Zone/Country...) and give correct results?
  2. Is the main purpose of the query something that is interesting for all perimeters (WW) ?

If yes, then it's CORE ! If not, it's specific and has to be indicated as such.

Usually specific queries are created for special cases :

Query Naming conventions

Query naming rules can be found in the BW Naming Conventions.

Query Performance Optimization

To optimize the performances, please follow the following rules :

More in details : 

http//scn.sap.com/community/business-explorer/blog/2013/07/25/how-to-optimize-reporting-performance

The "Core" flag in master data

When creating a core query in WBP, you need to add the core flag in the queries master data. This is used for the BW Statistics.

Core query = Flag = X in the infoobeject 0TCTBWOBJCT with BI Object = ELEM)

Publication to a Role - Rules & Process

Query assignment to role

The rule to assign Queries/Workbooks into a rule are based on a very simple principle : 

The roles must look clean/organised AND only include queries that can be run directly by the users.
Basically, we want the users to feel that they can use safely and trust any query in the folders.

The rules are :



 

 

This means, these queries should NOT be published in the user roles (But you can create a sub-folder in the Competence Center role) :

Managing query descriptions in the roles

When you add a query/workbook into the role, the current language description is applied to ALL languages

+When you change a query description in the query designer, it does NOT update it in the roles.

+When you add a query to a role, the description for all languages is the one in the current language.

Example in the PP role:

2 ways to solve this problem:

Step by step :

  1. - Go to transaction PFCG

2 - Enter the menu role :

3 - Go to Menu and select the query

4 - Click on “Translate Node”

5 - Change the text in English and any other relevant language.