Query Catalog Project

7
T Technical Specification BI Report For Active/Inactive Queries Project Bharat Bijlee Limited Prepared by Sonam Rohra Date: 8/16/2022 Page 1 of 7

description

SA P

Transcript of Query Catalog Project

Page 1: Query Catalog Project

T

Technical Specification

BI Report For Active/Inactive Queries

Project Bharat Bijlee Limited

Prepared by

Sonam Rohra

Date: 4/21/2023 Page 1 of 6

Page 2: Query Catalog Project

T

Technical Specification

Index1. Overview........................................................................................................................................ 32. Datasources................................................................................................................................... 3

2.1 ZDS_AGR_1251_USERS.................................................................................................................. 3

2.2 ZDS_RSRREPDIR............................................................................................................................. 3

2.3 ZDS_V_COMPDIR_COMPIC.............................................................................................................4

3. Data Flow....................................................................................................................................... 43.1 ZQC_O01 – DSO For Authorization Role & Users ..............................................................................43.2 ZQC_O02 – DSO For Query Information...........................................................................................5

3.3 Info Set ZQC_IS01 - Infoset For Query Catalog.................................................................................5

4. Queries ....................................................................................................................................6

5. Sender/Receiver Assignment (Tcode - RSBBS)........................................................................6

6. Pre-requisite.................................................................................................................................. 6

Date: 4/21/2023 Page 2 of 6

Page 3: Query Catalog Project

T

Technical Specification

1. OverviewThis is a data model which gives Statistics of BI usage. Statistics include

1.Department wise BI queries

2. Division wise BI queries.

3. User wise BI queries.

Query execution details are extracted to DSO ZQC_O02 from BI client system using ZDS_RSRREPDIR data source.

Authorization related data is extracted to DSO ZQC_O01 from BI client system using ZDS_AGR_1251_USERS data source.

These two data sources are combined using infoset ZQC_IS01 to get the desired result.

2. Datasources

2.1 ZDS_RSRREPDIRThis is generic data source built in BI system to extract query execution information into infoprovider.

Extraction From DB View /Table RSRREPDIR

Tables Involved RSRREPDIR

Join Conditions inside view definition NA

2.2 ZDS_AGR_1251_USERSThis is also generic data source built in BI system to extract Query’s Authorization information.

Extraction From DB View /Table ZV_AGR_1251_USER

Tables Involved AGR_1251

AGR_USERS

Join Conditions inside view definition AGR_1251 -MANDT=AGR_USERS - MANDT

AGR_1251-AGR_NAME=AGR_USERS- AGR_NAME

2.3 ZDS_V_COMPDIR_COMPIC

Date: 4/21/2023 Page 3 of 6

Page 4: Query Catalog Project

T

Technical Specification

This is generic data source to extract query’s master data.

Extraction From DB View /Table V_COMPDIR_COMPIC

Tables Involved RSZCOMPDIR

RSZCOMPIC

RSZELTTXT

RSZELTDIR

Join Conditions inside view definition RSZCOMPDIR-COMPUID=RSZCOMPICCOMPUID

RSZCOMPDIR-COMPUID=RSZELTTXTELTUID

RSZCOMPDIR-COMPUID=RSZELTDIRELTUID

RSZCOMPDIR-OBJVERS=RSZCOMPICOBJVERS

RSZCOMPDIR-OBJVERS=RSZELTTXTOBJVERS

RSZCOMPDIR-OBJVERS=RSZELTDIROBJVERS

3. Data Flow3.1 ZQC_O01 – DSO For Authorization Role & Users

Date: 4/21/2023 Page 4 of 6

Page 5: Query Catalog Project

T

Technical Specification

ZQC_O02 – DSO For Query Execution Information

3.2 Info Set ZQC_IS01 – InfoSet For Query Catalog

Date: 4/21/2023 Page 5 of 6

Page 6: Query Catalog Project

T

Technical Specification

4. QueriesZQC_IS01_Q0001 - All: Detailed Query Catalog

ZQC_IS01_Q0002 - All: Department wise Query Catalog

ZQC_IS01_Q0003 - All: Division wise Query Catalog

ZQC_IS01_Q0004 - All: User wise Query Catalog

5. Sender/Receiver Assignment (Tcode - RSBBS) :

Sender Receiver

ZQC_IS01_Q0002 - All: Department wise Query Catalog

ZQC_IS01_Q0001 - All: Detailed Query Catalog ZQC_IS01_Q0004 - All: User wise Query Catalog

ZQC_IS01_Q0003 - All: Division wise Query Catalog

ZQC_IS01_Q0001 - All: Detailed Query Catalog

ZQC_IS01_Q0002 - All: Department wise Query Catalog

ZQC_IS01_Q0004 - All: User wise Query Catalog ZQC_IS01_Q0001 - All: Detailed Query Catalog

6. Pre-requisite

Master Data Load for following InfoProviders:

1. 0EMPLOYEE2. 0TCTOBJVERS3. 0TCTSYSID

Date: 4/21/2023 Page 6 of 6