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.

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

  • No pop up displayed for user defined variables when executed from a program

    Dear All,
    We have created user entry variables for the characteristic(s) with replacement type as 'User Defined Values' in the planning area.
    When I am running the planning function from BPS0, I am getting the pop up for the variables perfectly.
    But, when I execute this planning function from a program by calling the function module 'API_SEMBPS_FUNCTION_EXECUTE' I am not getting the pop up for the user entry variables.
    Is there any way where in I can get the pop up for the variables when I run the program?
    Regards,
    Srini.

    Srinivas
    You might want to check if the variable has a default value. Try "removing" the defautl value and check if it works.
    Srikant

  • 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

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

  • An error occurred when executing a REMOTE FUNCTION CALL.

    Dear all,
    We have two syetms called DXD and GRD , we have a remote enabled function module in the DXD system , when i am trying to call this Function module from
    GRD system it is going for the short dump, and giving the follwing error,
    <b>Error analysis
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_NO_AUTHORITY"
        on the called page.</b>
    But i do have the access for the DXD system also, i am really struggling to solve this problem, if any lights are there to help me , i will be thank full for then,
    some body suggested for me that we need to maintain the Trusted system tables in the target system.
    Thanks & regards
    Satya.

    first u( user id ) have to get the Authorizations to use RFC ?
    object will be  like S_RFC or some thing like this.
    when u get this kind of error just call /NSU53 then u will come to know which Authorization Object is missing from ur User Profile.
    Regards
    Prabhu

  • How to link the variable entry with the planning function execution

    Hi All,
    I am new to IP , we have a requirement where the user enters the value 2008 for a variable year. Then we are supposed to copy the same combinations for the next four years against which the user will be able to input the key figure values. But i have only 2008 data in the cube, so i need to generate new records for the same characteristic combinations as present for 2008 for the next four years. I am planning to use a copy function for this but how can i trigger this planning function once the user enters the value for the year variable. I want the planning function to get executed once the user clicks OK after the variable entry. Request your valuable inputs on the same.

    Hi Tilak,
    for this u have an option of executing the planning sequence when the web template loads ie. after the variable screen.
    open the WAD.
    go to the properties of Web Template web item. Under the section standard action of the webtemplate, we have a n option to include planning functions under action before rendering.
    If u include your planning sequence in this this will get executed every time the layout loads.
    guess this is usefull to u.
    Regards.
    Shafi.

  • 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

  • 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

  • Error when creating a planning function

    hi,
    I am creating a Planning function type using RSPLF1. Also i have created a custom class for the same. But when i try to create a planning function through RSPLAN, and using this custom planning function type, I get the following error:
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
        at java.util.Vector.get(Vector.java:733)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.hlp.FromToStore2.getToList(FromToStore2.java:74)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.fromto.FromToHelperComp._fillTableFromStore(FromToHelperComp.java:1422)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.fromto.FromToHelperComp._loadAll(FromToHelperComp.java:1825)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.fromto.FromToHelperComp.setAll(FromToHelperComp.java:388)
        ... 53 more
    Can anyone let me know what this means and what I am missing ?

    Hi,
    Generally these error come when we manually enter the value in the Visible and Input column. Instead we should try select value from the Drill down options which gets generated based on the Time Bucket Profile you have selected as input for Planning Horizon.

  • BPC 10.1 Unified - error when selecting a planning function

    Hi BPC experts,
    configured planning function in BW-IP.
    Opened EPM Add-in, went to data processing tab to look for the planning function, Found it but when tried to select the function got the following:
    epm error: object reference not set to an instance of an object
    I did some research and it seems that this error seem to appear for multiple reasons so I am just wondering if anyone seen this error in this context.
    tested it further with as many planning functions I found in BW and got this error message every single time.
    thanks
    Paul

    Hi Paul,
    I've faced with the same issue. Have you resolved it?
    Thanks a lot.
    Tatsiana

  • Unable to view Variables when executing WAD Template in Browser

    Hello Experts,
                           I have designed a Template in WAD and the Query that was attached to the Template has 4 variables, but when i am Executing in Browser i am able to seen only 2 variables, Please let me know what is that Option to be checked so that i can view all my 4 variables in Browser screen.
    Thanks in Advance.
    Regards,
    Vishnu.

    Hello Mr.Janine
                             Yes the ready for input option is checked for all the variables. Now i am able to view all my variables what i have done is when executing WAD in browser, there is an Option ALL to be checked, then all the variables will be displayed.
    Thank u for showing Interest in my Issue,
    Regards,
    Vishnu.

  • Error in report when executing pl/sql function body returning sql query.

    Hi,
    I have used the pl/sql function body returning sql query for creating a report. I have created a datepicker(
    P10_TASK_DATE) which can be submitted.The code is as below
    DECLARE
    v_sql varchar2(3000);
    BEGIN
    if :P10_TASK_DATE is not null THEN
    v_sql:='select
          * from tasks';
    return v_sql;
    else
    v_sql:='select * from discovery';
    return v_sql;
    END IF;
    END;if the date field is empty "select * from discovery" is executed and report is getting generated. But when we give a
    date using date picker the page is submitted and i get "report error: ORA-01403: no data found" even
    though the "tasks" table has data in it. Plz help
    Thanks,
    TJ

    hi
    Please try this
    1. Create 2 region
    1st region source=
    select * from tasks'
    go to the tab -> condition =
    item NOT NULL
    EXpression1 =:P10_TASK_DATE
    this will run whenever the item have any date
    2. open your 2 nd region source code= select * from discovery
    put the condition
    item is  NULL
    EXpression1 =:P10_TASK_DATE
    thanks
    Mark Wyatt

  • Error when execute Load Plan

    Dear all,
    When I tried to execute the Load Plan , I get this error:
    ODI-1551 the dbms_lock acquisition faild with sql exception
    OR06550: ????1?????7.
    PL00201: identifier 'DBMS_LOCK' must be declared.
    OR06550: ????1?????7.
    PL/SQL statement ignored.
    Thank you,

    The link as below maybe helpful
    dbms lock must be declared

  • Invalid column name when executing explain plan

    SQL Developer version 4.0, SQL Worksheet, Windows 2000, Database 9.2.0.6.
    When attempted to run a explain plan on a simple two table join query, it generates error invalid column name. Removed aliases and simplify query to one table row count, and still get the same error. Even tried the schema owner and got the same error.
    I decided to check the explain plan table and found out that it was from an older version. Recreated the explain plan table and was able to run the explain plan.
    I'm just posting this in the event somebody else runs into the same problem.

    This was fixed in the 4.1 or 1215 build. Please update by downloading or check for updates.
    -thanks
    kris

Maybe you are looking for

  • XMLDecoder , unbound =Class.new(ArrayList, AttributeMap, ConnectionSet);

    hello all i am trying to load an old files of my application the files was written ,read using XMLDecoder ,XMLEncoder trying to support the old version ,but i am getting some errors i can only imagine , that some required classes are not suitable sin

  • Where's the download link for X230 Windows 8 beta driver?

    I am trying to download the Media Card Reader Driver for Windows 8 Beta for my new X230i, but there is no download link on the driver details page as below: http://support.lenovo.com/en_US/downloads/detail.page?&DocID=DS030731 Can anybody let me know

  • Jbutton below JTable in the same frame

    Hi All, I want to display a button below the JTable as shown below. [http://s361.photobucket.com/albums/oo52/ufucker_ufaggot/?action=view&current=untitled.jpg] Here is my code: Jbutton savebuton = new Jbutton("save"); table.setPreferredScrollableView

  • Satellite Pro A300-1PK - slow start up in Windows XP

    CPU = Intel Core 2 Duo 2GHz T5800 RAM = 2 GB HDD = 250GB SATA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SATA Controller is set to *COMPATIBILITY* Installation time of Windows XP SP2 is *76 mins* Boot up time without drivers is *1 min 30 secs.*

  • Itunes has changed to Chinese. . including menus. . how to get back to English

    Hello .. left my computer on overnight, with I tunes open.  Was I hacked?  Everything is now in Chinese.  When I go to Language/Region . .it has language listed in English.  I am worried that I am going to lose all my music, podcasts. etc.  I can't r