Authorization problem in executing a Planning Function

Hi All,
We are facing an authorization issue  while executing a planning function in a WAD template.
The error message is :
The planning function ended with errors.
The user does not have authorization on infoprovider YF2IGM37.
But the relevant authorizations have already been provided to the said user for:
S_RS_ALVL,S_RS_PLENQ ,S_RS_PLSE ,S_RS_RLSQ, S_RS_PLST        along with authorization for
Cube, multiprovider, query as well as aggregation layer.
Could anyone pls help us resolving the issue.
rgds,
Nandini.

Check any authorization relevant infoobject user is not authorized for.
For example, if company code is authorization relevant,and in your query any default company code is provided, user may not have the relevant access.

Similar Messages

  • Error when execute a planning function on selected line

    Hello together, 
    we are using SAP BusinessObjects Analysis 1.4 SP9 (1.4.9.3241, Office 2013) and SAP BW 7.3 SP 11 (SAPKW73011).
    When executing a planning function on an selected line in the crosstab, the following error appears:
    The VBA Coding used is from HowTo Execute a Planning Function on Selected Lines in an Analysis for Office Workbook.
    The Code worked fine with an older version of SAP BO Analysis and Excel 2007.
    Going to debugging:
    As you can see in the screenshot, the selected line (Dimension "0PRODUCT") is selected correctly.
    The settings for the planning function are the following:
    Thank you in advance for any advice.
    Best regards
    Alex

    Hello together, 
    we are using SAP BusinessObjects Analysis 1.4 SP9 (1.4.9.3241, Office 2013) and SAP BW 7.3 SP 11 (SAPKW73011).
    When executing a planning function on an selected line in the crosstab, the following error appears:
    The VBA Coding used is from HowTo Execute a Planning Function on Selected Lines in an Analysis for Office Workbook.
    The Code worked fine with an older version of SAP BO Analysis and Excel 2007.
    Going to debugging:
    As you can see in the screenshot, the selected line (Dimension "0PRODUCT") is selected correctly.
    The settings for the planning function are the following:
    Thank you in advance for any advice.
    Best regards
    Alex

  • Execute BPS planning function on opening of web planning layout

    Hi all,
    Does anyone know how to execute a planning function automatically at the moment of opening a web planning layout in a BPS web planning folder(tx code BPS_WB/BPS_WIF0)?
    This was possible in the old BPS planning folder, but does not seem possible in the web planning folders?
    Thanks,
    Rael

    Hello Rael,
    Basically you have 2 options:
    - Use the same trick as in the how to paper "How to call a BPS Web Interface with predefined variable values" (see service market place, alias BW, then BI Planning). In the BSP page you do not set a variable value but use the BPS API to execute a planning function (just call the function module API_SEMBPS_FUNCTION_EXECUTE). When using the url parameters in a similar way as in the how to paper you can call different function modules for different web applications.
    - You can use the application class in the web interface builder and call the function in the "on load" method. There is a how to paper describing how such a application class can be used (Validate key figure values in manual planning - web). Note that there another event is used and thus a check AFTER input is done.
    Well - the second option might be a little more elegant but I think the first one is definitely less complicated and less work...
    Best regards,
    Gerd Schoeffl
    SAP NetWeaver RIG BI

  • Executing the planning function while opening the web interface

    hello all,
    I have created a planning area based on multiprovider.This multiprovider is based on two transactional cube ie,COPA cube and Cost Center cube.
    This planning area is meant for enabling integrated planning.One plans in COPA cube and other plans in Cost Center cube the income statement gets planned based on this two.
    I selected planning items in multiprovider layout to display the income statement.The layout is as follows:
    <b>PlanningItem</b>  <b>Amount</b>
    Net Sales<b>:</b>    9.000,00 INR   (This comes from COPA)
    Sales Overheads<b>:</b> 200,00 INR  (This comes from Cost Center)
    Depreciation<b>:</b> 200,00 INR (This comes from Cost Center)
    Other Expenses<b>:</b> 300,00 INR  (This comes from Cost Center)
    EBIT<b>:</b> 0,00 INR
    Interest Income<b>:</b> 0,00 INR
    Interest Expense<b>:</b> 0,00 INR
    Operating Income<b>:</b> 0,00 INR
    Taxes<b>:</b> 0,00 INR
    Now EBIT planning item is to be calculated from the planning items as follows:
    EBIT = Net Sales-Sales Overheads-Depriciation-Other Expenses
    For this i have created a planning function which calculates EBIT.This function works properly,there are no issues in it.
    My problem is that i want this function to be executed as soon as i open the web interface for my planning application and the result should be as follows:
    <b>PlanningItem</b>  <b>Amount</b>
    Net Sales<b>:</b>    9.000,00 INR   (This comes from COPA)
    Sales Overheads<b>:</b> 200,00 INR  (This comes from Cost Center)
    Depreciation<b>:</b> 200,00 INR (This comes from Cost Center)
    Other Expenses<b>:</b> 300,00 INR  (This comes from Cost Center)
    EBIT<b>:</b> 8.300,00 INR
    Interest Income<b>:</b> 0,00 INR
    Interest Expense<b>:</b> 0,00 INR
    Operating Income<b>:</b> 0,00 INR
    Taxes<b>:</b> 0,00 INR
    Can anybody suggest how to go about this problem?
    Thanks in advance.
    regards,
    Yogesh

    Hi Yogesh,
    as far as i know, there is no standard functionality for that purpose, but there are workaround for it.
    1. Modify the BSP Application.
       Go to SE80 --> Repository Browser --> BSP Application --> your WI name --> page with flow logic --> double click on page1.htm --> Event handler tabstrip --> on the drop down selection press F1 --> add a function module that call you BPS function in specific event (e.g: OnInitialization).
    2. Use WI-Exit Class / WI-Extention (ABAP OO).
    Here you need to create sub class from Class: CL_UPWB_BSP_APPL, and assign the class to your WI. You can then add a function module that call you BPS function in method:
    2.1. Load --> performed only once on intial execution of WI.
    2.2. Initialisation --> called once for each server response.
    2.3. Dispatch --> called at each action and also for each WI component.
    You can see further information in SAP how to paper:
    How to Validate manual input in WEB planning application, New BPS-Features delivered with SAP BW 3.5, etc.
    You can call your BPS function with BPS API FM (See F.Group: UPC_API)
    But there is also more easier way to realize your ebit calculation. If you define your EBIT calc. manually in layout (define with manually defined Lead column). With this way, You will always get your EBIT analog with inputed values.
    Then you add your EBIT calc.function to Layout Component in WI in property: 'Function After Data Change'.
    Best Regards,
    Suan Liono

  • No Authorization error in executing a planning sequence

    Hi,
    We are using BI 7.0 Integrated Planning.
    We have implemented Mark Bernaud's file upload solution. We have used a planning sequence that uploads the file and stores it in a cube. Using it, we are able to upload files without any problem when executing with a SAP User Id which has all the authorizations (the user id has SAP_ALL specified in its list of profiles). Now, we have a requirement where we need to execute the file upload using a user id which has limited authorizations. When we are trying to execute the file upload with the userid that has limited authorizations, we are getting the following authorization error.
    'You are not authorized to execute sequence PL_SEQ_FL_UPLOAD'
    where PL_SEQ_FL_UPLOAD is the name of planning sequence we are using. We have also included the authorization variable in the filters being used as suggested in one of the blogs but this didn't help.
    Could anyone please let us know the authorization objects to be added to the user id to enable access to this file upload.
    Many Thanks,
    Narendra.

    Thank you very much Diogo,
    The objects you suggested were already there. We have successfully traced the error by switching on the trace using ST01. We found the reason for the error to be that display authorization is not provided for S_RS_PLSQ whereas execute authorization is already present for that.
    Once again thanks Diogo.
    Many Thanks,
    Narendra

  • Executing Revaluate Planning Function Javascript Web Application Designer

    Guys:
    Using the Web Applicaiton Designer Javascript API, the best I could do about executing a Revaluate Planning Function is given below, JavaScript function invokeJSreval().
    My objective is to get the percentage from an INPUT_ITEM, INPUT_FIELD_ITEM_1, and pass it to the REVALUATE Planning Function, Z_PF_REVL, that uses a variable Z_RK_REVAL_PERCENT.
    Executing Revaluate works fine directly through command wizard, but I wanted to be able to use it with Javascript API.
    Also, SAVE_DATA command works just fine with JavaScript since its straight-forward one line code sendCommand("SAVE_DATA");
    I think the problem is passing nested parameters and vairables correctly for Revaluate function using JavaScript.
    Appearently, sending Reval command the way I am doing is not working, and the browser does not get anything in response and keeps hanging there.
    I wanted to get you guys' take on this.
    Thanks,
    -Ram
    function invokeJSreval(){
            //creating a command
            var commandREVAL = new sapbi_Command("EXEC_PLANNING_FUNCTION_SIMPLE");
           //creating a parameter
           var param = new sapbi_Parameter( "Planning Function", "Z_PF_REVL" );
          //creating child parameter list
          var childParamList = new sapbi_ParameterList();
         //populating child parameter list
         childParamList.addParameterNameValue( "Variable Type", "ITEM_INPUT" );
         childParamList.addParameterNameValue("Web Item Binding", "INPUT_FIELD_ITEM_1");
         childParamList.addParameterNameValue( "Variable", "Z_RK_REVAL_PERCENT" );
         //assigning child parameter list to parameter
         param.setChildList(childParamList);
         //supply the parameter to the command
        commandREVAL.addParameter(param);
    +     +
        +//send the command     +
        sapbi_page.sendCommand(commandREVAL);

    Hi Ram,
    your coding won't work for several reasons. I suggest to use the wizard to create the basic script. Simply click on the "Create with Wizard" button when you maintain the script item. Then enter the same command that you used for the revaluation button. The WAD will generate the JavaScript for you. It looks like this:
    function executeJS_EXEC_PLANNING_FUNCTION_SIMPLE_EAA( currentState, defaultCommandSequence ){
         //Create a new object of type sapbi_CommandSequence
         var commandSequence = new sapbi_CommandSequence();
         //Create a new object of type sapbi_Command with the command named "EXEC_PLANNING_FUNCTION_SIMPLE"
         var commandEXEC_PLANNING_FUNCTION_SIMPLE1 = new sapbi_Command( "EXEC_PLANNING_FUNCTION_SIMPLE" );
         var paramListSELECTOR_DATA_PROVIDER_REF = new sapbi_ParameterList();         
         var paramSELECTOR_DATA_PROVIDER_REF = new sapbi_Parameter( "SELECTOR_DATA_PROVIDER_REF", "DP_1" );
         paramListSELECTOR_DATA_PROVIDER_REF.addParameter( paramSELECTOR_DATA_PROVIDER_REF );
    commandEXEC_PLANNING_FUNCTION_SIMPLE1.addList( paramListSELECTOR_DATA_PROVIDER_REF );      
         var paramListPLANNING_FUNCTION = new sapbi_ParameterList();         
         var paramPLANNING_FUNCTION = new sapbi_Parameter( "PLANNING_FUNCTION", "PM_REVA_1" );
         paramListPLANNING_FUNCTION.addParameter( paramPLANNING_FUNCTION );
    commandEXEC_PLANNING_FUNCTION_SIMPLE1.addList( paramListPLANNING_FUNCTION );      
         var paramListVARIABLE_VALUES = new sapbi_ParameterList();         
         var paramVARIABLE_VALUES = new sapbi_Parameter( "VARIABLE_VALUES", "" );
         paramListVARIABLE_VALUES.addParameter( paramVARIABLE_VALUES );
         var paramListVARIABLE_VALUE1 = new sapbi_ParameterList();         
         var paramVARIABLE_VALUE1 = new sapbi_Parameter( "VARIABLE_VALUE", "" );
         paramListVARIABLE_VALUE1.setParameter( "paramVARIABLE_VALUE1", 1 );
         var paramListVARIABLE_TYPE = new sapbi_ParameterList();         
         var paramVARIABLE_TYPE = new sapbi_Parameter( "VARIABLE_TYPE", "ITEM_INPUT" );
         paramListVARIABLE_TYPE.addParameter( paramVARIABLE_TYPE );
         var paramListITEM_INPUT = new sapbi_ParameterList();         
         var paramITEM_INPUT = new sapbi_Parameter( "ITEM_INPUT", "" );
         paramListITEM_INPUT.addParameter( paramITEM_INPUT );
         var paramListITEM_REF = new sapbi_ParameterList();         
         var paramITEM_REF = new sapbi_Parameter( "ITEM_REF", "INPUT_FIELD_ITEM_1" );
         paramListITEM_REF.addParameter( paramITEM_REF );
    paramListITEM_INPUT.addList( paramListITEM_REF );      
    paramListVARIABLE_TYPE.addList( paramListITEM_INPUT );      
    paramListVARIABLE_VALUE1.addList( paramListVARIABLE_TYPE );      
    paramListVARIABLE_VALUES.addList( paramListVARIABLE_VALUE1 );      
    commandEXEC_PLANNING_FUNCTION_SIMPLE1.addList( paramListVARIABLE_VALUES );      
         //Adding the newly created command "EXEC_PLANNING_FUNCTION_SIMPLE" to the command sequence
         commandSequence.addCommand( commandEXEC_PLANNING_FUNCTION_SIMPLE1 );
         //Send the command sequence to the server
         sapbi_page.sendCommand( commandSequence );
    Regards,
    Marc
    SAP NetWeaver RIG

  • Sequencing of variables when executing a planning function in IP

    I am using BI Integrated Planning and have created a web application that executes a u201CCopyu201D planning function on the click of a button. The u201CCopyu201D planning function has a number of variables to accept u201CThe Fromu201D and u201CTou201D values. When I click on the button, I am prompted for the variable values. However, I would like to re-sequence the list of variables that appear on the prompt.
    We are on BI 7.0 Support Pack 17.
    Any pointer is appreciated.
    Regards,
    Sanjay Kumar

    Hello Sanjay,
    I am afraid this is not possible. There is no option provided to arrange the order of input variables for a planning function.
    An idea would be to include a query in the web template containing the same variables and arranging them in the query properties; and hide this query in the web template.

  • Authorization problem to execute a report through portal

    Hi All,
    One of user while trying to execute report through portal, getting error message saying that
    "you are not authorized to execute the report XXXXXXX'
    Can not load query <query name> (data provider <data provider name> No authorizations for requested service.
    The report is a web template which is getting executed through portal.
    User is having all the authorizations to execute the report(report autho as well as infoprovider autho also)
    we have regenerated the user roles , done user comparision....every thing is OK.
    Still unable to execute the report.
    Please advice what can be done in this case....
    Regards

    Hi Shaik,
    Are you able to run this report with your user id?
    If so check the role or authorization objects which are missing to the user.
    And also check whether he got portal roles assigned to his profile.
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on May 12, 2009 2:06 PM

  • Execute planning function in Web template for selected row in analysis item

    Hello all.
    I have been trying several different solution for this issue I have, but could not ,make it work. Hopefully, any of you can give me some ideas.
    Initially the scenario seems to be easy.
    I have a Web template were I show a query analysis item with costcenter, plan/act type, user and entry date. I allow single record selection in this item.
    I have a button that should execute a planning function from the plannig modeler.
    The planning function should be executed only for the costcenter and plan/act type which are selected in the analysis item.
    How do I have to link the two objects :analysis item and planning function, so that the planning function is executed with the correct filter? What should be the filter definition (if any expecific things to consider)?.
    Thanks in advance for your help.
    Best regards,
    Alfonso.

    Dear Deepti.
    Thanks a lot for your answer, but it did not solve my issue.
    The problem is that my query is not created over the same agregation level as the planning function is, and as per the link you have sent me it seems to be a prerequisite.
    Is there any other way to do it?
    More in detail, I am implementing a Lock/Unlock mechanissim for planning costcenters. I have a n ODS where I store my costcenetr status(lock or unlock) and I also have a cube where the planning values are stored.
    My query(to select the costcenter to unlock) is done from the ODS, and my planning function is done in an aggreagation level of my cube (this is to lock the costcenter in cube, to avoid incorredct updates while it is unlocked/locked).
    The issue that I have is that I can not find a way to send the selected information from the query to the planning function.
    I hope you have more ideas.
    Thanks a lot.

  • Execute planning function in Web template for selected item in anylisys ite

    Hello all.
    I have been trying several different solution for this issue I have, but could not ,make it work. Hopefully, any of you can give me some ideas.
    Initially the scenario seems to be easy.
    I have a Web template were I show a query analysis item with costcenter, plan/act type, user and entry date. I allow single record selection in this item.
    I have a button that should execute a planning function from the plannig modeler.
    The planning function should be executed only for the costcenter and plan/act type which are selected in the analysis item.
    How do I have to link the two objects :analysis item and planning function, so that the planning function is executed with the correct filter? What should be the filter definition (if any expecific things to consider)?.
    Thanks in advance for your help.
    Best regards,
    Alfonso.

    Dear Deepti.
    Thanks a lot for your answer, but it did not solve my issue.
    The problem is that my query is not created over the same agregation level as the planning function is, and as per the link you have sent me it seems to be a prerequisite.
    Is there any other way to do it?
    More in detail, I am implementing a Lock/Unlock mechanissim for planning costcenters. I have a n ODS where I store my costcenetr status(lock or unlock) and I also have a cube where the planning values are stored.
    My query(to select the costcenter to unlock) is done from the ODS, and my planning function is done in an aggreagation level of my cube (this is to lock the costcenter in cube, to avoid incorredct updates while it is unlocked/locked).
    The issue that I have is that I can not find a way to send the selected information from the query to the planning function.
    I hope you have more ideas.
    Thanks a lot.

  • Error when executing Planning function in BEx Web

    Hi everyone,
    When executing a planning function in BEx Web, via Web Application Designer, I am getting the following error message.
    ABEND BRAIN (178): Common entries are not permitted for plan queries and input queries
      MSGV1: Aggregation level name
    Where do I go wrong?
    Thanks in advance, hope this is enough info.

    Hi  Geerts,
    If i understood well, you have some problem with your query. Please check the query that you have on WAD and wich characteristics did you have on your level (the level on wich the query is based).
    Pls, check the correct execution on that query on Query Designer too. That query is a plan query? it`s ready for input ?
    Hope this help
    Natalia.

  • Authorization Problem in Integrated Planning

    Hello Guys,
    When giving authorization to users we are encountering this error message
    Errors while executing sequence 
    Planning function () ended with errors
    You are not authorized to read the data
    I already Assigned
    - Planning: Aggregation Level
    - BI Analysis Authorizations in Role
    - Business Explorer - Components
    - Data Warehousing Workbench - InfoCube
    - Lock Settings
    - Planning Function
    - Planning Sequence
    and still gettng that error message do I missed something?
    I even assigned * to all of that but still getting the error message

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

  • Javascript to Execute a button or planning function onload of WAD template

    How do I call a javascript to execute a planning function or a button that has a planning function.
    I tried creating a script using script web item and wizard to execute a planning function.  The wizard generated a javascript function that has two parameters currentState, defaultCommandSequence
    I can call the function inside the body tag using OnLoad but what parameters do I need to pass for currentState and defaultCommandSequence.
    Is there any other way of doing.   Any help is greatly appreciated.
    Thanks

    Hi Ravi
    Whatever u hav done is correct. There is no need to transfer any values for the parameters
    currentState and defaultCommandSequence .
    They r automatically derived based upon the current state of ur WAD template and the sequence of commands that you executed till now..
    Try this.. its working fine in my project since long time.

  • Executing Planning Function usind WAD

    Hi Experts,
        I tried to Execute a planning function using WAD.
        Can you please tell me how to see the plan data before actually saving it. As We do in Modeller (RSPLAN).
    Thanks,
    Arshad

    Hi Mayank,
        Thanks for your generous reply.
        I am quite new to BI, so please can you explain in detail how can I display  the trace of the function ( Changed data ) before actually saving it using a query.
    Thanks,
    Arshad

  • Planning function issue

    Hi all,
    I have a copy planning function which copies data from version 700 to the user selected version. I am making user select the values of version from the excel dropdown.Now all the possible versions are included in the characteristics restrictions column and default value for version has just value 700.The problem is that when I execute the planning function I get version "xxx" not included in the selection. When I include this version under default values , I can execute the function but it kills the input readiness of the query.
    Please let me know where I am going wrong.
    Edited by: Nazeer on Sep 24, 2008 10:23 PM

    Hi,
    To execute the function, is it possible for you to create a planning sequence? That way, you would not have to alter your input query to be able to execute your function.

Maybe you are looking for

  • Orange E61i no longer on Orange

    My company issued E61i was an Orange phone - we have now moved to T-Mobile. Orange issued phone derestriction codes, and phone works on T-Mobile SIM. I have a couple of issues ... I do NOT have T-Mobile voicemail, and also did NOT have Orange voicema

  • Opening a PDF into InDesign.

    Hello, I'm new to InDesign and need help importing an existing PDF to modify. I tried following the instructions here: http://bim.wikispaces.com/file/view/How+to+Import+and+Edit+PDFs+in+Adobe+InDesign.pdf , but do not have the option of opening from

  • Catalyst Control Center on the ATI5870 Card in my GX740

    anyone have some tips on tweaking in the CCC? one specific question, should i turn on AMD Overdrive? not really sure what it does, i think i thas something to do with overclocking which i'm not really sure what that is either. what about LCD overdriv

  • Installing Windows XP Pro on a SATA HDD

    Good Evening Everyone,      I just recently purchased the Gateway GT5678 desktop computer it came pre-installed with WIndows Vista. I want to Install Windows Xp Pro on the Serial ATA HDD, unfortunately I need the drivers and/or controllers so the Win

  • Keine Vorschau von PSD-Dateien in Photoshop Elements 10

    Hallo! Wenn ich in Photoshop Elements 10 ein Verzeichnis mit PSD-Dateien öffne, so werden diese nicht mehr in "Minibild" angezeigt. Es ist nur ein ein blaues Icon mit der Schrift PSD zu sehen. Erst beim anklicken mit der Maus wird das Bild unten groß