BLANKS as Zero in the query designer
Hi,
I had a restricted KF for which there are no entries in cube (for the restriction) or the KF values are 0 in cube....
When i execute the query...i ma getting the Blank for that KF....how can i convert BLANK into 0 in the report
My requirment is to show 0 for all Blanks
Thanks
Try to use calcualted key figure as follows with res. Key figures as follows
(Res Key figures "is not initial") * res key figure.
Now system will display 0 where ever you get blank.
Do reply with comments.
Similar Messages
-
Creating formula in the Query Designer
Hi,
I have a KF which I have to convert in to different unit in the query ( x/data)
The problem is some of my data in the cube is zero (0) and when I use division, it shows me error (red X) in the query output.( Divide by zero)
Is there any way to skip this division if the data is zero? How can I set my formula in the Query designer?
Thanks
M Kumar.Hi,
Please use the NDIV() or NOERR() function outside of your expression and it will take care of the division by zero.
See here for details:
http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/content.htm
Hope this helps... -
Master data is not getting displayed in the Query Designer
Hi,
I have a DSO in which I have an InfoObject called Emp No. in the Data Field.
The Emp.No is being maintained as master with (Emp Name, Address, Telephone No, DOB) as attributes.
I have loaded the data in the Emp. No. master. Then tried loading the transaction data in DSO.
The Emp.No is there in the DSO active data, but in the query designer its not getting displayed.
Hope its clear.
Please help.
ThanksHi,
I have brought the Emp. No. in the Key Field and also have activate the master data again.
Yet my Query Designer doesn't have the Emp. No.
I have done a full load for both Master and Transaction.
Please advice me what the other alternative.
Thanks -
How to hide a single value node hierarchy in the query designer
Hi,
I would like to perform a calculation in the infocube. It concern a count "Nb of different customers" with the following hierarchy : Country / region / City.
This KF would be read at the same time by city, region and country, and certain customers exist in 2 different region, and I have to count them only once by country.
To do this, I added a new record (at the country level when loading infocube) to deduct a number of customers in doubloons.
This line added contain only a country code and the number of cutomers in doubloons (- 23 when I have 23 cutomers in doublons) with revrese sign.
Now, I would like to use this value (-23) to have a right Nb of different customers by country, without showing the not assigned line in the report hierarchy.
How can I hide, in the query designer or the WAD, a single value node from hierarchy (NOT assigned) but take in account the value (-23) at the country level ?
Is there another solution (more simple) to perform this in the infocube ?
For information,
1) The infocube is loaded once per month, and the KF (Nb of different customers" is also performed by month.
2) I can't perform this in the report (performance problem with calculated KF).
thx.Hi,
the short answer is "you can't", the longer is: The ADF Faces tree component is stamped for better performance. This stamping means that nodes are not rendered as JSF objects but copies of an existing component (just with a changed value). For this reason the nodes don't issue their own query for data and thus cannot be refreshed individually
Frank -
Error in while Executing Query in the Query Designer
Hi,
I created info Set based two info object and three Data Store Objects. and join condition is Left Outer Join.
there are Business Partner info object, CRM BP Sales View Info Object and Data Store Objects are BP: Roles (0BP_ROLE),Partner: Industries(0BP_IS),CRM Marketing Attributes for Business Partner(0ATR_DS01)
I given some Selection Parameters while executing query in the Query Designer. in That i given city is selection parameters
and i creted variable for this info object.
it gives the Error Messages
Beim Lesen der Daten sind Fehler aufgetreten. Navigation ist möglich
Der Wert "New Delhi " von Merkmal 0CITY40 enthält an der 10.ten Stelle einen Fehler
it is very urgent , can any one help me regarding this.Hi Reddy,
The Error message in english is this
While reading the data mistakes have appeared. Navigation is possible
The value " New of Delhi " from sign 0CITY40 contains a mistake at the 10.ten place
and i think you need to run the change run and run the report with out selecting the variable option.and navigate in the report by filtering the report for your requirement.
Try this and let me know.
Thanks,
RK -
G/L Account Numbers missing in the Query Designer
Hi Experts
New G/L Account numbers are been added to some items like Rebates & Discounts. These G/L Account Numbers are been seen in the RSA1 and are not present in the Query Designer. So i want to know the procedure to update these G/L Account numbers in the Query Designer, Can you please help me.
G/L Account Numbers in RSA1 = 718 and in Query Designer it is 661 so please guide me to update the rest of the G/L Account nos in the query designer.
Thanking you
Regards
Mrudul.
Edited by: Mrudul Naidu Cherukupalli on Feb 1, 2008 5:23 PMYes, the problem is with the extractor
It is not been enhanced because i am working on SAP BW 3.1C and its been implemented in 2004 and since then it is not been used properly.
The Datasource is 0EC_PCA_3 (Enterprice Controlling line items).
Yes i maximized to 1000 records per call and searched for the G/L Account E16411 which i cannot find in the cube.
When i checked the results with R/3 i found the totals are doubled and when divided the Key figure Net of Credit and Debit by 2 i got the some results correctly(Sales Revenue, Sales Revenue of Exports and Sales Revenue of Domestic)
I Checked the Service Marketplace and found the note which should be implemented to rectify the error of duplicating the records,
Can you please help me to update the G/L Accounts in the datasource.
My Development System contains more then 2000 G/L accounts in the cube (query designer).
Thanking you,
Regards
Mrudul. -
How can i reuse a structure in the query designer in 3.5
Hi all,
we are using the version BW 3.5, now how can i reuse a structure made int he query designer, because i need it in another query, i did the structure and put it a technical name and save, help guysHI Richard,
Create a Structure in Rows/columns and save As it, then in the left Panel of the Query Designer you can see three Folders
1) Structures
2) Keyfigures
3) Dimensions
then Expand the structures Folder, there you can find your saved structure, Structures are 2 types
1) With Key figures
2) Without Key Figures
If you have the key figures in your saved structure, then you can find it in the subfolder of with Keyfigures, else in the other folder.
Now you can use this structure by draging in all the queries which are on the same InfoProvider (CUbe. MultiProvider)
Regards
ReddY A -
Attribute not visible in the Query Designer
Hi,
I am not able to see 0BPPartner as attribute of object 0Customer in the Query designer .It is marked as display attribute.For some user its visible & for Some not.
Please help me its very urgent.
Thanks & regards,
AnitaHi Anita,
As you stated earlier that some users are able to see it and some are not then it surely is a Authorization/Profile issue. Speak to the BASIS/person who manages this to resolve the issue.
Bye
Dinesh -
Providing access to Variables in the Query Designer
Greetings experts and fellow consultants,
I have a simple question, did a search and did not come up with much of an answer. Currently, we have a system with a role for BI Power Users in order for them to create ad-hoc queries. An issue we found was that these power users were not able to view variables within the query designer:
Under the "Characteristic Restrictions" pane, the variables show up as (Display Not Allowed) under their associated InfoObjects. This is presenting an issue (understandably) and I would like to provide access for these power users to see the variables.
My question is, are there any circumstances where I would want to restrict which variables are shown to the power user? Right now, I plan to allow display access to all variables (via S_RS_COMP+S_RS_COMP1 for those informed on Security). Just trying to brainstorm on whether there might be scenerios where I would want to hide certain variables.
Many thanks to all opinions, as always!Suresh, in my above post I knew how to enable this. I just wanted to know in regards to security whether there were any exposures. Apparently, I could not find any and the changes went through without issue. The way you enable display of variables in the Query Designer is the following:
S_RS_COMP:
RSINFOAREA '*'
RSINFOCUBE '*'
RSZCOMPTP 'VAR'
ACTVT '03'
S_RS_COMP1:
RSZCOMPTP 'VAR'
RSZCOMPID '*'
RSZOWNER '*'
ACTVT '03'
Hope this helps. Of course, adjust the field values are you see fit but the minimum requirement is that RSZCOMOPTP 'VAR' (Variables) and ACTVT '03' (Display). -
Curerency conversion for a Formula in the query designer
Hi
I have a ' Financial Loss Formula' in the report. I want to convert this 'Financial Loss' into USD Currency at query designer level.
Source Currency = SAR
Target Currency = USD
So how can i do the curerency conversion for a Formula in the query designer.
pls let me kow
kumarHi,
If you define your query conversion in BW then it is easy to do currency conversion through Bex.What you need to do is use calculated key figure instead formula and do a right click select properties there at the currency translation area you ca select defined currency conversion in BW and your target currency.
/people/rasim.manavoglu/blog/2007/04/30/currency-currency-currency
Regards. -
'Display as hierarchy' in the Query Designer
Hi,
Can anyone highlight some points or importance of 'display as hierarchy' in either rows or columns in the query designer. Also could someone put some thoughts on the 'new structure' in the query designer, is it just that we can create some new selection and new formula from the structure or is there any other explanation for its existence. Any kind of explanation would be greatly appreciated.
Thanks,
Anjali.Hi Anjali,
display as Hierarchies:
simply enables you to select and use hierarchies for that InfoObject if available.
Structures:
you can create structures with or without keyfigures. Structures give you a great deal of flexibility and consistancy in your reports. Eg. you can create a structure that gives you a drilldown on char selections that are different for each line or column. We use that to "simulate" divisions in a drilldown that we don't have backed up by masterdata.
Also structures enable you to keep reports consistant by using the same global structure eg. for all Contribution margin reports
Hope that helped,
regards,
michael -
Restrict the values in the Query Designer
Hi Gurus,
I want to Restrict PLANT or SALES ORG values in the Query Designer, in the Query, PLANT has selected in the rows and having variable and SALES ORG is display attribute of the PLANT. In this scenario How can we Restrict the values?
Thanks in Advance,
Ravi.Hi Ravi,
You cannot restrict values on the display attributes. Better change it to navigational attribute and check the box as navigational in the cube.
Regards
Ram -
Currency conversion in the query designer level
Hi
Iam calculating the 'Financial Loss' in the Formula in the query designer.And it comes in SAR(Saudi Riyals).
But i want the 'Financial Loss' in USD in the Query Designer. Because i want the USD Financial Loss to be use in some other calculation.
Please let me know how can we do this one in the query designer. I really appreciate for it .
Regards
KumarDear Ravi,
Basically there are 2 ways to do it: routine & query level.
If query level, you need to maintain it first using tcode RRC1, then you use it in your KF in your query. .
Routine level,
You can create new KF in info-provider, then in the update rules routine, you can use this function to convert the currency :
CONVERT_TO_LOCAL_CURRENCY
Hopefully it can help you a lot.
Regards,
Niel
thanks for any points you choose to assign. -
Suppressing Leading Zeroes in the Query output
Hi,
I have selected a data field(0MATERIAL) as a free characteristics, It displays text and key and the key has leading zeroes.
In the infoobject 0MATERIAL, ALPHA conversion routine is not selected, I can't change and insert the ALPHA right now because it would end up with reloading a large volume of data in different targets. To avoid this or to reduce the impact, in the reverse way,
Could it be possible to suppress this leading zeroes at the query level? I was hoping that there would be a change that I could make at the query level, since it is 0Material and am looking at the point of minimal impact.
Thank You.Hi Senthil,
create InfoObject ZMATERIAL like a copy of 0MATERIAL, delete all the attributes and insert ALPHA conversion.
Insert this ZMATERIAL like display attribute of 0MATERIAL. In InfoSource for 0MATERIAL map also ZMATERIAL with the same field that is feeding 0MATERIAL (MATNL). In your query insert 0MATERIAL and ZMATERIAL, and then hide 0MATERIAL (you need to insert also 0MATERIAL because ZMATERIAL is only in display), you will see only the values of ZMATERIAL, that is the material without the zeros in front.
You can also decide to transform ZMATERIAL like navigational attribute, but in this case you have to change all the structure where do you want ZMATERIAL, because you need to flag it like navigational in that specific structure.
Ciao.
Riccardo. -
Keyfigure value by comparing 2 date fields, in the query designer.
Hi all,
Could any one please intimate, how to display the key figure result with the comparison of 2 date fields.
We are having "Completed Date" say(CDATE) and "Deadline Date"(DDATE) values in the report as time characteristics, dervied from the CRM system.
Now we need to compare the values as:
CDATE <= DDATE, then only consider this under "Meeting Planned Date"(Key Figure).
Could you please intimate, how to display the key figure value, by using the code at the query designer level.
Thanks & Regards,
A.V.N.RaoHi Rao,
Simple create two formula variables with replacement path from these two date fileds,then create a formula then do the comparison
Eg:
ZVAR_CDATE WITH REPLACEMENT PATH PROCESSING TYPE REPLACED WITH OBJ CDATE
ZVAR_DDATE WITH REPLACEMENT PATH PROCESSING TYPE REPLACED WITH OBJ DDATE
CREATE A FORMULA FORMULA1: IN THE FORMULA BUILDER AREA DO THE COMPARISON.
Thanks & Regards
Ramsthota
Maybe you are looking for
-
Effects of reopening closed periods in Asset Accounting.
Hi SAP Gurus, My client wants to open the closed periods in Asset accounting. I have used T Code OAAQ and changed the last closed period. I would like to know what are the effects of opening the closed periods. Will it effect the already posted depri
-
KM iview and redirect to webdynpro iview
In my workset I have a page with an image (iview 1) and a redirect iview (KM iview). This redirect iview reads the screen resolution (javascript) and will pass it to a webdynpro application (so Interactive forms or tables are at the right size). Redi
-
Hi Guys. I'm trying to restore a backup on ACS 5.2 (createad on the same 5.2 ACS system) and I'm receiving the error "failure ocurred during request". Please see attached file. Any idea?
-
NWDS and classpath ...
Hi, each time I sync my WebDynpro-project with the inactive sources from the DTR I get this error message during the build process: <i>The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.security.api.IU
-
I am trying to access a jsf page using http://localhost:9090/appname but i am getting the error "The requested resource (/TPDashboard/) is not available." I have tried out all the answers that have been given to this earlier but am still not able to