Cumulated Characteristic in Query Designer
I have a query in BEx 3.5 query design that has a characteristic in rows with a property of 'cumulated'.
I am trying to create similar query using BEx 7.0 Query Designer but don;t see the optino to set property of a characteristic to 'cu,ulative' anywhere.
(I don;t want to set on KF level.)
I have tried following correction from OSS note 1450906 but that doesn;t seem to be helping.
Is this possible in7.0 with latest patches? Where would i set for cumulative characteristic?
Hello Brad,
Take a look at the following note:
1426094 List calculation problem with two structures
Tks,
Diego Ferrary
Similar Messages
-
Query Designer in BI - How to cumulate value and get the Max and Min value.
I want to create a report with query designe of BI 7r. is it possible. the data from the cube will be
Year , Exposed Quantity
1999 , 200
2000 , 100
2001 , -100
2002 , 300
2003 , - 200
2004 , 100
2005 , -200
Calculation should be - Refer the cumulative value field
Year , Exposure Quantity , Cumulative value
1999 , 200 , 200
2000 , 100 , 300
2001 , -100 , 200
2002 , 300 , 500
2003 , - 200 , 300
2004 , 100 , 400
2005 , -200 , -200
An the out put of the report should be Max value ie 500 and Min Value -200.
My question is that is it possible to do in the front end ie in the Query Designer (BI 7) If so how.
Edited by: Parakadavil Chacko Mathew on Oct 8, 2009 3:52 AMHi there,
Create 4 column,
1st will show regular values for the key figure,
2nd will show Cumulative value, in Query Designer, Just right click on the this 2nd key figure properties, calculation tab there you can check on Cumulated option, and define the calculation direction as Calculate along the Column.
3rd will show Minimum value , Just right click on the this 2nd key figure properties, calculation tab calculate single valuea as minimum.
4th will show Minimum value , Just right click on the this 2nd key figure properties, calculation tab calculate single valuea as Maximum.
Regards,
Rajdeep Rane. -
Hierarchy node not available in Query Designer
Hello Gurus,
I can find the hierarchy node variable in BW but it is not available in query designer. Does anyone know what might be the problem and a solution?
Thanks,
MarkHi Mark,
You said you "find the hierarchy node variable in BW but it is not available in query designer".
How did you find the hierarchy node variable in BW? From backend SAPGUI, you will only be able to see the variable in some internal tables like RSZGLOBV. Did you mean this?
For "it is not available in query designer", do you means that when you want to create a hierarchy node variable for this characteristic in Query Designer, you don't find this certain hierarchy node variable in the hierarchy node variable list?
Important thing to notice is that, flat value variables and hierarchy node variables are listed separately. Did you make sure that you have chose to list hierarchy node variables in Query Designer?
Regards,
Patricia -
Dump when trying to display characteristic values in QUERY DESIGNER
Hi Experts,
Life seems to become a struggle with 7.0 for me :-(.
My current problem:
If I try to display characteristic values in Query Designer (left section of screnn, wthin dimensions) system dumps frequently.
It's that kind of dump, that doen't help really (to my oponion)_
What happened?
The exception 'CX_RSR_X_MESSAGE' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_RSBOLAP_BICS_SERVICES======CP' has to be
terminated.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_RSR_X_MESSAGE"
"CL_RSBOLAP_BICS_SERVICES======CP" or "CL_RSBOLAP_BICS_SERVICES======CM003"
"HANDLE_UNCAUGHT_EXCEPTION"
... etc.
BW 79, SP21
GUI 7100.4.14.3136
Any ideas?
Thanks in Advance and Regards
JoeHi Vikram,
Thanks for reply. Reinstalling GUI was successful, but - error still occurs. ..
Regards
Joe
Edited by: J.F.B. on May 28, 2010 3:02 PM -
All Dates displayed for "Characteristic Values" in Query Designer
Hello Experts,
We are on BI 7.0, level 13. I am having an issue within the Query Designer with regards to dates. I have a write-optimized DSO that contains 3 date fields (for example, ZDATE1, ZDATE2, and ZDATE3). Each date InfoObject is of type DATS so the system automatically creates it with reference to 0DATE.
When I create a query in the Query Designer, on the left hand side, I expand the "Characteristic Values" node under each date field. The Query Designer shows the same list of values for each of the 3 dates even though they are not valid values posted in the DSO for those fields.
For example, ZDATE1 only has 1 value posted in the DSO (01/01/2005).
ZDATE2 only has 1 value posted in the DSO (01/01/2006).
ZDATE3 only has 1 value posted in the DSO (01/01/2007).
Bute when I expand the "Characteristic Values" node in the Query Designer, I see ALL THREE values under each date field. I would expect to only see the 1 value posted for the InfoObject in the DSO. Also note that each InfoObject is defined to show "Only posted values in InfoProvider".
It appears that Query Designer will show all values for the reference InfoObject 0DATE instead of the ones posted to the actual InfoObject in the DSO. If I delete the data in the DSO, the Characteristic Values list still remains because they exist in 0DATE. Anyone encounter this before? How can I get the Characteristic Values list to only show posted values for that InfObject?
Thanks for your help!
JThanks for the response. I went into the DSO and right clicked on each of the Date fields. I looked at the Provider-specific properties and there is the option for "Query Exec.FilterVal" which only restricts what values appear when restricting during execution, not during query creation.
Is there someplace else I should look or someplace else I can make change to only display posted dates when creating a query? Thanks! -
Hide a row or column for characteristic value # in Query Designer
Hi gurus,
I would if we could hide a result row / column if one of the characteristic value is #. The requirement is actually to remove the meaningless row / column from the whole result set. For example, I have a char Material Group in the column. Since not every Material is assigned to a Material Group, I will get the following layout:
Material_Group A
Material_Group B
Material_Group C
Is it possible to define in query designer so that the column with # will automatically not be displayed?
Thanks,
MengHi Meng,
I guess we have the same users..
But there is one thing that is going to make a non sense on the report: if you do not display the "#" for material group, then the total of your query by material group will not be the summation of what is displayed on the screen...and if the user explort the information in Excel (pretty sure they will do so), you will have some calls that your query does not balance....
Based on that assumption, tell the users to assign a material group to the materials, so that this unassigned column disappears. You could even give them a control report listing all the parts that do not have a material group
If this is a standard business rule not to have a material group for all parts, then, what you could do is to change the text for empty rows for Material group, then the "#" will disappear and wil be under the text description you defined.
But keep in mind that your data is made of materials which do not have a material group in their definition, noraml or not ?
PY -
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 -
Value for a characteristic changed with an other value in Query Design
I want to change the value for a characteristic (Type) in Query Design (not the description, the value).
In my cube I have these values:
Customer *** Type
22222********SmallCorp
22223********SmallCorp
22224********MedCorp
The report should like:
Customer *** Type
22222********LEGALENTITIES
22223********LEGALENTITIES
22224********LEGALENTITIES
Or only the "SmallCorp" value should be changed in LEGALENTITIES.
How to do that?
Thanks,
DragosYou can write an exit to replace Type SmallCorp to LEGALENTITIES.
But this will reflect in other queries too....
Or If change in modelling is still an option, you can add one more Type 2 in the cube and update in the transformation with Constant = LEGALENTITIES. Use the Type 2 in the queries. -
Restrict Characteristic on value range in Query Designer
Hi,
In 3.5, it was possible to restrict a filter in the query designer on a value range, even if the start- and end values of that range did not exist in the master data.
In 2004s, it is possible to restrict single value filters to a non-existing masterdata value. However, for value ranges, this does not seem to be the case. Do you know any workaround for this?
Regards,
Danielof course, BI 7.0 support value range for restrict.Please kindly release more information about your case .
Value Range
Instead of selecting single values you can quickly gather multiple characteristic values using this next option. This choice provides the following additional options:
1. Between
2. Greater than or equal to
3. Less than or equal to
4. Greater than
5. Less than
And you can reference following URL on this topic
http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm
Edited by: Brian on Oct 22, 2008 3:08 PM -
Query Designer - how to count distinct characteristic values in a column
Hello Experts,
I need to count the number of distinct occurences in a column and use it later for a percentage calculation. I'll give you a concrete example:
Promotion_ID Product Promoted
A ****************** P1 ******** 1
A ****************** P2 ******** 0
A ****************** P3 ******** 1
B ****************** P1 ******** 0
B ****************** P3 ******** 1
C
D
A promotion ID can have more than 1 product associated with it. A product can be promoted (1) or not. A promotion_ID can be also empty (no products C and D)
I need to calculate for each product the percentage of promotions where the product is promoted out of ALL promotions (4) or
P1 25 %
P2 0 %
P3 50%
How can I model this in the Query Designer ? How can I count the distinct Promotion_IDs ?
Any ideas will be appreciated.
Thanks
RadoHi,
Please take a look at the docs below.
https://websmp102.sap-ag.de/~sapdownload/011000358700002762432003E/HowToCount.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af
Regards,
® -
MTD/YTD reporting design, query designer
Hi BI folks,
I have a requirement to build queries through BEx query designer that show MTD and YTD figures. I also have multiple versions/value type built into the RKFs already. I am wondering if there is a way to display YTD/MTD figures, without having to physically restrict them into the RKFs??, (i.e. I would like to have that time restriction sitting on top of the structure as a characteristic).
I am trying to create more flexibility for the end-user, rather that having a huge amount of selections in the structure representing a particular version and time period.
Is there some sort of hierarchy or variable definition that anyone can suggest where I can solve this need?
Thanks.
- BJBJ,
this depends on the environment that you are using, but it is fairly simple to do for MTD and YTD.
as there are multiple variables available to be used for this, I consistently use two in the restriction (but you can play around and see what fits your needs the most). For each structure, you should restrict on the following:
MTD:
Period Characteristic - Restrict to variable 0P_PER3
Fiscal Year Characteristic - Restrict to variable 0P_FYEAR
QTD:
Period Characteristic - Restrict to Value range from period 00 to variable 0P_PER3
Fiscal Year Characteristic - Restrict to variable 0P_FYEAR
The reason you should have the Fiscal Year there is that you can use the text variable to set the column headers.
Be careful that you use the right KF for this. You need the periodic activity for the KF. The reason Period 00 is included as that is where the balance from the prior year is carried over, so if you want to have the YTD values for the Balance Sheet, you would want to include that. This scenario is the only option in BCS, and it doesn't have the Cumulative values.
you can also use the cumulative values, but that depends on how the KF's are set up
Pavel -
Finding Cumulative values in Query
Hi All,
I am developing one Query in which i have to show plant wise last 12 months status of audit.
In this audit i am able to show the types of audits say X,Y,Z perfectly.
But the thiing i want to calculate is the cumulative values of X,Y,Z before the last 12 months.
For Ex: Audit X Y Z Formula(X+Y-Z)
month1 10 20 30 0
month2 10 30 10 30
month12 20 40 20 40
month13 ***(X) ***(Y) ***(Z)..till
Like this i want to develop the report as per the requirement.
Please help how to resolve this issue.
Thanks in Advance.Hi Sathya,
one simple solution is to have a result row at the bottom .
Select appropriate characteristic info object and do not suppress result for it in the query designer.
Please let me know for further clarifications
Regads
Venky -
Text value is not getting displayed in Query designer !!
Dear experts..,
i have created a new query in query designer using my info provider and then selected one field in default value and then trying to restrict that particular field while selecting the restriction in query designer am getting the exact text value but after generating the report instead of text value , key value is getting displayed....so how can i get text instead of key value??
please help me friends....
i have posted in OSS mesage also...i got a reply like...even i didnt understand his reply too...what he is trying to say?
whether can i get text display or not???
can any one help me in this regard???
SAP Reply----
Hello kumar,
After another analysis I have to inform you about general concept of
"compounded characteristics".
A compounded characteristic bounds two characteristics. The technical
name is generated by both technical names of the two characteristics
combined by two underlines "__".
An individual text is only available for one single combination of both
characteristics.
Example:
=======
Compounded characteristic "Famous family name" is a combination of
characteristic "COUNTRY" & "ETHNIC". Technical name: COUNTRY__ETHNIC
Values for Country: USA, Australia
Values for Ethnic: Asian, Latino
Possible value combinations with individual text:
USA & Asian; text: "Ling"
USA & Latino; text: "Sanchez"
Australia & Asian; text: "Chu"
Australia & Latino; text: "Garcia"
(Keep in mind the individual text only valid for the specific
combination.)
In analogy to the issue that you reported, you want to restrict this
compounded characteristic. In the window where you select the restrictedvalue (called Selector) you'll see on the left hand side all available
combinations of the characters with an individual text.
You select family name "Chu" and drag'n'drop it to the right side.
Actually you can only restrict the right compounded characteristic. In
our example you would restrict on characteristic "ETHNIC" with value
"Asian". (When you switch on technical names this comes more clear). Thetext "Chu" is displayed in the context of Selector because you selected
value combination Australia & Asian. But in the end it's just a
placeholder(!) for any combination of characteristic "ETHNIC" and value
#Asian#; in our example it could be USA & Asian "Ling" or Australia &
Asian "Chu").
By leaving the Selector the individual text is gone because now the
context is lost between the two characteristics. You have just a
restriction on characteristic "ETHNIC" with value "Asian". An individualtext can't be displayed because the compounded characteristic is not
specified for this restriction.
You're right, it is confusing when "loosing" the text of a restriction.
But accoring to the concepts of the compounded characteristics it
is a correct behavior.Hi anandkumar,
I belive this issue can be resolved by changing the Query proprties for the perticular field.
Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
__Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
Hope this helps you!!
Best Regards,
Maruthi -
Hello,
I have following scenario in Query Designer:
There is only one characteristic Material in row and 3 calculated Key figures in column Price (Current Year), Price (Current Year -1), Price (Current Year -2). The User gives the current year as Input Variable. It works so far fine.
Query Output looks like:
MATERIAL | PRICE (CURENT Y) | PRICE (CURRENT Y-1) | PRICE (CURRENT Y-2)
1234 |10|20|--
2345|10||
3456|12|--|23
4653|12|13|14
7564|--|2|5
6452|||8
7362||7|
You can see that at least one value of PRICE Current Year/Current Year-1/Current Year-2 per Material is always filled. All Prices are in EUR.
Now my requirement is that I have to build a new Calculated Key Figure in Query designer which should calculate the minimum value of PRICE Current Year/Current Year-1/Current Year-2 per Material.
The new Query Output should look like this:
MATERIAL | MINIMUM (PRICE CURRENT Y to CURRENT Y-2)
1234 |10
2345|10
3456|12
4653|12
7564|2
6452|8
7362|7
I have tried to use Mathematic Function MIN but couldnu2019t get success as few cells are empty. So I cannot use function MIN. When I add empty cell with 0 then the minimum value calculates incorrect. It only works when all 3 cells are filled. How I can solve this problem in Query Designer?
Many thanks for the help.
Edited by: Moha Nan on Aug 26, 2011 1:07 PMHi Moha Nan,
Try this:
PRICE CURRENT Y *
((PRICE CURRENT Y NE 0) *
((PRICE CURRENT Y-1 NE 0) * (PRICE CURRENT Y < PRICE CURRENT Y-1) + (PRICE CURRENT Y-1 == 0))
((PRICE CURRENT Y-2 NE 0) * (PRICE CURRENT Y < PRICE CURRENT Y-2) + (PRICE CURRENT Y-2 == 0)))
+
PRICE CURRENT Y-1 *
((PRICE CURRENT Y-1 NE 0) *
((PRICE CURRENT Y NE 0) * (PRICE CURRENT Y-1 < PRICE CURRENT Y) + (PRICE CURRENT Y == 0))
((PRICE CURRENT Y-2 NE 0) * (PRICE CURRENT Y-1 < PRICE CURRENT Y-2) + (PRICE CURRENT Y-2 == 0)))
+
PRICE CURRENT Y-2 *
((PRICE CURRENT Y-2 NE 0) *
((PRICE CURRENT Y-1 NE 0) * (PRICE CURRENT Y-2 < PRICE CURRENT Y-1) + (PRICE CURRENT Y-1 == 0))
((PRICE CURRENT Y NE 0) * (PRICE CURRENT Y-2 < PRICE CURRENT Y) + (PRICE CURRENT Y == 0)))
replace the NE with the not equal to sign, the post forum doesn't seem to accept thos signs.
Kind regards,
Alex -
Problem with Queries Structures in Bex Query Designer and Universe Designer
Hi everyone,
I have a problem when i try to do a Universe from a Bex Query Designer.
When I use a Characteristic Restrictions in a Structure, the universe only show me the structure without the objects inside it.
EJ:
1) Bex Query Designer
Colunms
(Structure) ZSRT_123
- (Characteristic Restrictions) Reg Guayana
> (InfoObject) 0Product = 'XXX'
> (InfoObject) 0Country = 'YYY'
- (Characteristic Restrictions) Reg Caracas
> (InfoObject) 0Product = 'AAA'
> (InfoObject) 0Country = 'BBB'
Rows
(Structure) ZSRT_456
(Key Figure) Net Sales
2) Universe designer
(Class) ZSRT_456
>(Measure) Net Sale
(Class) ZSRT_123
>(Dimension) ZSRT_123
The universe dont translate the two Characteristic Restrictions in the structure ZSRT_123.
Any information would be much appreciated. Thank you.Hi,
I assume that you are using BOE XI 3.1 SP2.
We have added an option in SP2 to generate or not the L00 level.
Unfortunately this option applies not only on characteristics but also on hierarchies, hierarchies variables and structures: that's the reason why you have no elements belonging to the structure generated.
I recommend to always generate L00 in order to have your structure generated correctly.
This issue will be fixed in SP3.
Regards,
Didier
Maybe you are looking for
-
Hi A vendor has 2 PO's in SAP. On PO A, incorrect amounts(over payments) were GR'ed(Service Entries are being used) and IR'ed. And these amounts were paid to the vendor. Vendor invoiced less on PO B to counter the overpayment. These invoices(with the
-
Determine number of channels on a DAQ card
Is there a function to determine the number of channels on a given DAQ card?
-
Hi all, I configured ADS successfully. I developed a simple application and deployed t ,but throwing an exception.Any one help me out. com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operatio
-
Does OSB 2.6 solaris10 (32 bit) work with solaris 10(64 bit) also ?
Hi, I want OSB 2.6 installer for solaris 10(64 bit). I found the installer for solaris 10(32 bit). Will it work on solaris 10(64 bit) also? If not, how can get it? As in the metalink it does not show download option for solaris 64 bit m/c. Please hel
-
[Help] Installation hangs on "generating locales".
Hello everybody, I tried to install AL. (I love the philosophy and stuff. It's the perfect distro imo.) It worked on my Virtual Box, but when it just freezed on "generating locales". Is this a real problem? Can I solve it? I'm rather new to arch but