Remove a query from a workbook

Hello,
I'm trying to remove a query from a workbook like I did many times in the past. In some of the workbooks this option works and in some it doesnt. when i use "mark queries in the workbook" it marks the query that i want to remove so i'm sure the query is fine.
Did someone had this problem in the past?
Thank you,
David

David,
We were on SP 12 and had this issue (we also had the issue of selecting Properties in the Analyzer of the query and nothing happens), our basis guys have installed SP13 and so far I've had no reoccurrence of it.
Regards
Gill

Similar Messages

  • Detach a query from workbook

    Dear all,
    We'd like to detach a query from a workbook in BI7.0.
    In BW35 thre was the possibility to do so under option 'Tools'.
    Does anybody know how to do this in BI70?
    I saw a workaround in earlier thread: delete data provider in design mode. But if I do so I lose my data.
    Kind regards, Harjan

    Hi Balaji,
    Thanks for your response. I'm aware of this functionality, but this is not what the endusers like.
    They like to store the output (query result) as a 'flat' excelfile without any relation to the query.
    This saves a lot of diskspace. With the query attached the file is 10 Mb and without 'query attached it's 1 Mb.
    So I just need the output.
    Kind regards, Harjan

  • Not able to replace new query in old workbook

    Hi All,
    I am having a workbook on a query which was developed long back,due to few changes i created new query and now i want to replace that query in old workbook which it is not allowing also tried to create new workbook with new query but when i run workbook it shows no applicable data found ,when i run query the data is coming.
    I need all your suggestion on this
    Regards
    Deva

    Hi Dev,
    Open your Workbook and Go to the Sheet in which the desired query (to be removed) is embedded.
    In the "BEx Toolbar" 3rd Last Icon if you place cursor on  it it will say "Tools" > Click on Tools and you will see an Option "Remove Query" or if you want to remove All queries from Work book there is another option Tools> All Queries in Workbook --> Detach.
    This will remove the Query from Workbook.
    Then in same Tools--> you can see Insert Query click on it and point (select) your new Query.
    This will insert the new query in Workbook.
    Save the Workbook.
    Hope this will resolve your issue.
    Do post back if you face any probs.
    Thanks
    CK

  • Detaching a query int the workbook

    Hi, one favor:
    some one could tell me about if a query can be reattached if you know the proper password or if you refresh the entire workbook ??
    And if the query results keep visible after the query is detached , or if only a few of the OLAP navigation functions keep active for a detached query ??
    Thanks in advanced,
    Best whishes,

    Yes you can deattach and reattach the query from the workbook. There is "remove" and "attach" qwuery button which will let you do the same.
    When you de attach query and reatatch query, you neeed to delete result rows and other data from excewl by clearing ( Edit -> clear; top menu) and save workbook again.
    Hope i m clear./
    --SA

  • Removing Not Assigned from the query

    Hi,
    I have one query, in which the data is displayed as shown below
    Country         City          Amount
    India           Mumbai        10000
                    Delhi         10000
    US              Los Angeles   20000  
                    New York      30000
    Not Assigned    Sydney        80000
    If I sort/descending on the Amount, I will get Sydney as a top. But the moment, I remove the city from the query, my output is displaying as mentioned below
    Country        Amount
    Not Assigned   80000
    US             50000
    India          20000              
    I need the help in displaying the output as mentioned below. (Basically, instead of Not Assigned, Syndey
    should be displayed)
    Country        Amount
    Syndey            80000
    US             50000
    India          20000              
    Please help if any code / formula needs to be written, to acheive the above result.
    Thanks & Regards
    Ramesh Ganji

    This can be acheived if you can save this query as a workbook and writing Excel Formulas.
    You have to Insert a column and wirte a Formula like
    ( I am assuming column B is country and A is City and you have inserted column is A and the formula you are writing in the 10th row)
    = IF(B10= "Not Assigned",C10,B10)
    copy this formula to all the rows for the column A.
    Now based on this column you can sort your report.(Excel sort).
    Save the workbook.
    Regs
    Gopi
    Assign points if it helps ....

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • Remove null values from query

    Hi All;
    Below is my query and the output and i need to remove null values from the output
    Any help regarding same is much appreciated
    Thanks
    ; WITH CTE AS
    select a.opportunityid,a.new_entrypoint_displayname,c.parentcustomerid,c.contactid,c.fullname,a.new_mainprogramme_idname,
    a.new_subprogramme_idname,
    a.owneridname,
    a.new_dateofapplication,count(appt.activityid) as NoOfAppointments,
    ap.scheduledstart,
    ap.scheduleddurationminutes
    from opportunity a
    left join contact c on (c.contactid = a.parentcontactid)
    inner join activitypointer ap on ( ap.regardingobjectid = c.contactid )
    inner join appointment appt on (appt.activityid = ap.ActivityId)
    where
    appt.new_didmeetingtakeplace = 1
    and appt.statecode = 1 and
    (a.SCRIBE_DELETEDON is null and c.SCRIBE_DELETEDON is null and ap.SCRIBE_DELETEDON is null and appt.SCRIBE_DELETEDON is null)
    group by a.opportunityid,a.new_entrypoint_displayname,c.parentcustomerid, c.contactid,c.fullname,a.owneridname,
    a.new_mainprogramme_idname,a.new_subprogramme_idname,
    a.new_dateofapplication,ap.scheduledstart,
    ap.scheduleddurationminutes
    union
    select a.opportunityid,a.new_entrypoint_displayname,c.parentcustomerid,c.contactid,c.fullname,
    a.new_mainprogramme_idname,a.new_subprogramme_idname,a.owneridname,
    a.new_dateofapplication,count(appt.activityid) as NoOfAppointments,
    ap.scheduledstart,
    ap.scheduleddurationminutes
    from opportunity a
    left join contact c on (c.contactid = a.parentcontactid)
    inner join activitypointer ap on (ap.regardingobjectid = a.opportunityid)
    inner join appointment appt on (appt.activityid = ap.ActivityId)
    where
    appt.new_didmeetingtakeplace = 1
    and appt.statecode = 1 and
    (a.SCRIBE_DELETEDON is null and c.SCRIBE_DELETEDON is null and ap.SCRIBE_DELETEDON is null and appt.SCRIBE_DELETEDON is null)
    group by a.opportunityid,a.new_entrypoint_displayname,c.parentcustomerid,c.contactid,a.owneridname,
    a.new_mainprogramme_idname,a.new_subprogramme_idname,
    c.fullname,a.new_dateofapplication,
    ap.scheduledstart,
    ap.scheduleddurationminutes
    CTE2 As
    select opportunityid,parentcustomerid,new_entrypoint_displayname,contactid,fullname,
    new_mainprogramme_idname,new_subprogramme_idname,cte.owneridname,
    ac.new_businessstartdate,new_dateofapplication,(NoOfAppointments),
    case when ac.new_businessstartdate > = CTE.scheduledstart
    then (CTE.scheduleddurationminutes) end as PreStartHours,
    case when ac.new_businessstartdate < CTE.scheduledstart
    then (CTE.scheduleddurationminutes) end as PostStartHours
    pp.new_outputs,
    case when po.new_outputsname = 'Pre Start Assist'
    then 'Yes' else 'No' end as Precheck,
    case when po.new_outputsname = 'Business Assist'
    then 'Yes' else 'No' end as Buscheck
    from CTE
    join account ac on (ac.accountid = CTE.parentcustomerid)
    join dbo.new_programmeoutput as po on (CTE.opportunityid = po.new_relatedopportunity)
    join dbo.new_programmeprofile pp on (
    po.new_mainprogrammeid = pp.new_mainprogrammeid and
    po.new_subprogrammeid = pp.new_subprogrammeid
    and pp.new_claimstartdate = po.new_claimdate
    and pp.new_outputsname = po.new_outputsname)
    where (ac.SCRIBE_DELETEDON is null)
    group by opportunityid,parentcustomerid,new_entrypoint_displayname,contactid,fullname,ac.new_businessstartdate,new_dateofapplication,NoOfAppointments,
    scheduledstart,new_mainprogramme_idname,new_subprogramme_idname,cte.owneridname,scheduleddurationminutes
    select opportunityid,parentcustomerid,new_entrypoint_displayname,contactid,fullname,
    new_mainprogramme_idname,new_subprogramme_idname,cte2.owneridname,
    new_businessstartdate,new_dateofapplication,(NoOfAppointments),
    PreStartHours, PostStartHours,po.new_programmeoutputid,
    case when (new_outputsname) = 'Pre Start Assist'
    then 'Yes' else 'No' end as Precheck,
    case when (new_outputsname) = 'Business Assist'
    then 'Yes' else 'No' end as Buscheck --po.*
    from cte2
    left join dbo.new_programmeoutput as po on (cte2.opportunityid = po.new_relatedopportunity)
    where po.new_claimmonthidname is not null and po.statuscode_displayname = 'claimed'
    group by opportunityid,parentcustomerid,new_entrypoint_displayname,contactid,fullname,
    new_mainprogramme_idname,new_subprogramme_idname,cte2.owneridname,
    new_businessstartdate,new_dateofapplication,(NoOfAppointments),
    PreStartHours, PostStartHours,po.new_programmeoutputid,new_outputsname
    --where new_claimmonthidname is not null --and CTE2.PreStartHours is not null and CTE2.PostStartHours is not null
    Pradnya07

     i need to remove null values from the output
    Hello,
    What exactly do you mean with "remove", to filter the rows out from result set or to replace the null value by an other value e.g. 0? This can be done with the
    ISNULL function:
    ISNULL(case when ac.new_businessstartdate > = CTE.scheduledstart
    then (CTE.scheduleddurationminutes) end, 0) as PreStartHours, ...
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • Impact of selecting "Removing Query from Selection List" in 2 channels.

    HI All ,
    I have customized a query in one channel (My Agreements and Contract Documents query in Master Agreements List channel) and have removed the standard query from the channel by checking the  "Remove Query from Selection List" and introduced my custom query in that query group .
    But  it resulted in break in chain for  "Master Agreements" link in "Contracts To Do List" channel as the link was pointing to standard  "My Agreements and Contract Documents" query and is displaying "The query can not be executed. Contact your system administrator" when ever I click on that.
    Any pointers on how to overcome above scenario wud be gr8!
    Regards,
    Uday

    Hi Uday,
    In order for To Do List channel to work, the query definition should be in the Master Agreement List query group. Do you still want the standard query in the To Do List? If so, you would have to leave it on the Query Group as To Do list is pointing to it. May be change the display name of the query so you can differentiate between the 2 queries. The other option is change the To Do channel to point to the custom query.
    Regards,
    Vikram

  • Removing Leading zeros from query output.

    Hello Experts,
    Is it possible to remove leading zeros from the query output for a particular column?
    I have a characteristics 'Reference Document' which has values like '000001386'. The users just need '1386' to be displayed and have asked us to remove the leading zeros.
    Is there something that can be done for this at a query level? I can't modify the underlying InfoProvider because this requirement is just for one set of users, the other users need the document nmber in the original format.
    Thanks
    Arvind

    Hi,
    you can use ALPHA conversion option in the definition of that particular characteristic.
    Try this code  in a routine.,in query designer;
    data a(9) value '000001386'.
    SHIFT a LEFT DELETING LEADING '0'.
    write:/ a.
    Output will be : 1386
    Or use this method also
    data a(9) value '000001386'.
    Call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
    Exporting
    input = a
    Importing
    output = a.
    write a.
    output:
    1386
    Regards
    CSM Reddy

  • How to remove the DATA Provider(Query) from the WAD 3.5

    Hi,
         I want to remove the unused dataprovider(query) from the WAD 3.5,
         How to delete the dataprovider.
    Please suggest here

    Go to HTML tab. You will see all the data providers on top. You can delete the unused ones there.

  • Insertin a query in a workbook

    We are on the new version and I don't see the option under the tools to add a query to a workbook.  Has this featured been removed?
    thanks

    Nikki,
    It is up to you where you insert the said items but you might like to consider the following:
    - When you insert the query (analysis grid) it has a tab page where you can define whether the results set should be 'clipped' or added with a scroll bar. This will enable you to insert items around the analysis grid and you can then be sure they will not be overwritten because the results will be 'contained'. The standard setting is 'full size', in which case, anaything underneath / to the right will be overwritten if the query expands so you need to change it.
    - If you want to have persistent changes to the query format then you can do this by changing the excel styles for the relevant query parts and then using the 'Themes' within the 'Workbook Settings' to save and apply them
    - There is no way to enter the variable screen into the worksheet as such. The concept now is that the users enter their variable values and then use the navigation pane to filter the results set - which is not that different from 3.5. So therefore you put the navigation pane / filters etc. in the wrokbook. If you want the user to access the variables then they have to select the button on the 'Analysis' toolbar, or you can create a button that calls the variable screen up using the button wizard (CMD>SHOW_VARIABLE_SCREEN).
    Hope this helps,
    Rgds, Keith

  • How to transport modified query from Dev to QA??

    Hi All,
    I have made a few changes to a query that has already been transported to QA from Dev. I have removed an Infoobject and introduced a new Infoobject and other such changes.
    Now I would like to transport the "new version" of the same query from Dev to QA again so that all the new changes are reflected in QA environment as well.
    What steps or procedures do I need to follow for this please?
    Thanks for your time,
    Regards,
    Reddy

    Reddy,
    BW reporting objects (query / Workbook / WAS tempalte) change transport system is different than other BW development objects (Infoobjects, cubes, transfer/update rules etc..).
    Before you start making changes to any Query objects (which are already transported before), first you need to assign the respective Request in the "Transport Connection" tab (click on the BEX with truck symbol icon) and assign your request with the package name.
    hope this helps a little..
    Good luck
    Mavi

  • How do I remove an app from the update list that is under someone else's apple id?

    How do I remove an app from the update list that is under someone else's apple id? So this way the update always fails because it asks for someone else's password. I don't have the app on my mac, it only appears in the update list. It's just annoying, because the update keeps appearing, and the reminder keeps reminding me that I should install a new update.

    You installed a hacked app, originally from the Mac App Store. It contains the receipt for a different app, downloaded using an account that you don't control. You need to identify and remove the hacked app.
    Important: The app you need to remove is not necessarily the one named in the App Store alert. For example, the App Store may prompt you to update "Angry Birds" or "Twitter," but the hacked app may be something else entirely. Don't make any assumptions about which app you're looking for. To find it, you must carry out a systematic search with Spotlight.
    1. Triple-click anywhere in the line of text below on this page to select it:
    kMDItemAppStoreHasReceipt=1
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    2. In the Finder, press command-F to open a search window, or select
    File ▹ Find
    from the menu bar. In the search window, select
    Search: This Mac
    from the row of tokens below the toolbar. Below that is a popup menu of search criteria, initially showing Kind. From that menu, select
    Other...
    A sheet will drop down. In that sheet, select
    Raw Query
    as the criterion, then click OK or press return.
    Now there will be a text box to the right of the menu of search criteria. That's where you enter the raw search query. Click in that box and paste the text you copied earlier by pressing command-V.
    4. The search window will now show all the App Store products that are installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
    At least one of the apps in the Spotlight search results is not among your purchases in the App Store. Move each such item to the Trash, after quitting it if it's running. You may be prompted for your administrator password. Empty the Trash.
    Quit and relaunch the App Store. Test.
    If you find these instructions confusing, ask for an alternative method.

  • Using CL_RSR_WWW_MODIFY_TABLE to remove rows completely from output!

    Hello All,
    I have a problem I am trying to work thru and I need some assistance.
    Here is the issue...
    I have a report, in which I want to completely remove uneeded rows (depending on the contents of the row).
    I have had a look thru the how-to papers on the TAble interface (so please don't post links to those, they are not what I am searching for as they only describe things like not displaying cell contents, and like I stated, I want to not show rows...ie, delete them from output.)
    Does anyone have some code to show me how to accomplish this?
    Here is my scenerio...
    I have a query, from the 0IC_C03 infocube (I understand the IM scenerio, so don't post links to the SAP help for How-to on this subject), and in the query, I have storage location and material. As we all already know, the infocube does not give a good solution to provide values only on Storage location. But, to get around this, you can have a report with Material in the rows, and do a calculation (Price * Qty) to get the totals by storage location. But, I do not want to show the materials. (Yes, I know there is yet another how to paper on realizing inventory on storage location level, but that does not produce correct results).
    The query is doing exactly what I want...here is the results.
    STORLOC____MATERIAL_____VALUE
    <b>LOC1________RESULT_______$200000</b>
    LOC1________MATNR1_______$150000
    LOC1________MATNR2_______$50000
    <b>LOC2________RESULT_______$2500</b>
    LOC2________MATNR3_______$1500
    LOC2________MATNR4_______$1000
    <b>LOC3________RESULT_______$500</b>
    LOC3________MATNR5_______$500
    You get the idea...
    Anyway, I want to turn the above, into the following..
    STORLOC____MATERIAL_____VALUE
    <b>LOC1________RESULT_______$200000
    LOC2________RESULT_______$2500
    LOC3________RESULT_______$500</b>
    Essentially, removing everything but the results rows...
    Now, I have read a few other questions out here on something similiar (someone else was trying to accomplish the same thing) but nobody has ever posted a reasonable answer to the above question, so I am hoping, some of you have a solution, either via defining my own CL_RSR_WWW_MODIFY_TABLE solution or via Javascript.
    If someone has accomplished this with the table interface, which method and how did you change the table?
    If someone has accomplished this with javascript or something else, I would like the details of that as well.
    Note: I was able to read the table, and was able to use a temp table, and remove the rows I did not want, but, I was not able to update the table passed by the interface.
    This code works to get the right rows, but, it doesn't allow me to update the passing table.
    DATA:wa_y_axis_data LIKE LINE OF
      I_r_data_set->n_sx_version_20a_1-axis_data,
      wa_cell_data LIKE LINE OF
      I_r_data_set->n_sx_version_20a_1-cell_data,
      set LIKE LINE OF wa_y_axis_data-set,
      TUPLE_ORDINAL like set-TUPLE_ORDINAL,
      l_counter TYPE i,
      l_index TYPE sy-index,
      l_trade_fvalue LIKE wa_cell_data-formatted_value.
    * prerequesite in example: 1 key figure and 1 calc. key figure column
    LOOP AT I_r_data_set->n_sx_version_20a_1-axis_data INTO wa_y_axis_data
      WHERE AXIS = 1.
      LOOP at wa_y_axis_data-set into set.
       l_index = sy-index.
       if set-chanm = 'A0MAT_PLT' AND set-chavl NE 'SUMME'.
         delete wa_y_axis_data-set where tuple_ordinal = set-tuple_ordinal.
       ENDIF.
      ENDLOOP.
    ENDLOOP.
    Any similiar experiences or feedback is appreciated.
    Cheers!
    /smw

    Hi Steve,
    just want to know why the material has to be present in this report - when not shown in the end - just to have it in the column or why wonder?
    regards, Johannes

Maybe you are looking for

  • New MacBook Pro retina 13" arrived - first impressions and questions!

    My new MacBook Pro retina 13" arrived today, two weeks earlier than the promised delivery date. My version is the 2.6 GHz i5, 512 GB SSD and I maxed the RAM out to 16 GB, since there is no upgrade later. I also customized the keyboard, since I live i

  • Balance carried forward- FAGLGVTR

    Hiii experts... user wants to run FAGLGVTR for year end activities but they are finding that some a/cs have account balance diffrenences... sooo they have question.. that when they run faglgvtr .. which date is considered...like Posting date or entry

  • Hide folios with not entitlements

    Hi need to hide the folios for users that don't have rights to see them. Or if the user is not logged in. I'm implementing a custom library in android following the  Android Combined Library and Store  example found here DPS Configurator. I'm calling

  • I want to reboot my computer to factory settings...

    ...this will mean i have to reinstall itunes onto my computer. When I login to my account, will this count as another computer on my account that goes towards the restriction of 5 computers allowed? My first computer with itunes crashed and now I am

  • How to retrieve child attribute names in XML?

    How do I retieve only the child attribute names from the XML. XML: <catalog>      <book>            <author></author>            <title></title>            <genre></genre>                 <price></price>          </book> </catalog>Expecting result: a