RFCSUPPORT for queries

Dear Experts,
I have figured out that
to get a list of all the BI queries having "Allow External Access" checked, I need to look in to the field
RFCSUPPORT in table RSRREPDIR. I checked the VERSION field in this table and it contains the following
values - D,A,M and B.
D - Delivery
A - Active
M - Modified
B - ???
What is this B?
also, there is another field "Stat" which gives object status
If I need to get a list of all the current queries in the system with extrenal access, how should I restrict the VERSION field and the "Stat" field?
Thanks,
Kris

Hi,
For getting your desired result the Version field should be 'A' and STATUS should be 'ACT' (it is for Active status and 'INA' is for Inactive status.)
Also only following 4 values are possible for Version field :-
Object version
BI objects are maintained in versions to enable you to edit, execute and deliver different characteristics for an object in parallel.
In particular, the following versions exist:
Revised: This version only exists for the duration of the dialog. By using the function Save or Activate, the revised version is written as an M or A version on the database.
The M version is the last revised and saved version of an object. This can never be executed or used, it is only used to separate editing and the use of an object.
The A version is the active version. Only this version can be executed or used by other objects.
The D version is the version delivered by SAP. With a D version (that in practice has the character of a suggestion or template), SAP can deliver objects independently of the version that is active at the customer site.
And we have following values for Status :-
Object Status
For each object, the Business Information Warehouse has a status that indicates whether the object is currently executable or useable.
In particular, the following 4 statuses exist, from which ACT' and 'PRO' are the ones that indicate that the object is executable/useable:
'ACT' = active, executable. An object with this status can be executed or used.
'PRO' = productive. This status is a one step futher from 'active', but is currently not yet in use.
'INA' = inactive. The object is not executable/useable. This is the case , for example, if
the object has been created and saved for the first time, but has not yet been activated,
the object firstly has to be revised after changing one of the others.
'OFF' = switched off. The object is not useable. It was deliberately switched off so as not to appear, for example, in the list of useable objects.
Hope it clarifies all your doubts.
Navesh

Similar Messages

  • Slow Moving Item Scenario - Technical content for Queries

    Hello
    Due to preparations for upgrade to BW 7.30 we would make an analysis of not or seldom used BEx reports (queries, workbooks, etc.)
    All of unused objects  should be deleted in advance of an upgrade.
    I checked if there is a query which shows slow moving items  for queries.
    Is there any technical content (query) which reports this scenario for BEx objects?
    Thanks for any advise.

    follow steps in this doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11291595-0501-0010-c881-e02c27261b55

  • Which Event Classes i should use for finding good indexs and statistics for queries in SP.

    Dear all,
    I am trying to use pro filer to create a trace,so that it can be used as workload in
    "Database Engine Tuning Advisor" for optimization of one stored procedure.
    Please tel me about the Event classes which i  should use in trace.
    The stored proc contains three insert queries which insert data into a table variable,
    Finally a select query is used on same table variable with one union of the same table variable, to generate a sequence for records based on certain condition of few columns.
    There are three cases where i am using the above structure of the SP, so there are three SPS out of three , i will chose one based on their performance.
    1) There is only one table with three inserts which gets  into a table variable with a final sequence creation block.
    2) There are 15 tables with 45 inserts , which gets into a tabel variable with a final
    sequence creation block.
    3)
    There are 3 tables with 9 inserts , which gets into a table variable with a final
    sequence creation block.
    In all the above case number of record will be around 5 lacks.
    Purpose is optimization of queries in SP
    like which Event Classes i should use for finding good indexs and statistics for queries in SP.
    yours sincerely

    "Database Engine Tuning Advisor" for optimization of one stored procedure.
    Please tel me about the Event classes which i  should use in trace.
    You can use the "Tuning" template to capture the workload to a trace file that can be used by the DETA.  See
    http://technet.microsoft.com/en-us/library/ms190957(v=sql.105).aspx
    If you are capturing the workload of a production server, I suggest you not do that directly from Profiler as that can impact server performance.  Instead, start/stop the Profiler Tuning template against a test server and then script the trace
    definition (File-->Export-->Script Trace Definition).  You can then customize the script (e.g. file name) and run the script against the prod server to capture the workload to the specified file.  Stop and remove the trace after the workload
    is captured with sp_trace_setstatus:
    DECLARE @TraceID int = <trace id returned by the trace create script>
    EXEC sp_trace_setstatus @TraceID, 0; --stop trace
    EXEC sp_trace_setstatus @TraceID, 2; --remove trace definition
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Question regarding the default web template for queries

    Hello,
    I am trying to learn the default web template that is using for queries:
    0QUERY_TEMPLATE_BROADCASTING70
    I see that it's <bi:QUERY value="" /> is empty which is logic since the query will be inserted on runtime. My question is, where in the web template does it say that? I can't see any parameter it expects to get with the query's technical name not at the webtemplate code nor at the URL...
    Roy

    Roy,
    I think you are mixing things. The template you are mentioning is used for queries that are executed from the query designer. It's not a web template as any other one you create for your users. So, this web template has some parts in it's code that works with the query execution. When you run a query, the system takes the query definition (made in QD) and executes it with the web template indicated for the query. This determination is made by the program that is used to run queries. You can try using RSRT transaction to debug and check how this it's done. If you want to change the default web template used by query designer to run the queries, you should do it copying any standard template, like the one you mentioned. If you don't do it, you won't get the information correct.
    Hope this helps.
    Regards,
    Diego

  • ABAP to set "Switched on/off BIA indexes for queries" flag?

    Hi everyone,
    Does anyone know if the "Switch on/off BIA Indexes for Queries" can be set for a specific cube by a delivered ABAP?
    Here's my scenario. We go live with BIA next Monday 9/22. I've indexed our cubes in production BIA this past weekend and they're rolled up nightly. Until the go-live, I've manually set the "Switched Off for Queries" flag via RSDDBIAMON > BI Accelerator > Index Settings > Switch on/off BIA Indexes for Queries".
    However, one indexed cube is deleted fully every night by the flag in the full load infopackage. In testing, I saw that the BIA fact table index was fully deleted when the E and F tables of the cube were truncated, and then reindexed when the full package is loaded and rolled up. This is all ok.
    The issue is that after the delete, load and rollup, the "Switched Off for Queries" flag is not set. I have had to manually reset to off in the morning. This won't be an issue (hopefully) once we go live, but it does seem like a bug and I'll likely submit a customer message. I would think the delete, index and rollup process should not change the status of this flag.
    Does anyone know if that flag can be programatically set?
    Thanks for any advice,
    Doug

    Thanks, Vitaliy!
    I think you're exactly right. Its seems to be a bug in processing of just this specific type of index reprocessing, e.g. dropping and reindexing. The indexing process properly retains INA status on the other delta indexed cubes.
    I'm barely ABAP OO literate, but do understand enough to find, review and test the class and method code. Thanks for finding it!
    Also, I reviewed table RSDDTREXDIR and it is correct/current. It does spawn another question, though. The field ITYPE (Type of BIA Index) is consistently ICB exept for 2 cubes/indexes, which are typed as PA2 and PA9. When I check possible values on the domain, RSDDTREX_TAGGR_TYPE, it only lists ICB and ICF (Infocube - flat).
    Any idea what types PA2 and PA9 are, and why these 2 cubes would be different? From my perspective, they're basic infocubes, same as all the others.
    Thanks again,
    Doug

  • SQL Always On: not accessible for queries

    Hi forum!
    I'm monitoring SQL 2012 Always On Groups with the latest SQL MP. A couple of the database replicas are configured to not allow access. This is to avoid additional license costs for those minor important databases.
    However, I get the following events in the SQL log:
    Error 976, Severity 14
    The target database, '%.*ls', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended
    or the availability replica is not enabled for read access. To allow read-only access to this and other ...
    Of course, as soon as I configure read-only for those databases the events disappear.
    Is there any other solution?
    Has anyone identified already (all) the accessing workflows?
    Thanks in advance,
    Patrick
    http://www.syliance.com | http://www.systemcenterrocks.com

    Hi All, I am also experiencing this issue.  Having a look at the statements SCOM is issuing, it's actually checking whether the AG secondary allows connections but it ignores the value and tries to connect anyway.  I believe this is a minor bug. 
    See below for these queries. 
    You can vote to correct it through Microsoft Connect on: https://connect.microsoft.com/WindowsServer/feedback/details/1121330
    --SCOM/MP: is this database a replica and does it allow connections?
    SELECT d.name, d.database_id, CASE WHEN d.replica_id IS NULL THEN 0 ELSE 1 END AS is_replica, ar.secondary_role_allow_connections
    FROM sys.databases d JOIN sys.availability_replicas ar on d.replica_id = ar.replica_id JOIN sys.servers s ON s.name = ar.replica_server_name AND s.server_id = 0 /*local server*/
    WHERE d.database_id = x --current db id in sys.databases loop
    --SCOM/MP: let's look into that db (regardless of whether it allows connections)
    --EXCEPTION: The target database, 'x', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read access to one or more secondary availability replicas in the group. For more information, see the ALTER AVAILABILITY GROUP statement in SQL Server Books Online.

  • I have purchased my apple iPhone 5 from Germany, and now I am back to India. I need to contact the German apple support team for queries related  my device. How to contact the apple support team in Germany from India ?

    I have purchased my apple iPhone 5 from Germany, and now I am back to India. I need to contact the German apple support team for queries related  my device. How to contact the apple support team in Germany from India ?

    Warranty and support is only valid in the country of origin, or in the case of a device purchased in an EU country, only in an EU country.
    Unless you will be visiting an Apple store in one of the EU countries before the warranty expires, you are pretty much out of luck.
    FYI, the Contact Us link at the bottom of the page provides the appropriate contact information for Apple.

  • Standard Display Roles For Queries in BW

    Dear All,
    Could you Please share the Standard Display Roles For Queries in BW.
    Thanks
    Regards,
    Sai

    Hi Sai,
    You can find query specific roles in metadata repository.
    Also try this table in
    SE16. AGR_OBJ
    Other useful tables might be:
    AGR_DEFINE -      Role definition
    AGR_USERS -      Assignment of roles to users
    AGR_HIERT           Role menu texts
    AGR_AGRS           Roles in Composite Roles
    If you need to find user specific roles, check Tcode SUIM.
    Hope this helps.
    Thanks

  • Implement a technical naming convention for queries depending on user

    Hello,
    I'd like to implement a technical naming convention for queries depending on the user, because I want to make sure that the users are taking care of the naming conventions.
    For example a user defines a query and would like to save this query.
    During the save process he should only have the possibility to save the query with the name C_Name-of-Infoprovider_Text.
    The C should be unchageable for the user.
    The Name-of-Infoprovider should set automatically (if possible).
    The Text could be defined by the user.
    Another user would have this naming convention: X_Name-of-Infoprovider_Text
    Is there a possibility to implement such a function? (or just a part of this)
    Thank you.

    Thank you for your answer!
    Your answer helped me to implement a part of the naming conventions.
    Maybe some as an idea to implement the rest of the naming convention.
    --> Technical query name depending on technical name of the InfoProvider.
    Has anyone an idea?

  • Need to Create a Report on 0TCT_C01 as No of  Navigations for Queries.

    Hi,
    I have  a report Requirement on 0TCT_C01 as Number of Navigations for Queries.
    already we are activated the Info Cube and loaded the data, now the data is avalible in the Cube.
    Report like  In Column Fields:
    Validity Period :Query:No of Navigations:Num Read Texts:
    Can any body let me know how can i work for built a Query on this Cube and we are working on BI 7.0 version.
    Best Regards
    Swapna.

    Dear  swapna devi, Welcome to SDN.
    As you are using standard business content cubes, standard queries also available on that particular cube. Try to activate queries also and use.
    Check: [SAP NetWeaver BI Administration Cockpit Technical Content BI Statistics|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90080703-4331-2a10-cd98-9c1e95acdea0]
    Hope it Helps
    Srini
    [Dont forget to close the call by assigning points.... - Food for Points: Make a Difference through Community Contribution!|https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/007928c5-c4ef-2a10-d9a3-8109ae621a82]

  • Table for queries and their descriptions!

    Hi,
    Can anybody disclose me table name for queries and their descriptions?
    Raj

    HI,
    Check the table RSZCOMPDIR.
    Also RSZELTTXT and RSRREPDIR
    Hope this helps...

  • What is available for queries

    hi
    i have gone through the google but i did not get correct answer
    can any one tell me about available for queries
    why we have to select that option,if we don't select that option is there any impact on queries
    Thanks
    Sreedhar

    Hi,
    this is related to BMM folder..
    If you are rpd is consistent after consistency check... automatically this (check box on BMM Folder) turns to selected and available for querying tables in front-end. And, folder will turn to Light Green color
    If rpd is not consistent you'll be finding folder in red color and will not be able start bi server (if bi-server is not started) and not able to login to presentation service...
    That'll decide whether your rpd is consistent or not.. if you are not explicitly specifying it's not Available for Queries
    Go to Administration tool Help for more details...
    Edited by: Kishore Guggilla on Sep 22, 2010 11:23 AM

  • How to create a verification pop-up message for queries executed on Web

    I have implemented the function RRMS_MESSAGE_HANDLING in my customer exit variable code for step 2  in the customer include ZXRSRU01.  I am able to get warning and error messages to appear in Bex Excel queries, but not queries executed on the Web.  I have also tried implementing these queries in a Web Template which allows system messages and warning messages, but still these messages are suppressed.
    Is anyone aware of how to create warning messages that appear both in Bex Excel and Bex Web queries?
    Thanks for you help,
    Curt Timmerman

    On the Comments screen, just select the notes tool to add the note. When you are done, click to close the note.

  • How to create suitable aggregates for queries on multiprovider ?

    hi all,
    goal reduce db time of query and improve performance
    i have queries on a multicube. I have 5 cubes under the multiprovider. I having performance issue with one of the cubes.  it  had
    high slection/transfer ratio. The same cube had high 94% DB TIme. All the BW and DB indexes and stats are green. I chose
    the path of aggregates. when i tried suggest from proposal it is giving me query time and date range and i gave last
    3 days and  query time 150 sec. it is suggesting huge number of aggregates like 150 of them and not getting reduced much
    when i tried optimize funcitonality.
    The faulty cube had nearly 9 million records and 4 years of data
    1. generally how many aggregates do we need to create on a cube?
    2. how do i use propose from last navigation? it is not creating any aggregates
    3. is there a way for system to propose less number of aggregates?
    4. if nothing works i want to cut the volume of the aggregates base on years or quarters. how do i do that?
    i created with time charactersitic 0calquarter and dragged in ocal day and 0calmonth. activated and filled in ..but
    query is not hitting it when i do a monthly selection. i tried bringing in all the other dimensions...except line item
    dimenisons....no use ...it  is not hitting the manual aggregates in RSRT.the slection on 0calquarter is * .
    5. should i change it to fixed value and bring in the line items too and create it?
    6. I wanted to try propose aggregate from query option..but  my query is on multiprovider...and not able to copy it to cube..
    plz help me how to find the suitable aggregates for query on multiprovider
    7. should i create any new indexes on the cube using the chractrestics in the where condiotion of select statment...but in
    that case, select statement changes with drill down.......how do i handle it ?
    8. how will i make sure the aggregates work for all queries run time imporvement?
    9. plz suggest other approaches if any with procedures
    this is a urgent problem plz help...
    <b>thanks in advance
    points will be assigned for inputs</b>

    1. generally how many aggregates do we need to create on a cube?
    it depends on your specific needs, you can need none or several.
    2. how do i use propose from last navigation? it is not creating any aggregates
    Can you elaborate?
    3. is there a way for system to propose less number of aggregates?
    In any of the menus of screen for creating aggregates you have an option for sytem propose aggregates for one specific queries i am not sure it worked with multicubes.
    4. if nothing works i want to cut the volume of the aggregates base on years or quarters. how do i do that?
    You should delete 0calday from aggregates in order to accumulate data for any greater time unit. Other solution for times is to study try to do a partition in cube.
    5. should i change it to fixed value and bring in the line items too and create it?
    Can you elaborate?
    6. I wanted to try propose aggregate from query option..but my query is on multiprovider...and not able to copy it to cube..
    Answered before, maybe you can create a query only with data on that cube that appears in multicube query in order to proposal any aggregate in thath cube.
    7. should i create any new indexes on the cube using the chractrestics in the where condiotion of select statment...but in
    that case, select statement changes with drill down.......how do i handle it ?
    is not recomendable create new indexes in multidemensional structures. Try avoid selections for navigational attributes, if necesary add navigate attributte as dimension attributes, put filters in filter section in BEX.
    8. how will i make sure the aggregates work for all queries run time imporvement?
    try transaction st03
    9. plz suggest other approaches if any with procedures
    Some other approches yet answering
    Good luck

  • SAP BW 3.5 Query Cache - no data for queries

    Dear experts,
    we do have a problem with the SAP BW Query Cache (BW 3.5). Sometimes the
    problem arise that after the queries have been pre-calculated using web templates there are no figures available when running a web-report, or when doing a drilldown or filter navigation. A solution to solve that issue is to delete the cache for that query, however this solution is not reasonable or passable. The problem occurs non-reproducible for different queries.
    Is this a "normal" error of the SAP BW we have to live with, or are there any solutions for it? Any hints are greatly appreciated.
    Thanks in advance & kind regards,
    daniel

    HI Daniel
    Try to wirk without cache for those queries.
    Anyway, you should check how the cache option is configured for those queries .
    You can see that, in RSRV tx
    Hope this help

Maybe you are looking for