Modify MatchCode in IP Query

Hi experts,
I have a IP query where I have to enter accounts ( characteristic). But this accounts has to deppend on the COSTCENTER ( Cost center is a filter in the query).
For selectting the account, I press F4 and select one account. But I see all the accounts of all the costecenter.
I would like to create a matchcode to select only de accounts deppending of the query filters ( depending of the value of the coste center).
is it posible?
Thanks a lot.
Marc

Hi Maria,
which authorization setting are you using?
Use transaction RSCUSTV23 to find out.
If you are using the new BW7 Analysis Authorizations here is what you can do.
Use transaction RSECADMIN and in there Analysis -> Execute as..
Enter the user you have made your restrictions for and tick the box for "with log"
You can then analyze the behavior using that users authorizations and look for more details in the logs once you are done.
What you describe in your question is the standard behavior if you define 0COMP_CODE as authorizations relevant and assign a user only some company codes.
Also have a look at this information, which might answer this and any other questions you might have regarding Analysis authorizations
SDN area for Analysis Authorizations
http://wiki.sdn.sap.com/wiki/display/BI/AuthorizationinSAPNWBI#AuthorizationinSAPNWBI-Differencebetweenrssmandrsecadmin
Marc Bernard session
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/ac7d7c27-0a01-0010-d5a9-9cb9ddcb6bce
SAP release note for new Analysis Authorizations
http://help.sap.com/saphelp_nw04s/helpdata/en/80/d71042f664e22ce10000000a1550b0/frameset.htm
Best,
Ralf

Similar Messages

  • I need to know the user who has created/modified a SAP Bex Query and WAD

    Hi!
    I need to know the user who has created and modified a SAP Bex Query and SAP  Web Application Designer. Does it possible to know this information by a table or view?
    Best Regards
    Ramon Sanchez

    Hi,
    In BEx query, when you click "Queries" to open the query, the list of queries are displayed. Highlight the query, click on the "Properties On/Off' icon(right most on the top), you would see all the details.
    In WAD, before opening the template, click on "Properties On/Off'" icon to see the details.

  • Modify a Existing Search Query

    Is there a way to modify a query executed in a Look up screen to include Extended fields.
    For Example if I add some extension fields to a material can I modify the Lookup (Search) query on a Sales order to use these new fields when searching for a Product... (Or best situation can i search for relivant data in a Associated BO my Add-on has created)
    I am guessing NO but just wanted to verify.

    If you define a process integration for the extension field of the material and transfer it from the material to the sales order, you will be able to also use it in the query of the sales order.
    This will only work for newly created sales orders of course, but not for sales orders that existed before you extended the material.
    For your own created objects, this might work if you create the extension fields of the material via the SDK, but I am not sure about this. I have never seen extension fields to be available in an associated BO.

  • How to Modify the Ad-hoc Query Infoset of Standard Area.

    Hi all,
    Am having problem with Ad-hoc Query.
    i need to modify ZHR_PA_01 Infoset, this is an infoset available in Satandard Area.
    For displaying the Infoset, am Unsing T-code : S_PH0_48000510
    As of my knowledge Using T-Code SQ01& SQ02.... we can create , Change, delete the Infosets of Global Area.
    But
    please any body can tel me,How to Change the Infoset of Standard Area
    How to add the New Field Group to this Standard area infoset.
    Thanks in Advance.
    Points will be rewarded.
    Regards,
    Kalam A.

    Hi Prakash,
    thank u very much,
    yes, i have added the new Infotype 9105 to data fields.
    1.but this infotype in Data fields is showing as P8003.
    could you tel me why this is showing like this.?
    2.i have a field "Priority" in the existing "Critical Role" Field Group.
    n My requirement is
    "Add the Priority Field text description as an additional output field. the Numeric value stored in the Proirity field can be lookied up in the YHRPRIOX table,Object Type ZR."
    3.After adding fields to newly created Field Group, is there any think to do the Coding or Changes.
    4.After adding i have saved it & Generated the Infoset, i got few warnings.
    and Could you tel me How to test this..??
    Could you provide me, if any links or materials for this..?
    Please dont feel bad for all asking all the questions
    Cos am very new to Ad-hoc Querry and i have gone through the Documents in Help.sap.com.Am unable to find the above questions.
    So
    Could you please answer to my questions.
    Thanks&Regards,
    Kalam A.

  • Unable to create or modify SAP APO Bex Query

    Hi Experts,
    I am using Bex for creating report on APO Cube. But when I am trying to create a new query including Restricted Key Figures or calculated Key Figures, then I am getting error " The query Could not saved due to problem in Transport".
    I tried following options
    1. Checked authorization on the Cube - There is required authorization.
    2. changed the Object changability of Object Type ELEM to " Everything Changable" from " Nothing Changable"
    3.Tried creating new query in development system with RKF and CKF. Transported this new query and tried changing this transported query . But again it gave same error.
    I am getting this error, only when I involve RFK and CKF in query.
    Could one of you please help me with this issue as why I am getting this error and what is solution for it.
    Your help is highly appreciated!!
    Thanks,
    Shalaka

    Hi.
    In RSA1->transport connection->BEx check whether you have transport attached to project.
    Regards.

  • Modifying Detailed Sales Report Query

    Hello All --
    Can we adjust the Query below so that the current Company, Address, City, State and Zip have the letters BT in front (for Bill To)?
    Then, can we add new columns of the Company, Address, City, State and Zip for the Ship To with ST in the front of the names?
    Thanks!!
    Mike

    Mike,
    It seems BT and the State are in two seperate lines on the Query.  Please check the following
    SELECT 'Invoice' "Invoice/AR CM", T0.CardCode
    "BP Code", T0.CardName 'Company', T0.Address 'BT Address', T2.City 'BT City', T2.State1 'BT State', T2.ZipCode 'BT Zip', T0.Address2 'ST Address', T3.Name, T0.DocDate,T0.DocNum, T0.DocTotal 'Gross Amt', T0.TotalExpns 'Freight/Svc Charge',
    (T0.DocTotal - T0.VatSum-T0.TotalExpns) 'Net Order', T1.SlpName 'Sales Rep', T1.Commission '% Commision',
    ((T0.DocTotal - T0.VatSum-T0.TotalExpns)*(T1.Commission/100)) 'Commission Amount', T4.GroupName 'Group'
    FROM dbo.OINV T0 LEFT JOIN dbo.OSLP T1 ON T0.SlpCode = T1.SlpCode
    LEFT JOIN dbo.OCRD T2 ON T0.CardCode = T2.CardCode
    LEFT JOIN dbo.OCPR T3 ON T0.CntctCode = T3.CntctCode
    LEFT JOIN dbo.OCRG T4 ON T4.GroupCode = T2.GroupCode
    WHERE (T1.SlpName BETWEEN '[%0]' and '[%1]') AND
    (T0.DocDate BETWEEN '[%2]' AND '[%3]')
    UNION ALL
    SELECT 'Credit Memo' "Credit", T0.CardCode, T0.CardName,
    T0.Address, T2.City, T2.State1, T2.ZipCode, T0.Address2,
    T3.Name, T0.DocDate,T0.DocNum,
    -T0.DocTotal, -T0.TotalExpns,
    -(T0.DocTotal - T0.VatSum-T0.TotalExpns),
    T1.SlpName,
    T1.Commission,
    ((T0.DocTotal - T0.VatSum-T0.TotalExpns)*(-T1.Commission/100)),
    T4.GroupName 'Group'
    FROM dbo.ORIN T0 LEFT JOIN dbo.OSLP T1 ON T0.SlpCode = T1.SlpCode
    LEFT JOIN dbo.OCRD T2 ON T0.CardCode = T2.CardCode
    LEFT JOIN dbo.OCPR T3 ON T0.CntctCode = T3.CntctCode
    LEFT JOIN dbo.OCRG T4 ON T4.GroupCode = T2.GroupCode
    WHERE (T1.SlpName BETWEEN '[%0]' and '[%1]') AND
    (T0.DocDate BETWEEN '[%2]' AND '[%3]')

  • Modifying an existing ABAP Query - sq01 (tcode)

    Hi All,
      We have a query develped (Z) long before .Now we have a requirment where in which we need to add one   more table to the existing query.Kindly let me know how can we proceed.
      When am giving the query name and clicked on change , am not able to find any option which allows the  user to add one more table.
      looking for valuble inputs on the same.
    Regards,
    Zareena.

    Hi ,
    u need to follow these steps when u are working on queries.
    Step1-->SQ03->Give ur user group here ->then /nSQ02->here it will display all ur Infosets those belongs to ur user Group--->then go in Change Mode, after u know wat u have to do.
    Regards
    Prabhu

  • How to modify inputtext in af:query when user change another inputtext

    I have Jdev 11.1.1.3
    I'd like to change inputtext B (this contain a Date) when I change inputtext A (this contain a another Date).
    Those fields are inside af:query.
    I try to explain better.
    I have created the af:query and user before executing the query selects the start date in inputtext A when he/she comes out with tab, I would like to add one day to the inputext B.
    It's possible?
    For me, the complexity is that I can not manage the fields inside af:query
    Thanks

    Hi,
    there is no direct access to this. However, you should be able to get the input value to then set a new default value on the ADF BC model for the dependent attribute. After this you PPR the query component to show the new value.
    Sample 160 at http://blogs.oracle.com/smuenchadf/examples/ may be helpful
    Frank

  • Modifying  the Ad-hoc Query Infoset : problem with P9105 fields.

    Hi all,
    Am having problem with Infoset of Ad-hoc Query .
    i need to add the Critical role Field Group to ZHR_PA_01 Infoset of Satandard Area.
    for this i have imported that Infotype 9105 and included the following standard fields by drag and drop.
                    1. Role Category
                    2. Role SubCategory
                    3. Global Identifier 
                    4. Personnel Number
    and then Saved and Generated the infoset succesfully.(No syntax errors)
    But
    While testing, using the T-Code:  S_PH0_48000510
    if i select one of these above fields for the report,
    Am getting the message that "Error when generating the report".
    Error Description:The report cannot be generated because the internal description is invalid or incomplete.
    means what may be the problem.?
    if i select other fields its working fine.
    can any body explain me clearly..??
    Regars,
    Kalam A.

    Hi Manoj,
      yes, i have saved the T-code.and generated the Infoset Succesfully.
    and its showing the those additional fields while testing.
    for remaining fields its working fine.
    but am not getting wats problem with the four fields of P9105 infotype.
    could you please suggest me.?
    Regards,
    Kalam A.

  • Modify or Extend SQL Query generated by the Application wizard?Urgent.....

    Hi !
    I have created an application based on an existing table. I also created three search items(select list with submit) for column level search of the Report on Page1.
    Now i want the 'search results' to be displayed on the P1_Report page similar to the results obtained using :P1_REPORT_SEARCH item.
    IS it possible to exentd the SQL query....
    select "ID","SACHNR_BESCHRIFTUNG","BEISCHREIBUNG_DER_SCHRIF","BEMERKUNG"
    from "BES_KGE_ENS2"
    where (
    instr(upper("SACHNR_BESCHRIFTUNG"),upper(nvl(:P1_REPORT_SEARCH,"SACHNR_BESCHRIFTUNG"))) > 0 or
    instr(upper("BEISCHREIBUNG_DER_SCHRIF"),upper(nvl(:P1_REPORT_SEARCH,"BEISCHREIBUNG_DER_SCHRIF"))) > 0 or
    instr(upper("BEMERKUNG"),upper(nvl(:P1_REPORT_SEARCH,"BEMERKUNG"))) > 0
    with another set of 'instr' functions for my search items.the results should be displayed in 'RED'.
    THNX in advance..
    Chalamalasetty.

    chalamalasetty,
    Please don't try to expedite a response to your post by posting the same question again. If you believe your post has gone unanswered too long, "bump" it up to the top by adding to the same post. I replied to your duplicate post here:
    SQL Code??
    Sergio

  • Java plugin for business objects not found. When trying to modify a business objects query, it says a plugin is required but none are found. What do I need to do?

    I downloaded firefox 4.0 and attempted to use business objects. A screen comes up saying that a plugin is required but when I click on the screen, it say's no plugin is found. I am using the latest version of Java but it seems that the plugin is not there.

    There is workaround.
    Enter “about:config” in the browser’s address bar.
    Search for “html5.parser.enable”.
    Double-click the row to set the value to “false” (row should also go bold to indicate change).
    There is a possibility that it may cause HTML5 compatibility issues down the road but it solved the issue.

  • How do I modify the WHERE clause in my SQL query?

    This seems like such a straight-forward part of the report design, but I'm fairly new to Crystal Reports and I only have experience with modifying reports someone else has already written.  In this particular case, I just need to modify the WHERE clause of the SQL query.  I can select Show SQL Query and see what statement is being used to select data, but I can't find where to modify it since it's grayed out.  I see how to change the selection criteria, parameters, grouping, etc...just not the WHERE clause.  The report is linked to a database used for reporting with a table created and populated by a stored procedure.  I don't need to modify the stored procedure because the data I want to filter by is currently in the table--I just don't know how to filter by what I need.  Here's part of the query:
    SELECT "rpt_dist"."startdate", "rpt_dist"."transtype", "rpt_dist"."laborcode", "rpt_dist"."crewid", "rpt_dist"."regularhrs" FROM   "Reporting"."dbo"."rpt_dist" "rpt_dist"
    WHERE  (rpt_dist."transtype" <> 'WORK' AND rpt_dist."transtype" <> 'WMATL') AND rpt_dist."laborcode" LIKE 'S%' AND (rpt_dist."crewid" = 'HOUS' OR rpt_dist."crewid" = 'HOUS2' ...
    I would like to add another crewid to the WHERE clause.  Thanks for any input.

    1.Open the report in the crystal designer
    2.Go to the field explorer(if hidden go to view menu->field explorer)
    3.Rt. click on the database fields->choose database expert
    4.Now you will see 2 columns-Available DataSource  and Selected Tables
    5.Rt. click on the object(ex.command) available in the Selected Tables column->Choose Edit command
    6.A new Modify Command window will appear,here you can edit your SQL Query
    I get to step 4 and I see the two columns including my database and the report table, but there is no command object available.  If I right-click on my table, I can just view the Properties. ??
    As for the other tip to modify the record selection:  I don't see anywhere the other crewid values are set and if I add the one I'm missing, it doesn't modify the existing SQL Query and when I preview the report it throws off the results so that no data displays??
    I'm using Crystal Reports 11.5 if that makes a difference.  Thanks again.

  • CAMl Query -CSOM - Display Modified date of list Item in a required format

    Hi All,
    I want to display last modified date of a List Item.
    I am getting the value in this format : 
    Tue Feb 25 23:06:57 PST 2014
    How ever, I want to display it as : Tuesday 25th February 2014
    Please suggest how to achieve this.
    Any informative articles, links w.r.t building such queries in CSOM (jQuery) is welcome.
    Thanks.

    I have the query : 
    function ReadListItem() {
                siteUrl = "my site Url";
                var listTitle = "NewsList";
                //Get the current client context
                var context = new SP.ClientContext(siteUrl);
                var newsList = context.get_web().get_lists().getByTitle(listTitle);
                var camlQuery = new SP.CamlQuery();         
                camlQuery.set_viewXml('<View><Query><OrderBy><FieldRef Name=\'Modified\' Ascending="FALSE"/></OrderBy><RowLimit>1</RowLimit></Query></View>";')
                this.listItems = newsList.getItems(camlQuery);
                context.load(listItems);
                context.executeQueryAsync(ReadListItemSucceeded, ReadListItemFailed);
            function ReadListItemSucceeded(sender, args) {
                var itemsString = '';
                var enumerator = listItems.getEnumerator();
                while (enumerator.moveNext()) {
                    var listItem = enumerator.get_current();
                    itemsString += 'Modified On: ' + listItem.get_item('Modified');
                $("#P1").append(itemsString);
    I am able to get the Modified Date using the query
    But I need it in a specific format like : Tuesday 25th February 2014
    Please suggest

  • Modify existing SAP Query / Quickview

    Hello,
    Greetings!
    We have a requirement to modify an existing SAP Query. This query was created much earlier by a user who is no longer present.
    We have the query name, user group, and the program for the query. This query, we assume was created using tcode SQVI.
    However, in tcode SQVI, we cannot see the query as we have not created it.
    I understand that this is because the quick view has not been converted to query.
    I have referred:
    SQVI - Quick view modification
    http://wiki.sdn.sap.com/wiki/display/ABAP/QuickViewer
    In tcode SQ01, we are unable to see the query, as we get an error that the user group does not exist.
    In table AQLTQ, we get an entry for the query and the user group. But the user group does not exist in tcode SQ03 as well.
    In this case, how to we convert the quickview to query? Or is there any other way to edit the exisitng quickview/query?
    Kindly help.
    Best Regards,
    Smruthi

    Hello Suhas,
    Thank you for your reply.
    I checked in both the tables.
    There exists an entry only in AQLQCAT(Local or Client-dependent queries). We now have the infoset as well, along with the user group and the query.
    When I check for the infoset in SQ02, I get an error, "Infoset <infoset name> not created"
    The user group is the same as that found in table AQLTQ.
    Best Regards,
    Smruthi

  • What do I have to modify on below query to keep same order?

    here is my original post
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/1edac5ae-8c61-4dcf-9a15-b01df5cad617/how-to-remove-next-and-previous-record-if-amount-0?forum=transactsql#982b368a-bc6a-461a-9be2-37b3a7331dd8
    if I add an ID column to assign row order, what do I need to modify in the below query to keep that order
    CREATE TABLE #Temp(
    [id] [int] identity(1,1),
    [SHCOMP] [char](2) NOT NULL,
    [SHCRTD] [numeric](8, 0) NOT NULL,
    [SHCUST] [numeric](7, 0) NOT NULL,
    [SHDESC] [char](35) NOT NULL,
    [SHTYPE] [char](1) NOT NULL,
    [SHAMT] [numeric](9, 2) NOT NULL,
    [SHCRTT] [numeric](6, 0) NOT NULL,
    [CBLNAM] [char](30) NOT NULL,
    Query
    ; With cte As
    (Select *, 
         Row_Number() Over(Partition By SHCOMP, CBLNAM, SHDESC, SHAMT Order By ID) As rn, Abs(SHAMT) As AbsAmt
    From #Temp) 
    Select c1.* into #t1
    From cte c1
    Left Join cte c2 On c1.SHCOMP= c2.SHCOMP
      And c1.CBLNAM = c2.CBLNAM 
      And c1.SHDESC = c2.SHDESC
      And c1.SHAMT = -1 * c2.SHAMT
      And c1.rn = c2.rn
    Where c2.SHCOMP Is Null
    order by ID
    Original data
    SHCOMP     CBLNAM       SHDESC    SHAMT     SHTYPE    ID
    123         cust1       desc1      45          F       1
    123         cust1       desc1     -45          T       2
    123         cust1       desc1      45         F        3
    123         cust1       desc1     -45        T         4
    123         cust1       desc1      45         F        5
    123         cust1       desc1      -35         T       6
    234         cust3       desc2     -60          F       7
    234         cust3       desc2      60          T       8
    234         cust3       desc2      30          F       9
    234         cust3       desc2     -30         T        10
    234         cust3       desc2      30         F        11
    Results I want
    SHCOMP      CBLNAM      SHDESC    SHAMT      SHTYPE     ID
    123         cust1       desc1      45         F         5   
    123         cust1       desc1      -35         T        6
    234         cust3       desc2      30         F         11
    That query is changing my ID, instead of keep 5,6,11 it is assigning other numbers. For example
    SHCOMP      CBLNAM      SHDESC    SHAMT      SHTYPE     ID
    123         cust1       desc1      -35         T        4
    123         cust1       desc1      45         F         7 
    234         cust3       desc2      30         F         9

    Declare @Sample Table(ID int identity, SHCOMP int, CBLNAM varchar(30), SHDESC varchar(10), SHAMT int, SHTYPE char(1));
    Insert @Sample(SHCOMP, CBLNAM, SHDESC, SHAMT, SHTYPE) Values
    (123 ,'cust1', 'desc1', 45, 'F'),
    (123 ,'cust1', 'desc1', -45, 'T'),
    (123 ,'cust1', 'desc1', 45, 'F'),
    (123 ,'cust1', 'desc1', -45, 'T'),
    (123 ,'cust1', 'desc1', 45, 'F'),
    (123 ,'cust1', 'desc1', -35, 'T'),
    (234 ,'cust3', 'desc2', -60, 'F'),
    (234 ,'cust3', 'desc2', 60, 'T'),
    (234 ,'cust3', 'desc2', 30, 'F'),
    (234 ,'cust3', 'desc2', -30, 'T'),
    (234 ,'cust3', 'desc2', -30, 'F');
    ; With cte As
    (Select SHCOMP, CBLNAM, SHDESC, SHAMT, SHTYPE, ID,
    Row_Number() Over(Partition By SHCOMP, CBLNAM, SHDESC, SHAMT Order By SHAMT, ID) As rn
    From @Sample)
    Select c1.SHCOMP, c1.CBLNAM, c1.SHDESC, c1.SHAMT, c1.SHTYPE, c1.ID
    From cte c1
    Left Join cte c2 On c1.SHCOMP = c2.SHCOMP
    And c1.CBLNAM = c2.CBLNAM
    And c1.SHDESC = c2.SHDESC
    And c1.SHAMT = -1 * c2.SHAMT
    And c1.rn = c2.rn
    Where c2.SHCOMP Is Null
    Order By c1.ID;
    Tom

Maybe you are looking for