Regarding Planning function

Hello,
I have a scenario to fill the plan values of some quantity key figure back to the  planning cube after manually changing it in the plan query.
My plan query displays the data aggregated for 0calmonth.
Now when i changes the value of this quantity field it should be saved in the cube distributed accoring to the different characteristic values.
For this i thought of using distribution by key planning function.
But i could not use this as there are about 5 characteristic in my cube and for every characteristic combination this value of distributed quantity need to be filled.
How can this be done?
Regards,
Pratighya

Hello,
could you please elaborate the solution.
Best Regards,
Pratighya

Similar Messages

  • Regarding planning function & data entry in SEM BPS ..

    Dear All,
    Basically i'm new in BPS & planning function .. :).
    But ..
    Do you know whether there is program that's enable to input data within BPS and planning function ???
    Or ..
    Could we create customized program to input data for its ??
    Could you tell me how to make it ?
    Thanks in advance
    Best regards,
    Niel.

    Hi,
    We have manual layouts to input data in bps. planning functions are used to modify or calculate results from the entered or already available data in the cube.
    Regards,
    sekhar reddy

  • Regarding Planning functions

    Hi,
    I need to understand an existing application,we have a lot of planning functions and webinterfaces.I would like to know the functionality of the planning functions and the global planning sequence upon executing the data.
    When ever i execute the planning functions i get 0 records read and 0 records generated ,Can you please help me with respect to how i can understand the planning fucntions functionality by executing the data physically.
    points will be assigned.
    Thanks,
    Subha

    Hi,
    Open the planning folder in display mode and see what are all planning functions and planning sequences you have and their attibutes. in the sense, whether they are running on opening of the layout or by clicking a button or on save. Then based on that execute the planning functions one by one in sequence in trace mode so you can the data exactly on which function is running. Execution in trace mode will show all the records those are accessed, changed and generated.
    Hope this helps.
    Regards,
    Bindu

  • Use of forecast planning function in Integrated planning

    Hai ,
    Can I Know What is the use forecast planning function in Integrated planning.
    Give me One Example.
    Please tell What i hv to select in aggregation level, Filter, and Planning function for doing forecast.
    Regards
    Kishore.

    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.

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

  • 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

  • How can I create a Text-Input Field in BexAnalyzer for a Planning Function

    Hello,
    i want to create a pre calculation(contribution accounting) for Materials in BI-Integrated Planning. These Materials aren't in the master data. So I create a new Info Object for pre calculated materials with only a material-number as key and a text-description.
    Now I want to write a Exit-Function, which creates new materials in these Info Object. The user should start this function in a planning application in BexAnalyzer. There the user should have the possibility to enter a text-description for the new material. How can I create such a Text-Field in BexAnalyzer and how can I read this text filed in a planning function (exit).
    Thanks in advance

    Hi Jürgen,
    you can create a parameter for this in the exit function and a variable for the parameter. In BEx Analyzer then create a button for the planning function; in the button parameterization use VAR_NAME = , i.e. use an Excel formula here to get the value from an Excel input field.
    The command range should be some 'hidden area' in your Excel sheet.
    But may be you don't need this. Use a characteristic without master data. Then ensure that that the query uses the option 'key' as display. In new lines you can then enter the key, the system creates a SID on the fly (but the text table will not be updated). In this scenario you may take text also from the key. May be you can update the text table (online or in batch) by simply using function modules from function group RSNDI_MD (not released by SAP).
    But observere that the system in BI Planning reads only the active version, i.e. if you change something on the fly the changes may not be visible.
    Regards,
    Gregor

  • How can I get/set the vaule of a varibale in the planning function

    Hi All,
    in the fox I can get the value of a variable using VAR(), but How can I get/set it in a normal planning function?
    any proposal would be very appreciated.

    Hi,
    Call following functions 
    1. To get the current value of a planning variable call funtion
    API_SEMBPS_VARIABLE_GETDETAIL by passing Area and variable name
    2. To set the value of a variable call function
    API_SEMBPS_VARIABLE_SET  and pass planning area name and variable name.
    Award the points if thsi solves your purpose.
    Regards,
    Deepti

  • Error message in planning function

    Hi,
    I have implemented a plausibility check for values in a planning function:
    IF { Z6SLSPRIC } = 0 AND NOT {Z6SLSQTY}  IS INITIAL.
         MESSAGE E000(ZOP1) .
         MESSAGE E001(ZOP1).
         MESSAGE I003(ZOP1).
    ENDIF.
    With raising an error message the data will not be saved. Unfortunately the function sends the message '...ended with errors'. I think this is the cas because of raising an error message. How is it possible to raise an error message without getting the function standard message?
    Regards
    Andreas

    Hi,
    I think the syntax is correct. The function works and give the implemented messages without saving the data.
    After that I get the following message: "Planning function Z6OPF4 ( Z6OPF4 ) ended with errors".
    How is it possible to suppress such system messages?
    I think the function is working fine. The message mentioned above is the result of raising an error message in my code...
    Regards
    Andreas

  • Error while executing planning function with reference data

    Hi,
    I have a two planning functions one is used to upload the file (with out reference data checkbox in planning function RSPLF1) and other planning function ('Referece data'check box is selected in custom planning function RSPLF1) to execute the logic of creating new record along with the flat file data.
    Following data is uplooaded
    Company code | Profit_ctr | calmonth | Amount
    1000                 | 50000      | 01.2011  | 150
    Cube data
    Field1    |  Company code | Profit_ctr | calmonth | Amount
             |  1000                 | 50000      | 01.2011  | 150
    Z1         |  1000                 | 50000      | 01.2011  | 150
    Now I want to change the value from 150 to 200 and when I try to execute with the following data, it is giving dump 'a row with the same key already exists'.
    Company code | Profit_ctr | calmonth | Amount
    1000             | 50000          | 01.2011  | 200
    Ideally in the second execution it should append the new row with Amount value 50 to cube which is the delta value.
    I debugged the issue and found that I_TH_REF_DATA has following data and C_TH_DATA also contains the same records.
    Field1     Company code | Profit_ctr | calmonth | Amount
    #     1000                 | 50000      | 01.2011  | 150
    Z1     1000                 | 50000      | 01.2011  | -150
    Z1     1000                 | 50000      | 01.2011  | 150
    Due to this, record which already exists in C_TH_DATA and trying to append new record with the same combination is failing.
    C_TH_DATA should only contain the source data of Amount 200, but not sure why reference data is coming in C_TH_DATA.
    Could anyone please guide me on how the reference data is getting populated in C_TH_DATA ?
    Thanks in advance
    Edited by: peppy on Aug 3, 2011 5:00 PM
    Edited by: peppy on Aug 3, 2011 8:37 PM

    Hi Peppy,
    C_TH_DATA is hashed table!  According to your post you are trying to append to C_TH_DATA and this results in a dump. Please take a look at the standard planning function to see how SAP is programming the planning functions. E.g. in CL_RSPLFC_REPOST method IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE you can find the following code:
      CREATE DATA l_r_data_wa LIKE LINE OF c_th_data.
      ASSIGN l_r_data_wa->* TO <s_data_wa>.
      CREATE DATA l_r_new_wa LIKE LINE OF c_th_data.
      ASSIGN l_r_new_wa->* TO <s_new_wa>.
    LOOP AT c_th_data INTO <s_data_wa>.
    <s_new_wa> = <s_data_wa>.
    now the SAP code changes the  values, you can do it your way here
    and than write the changes back
            MODIFY TABLE c_th_data FROM <s_data_wa>.
    ENDLOOP:
    Another option is to use the READ statement to check if the record is already in the table. If not, you can use MODIFY otherwise you use INSERT. So you get something like this:
    READ C_TH_DATA from <s_data_wa> transporting no fields.
    if not sy-subrc EQ 0.
      INSERT <s_data_wa> into table C_TH_DATA.
    else.
      MODIFY TABLE c_th_data FROM <s_data_wa>.
    endif.
    Depending on your requirements you can also use the collect  statement.
    If c_th_data shows the reference data as well, you may need to adjust the filter to restrict it to the correct values.
    Hope this helps.
    Best regards
    Matthias Nutt
    SAP Consulting Switzerland

  • Macro Error while executing planning functions or saving data

    Dear All,
    I am getting following error in BEx Analyzer while executing planning function or pressing a save button.
    Note: Excel is 2007 version.
    Cannot run the macro "XXXXXX.xlsx". The macro may not be available in this workbook or all macros may be disabled.
    I changed the settings in Macro Settings (Office Button -> Excel Options -> Trust Center -> Trust Center Settings-> Macro Settings) eventhough it is showing that above message.
    selected ->
    Enalble all macros
    Trust access to VBA project object model.
    If anybody faced this issue kindly reply to this.
    Best Regards,
    SG

    Hello everybody,
    i am facing exactlythe same issue! I am currently running GUI Patch Level 14 and BI Add on Patch Level 10.
    I have also adjusted all necessary settings in Excel Options like Activate all Macros and Trust VBA Coding.
    Does anybody have another Solution.
    As mentioned before Gui Patch 13 and BI Add On Patch 10 obviously arent the solutiuon.
    Best regards
    Janos

  • DS 1.3 changing the value of a variable in a planning function

    Hello,
    i created a planning application with Design Studio 1.3 and one of my planning functions is a revaluation function which uses a variable for the revaluation factor. In Analysis for Office you can set a value for this factor by selecting the planning function and then give a fixed value or set a reference to a cell in your workbook. However in Desing Studio i don't see my variable under my planning function and i also couldn't find a script command to use for this problem because the variable is not known to Design Studio. Right now i can only set a default value for the variable in SAP BW (RSPLAN) but i would like to let the user enter a value at runtime of my application.
    Anyone already had a similar problem and can confirm that it is not possible to access variables used in planning functions or has found a way and can tell me how to achieve this?
    Greetings,
    André

    Hi Andre,
    we are using the revaluation function type, too.
    For setting the variable for the factor you should use the following script:
    <ds_planningsequenceOrFunctionAlias>.setVariableValueExt("<techNameOfTheVariable>", <value>);
    It could be possible, that you cannot see the variable in the value help (strg + space) after inserting the planning sequence or planning function to your Design Studio application.
    Please, enter the technical name of the variable manually, it should work.
    We have no problems. In our application the variable is filled by an input field value.
    Kind regards
    Patrick

  • SEM BPS - Planning function to distribute total value over months

    Hello,
    We use SEM BPS. In fact we use the integration of SEM BPS in the CRM opportunity component as opportunity planning.
    Now we want to distribute the total value of certain key figures over the months. Either equal distribution or increasing distribution like 1% increase every month. What would be the best way to do that with a planning function?
    We need to take into account that the number of months depends on the start and end date of the transaction (opportunity).
    Best regards,
    Thomas

    Hi Thomas,
    I would probably create a fox formula, do a foreach in selection loop over the months and distribute the values within that formula.
    If you want to use a standard distribution function, you need to create the reference data somewhere before, which could be a bit difficult if the timeframe changes according to user selections.
    regards
    Cornelia

  • Planning function to change date field value in layout

    Hello experts,
                          I have 1 BPS layout with 2 date fields ( Start date, End date ). With a filter conditions, set of data comes in BPS layout on execution and 2 date fields also contain some value...I want to change values of these 2 dates...both the date fields are char infoobjects..in BPS layout, in planning function I got only 1 function ( Repost function ) to change the value of char infoobject based on some condition. but date field value is not the status field...i want to enter new date instead of old date..if i right exit function in that also i can change only keyfigs values..so please help me to solve this problem..
    Thanks & Regards,
    Priyanka Joshi

    Hi Priyanka,
    As of now master data planning is not so flexibly supported.
    Still u can refer the below link which is enhancement of standard Repost function,and can be used to change master data.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92]
    As far as my knowledge goes u cannot directly input date in rows.
    regards,
    Rajendra

Maybe you are looking for