Filter in Query Designer for Excluding some records
HI!
i am new to BI ,
I Designed Query on 0PUR_C01 Cube for displaying top 10 Vendors .
The query is working fine now i want to exclude those vendor numbers from report which starts with letters 'IUV'.
the info object i am using is 0VENDOR.
Please Help...
Thanks.
Hi,
Create a customer exit variable on 0vendor . Following is the property of the variable to be maintained .
Type of Variable: Characteristic Value.
Processing By: Customer Exit.
Variable Represents: Multiple Single Values.
Variable Entry is: Mandatory, Not Ready for Input and Cannot be changed in Query Navigation
WHEN 'zvendor'.
IF I_STEP = 1.
DATA: ITAB TYPE STANDARD TABLE /BI0/SVENDOR .
data : wa type /BI0/SVENDOR
SELECT * FROM /BI0/SVENDOR INTO TABLE ITAB WHERE DEPT_ID LIKE 'IUV%' .
CLEAR: L_S_RANGE.
L_S_RANGE-SIGN = 'E'.
L_S_RANGE-OPT = 'EQ'.
LOOP AT ITAB into wa.
L_S_RANGE-LOW = wa-DEPT_ID.
APPEND L_S_RANGE TO E_T_RANGE.
ENDLOOP.
CLEAR L_S_RANGE.
ENDIF.
or
WHEN 'zvendor'.
IF I_STEP = 1.
DATA: ITAB TYPE STANDARD TABLE /BI0/SVENDOR .
data : wa type /BI0/SVENDOR
SELECT * FROM /BI0/SVENDOR INTO TABLE ITAB WHERE DEPT_ID NOT LIKE 'IUV%' .
CLEAR: L_S_RANGE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
LOOP AT ITAB into wa.
L_S_RANGE-LOW = wa-DEPT_ID.
APPEND L_S_RANGE TO E_T_RANGE.
ENDLOOP.
CLEAR L_S_RANGE.
ENDIF.
Hope the above reply was helpful.
Thanks & Regards,
Ashutosh Singh
Edited by: Ashutosh Singh on Apr 27, 2011 12:47 PM
Similar Messages
-
How to find static filter on Query designer
Hi expert,
I created one variable ZCALMON_V_001 on the infoObject ZCALMON, and this variable is used on two query (QueryA, QueryB) for filter functionality, however, I tested the queryA and QueryB by tcode RSRT1, I find there is static filter on info tab of result for QueryA, and there is NOT static filter on QueryB, please refer to picture, do you know the root cuase? Thanks.
Bst Regards,
AndrewHi Andrew,
In Query Designer for Query A, under Filter -> Characteristic Restrictions, there would be some static filters defined at query design time. These are called Static Filters because they have been hardcoded at design time & cannot be changed.on runtime. These Filters get fired at the Query level.
--Priya -
How to search in BI 7.1 query designer for the required key figures & chars
Hi All,
Can anyone plz tell me how to search in BI 7.1 query designer for the required key figures & characteristics. I have the query being built on a multiprovider which has many cubes.
So, i have a huge list of key figures and characteristics. I am not able to search for the required one by the name or the technical name.
How can we search and pick the required object from the enormous list of the Mutliprovider in the Bex Query Designer??
Thanks
PhaniThere is not a search feature available. You have to do an educated guess under what dimension your infoobject could be and select.
-
See & in query Designer for variable
Hi guys,
When i turn the technical name on in the Query designer, sometimes I see & in front and end of a variable. Sometimes, I dont see them. I was wondering why.I see & in the query designer for the variables. Sometimes, for the same variable I dont see & sign in front and back.
This is what I have observed which in no way is a complete assesment.
When you have multiple variables on Active hierachy char. and you delete one, you see '&' in the other variables. -
Creating Restrictions in BEx query designer for (1-a), where a is variable.
Dear All,
>> Suppose for the variable in the BEx query designer, I've created restriction for 0FISCPER to the variable 0P_PER (as 0P_PER-1) by right clicking 0P_PER3, from that a dialog box appears. In that I've selected 0P_PER3 and then clicked on offset variable and when I set the offset variable, it works for (0P_PER-1.etc, 0P_PER+1,etc..)
But if I want to have (1-0P_PER), then plz tell me how to define this restriction?
Plz explain me the steps to perform (1-0P_PER) restriction in BEx query designer in BW1.
I'm using SAP BI 7.2 gui.
Expecting your reply soon,
with Regards,
JeraldMy requirement is that I want to have " 1-fiscal year"., But this I could not define using offset variables, since using offset we can define "fiscal year +1" or "fiscal year -1".
So there would be some other way to define "1-fiscalyear". So Please help me to define "1-fiscalyear" by giving me the steps.
Thank you,
with Regards,
Jerald -
G/L Description not showing in Query designer for Characteristic values
Hi Friends,
We have developed a report and that we have made two New selections on the object 0GL_account....some GL Account number are grouped in that. While selecting the GL Accounts to new selection, it is showing GL Account number and Description. After that, the selected objects are not showing the Description in the query designer. It is showing GL Account number only for the both Technical name and Description. I Would like to see Description of the GL Accounts in the Query designer. i have plan to delete certain account based on their dercription.
And at the Infoobject description in the Business Explorer tab Display feild it is set as Text and Key. And till yesteday it shown the Description for the Account numbers. The daa loads are also .gone fine.
Can you please guide me in this regards
Thanks & Regards
AnandHi Thanks for your reply.
The accounts which we selected are having Description and it is showing while selection the selected GL Accounts.
And the master data also is in active...When i try to activate the master data Agoin it is saying statement "Master data for characteristic 0GL_ACCOUNTactive"
Any more suggetions..........
Regards,
Anand -
Kerberos Single Sign On and Query Designer for BI forcing user to log in
Hello experts,
Our company just implemented SSO using Kerberos for Portal and BI. However when a user trying to open a query using the Query Designer to connect to the portal, they have to log in again. Anyone know why?Is this for every user or only to certain user?
also check the browser authentication. --> Tools --> Internet Options --> Advanced --> Under Security --> Enable Integrated windows authentication.
/padmanaban -
Still using BW 3.5 query designer for BI 7.0 backend
Has anyone worked on an upgrade where only the backend has been upgraded to 7.0 but still using query designer 3.5?
Have there been any query performance issues?
Would you recommend upgrading the query designer to 7.0 soon?We upgraded to 7.0 a long time ago and there are still some reports running as 3.x queries. It's no problem but there are so many benefits to working with the 7.0 query designer that I don't see the point in not upgrading.
Kind regards,
Alex -
Best practise BW Query design for Crystal Reports integration
Hi all,
I am looking for a guide on best practices when designing a BW Query to be used as data foundation for a Crystal Report.
The scenario is that I am responsible for developing the Crystal Reports part, but not the BW Query part, therefore I would like to provide a list of best practises to the person who is responsible for the Query, this way make sure that the integration will work as good as possible. The setup is of course using BO Integration Kit for SAP.
An example is how to use authorization variables in the query to provide data security. This is just one example, there are problably a number of other things to be aware of. A document containing suggestions for best practices is what I am looking for, or if the document does not exist, input to what should be on such a list.
Thank you in advance.
Regards,
RasmusHi Rasmus,
in regards to the Best Practices for Crystal Reports you can leverage all the knowledge you have on the Query Design today already. if you not the person for designing the query I think it is important to make sure people designing the queries do understand how Crystal Reports is leveraging the elements from the BI Query.
/people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
You should try to put as much as possible into the BI query from the logic point of view.
and you can also build common BI queries - there is no need to build a BI query for each report.
ingo -
Application Help for Query Designer for Netweaver 2004S
Does anyone know how to install the Help Files for the Business Explorer Tool for Netweaver 2004S? When I click on the Help>>Applicaton Help from any of these tools, it states it can't find the files. I have it setup and working within ABAP.
Thanks,
Jeff CookThe help dvd that came with upgrade explains how to setup for the ABAP side, not the Query Designer. Do you know the parameter settings? Does Query Designer help use the sapdoccd.ini file?
Thanks ,
Jeff -
Query design for a pareto chart
Hi all,
is it possible to show a pareto chart on Web Template? I need to show the causes of non-conformities that holds 80 % of the whole number of non-conformities. Can you give an idea on how I can design a query for this? For example, I have data for
Cause # of non-conformities
1 1
2 50
3 90
4 5
5 4
6 100
total # of non-conformities:250
80% is 200, and on the chart only number 3 and number 6 causes should be shown with a total 190. I tried to add a formula that finds the percentages and checked the cumulative mark on the properties. Then I added a condition that limits the new formula field (get the ones with less than 0.8). I run the query in analyzer, sorted and activated the condition but it did not work. The condition did not work on cumulative check, it takes the percentage.
Does anybody have any idea about how can I show a chart like this?Yasemin,
I have had to do some Pareto reporting for percentage of forecasted items that fell in various groupings:
0 to 25% forecast accuracy
26 to 50% forecast accuracy etc
the way I implemented the requirement was:
1. create a query to report data - in my case I had to report forecast accuracy percentage by plant, customer and material.
2. create an APD to run the query created in step 1 and write the results to a transactional ODS - contents of which will then be written to a cube
3. create a query off the cube that will count the forecast accuracy range for each grouping and then determine the overall percentage
Maybe this might help you!
Mira -
Best practice in Infoprovider & Query design for access by BO Universe
Hello Experts,
Are there any best practices identified by practitioners or suggested by SAP for development of Infoprovider and queries for access by BO Universe.
Best practices should be from the prospective of performance, design simplicity, adaptability to change etc.
Appreciate your help.
Regards,
Pritesh.
Edited by: pritesh prakash on Jul 19, 2010 10:51 AMThanks Suresh.
My project plan is to build Infocubes & queries which will be then used to build Universe upon it. Thus I am looking for do's & dont's while designing infocubes & queries such that there wont be any issues(performance or other) when accessed by Universe built on it.
Hope I have made it more clear now.
Regards,
Pritesh. -
IF Formula in Query Designer for Reporting Master Data?
Hi,
i am trying to realize the following function.
I want to display Master Data characteristics in a Query
The Formla is:
Display Characteristic of InfoObject 1 IF Characterristic of InfoObject 2 equals Characteristic InfoObject 3
thx in advance!
DominikHi,
Comparing the characteristics can be done by using <b>replacement path variable</b>.
Please find the below link about using replacement path variables to compare two date characteristics.
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
hope this helps.
regards,
Pruthvi R -
Can we put condition for color in bex query designer
hi all,
can any one guide me how to put a condition for color settings in query designer
for example:
i have a key figure like ANSWERED%.in analyser it should display in red if answered% exceeds 95%.
please help me in this issue.
regards
Vamshi D Krishna.Hi,
Use Exceptions while designing your Query.
Please go through the link
http://help.sap.com/saphelp_nw04s/helpdata/en/43/21b4cd14cd06f4e10000000a422035/frameset.htm -
Condition for excluding Sales value less than or equal to 0
Hello Experts,
I have to create condition in the query designer to exclude Sales Value <=0, and that should be applied to all the column values and result values when we put active.
Can anyone help ?
Thanks in advance,
Venky
Duplicate Post
Condition for excluding Sales value less than or equal to 0
Edited by: Arun Varadarajan on Apr 13, 2010 8:57 PMHello Naveen,
Thanks for quick reply. I have created condition greater than zero and executed report, i can able to eliminate rows with sales value <=0, but we have other columns in the report say Quantity, Backlog... when we run the report without condition the values which showed are same when we put it in active aslo.
After eliminating few rows which having some quantity value, that value should be deducted from the result of the quantity. I tried with applying apply to results opton, then also there is no change in the result value of the quantity.
Our requirement is to apply condition to eliminate rows which are sales value <=0 and same the result values of the columns should effect.
Is it possible in anyway, if yes please specify solution.
Thanks,
Venky
Maybe you are looking for
-
How do I use Migration Assistant to get my Mail and Keychain settings from
How do I use Migration Assistant to get my Mail and Keychain settings from my Power Mac G5 2.3Ghz? I just purchased a new 2.5 MacBook Pro which will be delivered tomorrow, and I want to to know how to transfer Mail and Keychain? Thank You in advance
-
The application under test consumes webservices from a third party sometimes the requests are served immediately in a sec but sometimes it takes more than 3 seconds how do we bench mark our application as the thirdparty webservice is causing the dela
-
Few seconds of processing & button events
Hi, i have a 'theory' question - some feature of my app has a bit long processing time, about a few seconds, in which there's an activity indicator running. this processing should start after the user pressed some "start process" button. my question
-
Taskkill slow in windows 7, fine in XP
The following command kills a task immediately in XP, but not in Windows 7, the task lingers for ~100 seconds. taskkill /f /t /pid 123 The only account on the machine is an Administrator account. I've tried cmd 'run as admin' and powershell, without
-
Embedding an Interview into a webpage
We can embed the wizard within a page using an iFrame, but when we do this it keeps saying that "The interview session has expired.". Can anyone assist in troubleshooting this issue?