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_AGGLEVEL
Hi,
Check the link and manupulate your code accordingly..
[Activate all the Aggregation level of underlying multi provider;
Thanks
Pratyush
Similar Messages
-
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 -
Aggregation level is not getting activated
Hello Experts,
I am working for Integrated Planning(BI 7.0). I have created one Aggregation level and i have transported from Dev to Qty.
After transporting i need to do some changes in Aggregation Level in Dev.
Problem:
When i am trying to change aggregation level in Dev, It is showing below errors.
1) choose an existing request
2) BEx transport request is not available or not suitable
3) Aggregation level is locked by the change and Transport organizer.
Please help me to solve this issue.
Best Regards,
RanganathHi,
Please check if the respective aggregation level is assigned to
a transportable development class. If so, there must be a BEx
request in /nRSA1 created for further processing in this regard either.
The reported message is raised when aggregation level is not assigned
to Bex Transport request. In this case, maybe creating a new transport
request will be helpful.
Please check the following URLs.
http://help.sap.com/saphelp_nw70/helpdata/en/43/c6ba9859c4332ee10000000a11466f/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/38/5ee7377a98c17fe10000009b38f842/content.htm
Regards,
Amit -
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. -
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 query "value help" = Only Values in InfoProv doesn't work
Hi,
I have a problem with Selection Variable for a BEx Query :
- I'm working with SAP BI 7.0 support package 15
- My query is an input ready query built for an "aggregation level" based on "real time infocube" (Planning);
- Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
- Characteristic (info-object) has set the property: Business Explorer tab--> Query Def. Filter Value Selection as Only Values in the info-provider...
My problem is:
when I execute a query,
the Select Values for Variables screen appears
I push on the Select from List button
and Select Values For MyCharacteristic appears...
but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
If I build a query for the Real Time Cube it works correctly, but if the query is built for the aggregation level it doesn't work!
Could someone explain me why it doesn't work correctly?
Thanks in advanced
FedeThanks to Mariana Lazar
30.03.2009 - 12:30:36 CET - Risposta by SAP
Dear Fede,
Regarding the query built on aggregation level please note the following
the aggregation level is always a Virtual Provider built other
InfoProvider and hence it does not have the dimension table and hence
the F4 mode D is not supported.
Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
displayed in the value list.
Reference from the note
984229 F4 modes for input help as of SAP NetWeaver 2004s BI
4. Since other InfoProviders do not have a dimension table, the system
displays only posted values if you select "Only Posted Values for
Navigation". Otherwise, it displays the values from the master data
table.
Hope this should clarify your doubts. Please let me know if you have
questions else please confirm the message at your earliest convenience.
Thank you for your cooperation and kind regards,
@KR@ Mariana Lazar
Senior Support Consultant
SAP Active Global Support
Netweaver Business Warehouse -
Planning Job Aggregation Level
I am running a Background Job (Univariate Forecast Profile). My Selection Profile excludes 3 single values can I still run the model at this level of aggregation "total" excluding those 3 single values. Running the model at the Total should be more accurate than running the model for 22 single values and summing the forecast. For some reason a forecast is no longer being produced? I do get the warning Characteristic of selection not part of aggregation level. I didn't notice any problems the last couple months.
Thanks, experts!Thanks Guarav, please see my comment below.
Ok, I believe I have resolved the issue. I am going to summarize my previous process.
1.Created a Master Profile (forecast) for each Strategy I wanted to test. I would use the same Master Profile even if I changed the Parameters in the Univariate Profile.
2.Used the same forecast Activity, changing each time I changed the Strategy. Planning Job would remain the same.
3.By creating a New Activity & New Planning Job my forecast model appears to be running correctly. The only items I continue to select in the Planning Job Aggregation Level are SourceSystem and Product.
It Appears the best methodology is to set up a separate Master Profile/Univariate Profile for each Strategy & set of Parameters. A separate Activity & Planning Job should also be set up for each Strategy & set of Parameters. This would also have to be done in order to add to an overnight (monthly) Process Chain. -
Query Designer not working with Aggregation Levels on BW 7.30
Hi,
Every time I try to create a query on top of an Aggregation Level that I created with the new ABAP based RSPLAN transaction.
If somebody can help me out I'd appreciate it.
By the way, we don't have the Java stack, but we are currently using BO4's JVM as we're on ramp up.
This is the error that I get when trying to create the query:
QD Revision 667
ERROR ID: E-ONGUIUNHANDLEDEXCEPTION
And this is the error log:
1:42:13 p.m..319: Info: Query Designer Start. Revision: 667
QDbCommandBase::Execute - Standard View
QDbCommandBase::Execute - Table View
QDbCommandBase::Execute - Rows/Columns
QDbCommandBase::Execute - Cells
QDbCommandBase::Execute - Conditions
QDbCommandBase::Execute - Exceptions
QDbCommandBase::Execute - InfoProvider
QDbCommandBase::Execute - Filter
QDbCommandBase::Execute - Documents
QDbCommandBase::Execute - Where-Used List
QDbCommandBase::Execute - Properties
QDbCommandBase::Execute - Properties
QDbCommandBase::Execute - Messages
QDbCommandManager::ItemClickedHandler - Bar clicked: NewQuery
QDbCommandBase::Execute - New...
QDbCommandBase::Execute - Table View
QDbCommandBase::Execute - Rows/Columns
QDbCommandBase::Execute - Cells
QDbCommandBase::Execute - Conditions
QDbCommandBase::Execute - Exceptions
QDbCommandBase::Execute - InfoProvider
QDbCommandBase::Execute - Filter
QDbCommandBase::Execute - Documents
QDbCommandBase::Execute - Where-Used List
QDbCommandBase::Execute - Messages
QDbCommandBase::Execute - Table View
QDbCommandBase::Execute - Cells
QDbCommandBase::Execute - Conditions
QDbCommandBase::Execute - Exceptions
QDbCommandBase::Execute - Rows/Columns
QDbCommandBase::Execute - Filter
QDbCommandBase::Execute - InfoProvider
QDbCommandBase::Execute - Properties
-EXCEPTION-START- 1:42:52 p.m..416: TRACE EXCEPTION ---
Exception Name: TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
Exception at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
at com.sap.bi.et.QueryDesigner.QDpPropertyBase.PropertyGet(Object iPropertySource, String iPropertyName)
at com.sap.bi.et.QueryDesigner.QDpPropertyBase.ValueGetDefault(Object iPropertySource)
at com.sap.bi.et.QueryDesigner.QDpPropertyBase.pValueDefault()
at com.sap.bi.et.QueryDesigner.QDpPropertyBase.ValueDefault()
at com.sap.bi.et.QueryDesigner.QDpPropertyBase.ValueResolved()
at com.sap.bi.et.QueryDesigner.QDpPropertyMulti.SetFirstProperty(QDpPropertyBase iProperty)
at com.sap.bi.et.QueryDesigner.QDpPropertyMulti.Add(QDpPropertyBase iProperty)
at com.sap.bi.et.QueryDesigner.QDuPropPageQuery.ToDialog()
at com.sap.bi.et.QueryDesigner.QDuPropPageBase.ToDialogCore()
at com.sap.bi.et.QueryDesigner.QDuPropPageBase.set_CommandContext(QDbCommandContext Value)
at com.sap.bi.et.QueryDesigner.QDuPropPages.EnablePage()
at com.sap.bi.et.QueryDesigner.QDuPropPages.ContextChangedHandler(Object iSender, QDbCommandContext iCommandContext)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.ContextChangedEventHandler.Invoke(Object iSender, QDbCommandContext iCommandContext)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.OnContextChanged(QDbCommandContext iCommandContext)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.CalculateContext(QDcView iViews, QDeAreaType iAreaType)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.CalculateContext(QDbElement iElement)
at com.sap.bi.et.QueryDesigner.QDbCommandPropertiesQuery.ExecuteCommand()
at com.sap.bi.et.QueryDesigner.QDbCommandBase.Execute()
at com.sap.bi.et.QueryDesigner.QDbCommandManager.CommandExecute(QDbCommandBase iCommand)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.InitialCommandExecute(QDbCommandBase iCommand)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.DoExecuteCommandInternal()
at com.sap.bi.et.QueryDesigner.QDbCommandManager.DoExecuteCommand(QDbCommandBase iCommand)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.ItemClickedHandler(Object sender, BarItemClickedEventArgs args)
at com.sap.bi.et.QueryDesigner.QDdEventDispatcher.MenuItemClickedHandler(Object iSender, BarItemClickedEventArgs iE)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.OnItemClicked(BarItemClickedEventArgs args)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs args)
at com.sap.bi.et.QueryDesigner.QDiBarItem.OnItemClicked(EventArgs args)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
at Syncfusion.Windows.Forms.Tools.XPMenus.BarRenderer.OnMouseUp(MouseEventArgs e)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Full Stack: at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
at com.sap.bi.et.common.appl.Log.Trace.Exception(Exception ex, String iAdditionalInformation)
at com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
-EXCEPTION-END----
-CALLING-FROM- 1:42:52 p.m..416: TRACE EXCEPTION ---
at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
at com.sap.bi.et.common.appl.Log.Trace.Exception(Exception ex, String iAdditionalInformation)
at com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()Hi,
it seems that you are already using the most recent query designer version. Is your SAPGUI also the most recent version? If yes, open a OSS ticket. If not reinstall the SAPGUI and the BEx tools. I am also working with this query desinger version and I don't have this kind of problem.
Regards,
Gregor -
When i try to create Filter on aggregation level the system gives me error
Hi BI Guru's,
I am facing a problem BI - IP .
When i try to create Filter on aggregation level the system gives me follwoing error.
"Authorization check of component failed"
"You do not have authorisation for Add or Create".
"Could not create Filter "
Please let me know if have any solution for this
Thanks & Regards,
Nilesh LabdeHere are list of auth objects for BI IP
S_RS_ALVL --> aggregation levels
S_RS_PLSE -->planning functions
S_RS_PLSQ-->planning sequences
S_RS_PLST-->planning function types
S_RS_PLENQ-->maintain and display lock settings
Authorization templates for Integrated planning are
S_RS_PL_ADMIN
S_RS_PL_PLANNER
S_RS_PL_PLANMOD_D----
> Planning modeler(Dev System)
A portal role is required to use the planning modeler. -
Aggregation level doesnt support non-cumulative kf
hello
IP planer generates an error "Infoobject 0AMOUNT (version A) is not compunded" when I include non-cumulative kf into aggregation level of infoprovider.
KF ZAMOUNT is non-cumulative and depends on 0AMOUNT. Both kf are active.
I need non-cumulative kf just for informative purposes, i dont want to plan with this kf.
Does anyone know is it possible to use non-cumulative kf in aggregation level of multicube?Hi,
no non-kumulative key figures are not supported in aggregation levels.
But one can use a MultiProvider on the cube with the non-cumulative key figure. Create an aggregation level for the objects you want to plan and use this aggregation level also in the MultiProvider. Then you can integrate the 'plan objects' and the non-cumulative key figure in a query defined on the MultiProvider.
Regards,
Gregor -
Customer Exit in query on aggregation level
Hi,
I try to have variables filled with a customer exit.
The coding of the customer exit is correct, this have been tested in queries on multiproviders.
Unfortunately it is not working when these variables are used on level of aggregation levels.
What I would like to achieve:
We have some planning queries on aggregation levels. Different users can plan on the same query (and aggregation level), but not for the same set of data. Therefore the query should be restricted to the authorized values. Unfortunately we can not switch to the new authorization concept (analysis authorizations) yet, but we already need this functionality very soon.
The customer exits are the only possible option. Unfortunately it seems that the customer exits are not being executed when the variables are used in queries on aggregation levels.
The variables are not ready for input and should be filled in I_STEP = 2
Is this normal? If so, is there a work around?
Thanks in advance for quick replies!
Kind regards,
BartHi,
You can debug your query by putting the break-point in your exit code and execute the query in RSRT. This way you will be able to find if your customer exit is actually being called or not. If it is being called then there can be some logical problem with your code due to which the variable values are not getting populated.
Regards,
Deepti -
Aggregation level includes filter objects...
Hi,
We are using a BO universe on top of a BEX query to create WebI reports.
We now run into the following problem when filtering on a certain characteristic in the BO query.
The result set of rows is limited to the correct values, but not aggregated up to the requested aggregation level. The problem exists whether the key figure is defined as having an aggregation to be database delegated or sum.
In the query results we see the number of rows being pulled back is too high, the results displayed are correct (because aggregated by WebI). In the example below we selected three stores, but not store as a result object.
*** Query Name:Query 1 ***
** Query Properties:
Universe:Retail Sales and Stock
Last Refresh Date:9/2/10 2:29 PM
Last Execution Duration: 33
Number of rows: 4,947
Retrieve Duplicate Row: ON
** Query Definition:
Result Objects: Style Code, NSLS @ PCS
Filters ( Only RMS Billing Documents Infoprovider
AND Given Legacy Division Set
AND Given Currency Conversion Type
AND Store Key In List { 1001; 1002; 1003 }
AND NSLS @ PCS Not Equal 0
We cannot attach a document, but the actual amount of rows should have been 2,856,
the number of different style in these 3 stores.
When we include the store object in the results, we can see the number of rows stays the same (proof that it did indeed return rows on a store level and not aggregated upt to the style code...
*** Query Name:Query 1 ***
** Query Properties:
Universe:Retail Sales and Stock
Last Refresh Date:9/2/10 2:09 PM
Last Execution Duration: 13
Number of rows: 4,947
Retrieve Duplicate Row: ON
** Query Definition:
Result Objects: Style Code, Store Key, NSLS @ PCS
Filters ( Only RMS Billing Documents Infoprovider
AND Given Legacy Division Set
AND Given Currency Conversion Type
AND Store Key In List { 1001; 1002; 1003 }
AND NSLS @ PCS Not Equal 0
Is this behaviour fixed in any fix pack? Or did noone address this problem?
The problem becomes a real problem when the user wants to select everything u/i a certain date.
The number of rows are then pulled back on a style/store/day combination and easily reached 100.000 rows.
Thanks for any insight you can give on this,
MarianneHi Rik,
Thanks for at least trying
I didn't try this before, so I just did, despite the fact that the aggregation level only has something to do with the way data aggregates within webi. (I'm that desperate)
No difference, other then the fact that I now get #MULTIVALUE in the cells with multiple underlying rows.
Anyone else?
Marianne -
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. -
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 -
Guys,
I got an aggregation level which is moved for testing. Now we got make some changes in development environment. After I am done with my changes and click on save/activate, its not giving popup screen to save the aggregate level in my request. How do I save te aggr levels in my request?
Thanks.Here is the process I followed to save the aggregation levels in my own request.
My Aggregation levels were inactive. Before activating them, I collected them (inactive aggr levels) into my own request in the Transport connection and then I activated them. So my aggr levels got saved in my own request.
Maybe you are looking for
-
How to find out which keys are pressed while a d&d drop occurs?
Hi, while an item is dropped as part of a drag and drop operation, I would like to know if the user has pressed any keys. I use a TransferHandler for managing the d&d and this works fine with the system dependent modifier keys for move, copy and link
-
Memory leak - Node clean up?
Hey guys, I'm running into a memory leak and was reading some other threads where people were having their own memory leaks. Is there a way through NetBeans to track memory usage or something to figure out what is consuming memory? My memory leak sou
-
Hello, I have been trying to run a program on my PXIe-1065 without success. I think I may be missing a driver or software, especifically LabVIEW Real-Time module on the host and DAQmx on the target which I both tried to install following this steps f
-
PSE 8 Does Not Recognize ACR 5_6 Udate
I updated following the instructions from Adobe's web site, during which time PSE 8 was shut down. The file camera raw.8bi is now the only file in the folder: C:\Progarm Files\Common Files\Adobe\Plug-Ins\Elements8\File Formats. Its properties show i
-
Does Satellite A10 and S1410 have the same hinges?
I need to replace hinges on a S1410 and I found a seller carrying A10 hinges. Toshiba Satellite A10 and S1410 look similar in the photos so I wonder if they share the same kind of hinges. Can anyone help me?