Deleting Query Views transaction code?

How can an administrator delete unwanted Query Views in BW 3.5? What transaction code is used to manage Query Views in the BW system?
Thanks,
Brien

Hello Brian,
Use this to delete views:
TRY.
CALL METHOD CL_RSZ_WWW_DB_INTERFACE=>DELETE_VIEW
  EXPORTING
    I_VIEWID              = 'your_view_id'
   I_OBJVERS             = RS_C_OBJVERS-ACTIVE.
CATCH CX_RSZ_DB_WRITE_ERROR .
ENDTRY.
Kind Regards,
Alican
Message was edited by: Alican Polat

Similar Messages

  • SAP BW query view deletion in Web/ "Delete Query view" in web

    Dear All,
    We are using the standard template: BW web analyzer (0ANALYZER). In this standard template, SAP provided two links "Save View" and "Open View" for creating new query views and opening existing query views respectively. However, no oppurtunity was provided to "delete query views".
    We would like to have an oppurtunity to delete the query views as well from Web. (currently we are deleting the unwanted query views from Bex analyzer, as per the request from business users - who have access only to the web reports).
    Would be great if you can suggest some solution to this problem.
    By the way, We would not like to use the standard "Query view selection" web item. (as it creates user specic local views only).
    best regards.

    Hi atlaj
    There is a Function Module called
    CALL FUNCTION 'RZX2_OBJECT_DELETE'
    you can make yourselves a little ABAP with.
    Hope this Helps.
    Best Regards
    Armin Baggenstos

  • How to delete Query views

    Hi,
    I have created 2 query views on a particular query in BI 7.
    Now we don't need those query views , so we need to delete them. How can we delete them ?
    1. I tried openeing Bex analyzer and opening query, query view, right click and delete. but the 'Delete' option is disabled.
    2. I tried using 'RSZDELETE' but there is no chance to delete query view.
    plz help me as soon as posiible.
    Thank u.

    Hi
    1. Enter into SAP Easy Access or use tcode (SESSION_MANAGER)
    2. go into SAP MENU -> INFORMATION SYSTEMS ->BUSSINESS INFORMATION WAREHOUSE -> BUSINESS EXPLORER -> QUERY -> DELETE OBJECTS
    3. u will enter into "Deletion of Query objects"
       enter      TYPE -: QUERY
                     INFOCUBE -> name of infocube
                     TECHNICAL NAME -> name of the query
    and EXECUTE it.
    ur query view will be deleted.
    assign points if helpfull
    From
    ManesH

  • Deleting query views in a portal

    Hello BI fans,
    I want to add a delete button in a web template to delete a saved query view (based on a query which shows data). Unfortunately there is no default command or instruction for data provider according to the commands LOAD and SAVE_AS.
    Can I use SCRIPT_FUNCTION instead of INSTRUCTION to get the necessary functionality? There is a method DELETE_VIEW (CL_RSZ_WWW_DB_INTERFACE). Has anybody an idea to use this method or another idea?
    To delete the query views by BEx Analyzer is not a good way for us since the normal user should not use the BEx Analyzer but the portal.
    Thanks in advance

    Hi Britta,
    Now, I understood your concern. Please check the link:-------
    http://help.sap.com/saphelp_nw04/helpdata/en/33/51fa40badbf36fe10000000a1550b0/frameset.htm
    You can follow the Durgesh thread also.
    Regards,
    Suman

  • Find SAP-Query from transaction code

    Hi All,
    I want to find the query related to transaction code.
    Someone has created query and assined t-code to same.
    I want to make changes in the same query but i m not getting that query.
    I dont know the infoset or user who created it.
    Suggest me the way to find it .
    Regards,
    Deepak.

    Hi,
    1.Goto SE93 and enter your transaction code.
    2. Screen Fields :
        I. D_SREPOVARI-REPORTTYPE  : should be 'AQ' in case of SQ01 queris.
        II. D_SREPOVARI-REPORT: Gives the name of the user group and query areas/environment
         for ex. D_SREPOVARI-REPORT = TEST          G 
         Means user group 'TEST' from 'Global Area' i.e. 'G' stands for global area and if G is not there then user group is in 'Standard 
         area'
        III. D_SREPOVARI-EXTDREPORT : Gives the name of the query.
    3. Then from SQ01 select the respective area global or standard.
    4. Select respective user group by clicking on 'Other User Group ' button (Ctrl + F7 ) and then you can find out the required query in that user group.
    Let me know if this suffices your requirements.
    Regards,
    Priya Bhat

  • Delete query view

    How can we delete the query view
    Any help will be highly appricated.
    thanks with regards,
    Malik

    Hi
    'RZX2_OBJECT_DELETE', Not sure.
    RSZWVIEW (all views) and RSZWMDITEM hold the View details, make use of them in any Program ...
    You can delete views via the Bex-Analyzer-- open Global Views (via the little yellow folder) when you choose the view, a trash can shows up in the menu and you then can delete it. -- Make sure that you have not used the View in somewhere else.
    Hope it helps and clear

  • Deleting Query Views

    Hi,
    I am trying to delete a  saved view form Bex tool bar and it is hitting me a error saying
    "The object cannot be deleted due to the transport problem"
    Is there a way to detach a view form the workbook?
    Is earched a lot in the forums but I couldn't find a good solution for this.
    Please advise  !!
    Thanks so much..
    Points will be awarded...

    But I have some more questions about this views
    !. Can we delete a global saved view?
    Because I read some posts saying we cannot since it is a navigational status of the query we cannot delte the query view
    Is that true?
    2. Is there a way to detach views form a workbook because when ever I hit refresh to refresh the whole workbook it is jumping to target of type saved view
    This is a big problem for all of us. Not able to refersh the whole workbook ata a time.
    We have to go to each sheet and refresh the querys. which is taking alot of time
    Please help me. Does anyone faced same scenario and how did you resolved it?

  • Delete material view transaction MM06

    Hi gurus
    For error has been opened costing1 and costin2  material view for a material.
    Is there any way to delete only two material views?
    I have used transaction MM06 but deletes the material at plant level. Using transaction MM74 the modification should
    have to be effected but i don't know to use MM74.
    Can you help me?
    Thanks in advance

    it is not possible to delete views, deletion is only possible at organisation level. Costing is just a part of plant organisation, the fields are stored in table MARC.
    if the material was not in use, then you can archive the plant level only with SARA (object MM_MATNR) after you have flagged the plant level for deletion in MM06.
    then you can recreate the plant level without the unwanted views.
    For archiving of individual org levels, you may have to implement an OSS note

  • Delete a Transaction Code?

    Hi Guys,
                I am havinf 2 Tr codes for a Program.I need to Delete the Old Transaction code.I deleted the Old Transaction code in SE 80 ,But what's the problem is i was able to see the old Tr code in the SE09 Request Number's and Even in SE80 also after deleting ?.When i type the deleted Tr code i am getting Old Trcode doesn't Exist?
    Thanks,
    Srinivas.

    Hi,
    Detete the Tcode from the request also..
    Expand the request.. click on the tcode under the request and click on delete
    I dont think you will see that in SE80 Any more. just comeout of se80 and try to look one more time...
    Thanks
    Mahesh
    Message was edited by:
            I Can Solve It

  • Housekeeping of Query Views in Portal

    Hi,
    I am looking to provide housekeeping with Query Views on our Portal. At the moment all Query Views appear when you choose 'Bex Portfolio' and there are a large number in there now - most of which are redundant.
    At the moment, I have two issues -
    I want to be able to delete Query Views via the Portal (or possibly get the users to delete these).
    (ii) If all query views appear in the Bex Portfolio, is there a way to create a Folder Structure in here that would allow an easier maintenance and 'ease of use' option for the end user.
    Our users create their own views,  but I need ways of keeping this maintained.
    Can anyone help with how I can resolve any of the above?
    Much appreciated,
    Scott

    Get rid of the table qualifier:
    SELECT * FROM view_mytbl" WHERE UID IN (#URL.UID#)
    Tom Muck
    co-author Dreamweaver MX 2004: The Complete Reference
    http://www.tom-muck.com/
    Cartweaver Development Team
    http://www.cartweaver.com
    Extending Knowledge Daily
    http://www.communitymx.com/
    "sp515" <[email protected]> wrote in message
    news:eqcle1$as$[email protected]..
    Hello,
    I have recently migrated from MSAccess to MySQL. In CF 5
    everything was
    working fine, but when we moved to CFMX 7, there is this one
    query that
    fails
    and I have tried many different ways (putting single quotes,
    parathesis
    etc.)
    I have created a "View" in MySQL database called
    "view_mytbl" .In this view
    I
    have queried two different tables, tbl1,and tbl2. Now in my
    source code
    of
    CFMX, I query this view by passing a where clause.
    <cfquery name="myquery" datasource="#DSN#">
    SELECT * FROM view_mytbl" WHERE tbl1.UID IN (#URL.UID#)
    </cfquery>
    This was fine in CF 5 , but now I get the error as "Unknown
    column
    'tbl1.UID'
    in 'where clause' "
    I have tried putting single quotes around #URL.UID# but that
    does not
    work.
    Please help, I am exhausted in searching for this solution.
    Thanks,

  • How to find all Custom tables (transp) that have a custom transaction code?

    My client has asked us to provide a list of all Z (custom) tables and the associated transaction codes for maintaining them.
    I know I can manually do this with a Z* search in se11 and then do a where used on each table to find out if a view (transaction code) exists for the table - BUT THIS WOULD TAKE HOURS IF NOT DAYS TO DO AND BE LIABLE FOR HUMAN ERROR.
    Does anyone know the way we could code a search for this information (ABAP) and know what tables to use?
    Thanks.
    Scott

    Hi
    You can search in table TSTCP for custom tables that have a maintainance view and a transaction associated, which is a call to SM30. To do this, just select the table with TCODE starting with 'Z' and PARAM starting with '/*SM30'.
    But you can also have some Z tables updated by an module pool program. This is more complex to find, because you don't know if you simply have the field used in the screen for some other use in a transaction, or if it is in that screen just to update the table. In this case, you need to analyze each screen.But I hope the first tip help you to solve your problem.

  • Query Views.

    Hi,
    *How can the views can be seen a work book,whether they exist or not?
    *How can the views in workbook can be deleted?
    I am a little new to BW,kindly help on this issue.

    Hi,
    When you run a BEx query the result is displayed on Excel.You could save this as a workbook
    under a role  or  save view as global under a role.
    You can save different query views under a workbook. Also  you could delete query views and workbooks provided you have authorization
    Hope this helps.
    -Doodle

  • Transaction code to view process orders set for deletion

    Hi PP Gurus
    We are trying to search for transaction code to view the process orders which have status as DLFL i.e deletion flag  set for the orders. In cooispi, the deleted orders are not shown in the report output.
    I request you to let me know if there is any other code through which we can view deleted process orders.
    Thanks & Regards
    Harleen Kaur

    Dear,
    In COOISPI  put DLT in system status field and execute the report this will give you the list of all order with deletion flags
    Also refer this thread,
    COOIS Report for Production orders with status DLFL
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on May 6, 2009 11:16 AM

  • Transaction Code assignment for Query created in SQVI

    Dear All,
    Good morning I hope you are doing great...
    Can any body help me out to assign transaction code for Query which was created through SQVI transaction.
    Regards,
    Murali.

    Hi Murali Mohan
    1>go to SQVI t code and  enter your query name and press enter
    2>In the menu path select Quick view--> additional functions-->Generate Program
    3>After Generating the program In the menu path select Quick view--> additional functions-->Display report Name
    4>Now in se38 enter the report name in Program field and execute
    5>You will get the Initial Selection screen of the report . Go to Menu of System -->Status
    6> Note down the Program name and Screen number
    7>Go to SE93 and Create a Z tcode for the query, Enter the description  and importantly you have to select the 2nd Option radio Button Program and Selection Screen (Report Transaction) and Press enter
    8>In the next screen enter the Report name In Program field and enter the screen number
    9>In the classification Section select Professional user  Transaction
    10>In GUI support section select all the options  i.e SAPGUI for HTML,Java,Windows
    and save
    the system will ask for Package select your package if not there then select local object
    now execute the Z tcode your report will run sucessfully
    Regards
    Vijay hebbal

  • Transaction code thro' SAP Query for customer spefific report

    hi experts,
    how to create transaction code (using SE43-) for the sap query created on own??
    I have created the following required for a customer specific report
    1.Infoset thro sq02
    2.user group thro sq03 and assigned it to infoset
    3.query thro sq01 and saved it with text
    earlier i have used logical database PNPCE ( relevant for PA and payroll modules reports)
    using sq01 , go to basic list , selected required infotypes and fields and
    then selected, SAP List viewer for viewing and i get the report.
    Now my question is how to create a separate transaction code for this sap query which i created
    should i use SE43( area menu maintenance and area class???_)
    should i create a variant and go to SE43??
    advice solicited
    snr

    Hello
    when you excecute the query in right han side corner  you can get the program name
    go to se80 select program & type this name and then you can create a tcode for that prog in SE80
    reward points if helpful.
    the prog name will be something like : AQZZ/SAPQUERY/* " ur query name
    you can search for the name also in this manner

Maybe you are looking for

  • I have a sound problem with my HP Pavilion dv6t-7000 CTO Entertainment Notebook PC

    It was working properly but for some reasons it is not working I reinstall the IDT Codec driver but nothing happen What should I do in this case

  • HT1923 ipod touch not recgonized by windows 7 but does in itunes

    Windows 7 64bit does not recgonize iPod touch 5th generation but it does show up in iTunes. If I check "computer" it isn't there and I don't get that little usb thing in my taskbar.What gives? I also have a Nano 7th generation installed on iTunes too

  • Export Import in Portal Rel 2

    Hi How do i export/import Pages and other contents in portal rel 2, pageexp/imp and appexp/imp scripts r not to be found..what has happened to these in Rel 2.. TIA Bijesh

  • CREATE WORKER FOR PO

    Hi Im trying to create a Purchase Order using Oracle Purchasing Module but i got a note says: "You are not setup as a worker. To access this form you need to be a worker." Can somebody tell me how to create worker? Thanks, emgee

  • Early October 2011 MBP freezes at apple screen

    After trying to update  from 10.8.1 to 10.8.2, it tells me that it couldnt update to 10.8.2. Next boot, the system freezes at apple screen. I then try to go to disk recovery, and once in there it says Ive updated to 10.8.2. But in fact it did not let