Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member186696
Active Contributor
11,049

I can see many requesting how to check the queries inside a workbook during the last years. The steps are quite simple, and I will summarize these steps here.

If you want to check which workbooks have an specific query as dataprovider, you need to know the query technical name.
As example, I will use my query with technical name ZEDD_TEST3.

Step 1 - Access table (SE16) -  RSRREPDIR 

OBJVERS = A

COMPID =  ZEDD_TEST3

Execute(F8)

Step 2 - Access table (SE16) RSRWORKBOOK

Basically, RSRWORKBOOK.GENUNIID = RSRREPDIR.GENUNIID

So, for my case:

GENUNIID = 4UBUGC2QE23K7REMTHZQ5W3E9

OBJVERS  = A

Execute(F8)

We can see that I have only one workbook with my query.


Workbook ID is 3EGGEJQPR1MX5CKP6AFH0Q8DB

If you need to know the workbook title, access table RSRWBINDEXT and use the workbook id on the proper field.

All steps mentioned are also valid if you have to check which queries an specific workbook is used.

For this case, you have to do the reverse path:

  1. Table RSRWORKBOOK - Search for your workbook, on version A.
  2. Copy all GENUNIID
  3. Go to table RSRREPDIR and paste the GENUNIID there.


Future works: It is possible to consider a creation of a REPORT to check automatically.

1 Comment