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

Similar Messages

  • 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

  • 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

  • I cannot determine how to utilize the voice function while in the fitness workout area. On rare occasions it works with a voice summary of my workout and a new summary screen. would appreciate help

    I cannot determine how to utilize the voice function while in the fitness mode. On one or two occassions it worked but I do not know how it was activated. It gives a voice summary and new summary screen for the workout.

    Hi shiva
    Thanks for your help,
    Can you check this coding and revert me back ASAP Please.
    REPORT BDS_GOS_CONNECTION.
    DATA : logical_system LIKE BAPIBDS01-log_system.
           CLASSNAME LIKE BAPIBDS01-CLASSNAME
           OBJKEY LIKE SWOTOBJID-objkey.
    PARAMETERS: pa_lo_sys BAPIBDS01-log_system,
                pa_class like BPIBDS01-CLASSNAME,
                pa_objkey like swotobjidobjkey.
    AT SELECTION-SCREEN.
    CALL FUNCTION 'BDS_GOS_CONNECTIONS_GET'
             EXPORTING
                  bor_id             = bor_id
             IMPORTING
                  logical_sytem      = pa_lo_sys.
                  classname          = pa_class.
                  objkey            = pa_objkey.
             EXCEPTIONS
                  no_objects_found     = 1
                  internal_error       = 2
                  internal_gos_error   = 3.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    clear v_attno1.
    i_object1-typeid = 'BUS2012'.
    i_object1-catid  = 'BO'.
    i_object1-instid = i_yItem-docno.
    call method cl_gos_attachment_query=>count_for_object
       exporting
        is_object = i_object1
        ip_arl    = space
       receiving
        rt_stat   = i_stat1.
    read table i_stat1 into wa_stat1 index 1.
    if sy-subrc eq c_0.
        move wa_stat1-counter to v_attno1.
    endif.             
    CALL METHOD cl_gos_attachment_query=>count_for_object
    EXPORTING
    is_object = object
    ip_arl =    space
    RECEIVING
    rt_stat = lt_stat.
    READ TABLE lt_stat INDEX 1 into ls_stat.
    count = ls_stat-counter.
    *The object has to be a concatenation of your document, like this:
    CONCATENATE object-instid tab-gjahr INTO object-instid.
    ELSE.
    CONCATENATE tab-bukrs tab-belnr tab-gjahr INTO
    object-instid.
    ENDIF.

  • Bypass the error messages while opening the Web Analysis 9.3.1 Report

    I am using WA 9.3.1 to create a few reports. The login users will have some essbase meta-read security filters to restrict the access into certain regions and entities.
    For example:
    user a has the meta-read and read access of @idescendants (east);
    user b has the meta-read and read access of @idescendants (west);
    user c has all the accesses
    However, in the first start-up page (Web Analysis 9.3.1 dashboard), I have a dashboard which contains all the regions access. When user a login, he shall only see his own dashboard (speedometers, etc.).
    Currently the user login will get some error messages (such as "loading document produce error", etc). I wonder whether we can set the message level in Web Analysis so that there is no such error message while the user is opening the reports.
    Thanks

    Karen,
    Thanks for the reply.
    I have checked my Web Analysis report, and I still have the error message of "Error Occur while opening document. Document ID = {0}" while using the some user id to login.
    In my Web Analysis database connection preference, my setting is "user the user id and password". I have verified this (when I use "user a" to login, and in essbase connection, i can see the session with "user a").
    In the WA report, however, I use the multiple-level combo box, so that it can give me different levels of entities, for example, the top level is all regions, the 2nd level is east/west/south/ ec, and the next level is cities, and so on. And if "user a" login, he will be able to see the all regions and east, and then east cities (of course, if he select all regions, there will be no data available).
    Do you think this multiple level combo boxes can be the cause of this error message?
    Thanks a lot

  • Unable to use the Copy function while submitting the program for XML output

    Hi
    when i submit the concurrent program with XML output type, getting the output..
    when i submit he concurrent program using the copy button not able to get the output,
    my observation
    while submitting the program the xml template is not called....
    Diagnostics--> view xml -- able to view the ouput.
    do let me know if any of the steps is missing while registration in the xml responsibility..
    this is only with the custom conc program.. the standard program is working fine...
    do help me out..
    Regards
    Yram

    It's really a little difficult to answer your question without a bit more information. What version of JDeveloper are you using? What's your technology stack?
    If this is JDeveloper 11+g+, with the Fusion technology stack, you can use a technique like the one described here:
    http://groundside.com/blog/GrantRonald.php?title=jdeveloper_11_business_services_cascadin&more=1&c=1&tb=1&pb=1
    If it's JDeveloper 10.1.3, with the default Web technology stack, look here:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#62
    If, as it looks like, this is really a question about generic JSPs (no JSF), you might actually have a bit more success on a generic JSP forum--using scriptlets hasn't really been best practices within JDev since...well, since JSTL became available, really. That was a number of years ago.
    Like I said, there's really no direct way to use Javascript output in a scriptlet--unless you mean something like storing Javascript output in a hidden field, and using the value in a scriptlet on the next request. But by the time Javascript runs, any scriptlet from the current request will already have executed.

  • Prompting for the database logon while opening the report in CMC

    I created a report and saved in the Crystal server 2008 repository.  I set the  default Database configuration as
    report > Schedule > Database Logon > set password
    or tick "Use same database logon as when report is run" in Default Settings > Database Configuration.
    But when I am click on View for the report still it is promting for the database loging name and password.
    is there any other settings required for this.
    Thanks
    Unni

    Moving to BOE forums

  • Error while opening the backup information fom Maxdb

    Hello All,
    I am getting the below error while opening the backup information from Maxdb.
    Backup history file /sapdb/data/wrk/<sid>/dbm.knl corrected in line <xxxx> ; 2012-02-21 07:30:25 can not be convert in to a signed 32 bit integer value
    The full line is as below from the dbm.knl file:
    4F4337C5014C|LOG_000030571|SAVE WARM|2012-02-21 07:16:03|2012-02-21 07:20:49|2012-02-21 07:20:53|2012-02-21 07:21:04|2605155691|2605244F433A01014E|LOG_000030573|SAVE WARM|2012-02-21 07:26:09|2012-02-21 07:30:24|2012-02-21 07:30:25|2012-02-21 07:30:41|2605326357|2605411689|   |<SID>_LOG                                                         |     85344|         0|         0|                                        |
    I am able to open and check this line in the file dbm.knl ; But, i am not getting why this error is occurring while opening the backup information from Maxdb. I am able to view the backup logs through LC10.
    Currently i am getting this error and when i am click on cancel (or ok) getting the blank page.  I am not able to view the backup logs form Maxdb.
    Please give me some hint to resolve this.
    Regards,
    Nagendra.

    Hi,
    Use below procedure
    1. Go to /sapdb/SRD/data/wrk
    2. cp -rp dbm_knl dbm_knl_OLD
    3. vi +<Line in which the corruption occured> dbm.knl
    see there must be a corruption in the given line and it will specified with a green color
    delete that part and make the format as per the above line
    4. save the file
    5. execute the procedure again from Database studio or Database Manager
    (Note: Make sure that you have taken the backup first of dbm.knl file Because any extra entry may cause another corruption)
    (FYI : This file is only log file of successful backups and returns the return-code)
    Regards,
    Paramvirsinh Jetawat
    SAP BASIS Consultant

  • Best way to test the planning function in BI7.0

    Hi
    How can we test the planning function other than the wizard.Can it be tested by creating an input ready query on the aggregation level whcih is created on the top of multiprovider joining real time info cube and standard info cube.
    Kind Regards,
    Sarah

    Testing the planning function in planning modeler and planning wizard is the fastest and the best way to verify the planning function.
    In planning modeler, you have the option of executing the planning function in trace mode which helps you to track the changes before and after execution.
    Moreover, if you want to test the PF on the input ready query, you gotta wait until the query is successfully  created in BEx or WAD.

  • Error while opening the database.--urgent---pls help...

    Hi,
    Got the below error while opening the database.
    Database version is :10.1.0.4.0
    database is in noarchive log mode.
    the database is coming in to no-mount state and mount state quite easily but not able to open the database.
    Got the below error while opening the database.
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:32:39 2008
    Errors in file /xxx/udump/aaa_ora_18737.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:32:41 2008
    DEBUG: Replaying xcb 0xc0000000350c1c18, pmd 0xc0000000353b21f0 for failed op 8
    Doing block recovery for file 2 block 9483
    No block recovery was needed.
    on Sep 29 15:34:01 2008
    Errors in file /xxx/udump/aaa/bdump/aaa_pmon_18723.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:34:04 2008
    Errors in file /xxx/udump/aaa/bdump/aaa_pmon_18723.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    PMON: terminating instance due to error 472
    Instance terminated by PMON, pid = 18723
    Please help me....................

    Hi..
    This ORA-600 refers to a mismatch has been detected between Redo records and rollback (Undo) records.Is better to lock a call with oracle support.Secondly, apply latest patch on the DB.
    I had expereiced the same error, but my DB was in open mode, so i created a new undo tablespace and changed the undo_tablespace parameter and it worked.
    Anand

  • Variables from workbook are not visible in the Planning function

    Hi,
    We're using a workbook with a bunch of queries in it. Every query has a lot of variables declared that are calculated based on two input ready variable that users are required to fill the first time.
    Everything works as expected until the save data function is called, which in turn calls the planning function.
    Here, the user exit variable try to be recalculated again. Unfortunately, this planning function loses track of the two input ready variables that were on the workbook, so the user exit variables have no values.
    Can you please suggest a method so that:
    a) The user exit processing in the planning function "sees" the two input ready variables
    b) The user exit processing is not triggered in the planning function and it's taking the already calculated values
    Let me know if you require further information.
    Best regards,
    George

    Hi,
    the variables in the filter of the query lives in one variable container and the variables of the filter of the planning sequence live in another variable container. They do not know each other. You need to establish a relationship between them. Usually this is done via variable binding for regular variables. For exit variables the variable binding can be done as written above.
    If as in your case you have variables in the filter of the query and you want to use their values in the variable of the planning sequence than you need to store the values somewhere where you can retrieve them in the exit. This can be in a e.g. in shared memory or in the session memory. To do this you need to spend an extra exit variable in the filter of the query. The exit variable reads the real values and stores it somewhere (e.g. shared memory, global parameter of a function group, a class member or something similar). Now as the variable value is stored it can be read in the implemenation of the exit variable in the filter of the planning sequence.
    In total we have 3 variables:
    Variable 1 contains the value which the user keys in and exists in the filter of the query.
    Variable 2 reads variable 1 and stores the value. It needs to be defined in the filter of the query as well.
    Variable 3 reads the stored value and needs to be defined in the filter of the planning sequence.
    Regards Matthias Nutt
    SAP Consulting Switzerland

  • I want my desire url while opening the new tab.. ie when i press ctrl+t i want the google page to be displayed..?

    First i get the blank page while opening the new tab.. but after installing the new add on it was changed to the search engine called "searchq".. so i want to change that to google.. the thing i need is when i open he new tab i want the google page to be displayed.. pls help me ..

    See:
    *[/questions/816181]
    *[/questions/790833]

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

  • Error while opening the Visual composer

    I have downloaded and installed the  following version from sdn.
    SAPNWCE71TrialSP1Preview_CompEnvServer .
    When i am trying to open the VC in browser. it is giving the following error while opening.
    Failed to open the workspace due to the following error : Kits manifest is bad or missing.
    More information : Failed to invoke the function."actionKitsManifest" of the remote service:'LibManager'.
    If you to see the screen shot the error i have uploaded in to the wiki in the following path:
    Visual Composer > Main > Attachments > visualComposerError .gif
    Kindly tell me what is the work around need to be done for this.
    Regards
    Vijay

    Hi I've copied the following section from the VC 6 installation manual.
    It worked from me, maybe it works for you:
    4  Preparing the Visual Composer Client
    Machine
    Visual Composer Storyboard, operating on the Visual Composer server, is the design
    environment in which you create your portal content. It functions as a thin-client application
    that can be accessed from the Internet Explorer web browser of any machine with network
    access to the Visual Composer server. See the Visual Composer User Guide for instructions
    about logging on to Visual Composer Storyboard from a client machine.
    In order to log on to and work with Visual Composer Storyboard, be sure that your Visual
    Composer client machine meets the following software requirements: 
    •  Microsoft Internet Explorer 6.0 SP1or higher
    •  Microsoft XML Parser 4.0
    •  Adobe SVG Viewer 3.0
    Download MS XML parser 4:
    http://download.microsoft.com/download/9/6/5/9657c01e-107f-409c-baac-7d249561629c/msxml.msi
    Download SVG from
    http://www.adobe.com/svg/viewer/install/mainframed.html
    Best regards, Marcel.

  • Error while opening the projects in cProjects

    Hi,
        I am encountering a problem while opening the already created projects in cProjects. The error type is
    The following error text was processed in the system DVR : Type conflict when calling a function module.
    The error occurred on the application server and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_DPR_OBL_PROXY~LOAD_OBJECT_LINKS of program CL_DPR_OLR3_EASYDMS===========CP
    Method: IF_CGPL_ASSIGNMENT_PERSISTENCY~FETCH of program CL_DPR_OBL_PERSISTENCY========CP
    Method: LOAD of program CL_CGPL_ASSIGNMENTS===========CP
    Method: LOAD of program CL_CGPL_PROJECTS==============CP
    Method: LOAD of program CL_CGPL_ENTITIES==============CP
    Method: LOAD_PROJECTS of program CL_DPR_APPL_OBJECT_MANAGER====CP
    Method: LOAD_OBJECTS_OF_OBJECT_TYPE of program CL_DPR_BAPI_SERVICES==========CP
    I request you all to help me out solve this issue if you know.
    Regards
    Nachimuthu Ramesh

    Hi Vivek,
       Thanks for responding to my question. I made changes as per your suggestion and now I am not getting the error message whatever I forwarded. But I am getting another error message 'You require authorization to display Project`. Pls help me out to solve this issue.
                   Thanking you
    Regards,
    N.Ramesh

Maybe you are looking for