Can't modify a query

Hello,
I'm working on BI 7.0.
I created a request in Bex with a structure which contains basics KPI, selection and formulas.
The request check is successful.
It is possible to run the request
It is also possible to add a caracteristic in the lines for example, but it is impossible to modify the structure elements (basic KPI, selections, formulas). All are in grey.
We tried to install the last Bex support package, but without success.
Had someone already solved this problem ?
Thanks
Thierry

Hi ,
Could be issue with Authorizations
Check for authorization object S_RS_COMP
Subobject                                      RSZCOMPTP
Value                                             STR     Template structure
Also you can try -> change query - > right click on the structure -> Remove reference and then it should allow changes to happen.
Hope that helps.
Regards
Mr Kapadia
Assigning points is the way to say thanks in SDN.

Similar Messages

  • Can we modify a query to add negative sign '-' in one field ?

    Hi All,
    I have created a query from SQVI by linking VBRK and VBRP. I know we cannot delete tables from the query but can we add a negative sign to all the quantities when the type is 'RE' in query ?
    Thanks,
    Vimal

    Hi Priya,
    I can not modify the query in code as it asks for the access key.
    Thanks,
    VIMAL

  • Can i modify the query in discoverer

    Hi
    I am working on discoverer vierwer, is it possible to change the query and run the query myself. I can access the query but i can't make any changes.
    The problem i am having is i want to show the sum of a variable but not show the count, is this possible ?
    any help would be appreciated
    thanks
    nimesh

    Hi Nimesh
    Presumably the workbook you are referring to is not owned by you and has only been shared with you? In this case, while you can make changes to the query while it is in memory, providing you have the necessary privileges that is, you will not be able to save over the original. This is because only the owner can do this and you are not the owner.
    What you can do though is to use Save As and save ourself a variant of the report. Of course this opens up another spoke in the wheel of reinvented queries, something that most organizations would like to avoid.
    Therefore, perhaps the best option would be to contact the owner of the workbook and request that it be modified for your needs.
    I hope this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Report conversion tool--Can we modify the query

    Hi all,
    I have some freehand SQL reports converted into WebI reports. I understand that report conversion tool, creates a new universe for each of the freehand SQL report. But if I try to edit the query, like add a filter condition, an error pops out.
    Is it possible to edit the query if we convert freehand sql reports into webi reports?
    Regards
    Ash.

    Hi,
    Yes it is possible to edit the query for the converted free hand sql query.
    If you see any problem while editing the SQL of the converted report, do a refresh once and try.
    Adding query filter also works fine.
    Issue from your end could also be due to security settings.i advise to revisit the security once and make sure all appropriate rights are available for the user.
    Thanks,
    Sri

  • How can i improve this query.

    Hi guys i am beginner , just wanted to know some info , how can i improve this query ..
    select *
    from tableA A, viewB B,
    where A.key = B.key
    and a.criteria1 = '111'
    and a.criteria2 = some_funtion(a.key)
    one more thing should function should be on left side of equal sign.
    will a join make it better or something else is needed more than that .

    952936 wrote:
    Hi guys i am beginner , just wanted to know some info , how can i improve this query ..
    select *
    from tableA A, viewB B,
    where A.key = B.key
    and a.criteria1 = '111'
    and a.criteria2 = some_funtion(a.key)
    one more thing should function should be on left side of equal sign.
    will a join make it better or something else is needed more than that .If you are a beginner try to learn the ANSI Syntax. This will help you a lot to write better queries.
    Your select would look like this in ANSI.
    select *
    from tableA A
    JOIN viewB B ON A.key = B.key
    WHERE a.criteria1 = '111'
    and a.criteria2 = some_function(a.key);The good thing here is that this separates the typical joining part of the select from the typical filter criteria.
    The other syntax very often let you forget one join. Just because there are so many tables and so many filters, that you just don't notice correctly anymore what was join and what not.
    If you notice that the number of column is not what you expect, you can easiely modify the query and compare the results.
    example A
    Remove View B from the query (temporarily comment it out).
    select *
    from tableA A
    --JOIN viewB B ON A.key = B.key
    WHERE a.criteria1 = '111'
    and a.criteria2 = some_funtion(a.key)
    example B
    You notice, that values from A are missing. Maybe because there is no matching key in ViewB? Then change the join to an outer join.
    select *
    from tableA A
    LEFT OUTER JOIN viewB B ON A.key = B.key
    WHERE a.criteria1 = '111'
    and a.criteria2 = some_funtion(a.key)(The outer keyword is optional, left join would be enough).

  • Modify MDX query so it only shows specific dates?

    I'm new to SSAS and SSRS reports (with datasource an SSAS cube), so please bear with me.
    So I created a basic report that gets the data from my SSAS cube and displays it. That is working well. The problem is that the parameter displays the Dimension [Dim Date].[Date Key] so the dropdown displays every single day in the dimension table.
    One of my datasets in the report is a hidden dataset called [DimDateDateKey]. This is the dataset used to display all the values in the datekey dropdown parameter. The MDX query looks like this:
    WITH MEMBER [Measures].[ParameterCaption] AS [Dim Date].[Date Key].CURRENTMEMBER.MEMBER_CAPTION MEMBER
    [Measures].[ParameterValue] AS [Dim Date].[Date Key].CURRENTMEMBER.UNIQUENAME MEMBER
    [Measures].[ParameterLevel] AS [Dim Date].[Date Key].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
    [Dim Date].[Date Key].ALLMEMBERS ON ROWS FROM [Sales cube]
    My question is, how can I modify this query so that it only displays dates that are between today and 5 days ago? The column [Dim Date].[Date Key] is of type INT, so it would only display 20141012 and 20141017.
    Currently, it displays every single [Dim Date].[Date Key] of the table, which is from 20000101 to 20201231.
    Thanks.
    VM

    Hi VM,
    you have to dynamically filter data based on current date. Current date you can get using VBA function now().
    I enclose code adjusted code sample you pasted, but because I don't have same cube as you do, I wasn't able to execute it. Anyway it should work or at least you should see there that principle
    WITH MEMBER [Measures].[ParameterCaption] AS [Dim Date].[Date Key].CURRENTMEMBER.MEMBER_CAPTION MEMBER
    [Measures].[ParameterValue] AS [Dim Date].[Date Key].CURRENTMEMBER.UNIQUENAME MEMBER
    [Measures].[ParameterLevel] AS [Dim Date].[Date Key].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
    [Dim Date].[Date Key].ALLMEMBERS ON ROWS FROM
    (SELECT {StrToMember("[Dim Date].[Date Key].&[" + Year(now()) * 10000 + month(now()) *100 + day(now()) + "]"):
    StrToMember("[Dim Date].[Date Key].&[" + Year(now()-5) * 10000 + month(now()-5) *100 + day(now()-5) + "]")}
    ON COLUMNS FROM
    [Sales cube]
    Jiri Neoral

  • Crystal Report XI: Can you write your query in SQL instead of using the GUI

    Hello
      In crystal report version XI, can you write your query in sqlplus and then use the crystal report designer to build your report instead of using the GUI . I would like to be able to go database and show sql query and open that query and make changes directly there, is that possible on this version, if yes is there a setting somewhere? Please let me know.
    Thank you
    alpha

    Moved to Database forum.
    No you can no longer modify the SQL directly. Use a Command Object to enter the SQL directly.
    Thank you
    Don

  • How to modify search query based on new FE

    Hi,
    As per a requirement, in All Accounts search (advanced search section), I had to replace 5 checkboxes (e.g. Role1, Role2, Role3, Role4, Role5) by a single dropdown (codelist) name= "Account_Roles" containing same values (Role1, Role2, Role3, Role4, Role5). I created Customer's XBO and declared field of the codelist type, name= "Account_Roles". So, the XBO now has below 6 fields :
    Role1, Role2, Role3, Role4, Role5 (type = Indicator)
    Account_Roles                            (type = codelist)
    Existing search on All Accounts worked on the 5 checboxes and fetched those accounts for which the values matched.
    E.g.
    If in search parameters, I check Role1 & Role2, and for Account1, these values are stored as "true", then Account1 will be shown in the result list.
    Now the search UI doesn't have the checkboxes, but codelist ('Account_Roles') which can have value 'Role1'/'Role2'/'Role3'/'Role4'/'Role5' or combinations are also possible like 'Role1' OR 'Role2', etc..
    My question here is -
    Will the old search query that worked on indicator fields earlier, handle the new FE "Account_Roles" automatically ?
    If not, then will modification be required to existing search query ?
    If modification is required, what steps I need to follow to handle this new field instead of checkboxes.
    I need exact steps to modify a search query, as I tried several things in the PDI but was not able to confirm if this requirement can be implemented by modifying search query or it is not feasible from PDI perspective.
    Appreciate all your inputs.
    Thanks,
    Sachin.

    Hi,
    you can create a link between the vendor objects itself, means link 0vendor with 0ven_compc and 0ven_purorg. This should give you a list of all vendors multiplied with the comp codes multiplied with the purch. org. May be here it is possible to create another link between a attribute (eg. comp_code of 0ven_purorg with comp_code of 0ven_compc). In case it is not possible you need to add this link information somehow. Another option might be to create 2 queries. One on a infoset of 0vendor and 0ven_purorg and another one on 0vendor and 0ven_compc.
    regards
    Siggi

  • Adding existing field to a UI Search and Modifying UI Query

    Hello.
      I want to add the "central archiving flag" to the Contact search BP_CONT_SEARCH/Search. I've added the field into the SEARCH node via BSP_WD wizard but the field created does not appear as available in the Search because it is not into the context structure. ¿Is there any solution to this? ¿I must append a new field to the standard structure?
      Although I get the "archiving flag" available I think I will need to modify the selection query ¿Is that possible? If it's possible ¿How can I do it?
      I have another problem with a result field of another search for activities (BT126S_APPT/ApptSR). I would like to know how can I reach the selection ( based on BOL result model BTQRAct ) and how can I modify that selection/quety.
    Thanks in advance.
    Kind regards.

    You can create a copy of the standard design layer, add your field and define it as dropdown listbox 0 coding is required
    Otherwise you will need to code in the GET_V method and the GET_P, there's a lot of information about this if you have a little of patience to search
    If fits your requirement (dropdown listbox) I would go for the design layer approach, of course there's info about this through scn too

  • In query designer , cant able to change/modify the query porperties

    hai experts / friends
    even in production or develeopment i have selected one query in query designer and opened and after that am selecting one default value and then right hand side it displays the properties of that particular query then i can not modify the changes ...that Display and change option is in disable....how can i enable this button...
    please help me friends...
    previously i have tried using production and then i thought because of production it is not getting enabled then i tried in development , and came to know that even in development also same problem it is not getting enabled....
    thanks in advance..
    regards
    anand

    hai friends..
    thanks for all your reply...
    actually i want to explain detail  ..
    after selecting the one particular query , am just placing the mouse in my charecteristics restrictions and then right hand side
    properties window gets displayed and at the top we can find display/change button and save button technical name
    button
    in that display and change button is disabled...i want that button to be enabled.
    i have checked in my authorizations in SU01...
    even i have all the profiles like SAP_ALL ...
    and then i have been trying to have transaport connection and then creating transport conn. for BeX...but it is asking package name...
    in this case i dont know the exact package name....
    can any body help me in this regard???
    thanks
    anand

  • How can I modify the logon screen on the portal

    Hi,
    We have designed some BI queries, when we open Query Designer and execute them (CTRL + R) an Internet Explorer open and ask us to log on this BI Portal.
    On this Portal login screen, I can only provide my user name and password.
    We would like the user to be able to select the language and to change is password.
    How can we enable those changes ?
    Thanks,
    Hugo

    Although in iSQL*Plus 9.0.1 you can't modify the default
    login HTML, you can create your own static HTML "login"
    page. Just make sure the correct login credential
    parameters are passed to the iSQL*Plus URL. Your users will
    have to call your new static page instead of the default
    iSQL*Plus login page.
    Copy the HTML from the default login page and change the
    FORM ACTION to include the host and port:
    <FORM ACTION="http://host.port/isqlplus" METHOD="post">
    and change the "Connection Identifier" field to a drop down
    list of the connection identifiers you want:
    <TD CLASS="label">Connection Identifier:</TD>
    <TD>
    <SELECT NAME="sid">
    <OPTION SELECTED>SID1</OPTION>
    <OPTION>SID2</OPTION>
    <OPTION>SID3</OPTION>
    </SELECT>
    </TD>
    Add your own logo, joke of the day, and put it in
    production....
    iSQL*Plus 9iR2 has an option for a drop down list of connect
    identifiers to be configured in the default login screen.
    This allows sys admins to restrict the DB servers that can
    be accessed. No other connect identifiers can be used, even
    from CONNECT commands in scripts.
    On the OTN home page there seems to be an "early access"
    link for down loading the 9i Database R2.
    -- CJ

  • Can we duplicate standard query Search Master Agreements and Agreements.

    Hi Experts,
    I have a requirement to hide Agreement Manager and Business Unit & Region result fields in standard Search Master Agreements and Agreements query.
    I have duplicated this standard query and deleted Agreement Manager and Business Unit & Region result fields. Try to run this query but it is giving error.
    Execution Type is Java.
    Query Executor Class: com.sap.eso.contracts.query.SearchAllMAandAgreements
    Error:  SQL Exception: Fail to convert to internal representation, ANSI-92 SQL State: 99999, Vendor Error Code: 17059. Fail to convert to internal
              representation.
    Does anyone have idea about this functionality or how this standard query can be modified.
    Thanks,
    Lava

    Hi Lava,
    There is the Standard Query ODP-ESO-MasterAgreementList
    Duplicate the query and remove the fields from the Result fields whcih you dont want. I think you will get the result required.
    Thanks
    Kushagra A

  • How can I make my query to compare only columns of two tables... not the storage information?

    11GR2
    =-----------------------------------
    I am using below querry to compare two table that has same name, under two different users... But after making storage information false like below and  if the storage information is different on column level than it create "Alter modify " statements for the column ... How can I make my query to compare only columns of two tables... not the storage information?
    begin
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'PRETTY', TRUE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR',TRUE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SEGMENT_ATTRIBUTES', FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'STORAGE', FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'TABLESPACE',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'REF_CONSTRAINTS',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS_AS_ALTER',FALSE);
    End;
    select REGEXP_REPLACE(dbms_metadata_diff.compare_alter('TABLE','TABLE_NAME_A','TABLE_NAME_A','USER1','USER2'),('USER1...'),'', 1, 0, 'i') from dual

    I am using below querry to compare two table that has same name, under two different users... But after making storage information false like below and  if the storage information is different on column level than it create "Alter modify " statements for the column ... How can I make my query to compare only columns of two tables... not the storage information?
    If you want help you have to SHOW us what you are doing and how you are doing it; you can't just try to tell us in your own words.
    We can't see your computer screen.

  • Modify SQL Query

    Hi,
    Can the below SQL Query be modified in any simpler way.
    IF (V_BillingTypeID = 2) THEN
        select count(*)
          into V_AuthCount
          from payerauthorization pa
         where pa.patientidentificationno = IV_PatientIdentifierno
           and pa.registrationno = IV_UHID;
    if (V_AuthCount > 0) then
          select pa.responsetype, pa.payerapprovedamount
            into V_ResponseType, V_ApprovedAmt
            from payerauthorization pa
           where pa.patientidentificationno = IV_PatientIdentifierno
             and pa.registrationno = IV_UHID;
                 if V_ResponseType = 3 then
                    V_ServiceTariff := V_ServiceTariff -
                               (V_ServiceTariff * (V_ApprovedAmt / 100));
                 end if;
           if V_ResponseType = 2 then
              select (pb.totalbillamount + pb.discountamount)
              into V_GrossBillAmt
              from patientbill pb
                where pb.billno = IV_BillNo;
              V_AuthPercentage := ((V_ApprovedAmt / V_GrossBillAmt) * 100);
               V_ServiceTariff  := round(V_ServiceTariff -
                                      (V_AuthPercentage *
                                      (V_ServiceTariff / 100)));
            end if;
                  if V_ResponseType = 5 then
                      select (pb.totalbillamount + pb.discountamount)
                      into V_GrossBillAmt
                         from patientbill pb
                           where pb.billno = IV_BillNo;
                            V_AuthPercentage := ((V_ApprovedAmt / V_GrossBillAmt) * 100);
                             V_ServiceTariff  := round(V_ServiceTariff -
                                      (V_AuthPercentage *
                                      (V_ServiceTariff / 100)));
                   end if;
      end if;
          select Count(*)
          into V_CRCount
          from creditnote cr
          where cr.billno = iv_Billno;
                          if (V_CRCount > 0) then
                           select cr.creditnoteamount
                             into V_RefundedAmount
                              from creditnote cr
                              where cr.billno = iv_Billno;
                          end if;
        SELECT SUM(GC.REFUNDAMOUNT) INTO V_GCREFUNDAMOUNT FROM GBCREDITNOTE GC;
        V_MAXREFUNDAMOUNT := (V_PatientPaidAmount - (NVL(V_GCREFUNDAMOUNT, 0) +
                             NVL(V_RefundedAmount, 0)));
    END IF;Thanks in advance.

    Few things i came across are
    1. You could remove the query where you do COUNT() just to check if data exist before SELECT..INTO. You can use EXCEPTION handling insted.
    2. The condition V_ResponseType = 2 adn V_ResponseType = 5 looks same so you can combine it into a single condition.
    I have modified it like this.
    if (v_billingtypeid = 2) then
            begin
                  select pa.responsetype
                       , pa.payerapprovedamount
                    into v_responsetype
                       , v_approvedamt
                    from payerauthorization pa
                   where pa.patientidentificationno = iv_patientidentifierno
                     and pa.registrationno = iv_uhid;
                  if v_responsetype = 3 then
                      v_servicetariff := v_servicetariff - (v_servicetariff * (v_approvedamt / 100));
                  end if;
                  if v_responsetype in (2, 5) then
                      select (pb.totalbillamount + pb.discountamount)
                        into v_grossbillamt
                        from patientbill pb
                       where pb.billno = iv_billno;
                      v_authpercentage := ((v_approvedamt / v_grossbillamt) * 100);
                      v_servicetariff  := round(v_servicetariff -(v_authpercentage *(v_servicetariff / 100)));
                  end if;
            exception
                    when no_data_found then
                            null;
            end;
            begin
                    select cr.creditnoteamount
                      into v_refundedamount
                      from creditnote cr
                     where cr.billno = iv_billno;
            exception
                    when no_data_found then
                            null;
            end;
            select sum(gc.refundamount)
              into v_gcrefundamount
              from gbcreditnote gc;
            v_maxrefundamount := (v_patientpaidamount - (nvl(v_gcrefundamount, 0) + nvl(v_refundedamount, 0)));
    end if;Edited by: Karthick_Arp on Feb 21, 2013 3:26 AM
    Fixed BEGIN..END mismatch.

  • Can i change BI Query before loading it to BO using some if than else logic

    Hi guys
    In my requirement I have a BI query which the users want to run in BO now. Now the requirement is that they want to change some values in the BI query after the BI query has run based on some u201Cif than else logicu201D for each row.
    So my question is can BO modify a BI query. Is there some place I can write an abap routine between the BI query and the BO Report.
    Thanks

    Hi Adnan, in CR you can create Formula Fields, and you can include IF THEN ELSE statements there. This won´t modify the BI query, but´ll modify the results you see in CR (I believe this is what you want)
    Here, you have information about formula fields, CR 2008 User Guide in chapter 22
    You can do, something like this:
    IF {Tabla.Campo}=1
    THEN "AAA"
    ELSE "BBB"
    Hope this helps,
    Liliana

Maybe you are looking for

  • My external hard drive stays on even after I turn off my iMac. Why?

    New 24" iMac (see below) I have connected my 800 Firewire LaCie 500 Gigabyte external hard drive and it works fine. However, it doesn't turn off after I have turned off my iMac! I used Tiger before this and the very same LaCie external drive always t

  • Having trouble with kernal_task, fan, overheating, and lag issues with my Macbook Pro. What should I do?

    I've had this problem with my Macbook Pro for the past few months. I am starting to become increasing dissatisfied with this product since it's less than even a year old and going through so many problems. I've taken at least 10 trips to the Apple Ge

  • Platform problem

    My class and I are having some problems with the java sdk1.4.1. I have it install on a win 98 SE, two of my class mates have it installed on win XP, and it works fine on both. we now have it installed on win 2000. Can someone please tell me why this

  • Need help  - payment type selection

    I need some help with this. I have 4 different payment types on my registration buy online form. I want to be able to display relevant information depending on which type is selected; if cc is selected then display cc input fields then process throug

  • Embedded Flash in PHP - Need help!

    Hello everyone! We're having problems embedding Flash-files into our .php-files, so I thought the best place to ask for help would be the official Flash-forums :-) First of all, I'll let you know what exactly we're doing.... We have a few flash-files