Discoverer "ALL" aggregation level
Hello everyone, i'm working with discoverer desktop and plus.
I've a question about the page element of discoverer.
When i'm working with "complex" measures such as ratio of sums i'm experiencing a problem since i choose in one page element the button "ALL".
Discoverer seems not to be able to aggregate different measures then simples sums count avg and so on (only in the case i choose ALL ... if i choose just an element in the page element bar, it usually works).
There is any workaround to solve this ?
thank you a lot.
Regards
I agree with Michael. Its probably an issue with the aggregation bhaviour of Discoverer. We had a sinilar problem not this complicated. You might want to try the steps mentioned below. This helped us in resolving the summation issue.
Make sure you have in pref.txt file under [Application] section:
AggregationBehavior = 1
AllowAggregationOverRepeatedValues = 1
Make sure you have in pref.txt file under [Database] section:
EnhancedAggregationStrategy = 4 - there are other options for this parameter you can choose
Run script applypreferences.sh.
Restart your iAS instance and re-testing the problem with totals.
You can also check Metalink SR # 7435435.993.
Similar Messages
-
Aggregation level disactivation.
Hi All.
In our solution we use multiProvider and several aggregation levels based on it. When we are updating something in multiProvider all aggregation levels become inactive.
It is very boring to activate each aggregation level by hand.
Does anybody know how to do it automatically or by ABAP code?
Best Regards,
Andrey.Hi,
the following report reads all aggregation level using g_iprov as InfoProvider and activates the aggregation levels:
*& Report ZGD_TEST_ACTIVATE_ALVL
REPORT zgd_test_activate_alvl.
TYPE-POOLS: rs.
PARAMETER: g_iprov TYPE rsinfoprov,
g_objv TYPE rsobjvers DEFAULT 'M'.
PERFORM run.
*& Form run
text
FORM run.
DATA: l_t_return TYPE STANDARD TABLE OF bapiret2,
l_s_return TYPE bapiret2,
l_subrc TYPE sysubrc,
l_t_alvl TYPE STANDARD TABLE OF rspls_alvl,
l_s_alvl TYPE rspls_alvl,
l_t_alvl_iobj TYPE STANDARD TABLE OF rspls_s_rfc_alvl_iobj.
SELECT * FROM rspls_alvl INTO TABLE l_t_alvl
WHERE infoprov = g_iprov
AND objvers = g_objv.
CHECK l_t_alvl IS NOT INITIAL.
LOOP AT l_t_alvl INTO l_s_alvl.
CALL FUNCTION 'RSPLS_ALVL_CHANGE'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
IMPORTING
e_subrc = l_subrc
TABLES
i_tk_alvl_iobj = l_t_alvl_iobj
e_tk_return = l_t_return.
CHECK l_subrc = 0.
CALL FUNCTION 'RSPLS_ALVL_CHECK'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
i_objvers = rs_c_objvers-active
IMPORTING
e_subrc = l_subrc
TABLES
e_tk_return = l_t_return.
CHECK l_subrc = 0.
CALL FUNCTION 'RSPLS_ALVL_ACTIVATE'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
IMPORTING
e_subrc = l_subrc
TABLES
e_tk_return = l_t_return.
ENDLOOP.
ENDFORM. "run
Regards,
Gregor -
Mass activation of Aggregation level
Dear all..
How to do the mass activation of all Aggregation level in Modeler at one instance. while collection tp we have to activate the individual aggregation level, its more time consuming.
I have lot of aggregation levels to activate, any solutions.
Regards
PeraselHi there,
Create this program (it was referenced by a SAP note) in se38 transaction:
*& Report Z_ACTIVATE_ALVL
REPORT Z_ACTIVATE_ALVL.
TYPE-POOLS: rs.
PARAMETER: g_iprov TYPE rsinfoprov.
PERFORM run.
*& Form run
FORM run.
DATA: l_t_return TYPE STANDARD TABLE OF bapiret2,
l_s_return TYPE bapiret2,
l_subrc TYPE sysubrc,
l_t_alvl TYPE STANDARD TABLE OF rspls_alvl,
l_s_alvl TYPE rspls_alvl,
l_t_alvl_iobj TYPE STANDARD TABLE OF rspls_s_rfc_alvl_iobj.
SELECT * FROM rspls_alvl INTO TABLE l_t_alvl
WHERE infoprov = g_iprov
AND objvers = 'A'.
CHECK l_t_alvl IS NOT INITIAL.
LOOP AT l_t_alvl INTO l_s_alvl.
CALL FUNCTION 'RSPLS_ALVL_CHANGE'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
IMPORTING
e_subrc = l_subrc
TABLES
i_tk_alvl_iobj = l_t_alvl_iobj
e_tk_return = l_t_return.
CHECK l_subrc = 0.
CALL FUNCTION 'RSPLS_ALVL_CHECK'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
i_objvers = rs_c_objvers-active
IMPORTING
e_subrc = l_subrc
TABLES
e_tk_return = l_t_return.
READ TABLE l_t_return INDEX 1 INTO l_s_return.
CHECK l_subrc <> 0 OR ( sy-subrc = 0 AND l_s_return-type = 'S' ).
CLEAR l_t_return.
CALL FUNCTION 'RSPLS_ALVL_ACTIVATE'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
IMPORTING
e_subrc = l_subrc
TABLES
e_tk_return = l_t_return.
ENDLOOP.
ENDFORM. "run
This will mas activate your aggregation levels built on InfoProvider.
Diogo. -
How To Delete Aggregation Level
Hi Experts,
When i am installing the business content some Aggregation Levels installed(because i selected grouping as before and after ), Now i want to delete the those Aggregation Levels.
but in my system RSPLAN T-code is not working(after going to RSPLAN when i click on start modeler or wized its showing page cannot be displayed in IE), in my project we doesn't Require IP, so its not configured.
Please sugget me how can i delete those Aggregation levels.
Thanks,
ChandraHi Andrey,
Thanks for u r information by using this function module i deleted all aggregation levels except two aggregation levels,
but when i am trying to delete
0INM_A05, 0INM_A03 these two aggregation levels its giving dump, i deleted all the queries which are in these aggregation level even though unable to delete these aggregation levels.
Please sugget solution.
Thanks,
Chandra -
Error : Reading from Aggregation Level not permitted
Hello Gurus,
Could somebody please give some help or advice regarding this?
I have a multiprovider on a regular cube and an aggregation level, for some reason the multicube gives me the following error message when I try to display data using listcube.
Reading from Aggregation Level is not permitted
Message no. RSPLS801
Also the Query on the multicube does not display data for any of the KF's in the Agg Level but when I create a query on the Agg level itself it is fine.
Any suggestions?
Thanks.
Swaroop.
Edited by: Swaroop Chandra on Dec 10, 2009 7:29 PMHi,
transaction LISTCUBE does not support all InfoProviders, e.g. aggregation level are not supported. LISTCUBE is a 'low level' to read data from the BW persistence layer, e.g. InfoCubes. Since aggregation level always read transaction data via the so called planning buffer and the planning buffer technically is a special OLAP query LISTCUBE does not support aggregation level.
Regards,
Gregor -
Aggregation level activation problem
Hello experts.
I have a problem with activation of aggregation level with abap program. When I debug the program i saw error like 'BWTK907074 BEX report is unavailable.' . Its a request code. Now i dont know how to pass this step and activate aggregation level.
Best Regards
Bilal
"If it is Nescessary my code is:
REPORT z_activate_obj.
DATA stat TYPE rsobjstat.
DATA cube TYPE rsinfocube.
TYPE-POOLS rsds.
DATA : rspar_tab TYPE TABLE OF rsparams ,
rspar_line LIKE LINE OF rspar_tab.
DATA zaglevel LIKE STANDARD TABLE OF rspls_alvl.
DATA wa1 LIKE LINE OF zaglevel .
ZFI_M01
SELECT SINGLE infocube objstat
INTO (cube,stat)
FROM rsdcube
WHERE objvers EQ 'A'.
IF stat NE 'ACT'.
PERFORM act_mpro USING cube.
ENDIF.
SELECT *
INTO TABLE zaglevel
FROM rspls_alvl
WHERE objvers EQ 'A'
AND objstat EQ 'INA'.
LOOP AT zaglevel INTO wa1.
PERFORM act_agglevel USING wa1-aggrlevel.
ENDLOOP.
*& Form ACT_mpro
FORM act_mpro USING p_cube.
rspar_line-selname = 'P_AREA'.
rspar_line-kind = 'P'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'X'.
APPEND rspar_line TO rspar_tab.
rspar_line-selname = 'SO_MPRO'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = p_cube.
APPEND rspar_line TO rspar_tab.
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname ,
print_parameters TYPE pri_params.
CONCATENATE 'Activate' p_cube INTO name SEPARATED BY space.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
SUBMIT rsdg_mpro_activate WITH SELECTION-TABLE rspar_tab
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
ENDIF.
ENDFORM. " ACT
*& Form ACT_AGGLEVEL
FORM act_agglevel USING p_agglevel.
DATA: l_t_return TYPE STANDARD TABLE OF bapiret2,
l_s_return TYPE bapiret2,
l_subrc TYPE sysubrc,
l_t_alvl TYPE STANDARD TABLE OF rspls_alvl,
l_s_alvl TYPE rspls_alvl,
l_t_alvl_iobj TYPE STANDARD TABLE OF rspls_s_rfc_alvl_iobj.
data zreturn like LINE OF l_t_return.
CALL FUNCTION 'RSPLS_ALVL_CHANGE'
EXPORTING
i_aggrlevel = p_agglevel
IMPORTING
e_subrc = l_subrc
TABLES
i_tk_alvl_iobj = l_t_alvl_iobj
e_tk_return = l_t_return.
CHECK l_subrc = 0.
CALL FUNCTION 'RSPLS_ALVL_CHECK'
EXPORTING
i_aggrlevel = p_agglevel
i_objvers = 'A'
IMPORTING
e_subrc = l_subrc
TABLES
e_tk_return = l_t_return.
CHECK l_subrc = 0.
CALL FUNCTION 'RSPLS_ALVL_ACTIVATE'
EXPORTING
i_aggrlevel = p_agglevel
IMPORTING
e_subrc = l_subrc
TABLES
e_tk_return = l_t_return.
loop at l_t_return into zreturn.
WRITE zreturn-message.
ENDLOOP.
ENDFORM. " ACT_AGGLEVELHi,
Check the link and manupulate your code accordingly..
[Activate all the Aggregation level of underlying multi provider;
Thanks
Pratyush -
How data update when there is two planning cubes in one aggregation level
If we have two planning cubes and a multi-cube includes these two planning cubes.
then we have the aggregation level defined based on this multi-cube.
if the characteristics and key figures defined in aggregation level all are included in these two planning cubes. When we plan the data with plan query based on this aggregation level, which plan cube will be updated with plan data, or both of them?HI Wang,
yes as Bindu said you need to restrict the layout based on the infoprovider.
Lets assume that we have a multi provider M1 and it has two planning cubes cube1 and cube1.
in case u develop a layout for updating cube 1 give the restriction in the filter section as infoprovider = cube1.
or the vice versa.
Else ur layout must input values for both the cubes simultaneously, then in that case create two restricted KF with each having a restriction for cube1 and cube 2.
so wen the user enters value for the first restricted KF it will get saved in cube1 and wen he enters value for the second restricted KF it will gets saved in cube2.
This is how it works. Guess this was useful to u.
Regards.
Shafi. -
How to use evdre to display all the levels under the node user choose
I used SELF,LDEP(6) in the memberset of evdre trying to display all the 6 levels from the top node of NetIncome, all the display all the level with the correct amount except the top node which is displayed in the row key, but all the cell which should be the aggregation of all it's children is blank, if I choose only self, it shows the amount with only top level. how could I all the level and the corresponding amount display?
Hi,
Did you try SELF,ALL ?
Hope it works...
regards,
Raju -
Planning level to be added in aggregation level
Hi,
Currently my aggregation level has the following elements:
1. Plant
2. Sales Group
3. Cutomer
Now I need to change from Plant to Customer Plant. Following are my queries on the same:
1. Can I add customer plant in addition to plant in the aggregation level?
2. Hence forth I would be doing planning on customer plant level, will that be an issue?
3. Will there be any issue with the historical data already planned at plant level?
Kindly help me with the above issue.
Regards,
BhushanHi Bhushan,
1. You can add freely your additional characteristic and your model will technically keep on working ,of course you will need to adjust the filters and functions to the new aggregation level of data
2. Again you will need to adjust your business logic in all components of the aggregation level (filters ,functions)
3.Historical data is apearing currently under Customer Plant = '#' ,you should consider reposting historical data in order to align current with historical data
Regards,
Eitan. -
Aggregation Level in not prepared to run on HANA
Hello Experts,
I've the following system configuration:
CPMBPC 810: SP 0001
POASBC 100_731: SP 0005
HANABPC 810: SP 0001
Hence we've PAK and BPC license too for working with PAK.
Now, I've created an Aggregation level: ZTPM_AG01 on top of a Multiprovider which encompasses 2 real time and 1 standard cube. By default all three are HANA Optimized.
Then why I'm getting a red traffic light for both the aggregation level 'ZTPM_AG01' as well as the MultiProvider as shown below:
I've gone through below link:
How to Check whether a Planning Function or a Disaggregation in PAK is executed in Memory
and noted that we were in alignment for the most of the below points except the one in bold:
Is note 1637148 implemented?
Is the system switched to PAK (see note 1637199)?
Is the InfoCube HANA optimized?
Is the InfoCube/DataStore Object entered in the list of HANA optimized InfoCubes?
Is a characteristic relationship type exit or type hierarchy used in the InfoProvider?
Is a data slice type Exit used in the InfoProvider?
Is any virtual object used (virtual InfoCube, master data with own read class etc.)?
Is a key figure type TIMS or DATS used (input enabled)?
Is the user parameter RSPLS_HDB_SUPPORT set to ‘HDB_ON’ (if necessary, see note 1637199)?
Global emergency exit switch is not set using report SAP_RSADMIN_MAINTAIN with parameter object RSPLS_HDB_PROCESSING_OFF with blank or empty value.
I've made user parameters RSPLS_HDB_SUPPORT to HDB_ON.
Can you please let me know, what am I missing here ?
Thanks & regards,
JomyDear DonB evis!
I had exactly the same problem with lightroom as you:
"C:\Program Files\Adobe Photoshop Lightroom\lightroom.exe
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
Event log indicates, that "Component identity found in manifest [inside Lightroom - Microsoft.VC80.MFC.MANIFEST] does not match the identity of the component requested".
The theory is that files called manifests tell the system loader that application X (here: lightroom.exe) depend on assembly Y (Microsoft.VC80.MFC). This very CRT assembly is a shared one, and it resides in C:\Windows\WinSxS\.
SO this is a problem of your Windows not Lightroom, which refers to windows shared element which cannot be found (due to .NET installation and policies mess).
Side by side assemblies use publisher configuration files (POLICIES) to globally redirect applications and assemblies from using one version of a side-by-side assembly to another version of the same assembly.
There is a problem on certain machines caused by Windows SP1 to .NET 2.0 which causes problems messing with policies and redirecting applications from using proper shared assemblies.
After installing SP1 (which installs with Windows Update) to .NET 2.0 on those machines it was impossible to reinstall .NET unless you delete the policies inside the C:\Windows\WinSxS\Policies\ folder (I do not know exactly why, but it was my case and several other people too).
In my previous post I described you the process I did two days ago on my system (WinXP Pro with SP2) and after that lightroom start to run.
I am sorry you are experiencing such difficulties, but I would not post my way of solving the problem if I did not test it successfully on my system.
Hope you manage to solve it.
Best regards. -
Problems creating aggregation levels over a Multiprovider
Hi experts,
When I create a aggregation level over a multiprovider the system returns an error " Infoprovider XX cannot be used for definition". I have read other threads with the same question and its solutions. I have checked my system and all is correct. The multiprovider has linked five infoproviders, one as real time.
Any Idea?
Please, it is very urgent to solve this.
Thanks a lot in advance.Hi Mayank and Ravi,
I have checked the identification of chars and kf. The realtime cube has five chars and a kf. All of them are assigned with all cubes witch are linked with the multiprovider.
I have tried by removing the realtime cube and the system shows the same error message. I have also tried by reactivating the cubes and multicube.
Any idea?
Thanks. -
Aggregation Level on Multiprovider
Hi All,
I have a planning function on aggregation level built on multiprovider.
When I try to Execute the planning function,the report is throwing an error as below-
*InfoProvider YF2_OTIFA is being used in manual planning or in a planning function. YF2_OTIFA is a MultiProvider or an aggregation level based on a MultiProvider. You are trying to create a data record for InfoProvider YF2MM_C1 but this InfoProvider is not contained in the MultiProvider.
System Response
The data record is invalid.
Procedure
Correct the entries in manual planning or check the parameterization of the planning function.*
Any Inputs?
regards,
RajendraHi Einstein,
Thanks for your valuable answer.
And sorry for delayed responce.
Yes you are right.I am using Web as front end and using data binding with query results.
Can you pls elaborate what you mean by use Infoprovider as a condition in the planning function
regards,
Rajendra
Edited by: Rajendra.Vmath on Jun 1, 2009 8:07 AM -
Aggregation level and planning filter question
Hi,
I have below questions on aggregation levels and planning fitlers.
Scenario: An Aggregation level is built on a multiprovider( Actual Cub1(5 chars, 4 keyfig), Actual Cube2(8 chars, 6 key fig), and Real Time Cube3(8 chars and 3 keyfig)). A FOX copy function has to be built on this aggregation level in which data from cube1 will be copied to cube 3.
1. Does an Aggregation level need to have all chars and keyfigures from cube 1 and cube 3? or it should have structure of Cube 3 only as data will be written to cube 3?
- what are the standard design considerations for defining aggregation level?
2. In planning filter, both cube1 and cube3 are to be restricted or only cube3?
Is it necessary that only target planning cube is to be resricted? In that case how function will get the source data from cube1?
- what are the standard design considerations for defining planning filter?
Please provide some info on this...
any document on design consderations for planning object will be great.
Thanks,
Pundari.Please go thru the following link u will find step by step procedure for IP:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0568315-7727-2d10-d4ba-88ab69e16577?quicklink=index&overridelayout=true
Please provide ur valuable points if it is helpful:)
Regards,
Prasad. -
Dear Experts,
I have 2 questions about aggregation level now.
1) I have deleted an Aggregation Level in Planning Modeler But it's not being deleted from the InfoArea of
BI Modeling section. How do I delete it from InfoArea ?
2) Currently that Aggregation Level is based on 1 InfoProvider.
How do I add another InfoProvider under that ?
Or how do I delete the existing one and replace it with a new one ?
Thanks,
AkashThanks for your help...
Actually I had this aggregation level used in a query and also I did create Filter, Planning Functions and Planning Sequences on it.
So I had to delete the Query first, then Planning Sequences, then Planning Functions and then Filter and finally the Aggragation Level.
And then when I refresh the InfoArea it was still there until I signed out and logged in back to Admin Workbench.
Hope these help for other people out there.
Thanks all.
Akash -
Aggregation level is locked by the Change and Transport Organizer
Dear All,
I have created aggregation level in the planning cube and transported to Production from dev, Once i transported to production i am not able to change the aggregation level in Dev, and also aggregation level is Inactive. Aggregation level YPNC2 is locked by the Change and Transport Organizer. Please suggest how to activate the aggregation level in Dev.
Thanks
ChristopherHi,
Kindly check the following,
1. Is your aggregation level transported properly to the production system ?
2. Was your aggregation level active while you were including it in the transport request ?
3. Did you properly include the aggregation level in the request?
If you find that the answers of all the above questions is "YES", then there should not be any problem in your aggregation level.
Hope this solves your issue, if not kindly get back to me.
Regards,
Balajee
Maybe you are looking for
-
How do I get iTunes to link to the music in a new location?
OK, so right before the hard drive where all my music files originally were located, died, I backed up all my music files the prescribed way via the iTunes support article to a different, external hard drive. I then option-opened iTunes to select the
-
Changing File Adapter target directory - container bounce required?
I edited USPSshipment.wsdl in the FulfillmentESB project to reflect my desired target directory (/home/oracle/usps_ship instead of C:\temp) and then re-registered the project with ESB. The registration completed normally, and I verified that the edit
-
Framework order with reference to contract
Dear All, We make a service contract in which we maintained the short text and Qty as 1 AU in the item overview area and we maintained services in the "Services" tab in the "Item details" area.(We maintained actual quantity in this area) Now we are c
-
<pre><nowiki><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Calendar</title> <script language="JavaScript"> var dDate = new Date(); var dCurMonth = dDate.getMonth(); var dCurDayOfMonth = dDate.getDate(); va
-
Hello, Is there a way to make Mail show a delimiter for mail received today, yesterday and so on? I mean...all I see is a looooooong list of mail and no delimiters (like Outlook used to do, or even Entourage). I can see the google-type of organizing