Aggregation Level authorization Error

Experts,
When i try to create a aggregation level in integrated planning i come across authorization error.
Once i give the technical name and description for aggregation level when i choose transfer, i get this error " NO AUTHORIZATION FOR OBJECT ALVL XXXX"
where XXXX - technical name for aggregation level.
Anyone familiar with this error? Please reply ASAP.

I am also getting same authorization error while trying to create aggregate level in planning modeler. Even in Info Provider tab, whatever real time info cube is specified, I get authorization error.
There was a posting by Cecilia Guerra for similar type of auth error few weeks back. It seems the problem was resolved, but solution is not written. I requested yesterday in the same posting to find out the solution. But no reply yet.  
We have verified that we have authorization for the following new authorization objects
S_RS_ALVL: Authorizations for working with aggregation levels
S_RS_PLSE: Authorizations for working with planning functions
S_RS_PLSQ: Authorizations for working with planning sequences
S_RS_PLST: Authorizations for working with planning function types
S_RS_PLENQ: Authorizations for maintaining or displaying lock settings
But we are still getting authorization error ...
Best regards,
Sanjeeb

Similar Messages

  • IP - Aggregation Level (Authorization Error)

    Hello there.
    We are constantly getting an authorization error when running the a new revaluation function which has been described in the SAP online documentation (Revaluating Planning Functions (with Analysis Web Item)):
    Root Cause
    The initial exception that caused the request to fail was:
    Termination message sent
    WARNING BRAIN (800): You do not have the authorization for component !!AZDCAL205
      MSGV1: ZDCAL205
      MSGV2: REP
      MSGV3: !!AZDCAL205
      MSGV4: 16
    ABEND RSBOLAP (002): No Authorization
    Authorization should be fine, at least it has been up to now when using executing input-ready queries. ZDCAL205 (Aggregation Level) has been mainted in PFCG (object: S_RS_COMP) and under 0INFOPROV.
    Any usefull hint will be awarded.
    Frank

    Hi Frank,
    We have the same issue. What did you do to solve it?
    The suggestions you received are already investigated/done, but don't provide a solution.
    regards, André

  • Authorization Error when running queries built on IP Aggregation Levels

    Hi,
    Did anyone encountered this kind of issue.
    We are in NW04s SP 9.
    When running a query built on Integrated Planning aggregation levels getting authorization error
    " Do not have authorization Component !! ARMMGASL ".  (ARMMGASL is the name of Multi Provider)
    Queries built directly on Multi Provider "ARMMGASL" works fine.
    Security trace doesn't show any failures
    Any help or info on this highly appreciated.
    Thanks,
    Suresh Yalavarthi

    Hi Frank,
    We have the same issue. What did you do to solve it?
    The suggestions you received are already investigated/done, but don't provide a solution.
    regards, André

  • 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 Labde

    Here 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.

  • 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 PM

    Hi,
    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

  • Analysis Authorizations - Aggregation Level ( ':' )

    Dear BW Gurus,
    Greetings!!!
    I have a scenario of migrating the Authorizations from BW 3.5 to BI 7.0 Analysis Authorizations.
    There is a report based on InfoSet. There are about 8 authorization relevant objects among which the user is authorized for 3 Authorization relevant characteristic fields. In the previous version, It was working fine when tested.
    In BI 7.0 Analysis Authorization Concept, I have created the Authorization Object with these 3 Auth relevant fields and assigned to the Role using S_RS_AUTH and then assigned it to a user. When I test the query with that particular user ID, the result was NO SUFFICIENT AUTHORIZATION.
    When I checked the log, there it displayed the other authorization relevant fields for Aggregation level. So, my question is whether I must include the other Authorization relevant fields and restrict them for aggregation level (Value ':') and is it mandatory?
    please guide me in this regard as early as possible.
    Best Regards,
    Priya

    Hello,
    Check st01 and su53 for missing objects then assign objects accordingly in the role or in analyse authorisation .
    Thanks.
    With regards,
    Anand Kumar

  • Authorization for creating Aggregation Level

    Hi Gurus,
    i cant create AL in the planning modeler, i was reading some notes and i got the next questions:
    1- I got in my profile the next auth objects, but still exist the problem, now appears something about Authorization templates for Integrated planning, where i can get this Auth objects? i do this or a Portal or basis Consultant?
    S_RS_PL_ADMIN
    S_RS_PL_PLANNER
    S_RS_PL_PLANMOD_D----
    > Planning modeler(Dev System)
    You need following auth objects
    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
    A portal role is required to use the planning modeler.
    2- I read this note and said about import the support packages, this who can do it? me? a basis?
    IP: Content-transferring aggregation levels
    SAP Note Number: 913852
    Support Packages
    Add to Basket Software Component Release Package Name Download
      SAP_BW 700 SAPKW70007 
      SAP_BW 71 710 
      SAP_BW_VIRTUAL_COMP 700 SAPK-70007INVCBWTECH
    Solution
    Import the specified Support Package or implement the attached corrections into your system
    Support Packages
    Add to Basket Software Component Release Package Name Download
      SAP_BW 700 SAPKW70007 
      SAP_BW 71 710 
      SAP_BW_VIRTUAL_COMP 700 SAPK-70007INVCBWTECH
    3- i think applying these 2 solutions i can solve the problem, i asked because i want to be sure to open a case to the related groups to apply this corrections to continue working, thanks Gurus i will really appreciate it

    x

  • Authorization Error  while executing Workbooks,

    Dear ALL
    We have authorization in place where users are restricted to execute Workbooks PLANT wise.
    For this 0PLANT is kept authorization relevant.
    0PLANT__0COMP_CODE  is Navigational Attribute of 0PLANT also marked as authorization relevant.
    Till now all user were assigned the Analysis authorization A_PLNT_XX as  0PLANT = XX
    But suddenly now the users are getting authorization error of NOT BEING AUTHORIZED .,
    The error log is as shown below.
    Relevant Characteristics for Detailed Authorization Check  
    (Characteristics with Full Authorization Are Not Listed!)
      List of Effective Authorization-Relevant Characteristics for InfoProvider ZMMIMMP05:  
    0PLANT 
    0PLANT__0COMP_CODE 
    0TCAACTVT 
    Subselection (Technical SUBNR) 1  
    Supplementation of Selection for Aggregated Characteristics
      Check Added for Aggregation Authorization:     0PLANT__0COMP_CODE  
      Authorizations missing for aggregation (":")  
    Characteristic  1 
    0PLANT__0COMP_CODE    Empty   
    Entries marked with red do not have aggregation authorization
    You can find more information about this here 1140831
      The authorization check stops here as this selection is no longer needed  
      Message EYE007: You do not have sufficient authorization  
      No Sufficient Authorization for This Subselection (SUBNR)  
    Following CHANMIDs Are Affected:
    51 ( 0PLANT )
      Authorization Check Complete  
    Please let me know the reason for the same.
    Also How can  i track these  changes to avoid such errors
    Regards,
    Ajit

    Hi Ajit,
    The authorization log has been improved constantly and try to make it easy to understand.
    It says:
    Authorizations missing for aggregation (":")
    Characteristic 1
    0PLANT__0COMP_CODE Empty
    Entries marked with red do not have aggregation authorization
    You can find more information about this here 1140831
    So please click the "1140831" which is a hyperlink bringing you to OSS note 1140831.
    The note says:
    1140831  Colon authorization during query execution
    Part 1:  Description of the authorization check
    You require aggregation authorization ("colon authorization") to view
    the values of an authorization-relevant characteristic in aggregated
    form. What does this mean exactly?
    Example:
    The calendar year (0CALYEAR) characteristic is authorization-relevant
    and is contained in the InfoProvider that is in use. You defined a query
    as follows:
    1.  0CALYEAR is in the free characteristics (not in the drilldown)
        without any selections
    - or -
    2.  0CALYEAR does not exist in the query at all.
    In both cases, no 0CALYEAR values are displayed in the query. Also, the
    query is not restricted to any 0CALYEAR values. A colon is required for
    the authorization check in this situation.
    The note contains some more detailed explanation. You could read through it to understand the concept.
    Regards,
    Patricia

  • NO Authorization error when accessing Functional module RH_CUT_OBJECT

    Hi,
    I am getting NO AUTHORIZATIOn error when I am executing SE37-->FUNCTIONAL OBJECT-RH_CUT_OBJECT.
    I also checked SU53 screenshot which says AUTHORIZATION CHECK SUCCESSFUL and there are no errors or missing authorizations highlighted in SU53.
    I switched on the TRACE-ST01 then also the error is not captured.
    I would like to know WHY am I getting NO AUTHORIZATION error.
    I am already having access to T-CODE SE37, SE11, SE80, SMARTFORMS and authorization object S_DEVELOP.
    I need to know this ASAP on why I am getting NO AUTHORIZATION error when I am trying to access the FUNCTIONAL MODULE RH_CUT_OBJECT whereas I am having all the required authorization required for ABAP Developer including SE37.
    Is it something I need change at ABAP code level.
    Please advise ASAP.

    The reason is ..You do not have acess to see/acess the data this FM is trying to acess ...Debug the function module keep a breakpoint at The Raise statement see which authorization you do not have ....BTW this is my guess you are trying to demilit certain objects /infotypes using this FM and delimit basically makes that object non-usable in that system  .So it is quite evident that every one will not have authorization for that .Please post in detail that what is it that you are trying to achieve using this function module .....
    Also you can check with debugging  which authority object is being checked before raising the message and can ask security team to get that added to your profile ....
    Thanks,
    Anjaneya

  • 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

  • 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

  • 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,
    Bart

    Hi,
    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

  • 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,
    Rajendra

    Hi 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

Maybe you are looking for