Planning Function in Web Excel Layout

Hi,
I have a planning function of type EXIT which I have incorporated as Function After Data Change in my Web Interface Builder.  According to documentation the planning function should execute when you switch layouts or click "Refresh" or "Save" button.  The function does get executed when I click on Save and in the message container at the bottom it does bring up a error message but then it saves the data as well.  The message is of type Error in red.
Has any one of you exprienced something like this or any idea why it does this?
Thanks
Bhavesh

hi bhavesh,
there is an HOW To :HOW TO...RUN PLANNING SEQUENCES ON SAVE AND OTHER EVENTS (WEB) that resolve this problem.
Regards
Davide

Similar Messages

  • Input Help (F4) does not work for Planning Functions in Web

    Hi Gurus,
    I am working in BI-Integrated Planning.
    When I execute a planning function from web layout (through Web Application Designer), the "Input Help" does not work. When I give F4 it takes me to the initial planning layout screen from the planning function variable screen without any action being performed.
    But the "Input Help" works fine when I have to select for the variable from the initial selection to open the planning layout.
    Can anyone suggest me any fix for this...
    Thanks!!!

    Hi All,
    Can somebody help me here what went wrong with indesign cc extension so that copy/paste does not work in input type element text
    Regards,
    Alam

  • The unassigned symbol # appears in web excel layouts in one specific cell

    Hello all,
    I've got a problem with some web excel layouts where when I open them the symbol # appears in cell F11.
    It does not happen to all the layouts we have created, just to some of them.
    The fact that this symbol comes up means that in order to perform their work the users have first to delete it from the excel, then once they have saved their data the symbol comes back up. It's like as if the symbol was saved in the master excel template. The thing is that it only shows on the web. If I launch the very same layout from BPS0 nothing comes up and everything works perfectly.
    Has anybody come across anything like this? How can I get rid of it?
    Thanks in advance for your help.
    Regards,
    Francesco

    Hi,
    One possible reason is '#' would be part of master data for characteristics that drive the layout and some transaction data exists.Else whenever you leave the selection for characterictic open in the level this would occr in the layout.

  • Problems with planning function in Web Application Designer in 2004s

    Hi All,
    I have a problem in WAD 2004s with planning function. I created a web template that includes a query. It runs on the enterprise portal, and I can edit this query. The problem is: I don't know how to save this edited query, because when I use the button with function save, the new value doesn't appear in the relevant info cube.
    Anybody can help me how to save the new values to the info cube?
    Thanks in advance
    Dezso Toth

    I don't know if you ever resolved this, but you may just ned to change a setting on your query properties.  When data is entered into planning layouts and saved, that data is put into a "yellow" request in the underlying infocube. 
    Until the necessary volume of data is posted which causes this to change to "green", it remains yellow.  Note that this request could also be changed to green several ways.  i.e. manually, by flipping the "real-time infocube behavior" switch, etc. 
    Anyway, as long as it "yellow" your query, by default will not consider it, unless you change it's properties to tell it to consider "yellow" requests.  This can be done via RSRT and pressing the "properties" button.  Choose request status "2" and your problem should be solved

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

  • 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

  • Execute Planning Function while opening layout

    Hi all,
    I would like execute planning function while opening excel layout. Can anyone help me?

    Hi guys,
    Check out the following thread.......Business Planning
    Yes, you can do it depending on which version of SEM/BW Planning you are on...
    Good luck,
    Rael

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • Document Flags not showing on Web Excel

    We are using BW3.5 SEM4.0.
    Documents are added to cells in planning layouts.
    Documents flags are showing up on web and BEx reports. They are also showing up on non-Excel web planning layouts, and Excel Gui layouts.
    The flags are, however, not showing on Web Excel layouts. Althought the document could still be viewed, if you know which cell they are located in.
    Is there a solution to this? Thanks for reading.
    William

    Hi guys,
    I have a related problem: I set up BPS to handle the documents (and I already tested it, it works fine).
    My 4 characteristics are WBS element, version, fisc per, and material.
    Now, I am just creating a web reports that should also display these documents. What do I have to adjust in the Query designer? Do I have to restrict the report to exactly this combination to see them?
    (I have tried Query properties ->Display ->Display Document links, it shows icons per column, but does not display any BPS document I created)
    any help is appreciated
    thanks,
    martin

  • Assignment of filter to planning function in integrated planning

    Dear experts
    I am a bit new in Integrated planning and have a following conceptual question regarding filter object in IP
    In IP it seems that filter is a substitute object for planning package in BSP.
    I however do not see any possibility to assign filter to a planning function except in a planning sequence. I would however imagine to have a functionality to dynamically select the filter when i want to execute a planning function via application (excel based or Web).
    It seems that filter is not even required if a planning function is executed seperately (not as part of planning sequence).
    I have tried to execute a simple copy function without having any filter at all and it works.
    Could someone pls. explain me as to the conceptual difference between object filter and object planning package.

    Hi,
    Filter is indeed used in IP similar to how planning package was used in BPS. There really is no difference 'conceptually'.
    What you have seen is the different options IP offers compared to BPS regarding planning function execution. You can execute planning function directly or using a planning sequence in an application (although in planning modeler, its only a planning sequence that can be executed, for eg., for testing purpose).
    If you just execute a planning function without specifying any restriction, it will operate on the entire set of planning data. Whether its a planning sequence or planning function, the data it operates on can be restricted by binding the various characteristics (or variables) using various DPs in the application. What kind of dynamic selection are you looking at?
    You can see following links if you have not read them already -
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f0f8dc73b56bede10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/44/33a31fd463060ce10000000a155369/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f0f92373b56bede10000000a11466f/content.htm
    These are for WAD; you can find similar links for the BI Analyser.

  • Planning function in layout excel

    Hi,
    i have attached a planning function to a layout excel with standard functionaly.  If i use this layout in a planning folder doesn't work. If i use layout from bps0 it's everything ok.
    Is there any reason ?
    Thanks in advance

    To perform Automatic execution of a function the planning function must be below the Layout and the layout must be an input layout.
    If you open the Input layout hierarchy in the Tcode UPSPM, it will show as Input layout-> Your Layout-> Your planning function.Right mouse click on the planning function in UPSPM, select 'Function Attributes' and select the one of the 5 options which is appropriate for you.
    Hope this helps
    NS

  • 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

  • BI-IP - Bex Analyser - select excel single row and aplly planning function

    Hi experts,
    In BI-IP (BW 7) with Bex Analyser, is it possible to select a single excel row (or a range of rows) and then apply a planning function? I know that in WAD it's possible with the binding option to select a single web item.
    The purpose is to apply a revaluation factor to selected (by the user) cost elements rows in the workbook.
    Thanks and regards,
    MA

    Hi
    It is possibel in WAD to select one or many rows while executing Functions such as--Reposting; Revaluation etc.
    However, you should be in a position to select the rows based on....unique identifier such as Require ID; Request #; Serial #; ....this is more so in case of multiple entries for the same cost element for different combinations.
    Regards
    Srinivas

  • 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

Maybe you are looking for

  • I closed my search bar on accident and cant reopen it how do i get it to pop back up?

    my tool bar to search is gone how do i get it to come back i hint something that closed it on accident

  • Password Authentication System through VoiceXML

    I would like to write a program for password authentication through  VoiceXML, may I know how to get start? The username and password has been stored on a SQL server.  Please help!  My boss gave me a new task but just got limited time to complete.  T

  • Db_writer_process and async IO??

    we have ORACLE 10Gr2 on Redhar AS LInux server version 4.X. I checked one of database init.ora have following setup: db_writer_processes = 2 filesystemio_options = asynch DISK_ASYNCH_IO = true TAPE_ASYNCH_IO = true Based on what I know "db_writer_pro

  • Multiple Date columns  in one fact table

    hi , I have a fact which related to multi date, like bid date, win date, lost date ,etc..., I have create dimension like dim_bid_date, dim_win_date, but if I wan to create a report , the value sum by the month (2012.01-2012.08), I don't know how to d

  • Create custom eco app in NWDI

    Hello Experts, I am trying to create a custom eco app in NWDI by following the How_To_Create_Custom_App_ECO document. When I import the sap.com/SAP-SHRJAV software component in Change Management Service I am getting following error message: import fa