Query Restriction
Hi all,
I need your help in designing a query.I have made an variable ZMEFPERI on 0FISCPER.now i have to give restrition on it..
Can anyone tell me what is the meaning of "le ZMEFPERI" ?it is the restriction i have to give on the query.
Please i need to resolve this today only, help me!!
thanks,
Jaimin Soni
Hi
Select ur ZMEFPERI and Righrclick and select ristrict what ever u want.
And go to RKF and select the ZMEFPERI and ristrict based on time and create varaibles.
Similar Messages
-
MSS custom query restrictions (table/view/join)
Dear all,
We are currently trying to integrate a sap query which also gathers data from event management. This query is based on an infoset and a table view and not on a logical database.
When executing the query within the portal (generictableview iview) we get the error message "No data records found". While debugging the function module HR_INFO_GET_USING_QUERY which is called here we found out that the error message is generated because no logical database is retrieved.
Therefore my question is: are mss queries in portal restricted to queries which are based on logical databases only or can we create and use queries in portal which are based on table/views/joins?
Any help on this issue is greatly appreciated!
Thanks already very much in advance,
HelgaHello MIG,
I am still searching and I have not found a solution yet.
Interestingly enough the query can be executed without any problems in R/3 but not from the portal iView. Therefore I am wondering if it is only a restriction on the MSS side.
@forum users: did anyone of you face this problem and has a solution to it?
Thanks very much for any input on this!
Kind regards,
Helga -
SAP Query restriction by Company
Dear SAP Experts,
I would like to ask an opinion of how to create a general solution for creating SAP queries regarding this requirement:
1) Create a query via SAP Query (transaction SQ01)
2) Use a pre-created infoset (VBRK-VBRP header-detail connection)
3) Restrict users to see only the data (e.g invoices) where he is allowed to see (based on VBRK-VKORG)
A question would be, how could I assign a SAP ECC user to a certain Sales Organization/Company so that you can have some sort of a master data of which company he belongs to for reporting/query purposes (in the end, which invoices he is allowed see)?
Is there a customizable way of linking a user to sales organization/s so that in the end I can use this filter in the SAP Query? Also, is there a way that this is generally done so that for all other queries which require Sales Organization/Company filtering (e.g. VBAK, other Finance reports), this is done "on the fly"/customized?
Your inputs are appreciated, thanks in advance.Hai
If u r Experience Candidate for 2+ years .Company will Sponcer the Certification wilth low Cost
Around Rs 35000.(INR).
https://websmp204.sap-ag.de/~sapidp/011000358700003517532005E
http://www.sap.com/services/education/certification/global-certification-policy.epx
http://www.sapcertification.info/viewpage.php?page_id=40
http://sapcertification.info/news.php
Assign Points if it is Useful
Thank u
Naveen -
Hello,
Hopefully this is a quick one.
I'm trying to restrict the results of a query in a report by using a select list with a named dynamic LOV. Basically the report will only display rows that are the same as the value currently in the select list. My problem is that I'm trying to have an 'All' value in the select list that will result in all rows being displayed.
I have tried using a LIKE in the query and setting the LOV to display null, then setting the null return value to %%%. This works exactly how i want it to if I hard code it into the query. However, when I try to use it as a value in the select list no rows are returned. The variable in the URL looks fine however it's not translating properly.
Has anyone got any suggestions or alternate ways of doing the same thing?
Cheers.Yes that has fixed the problem, either way % or %%% wasn't working.
However adding the ||'%' to the end of the select list variable in the query appears to have fixed the problem. I don't understand why though, it should have worked with the null return value of %...
Thanks a lot. -
Is there a way to restrict master data within an infoset query? I only want master data for a certain sales organization in the infoset query because this is joined to a cube. The cube does not contain sales org. If I could only have the infoset query display the one sale org master data this join would work.
Hi,
the join function in infoset can't provide you restriction by value.
Alternatively try to filter the infoset on the query level.
Hope helps. -
Hi all,
I have a query in which customer is a input variable, which is optional. My requirement is, if the user does not input any value for the customer in the report, then the report is to be restricted with a particular fixed range for ex: 1000 - 3000.
If the user enters some value, then the report has to be restricted for the entered selection.
How to achieve this?
Thanks in advance.HI,
Have two variables one Var1 with user input which is restricted inside a local keygifure ie to get input from customer.
Create another variable Var2 of customer exit which is restricted in Filter. Populate this by reading Var1 in the customer exit.
If user entry available populate them with user input value.
Else populate the value you need
Hope this helps for you.
Thanks,
Arun -
Please help - Recursive Query Restrictions
Hi All,
I wanted to know what restrictions are placed on Oracle Recursive Query capability. Any help or links in this regards would be highly appreciated. Waiting to hear from you.
Thanks,
SnehalCan't think of anything I would term a restriction off the top of my head. There are a few notes in the SQL Reference about precedence that probably aren't obvious.
Are you having a particular problem with this syntax?
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Query restriction on CKF or Resticted KF
Hi gurus,
I succeed to restrict my report on key figures by using 0TCAKYFNM. i create restriction in RSECADMIN.
But if i define e calculated kf or restcited kf it does not appear. the calculated kf can be based on a KF not in the autorisation
Regards
CyrilNote 717451 solves this.
-
Query - restricting rows based on specific combinations of columns
I have two columns in two different tables T1 and T2 like below
T1.Column1 T2.Column2
1 a
2 b
3 c
4 d
5 e
I need all the combinations of values in the columns, which I can choose like
select T1.Column1, T2.Column2 from T1, T2 ------ (Without specifying any join ie. cartesian product)
But, in those, combinations, I need to restrict the following combinations, from not being selected - (1,b), (1,c),(3,b), in the same sql, or using a subquery. I am not able to achieve this after several attempts. Can any one help?Just pad it and check
SQL> select no,name from a,b where to_char(no)||name not in ('1b','1c','3b')
2 /
NO N
1 a
1 d
1 e
2 a
2 b
2 c
2 d
2 e
3 a
3 c
3 d
NO N
3 e
4 a
4 b
4 c
4 d
4 e
5 a
5 b
5 c
5 d
5 eThanks,
Karthick. -
Unwanted query execution before adding Find page restrictions
Hello,
When the JHS (10.1.2.1.27) application I made is started, the whole table content is queried without restrictions BEFORE the Find page has loaded.
Because it's a fair amount of data, I get out of memory messages.
I have used 2 specific settings that are related to this:
1) Property "Use Table Range?" has been turned off
2) Query Bind Parameters are used
Looking in the log files I noticed the following:
13:24:00 DEBUG (JhsActionServlet) -Request URI: /PppHseSisQuery/FindPppVLastBhy.do
13:24:00 DEBUG (JhsActionServlet) -Request Character Encoding: ISO-8859-1
13:24:04 DEBUG (JhsDataAction) -Executing action /FindPppVLastBhy
13:24:04 DEBUG (JhsDataAction) -Created searchBean map and stored on session
13:24:04 DEBUG (JhsDataAction) -Created new searchBean for PppVLastBhyUIModel and added to quick search bean map
13:24:04 DEBUG (JhsDataAction) -Stored searchBean for PppVLastBhyUIModel on request
13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 0 set to null
13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 1 set to null
13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 2 set to null
13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 3 set to null
13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 4 set to null
13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 5 set to null
13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 6 set to null
13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: executing query, bind parameter values have changed
It seems that the bind parameters get initialized in some kind of way at startup.
This is detected as a change in value apparently, after which the query execution is triggered.
So far so good. The problem is that my main query restriction is not related to any of the query bind parameters.
Because the Find page has not been loaded yet, this mandatory restriction has not been added to the searchBean yet and will therefore not be added to the view object's where clause.
The result is that all table records will be queried.
My question: Is there any way to prevent the query to be executed before the Find page has loaded?Have you tried setting the group checkbox "Auto Query?" to unchecked? This should prevent the query from executing before the find page is loaded.
Steven Davelaar,
JHeadstart Team. -
Restrict values of characteristic in input-ready new rows query
Hello all
We are creating an input-ready new rows query. So we added characteristic as row.
We need the values in F4 (while choosing value in this row) are to be restricted by hierarchy (or just restricted by some algorithm - list of values). But if we choose "hierarchy" for that characteristic, it will also appear in rows, so not one posted value will appear, but full hierarchy for this value. How to make F4 for choosing restricted values of any characteristic.
Reason: we have different account plans for different years and don't want users to choose "old" positions.
Cheers, YuriHello, Yuri!!!
Try to use next variants:
1) Authorization
restrict you characteristic in RSECADMIN
2) COMPAUND
You can add compaund characteristic to you main characteristic, and if you restrict this compaund characteristic in filter, then in query you'll see only appropriate values
3) FILTER
You can restrict not only fixed values, but you can use prequery for you characteristic. For example make DSO in which will be calmonth and account in key. And make query to take accounts for calmonth. After that in you main query restrict you account through variables with replace path type (set query for accunts for month).
4) Relation in RSPLAN
Create DSO(as in case 3) and try to use relation for you realtime cube in RSPLAN.
Anton.
Edited by: Anton Moskvichev on Nov 27, 2008 9:51 AM -
Limitation of Characteristics in a Query
Hey Guys,
Is the limit of characteristics in a query restricted to 50? I have an error message stating that: "Maximun number (50) of drilldown characteristics is exceeded".
Please advise.
Timi JonesHi,
Read note 1117281 "reasons and Prerequisites".
Rgds
Manoj kumar -
Hi Experts,
I am facing the below error when I am executing a BCS query:
1. Version not specified or not unique
2. Error reading data of Infoprovider ZBCS_NV11
3. Error while reading data , navigation is not possible.
Please let us know how to fix this issue.
Thanks,
KavithaYou have this kind of error when your Query restrictions are not enough explicit regarding the special versions.
I give you an example. You have created special version 100 for Actuals and 200 for Budget. Your Consolidation Unit scope is version dependent : 100 assigned for Actuals structure and 200 for Budget structure. if you build a query with one column with Actuals figures and a comparative one with Budget figures, you will have to restrict :
1) the first column with special version 100 and explicit key date
2) the first column with special version 200 and explicit key date
In other words, if you have special versions, it is mandatory to explicitly specify in your Query the Special version and the key date. This can be derived with custom exit variables. -
Hello,
When I Start the Query, I want to choose. For Expample:
For Display the Query with the Rows or not....
1.Button with Film Production
2.Button without Film Production
Can I realize 2 Buttons for that ?`??
Thanks and Happy Easter..
Barish
Edited by: Baris Ozcan on Mar 19, 2008 8:12 AMHi,
Selections means... your column or row.
In 7.0 QD .Select your keyfigure from column. right side you can see property window. where you have tab "Display". check that whether it should be "Always show". if it is there, definitely the keyfigure will show the result. and also, if you are not getting any output value, when u r executing the query. check that any filter have u used in Query..
might be ur query restriction doesn't give any value, that's y ur report looks empty.
note: there is no Query change mode in BI7.0 query designer, as we have in bw3.5.
Regards,
senthil -
Query running for a very long time
Hi I have a sales Query which is running for a very long time,
It is built on a multiprovider. The multiprovider gets feed from cube and DSO.
It is taking very long time to run.
I need to do some performance tuning can you please suggest.Hi Ravi,
First maitain BW statistics for that query and after that go to se11 and give table RSDDSTAT. just check how many records selected in data base and how many records transferred.
according to this statistics create aggregates by giving propose aggregates by using statistics tables. after running a query check in RSRT whether the data is coming from aggregates or not.
do not exclude any selections try to include in query restrictions.
try to create secondary indexes.
let us know the result.
Maybe you are looking for
-
Migrating stand alone programs to web based application
Hi, I have a small application consisting of .class files. I created these using Swing components and it's based on Client/ server model where it accesses Oracle Database. I want to deploy these programs in Java App Server so that it can be accessed
-
Can't manually add album artwork through iTunes 10.5 on an iPhone 4s
Ok, heres the deal - (and this is a weird one) I have iTunes 10.5, windows xp and a new iPhone 4s. I am missing multiple album covers so I just find high-res ones on google and save them in preparation of manually adding them to the album via iTunes.
-
Upgrading from PIX to ASA 5512X
Hi everyone, We are in the middle of upgrading from two PIX's to some new ASA5512X's. To give you some background on the situation we are upgrading these since the PIXs are fairly old. We had one extra that we had to use since one PIX has failed alre
-
Are there TWO browsers on the E60 ?
there are two icons , one says WEB and the other SERVICES. the look of the screen and the navigation system look to be different. if they are , in fact, two browsers, what is the difference between them, and are there any benefits of using one over t
-
I NEED TO INSTALL THE FOLLOWING DRIVER ETHERNET CONTROLLER HP BLUETOOTH MODULE NETWORK CONTROLLER SM BUS CONTROLLER UNIVERSAL SERIAL BUS CONTROLLER UNIVERSAL SERIAL BUS CONTROLLER I HAVE BEEN TRYING A LOT THINGS BUT NOTHING WORK PLEASE ADVISE