Query Designer - Label (text) for a Keyfigure
Hi Gurus,
I am wondering how can you display/write a specific text when certain conditions are met for a key figure "SPOC in the Query desinger. For example:
If SPOC LT 10 - Write text "Small Team" (in a new column on the report)
If SPOC GT 10 and LT 30 - Write text "Medium Team" (in a new column on the report)
If SPOC GT 30 - Write text "Big Team" (in a new column on the report)
Can you please advice with any thoughts on how to do this?
Thanks for your help in advance.
Hi,
What i can suggest you is to make three new columns and respectively name then small team medium tam and big team.
For first column wirte a condiiton like (SPOC < 10 ) * 1
Second column condition (SPOC >10 AND SPOC < 30 )*1
Third column condition (SPOC >30 )*1
Make use of boolean operators to make these conditions.
SO whenever your conditions satisfies it will give 1 there in there respective columns and for rest it will be blank.
If your requirement is different then please sample output of your report.
Hope it helps.
Regards,
AL
Similar Messages
-
Query Designer - Dimension texts in German instead of English
Hi,
I have an Infoset based on two DSOs and two Master Data info Objects.
When this Infoset is opened in Query Designer to create a new query, it is been observed that Dimension text from the DSOs is displayed in German while the texts from Master Data Info Objects is in English.
We do not have problem with any other infosets.
What could be the problem? What settings are required here for the text to be displayed in English.
Profiles are set to English Language.
Thanks in advance
RegardsJust a correction to the observation made: All the infosets have similar problem.
-
Authorization in BEx Query Designer: "read only" for definitions of variables
Hello,
I`m developing a concept of authorizations for key user who should be able to maintain certain
objects in the query designer. For other objects they should have access “read only”.
The users have authorizations to design new queries. They should be able to use existing variables
(SAP Business Content ( 0*) and customer variables (z*). On this point, I have a problem: in the selection window of the query designer there are only buttons to create, to delete and to edit a variable.
The user must have authorizations for changing, although he just wants to look for the definition
of a variable (if he wants to see their basic or global settings before using the variable).
I can´t find a possibility to switch from “edit” to “read only”.
The users should only see and apply variables from others (SAP, collegues), but he mustn´t be able to
change them.
The user needs the following authorization objects: S_RS_COMP , activity =02 (change), also
authorization object S_RS_COMP1. If I give the users only activity 03 (display),
the user get the message: “display not allowed”.
Is there any possibility to give a key user the authorization to display all variables with
their definitions?
Best regards
Ricarda SeybHi raghukan,
This is may be due to the authorization but still you can check the consistency check for these queries using RSRV.
Regards,
Amit -
Can't change the label text for the first time of loading
I have some problem to change the label text in the prerender method.
I put a label on the form and set the text value to "Customer" on the text properities , and I would like to change the lable text to "Supplier" in the prerender method, I found some strange behaviour.
If I type nothing on the label text of the properties , I can change the lable text on the prerender method on the first time of the form load .
If I put something on the label text of the properties , the text label can't be changed on the first time of form loaded, the lable can be changed if I refresh the form or reload the form.
Could anyone help me to solve this kinds of problem ?
ThanksThis is a tough one to explain. Here is one explanation from the Delving Into Components tutorial:
As with the JavaServer Pages implementation, when the server constructs a page from JSP source, the tag attribute settings in the JSP source take precedence over runtime settings. For example, if you set the text property for a Static Text component to "moon," the IDE adds text="moon" to the Static Text component's tag in the JSP file. Even if the page's prerender method has a staticText1.setText("sun") statement, the Static Text component shows "moon" when the application renders the page. If the page is rerendered, the staticText1.setText("sun") statement takes affect and the Static Text component shows "sun." If you visit another page and come back, the server once again constructs the page from the JSP source, the values set in the JSP tag attributes take precedence, and the page displays "moon." -
Hello,
I am using a query with horizontal drillacross as a basis for a chart and 1 key figure.
The axis legends are showing up as "CHAR/KYF" where CHAR is the characteristic value in the columns and KYF is the key figure column description.
Is there a way to influence the automatic labelling so that it shows only the characteristic value?
Having fixed texts is not an option because we don't know in advance what the characteristic values will be.
Many thanks,
PieterCan any body suggest a solution to this issue.
We are having same problem.... -
How to get label text for the Input Field in code
Hi,
I have created Two UI elements InputField and Label. I set the property 'labelFor' of the UI element Label to 'InputField'.
This is my requirement . I am having the Id of InputField in the code . I want to get the value of 'text' of the UI element Label.
Please suggest how to proceed.
Points will be rewarded for helpful answers.
Best Wishes
Idhaya RNot sure why you really need this, but you could do something like
IWDInputField field = (IWDInputField) view.getElement("inputFieldID");
IWDLabel fieldLabel = null;
for (Iterator children = field.getContainer().iterateChildren(); children.hasNext(); )
IWDUIElement child = (IWDUIElement) children.next();
if (child instanceof IWDLabel)
IWDLabel label = (IWDLabel) child;
if ( field.getId().equals(label.getLabelFor())
fieldLabel = label;
break;
Armin -
Query Designer: "Set Offset For Variable" not available
Hi,
I want to restrict a character by using a variable with offset, but the needed function is disabled in context menu for different variables (customer exit, single value, multiple values, etc.). I have found a hint here, that this function only works with interval variables. Is this correct?Hi,
1) For Customer Exit Variable: Offset Functionality will not work,
2) For Manual input Interval Varable: you can have the Offset, but the offset will work on upper limit only
Ex: if u execute the quey by giving the interval like 2 - 4; then in the report output u can see only 2, 3 months data means the offset is working on 4 i.e upperlimit,
3) For Multiple Single Values: No offset Functionalty
Thanks,
Regards
ReddYA -
Query Designer: diferent selection for same key figure
Hi,
I have some queries that compare many key figures (Total sales, margins,...) between different periods for the same plant or between different plant for the same period or between different periods and plants. For do that I have 2 key figures for each concept (Total sales 1, Total sales 2, Margin 1, Margin 2,....) And two selection variable for each characteristic (plant 1, plant 2, period 1, period 2).
So I put a selection for "1 characteristics" for each "1 key figures" and a selection for "2 characteristics" for each "2 key figures". Simple but laborious.
My customer, than want to maintain queries himself, ask me for a more "smart" way to do that. Can anybody help me?Hi,
What i can suggest you is to make three new columns and respectively name then small team medium tam and big team.
For first column wirte a condiiton like (SPOC < 10 ) * 1
Second column condition (SPOC >10 AND SPOC < 30 )*1
Third column condition (SPOC >30 )*1
Make use of boolean operators to make these conditions.
SO whenever your conditions satisfies it will give 1 there in there respective columns and for rest it will be blank.
If your requirement is different then please sample output of your report.
Hope it helps.
Regards,
AL -
Nav Attributes not seen during creation of RKF in Query Designer
Hi
SCENARIO
I have a Char InfoObject POSTFI[POSTFI is Navigational Attr] with 3 Navigational Attributes included in the InfoCubes.
1. ZINREPIND Reporting Indicator
2. ZFITMCD01 Statement 01 Financial Item
3. ZPCNR1 Profit Center Indicator
NOTE: All the above mentioned Nav Attr are properly set as Nav Attr and Active, Check and Rechecked.
We have 2-InfoCubes Current and Historical[both have same Structure].
A MultiProvider is build using the above 2-InfoCubes and the Char InfoObject PostFi is included in the MultiProvider.
Now I am trying to Create a Report using Query Designer and in that I have to Create a RKF[GrossSales1] and
the Condition for which is KeyFigure=FINAMT, where POSTFI_ZFITMCD01 = 5010, POSTFI_ZPCNR1= Y
PROBLEM
I can see the Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1 in the main Screen of the Query Designer's LeftHandSide Pane containing KeyFigures and Dimenions under Dimension Financial=> PostFi=> Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1.
While creating the RKF on KeyFigure FINAMT I am just able to see the InfoObject POSTFI[in its resp Dimension] in the
Display RKF GrossSales1 Screen in the Left Hand Side Pane where we see the KeyFigures and Dimensions.
But I am NOT able to see the Nav Attr's ZINREPIND, ZFITMCD01, ZPCNR1 anywhere in the LHS Pane of the Display RKF GrossSales1 Screen.
Now I cant Create the RKF bcoz I cant see the 3NavAttr's of Char InfoObject PostFi it the LHS Pane and the 2-Nav Attr required for creating the RKF.
Can anyone PLEASE let me know How can I see/bring these Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1 in the LHS Pane of the RKF Creation Screen to add them to make my RKF ?
Thanx in AdvanceHi
As per your explanation, below are the details
POSTFIPOSTFI --- This is navigational attribute which has below 3 objects as navigation attrs.
1. ZINREPIND Reporting Indicator
2. ZFITMCD01 Statement 01 Financial Item
3. ZPCNR1 Profit Center Indicator
first one, could you please confirm whether POSTFIPOSTFI is main info object or it is attribute of another info object.
If it is attribute of another info object, then the last attibutes(3) are called Transitive attribute(attributes attribute).
Reporting on Transitive attributes is only possible with the creation Info Sets.
If my guess is correct, then create Info Set based two info cube now create the query.
Hope it will work
Regards,
Venkatesh. -
Condition for Calculated KeyFigure
Hi everyone,
I need to have an additional Keyfigure based on a Condition. For example, If Staus is Completed , then I need to take the Net Price as Allocated Price. And if Status is Incomplete , then I need to fill the Net Price as UnAllocated Price.
So , in this case , I will have 2 Calculated KeyFigures in the Query Designer. One for Allocated Price and the other for Unallocated Price. But how can I restrict t the values based on Status.
For Example
Status Net Price Allocated Price UnAllocated Prcie
Complete 100 100 0
InComplete 200 0 200
1) Is there any way tht we can avoid displaying Unallocated Price for Complete Status(Since value will be Zero) and Allocated Price for Incomplete Status
2)Is it better to have these values calculated in END ROutine in the BackEnd.(But this might affect the performance as I require these values only for this Report and I have more than 2 Reports based on the same InfoProvider)
Thanks and Regards,
SamirHi,
Could you please let us know what will be the value of the status field if it is incomplete. Suppose if you have an EMPTY value if it is not complete, you can use the IF ELSE condition with the Boolean operation in the Calculated Keyfigure or Formula as below,
(Status ==1)* Unallocated Keyfigure + (Status NOT EQUAL 1)*allocated Keyfigure
If it is not the case then better to handle it at the routine level. Hope this helps.
Regards,
Mani -
Creating RKF in Query Designer using Nav Attr of a Nav Char InfoObject
Hi
SCENARIO
I have a Char InfoObject POSTFI[POSTFI is Navigational Attr] with 3 Navigational Attributes included in the InfoCubes.
1. ZINREPIND Reporting Indicator
2. ZFITMCD01 Statement 01 Financial Item
3. ZPCNR1 Profit Center Indicator
NOTE: All the above mentioned Nav Attr are properly set as Nav Attr and Active, Check and Rechecked.
We have 2-InfoCubes Current and Historical[both have same Structure].
A MultiProvider is build using the above 2-InfoCubes and the Char InfoObject PostFi is included in the MultiProvider.
Now I am trying to Create a Report using Query Designer and in that I have to Create a RKF[GrossSales1] and
the Condition for which is KeyFigure=FINAMT, where POSTFI_ZFITMCD01 = 5010, POSTFI_ZPCNR1= Y
PROBLEM
I can see the Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1 in the main Screen of the Query Designer's LeftHandSide Pane containing KeyFigures and Dimenions under Dimension Financial=> PostFi=> Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1.
While creating the RKF on KeyFigure FINAMT I am just able to see the InfoObject POSTFI[in its resp Dimension] in the
Display RKF GrossSales1 Screen in the Left Hand Side Pane where we see the KeyFigures and Dimensions.
But I am NOT able to see the Nav Attr's ZINREPIND, ZFITMCD01, ZPCNR1 anywhere in the LHS Pane of the Display RKF GrossSales1 Screen.
Now I cant Create the RKF bcoz I cant see the 3NavAttr's of Char InfoObject PostFi it the LHS Pane and the 2-Nav Attr required for creating the RKF.
Can anyone PLEASE let me know How can I see/bring these Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1 in the LHS Pane of the RKF Creation Screen to add them to make my RKF ?
Thanx in AdvanceHi
As per your explanation, below are the details
POSTFIPOSTFI --- This is navigational attribute which has below 3 objects as navigation attrs.
1. ZINREPIND Reporting Indicator
2. ZFITMCD01 Statement 01 Financial Item
3. ZPCNR1 Profit Center Indicator
first one, could you please confirm whether POSTFIPOSTFI is main info object or it is attribute of another info object.
If it is attribute of another info object, then the last attibutes(3) are called Transitive attribute(attributes attribute).
Reporting on Transitive attributes is only possible with the creation Info Sets.
If my guess is correct, then create Info Set based two info cube now create the query.
Hope it will work
Regards,
Venkatesh. -
Unable to find my InfoArea in Query Designer
Hi all,
Iu2019ve created an InfoObjectCatalog, InfoArea, DSO and an InfoCube. The data source, transformation,DTPs are all active and the flat file is loaded into the cube. I've the data also in the cube. I want to create a query out this cube that I created. But when I open query designer and look for my info area, I donu2019t find it. I searched for Info Area in Find but it says u2018No objects foundu2019. I can't find any of the objects i.e. either the cube or the Info Area.
My question is why canu2019t find any of the objects that I created inspite of all the objects being active? How do I locate my objects in Query Designer that I created in BI backend?
Please advise.
Thank you.
TR.Hi,
You need to create the Query first to Find the Info Area (relevant to that Query)
You can search the Info Area Manually (if you dont have Query also) provided You need to say New at Query designer Standard Menu.
Hope it helps -
Deletion of QUery view via Query Designer or via Web interface
Hi,
We have deployed SAP BI 7 with Web access only for user.
Only some Key users are allowed to use Query Designer.
In fact, all users can create view through Web analyzer. However, they have no way to delete these views.
It appears that view deletion is only available through Bex Analyzer...
Does anybody know a way to delete view from Web analyzer or at least through query designer ?
Thanks for your answers,
Regards
Erickhi,
If you want to delete the view in web then you need to change your web template
http://help.sap.com/search/highlightContent.jsp
Check the following links
Web Application Designer for Beginners
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
Web Application Solutions: A Designer's Guide
http://www.lukew.com/resources/webapplicationsolutions.pdf
http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
Feautures of WAD in 7.0
http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6
regards
abi -
Reflecting cube in query designer
hi
can any body tell me that i have created one cube and that cube which i have created that i want should also reflect in my query designer how should i make it reflect in query designer
regards
gurkiranHi,
For creation of query on cube please follow the following path
Start -> all Programs -> Business expolrer -> Query Designer
it will ask for Login.
after login query-> new -> find your cube and create report and save it.
Regards,
Ganesh -
Constant selection in query designer
hi guys
please explain abut
constant selection in query designer 7.oHi,
For ex if you had designed a MP using the IC's and DSO's in which if all the fields are not in common with both the info provides used in the MP you will get the results in 2 rows and the values for the ones which are not in common will be displayed as # in the results.
This can be the case in Infosets as well.
to over come this we use "constant selection"
Check the below link which explain the constant selection with an example.
http://sapbi101.blogspot.com/2010/05/constant-selection-in-query-apples-and.html
Maybe you are looking for
-
Hello to everybody. I have a problem using the OutputStream of the response object in a jsp. I use the page to show a pdf document that it's created from a method of a bean. The response.getOutputStream is a parameter of the method and it writes the
-
XL Reporter MetaInfo.xml not found
I ran across an error with XL Reporter and was wondering if anyone has seen this or knows how to resovle it? Below is the error message. Unable to connect to XL Reporter Error! Server communication failed Cause: MetaInfo.xml not found (Please contac
-
Hi All, I want to compare 2 values in same internal table. like. belnr qty qty1 1234 12 1 1234 12 2 I want to compare belnr value and put qty = 0 if belnr is duplicate. like belnr qty qty1 1234 12 1 1234 00 2 please help
-
SQL MP 6.5.1.0 Monitoring Replication Publications and Susbscriptions
I am setting SQL replication monitoring and the discoveries are going well. However, the Publications and Subscriptions are showing "Not Monitored". I have enabled every discovery and performance rule I can find. I haven't found any monitors for eith
-
Windows Access Bridge from C# (WindowsAccessBridge.dll)
Hello- Does anyone have sample code for how to call into WindowsAccessBridge.dll from C#? I'm able to build, run, and debug through the Ferret and Monkey samples from Visual Studio .NET 2005, but that's native C code. I think I've distilled it down t