Quantcast
Channel: SCN : Blog List - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 333

Finding the variables - Using Bex Query Techical Names

$
0
0

Another way to find the variables used in a query using query name without using any abap program.

Tip to find the queries which has external data access settings enabled in the Bex Query Designer.


Transaction - SE 16,

Tables Used

RSRREPDIR

RSZCOMPDIR

RSZELTDIR

RSZELTTXT

RSZELTXREF

RSZELTPROP


  1. In RSRREPDIR - Input the query name in COMPID , can use info cube input too.
  2. Input 1.COMPUID in RSZCOMPDIR.COMPUID to check the query Tech Name.
  3. Input 2.COMPUID in RSZELTDIR.ELTUID
  4. Input 3.ELTUID in RSZELTTXT.ELTUID to get the TXTLG - Query Description
  5. Input 4.ELTUID in RSZELTXREF.SELTUID to get the TELTUID (Variable UID) and Info Cube Technical Name.LAYTP says if its Variable or Sheet or SOB.
  6. Input 5.TELTUID in RSZELTTXT.ELTUID  to get the Variable Description - TXTLG

                Output of 5 which has SOB/SHT is ignored in this output.

   7. To find the type of variable input the output got from 6.ELTUID into RSZCOMPDIR.COMPUID , COMPID will give the Variable Type if Naming Conventions are followed.


1.png


2.png


3.png


5.PNG


4.png


6.PNG



7.PNG


Note : If the naming convention is followed for the variable types it can be easily identified.

eg : ZV_SV_O_FISCYR_CV - Characteristic Variable with selections and its Optional.




Finding queries has external data access settings


  1. Get COMPUID from RSRREPDIR

   2. Input 1.COMPUID = RSZELTPROP.ELTU ID with RFCSUPPORT = X and get the Query Tech Name.

   3. Input 2.ELTUID = RSZELTTXT.ELTUID get the Query Description

 

 

 

Thanks for reading, hope this helps a bit ...


Viewing all articles
Browse latest Browse all 333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>