Planning function "Allocation" - enter or upload distribution keys via web

Hey all
We want to use the planning function "allocation" and want to find out, if there is a possibility to enter the distribution keys for that planning function either over a web interface or by flat file upload.
The idea is, that all companies over the world (sender) can maintain their distribution keys (can change every month) themselfs.
We are actually using "BW-BPS 3.5"!
Thanks for your help.
Roger

Hi Roger,
          It should be possible to do it. I have come across a similar situation although the planning function in question was "Distribution using the posting keys".
The layout can be web based where the user enters the different posting key percentages for allowable entries to the different allocation units.
Then once he saves this, and the entries are validated on the front end, you can use an automatic planning function to activate the posting key settings.You will use an user-exit to achieve this.
The user-exit basically initializes the original set of parameter group for that function using "UPF_PARAM_INIT",
for the planning function in question which itself can be found by using "UPF_PARAM_INFO_GET"....
Once you have done this..then you can set your PGroup settings again from the new values.Here you are taking entries from the web/layout..which are stored as some values in another keyfigure(z_dist_factor) etc...and then use the FM "UPF_PARAM_INFO_SET" followed by a "UPF_PARAM_SAVE" to finish and exit out.
I think if you read thru some of the code in the above mentioned FM ,...you can easily construct what you want to achieve.Good Luck.
Sudz.

Similar Messages

  • In R12, can payroll user enter expense report for employees via web-based?

    Hi,
    In R12, can payroll user enter expense report for employees via web-based screen? Previously in 11i, it can be done via the Expense Report forms.
    Appreciate advise on this.
    Thanks in advance.
    Regards,
    Shiau Chin

    Hi Anne,
    Please see page 42 of the [url http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120oieig.pdf]iExpenses Implementation and Admin Guide for R12 . If you are unable to enter the ID as per the guide, I would suggest raising an Service Request with Oracle Support.
    Cheers, Pete

  • Uploading a File via Web Services

    We can't seem to find a way to upload a file without needing
    to POST it to a specific page on the web server. On top of that, it
    apparently also creates a new session in Asp.NET when we do the
    post. How do you guys work around this issue?

    I have solved the problem - for future references or for anybody else having the same problem read below:
    The JavaDoc for HttpOutputStream states the following:
    "There are two constructors for this class, one taking a length parameter, and one without any parameters. If the stream is created with a length then the request will be sent with the corresponding Content-length header and anything written to the stream will be written on the socket immediately. This is the preferred way. If the stream is created without a length then one of two things will happen: if, at the time of the request, the server is known to understand HTTP/1.1 then each write() will send the data immediately using the chunked encoding. If, however, either the server version is unknown (because this is first request to that server) or the server only understands HTTP/1.0 then all data will be written to a buffer first, and only when the stream is closed will the request be sent."
    Constructing the HttpOutputStream with the size of the content to upload solved the problem. I guess the HTTP version was unknown or Oracle only understands HTTP/1.0 (anybody that can clear this up?), causing everything to be buffered (in memory) only to be send when the streams was closed, which in the case of a big file caused OutOfMemeryError.

  • Distribute Planning Function(Using Variables)

    Hi All,
    I'm trying to distribute KeyFigure value between months.
    For example:Between Jan2005 and April2005 i want to distribute values.
    4000 gets distributed as below:
    Jan2005 - 1000
    Feb2005 - 1000
    Mar2005 - 1000
    Apr2005 - 1000
    I want user to select from CalYear/month and To CalYear/month from WebInterface dynamically.
    But,Distribute from Sender to Receiver planning function is not allowing me to use two variables From and To.
    It is allowing me to use only one Variable.
    Could u please suggest me how to use two variables in distribute planning function.
    Thanks in advance,
    Pat.

    Hello Saritha,
    A variable in the BPS can contain a single value or/and a range of values. In the definition of the planning function you can specify an interval by entering the from value and the to value or by choosing one variable containing this interval. This is why the system behaves the way you described it.
    What can you do? Use a variable of type Exit in the definition of the planning function. Use two additional variables in the web interface so the users can enter a from and a to value. Now in the exit (for the exit variable)you read the two values and return the interval. You can find the necessary coding and a more detailed description of such a scenario in the BPS how to guide "How to... Variables of type Exit".
    Best regards,
    Gerd Schoeffl
    SAPNet Weaver RIG BI

  • Planning function type Exits.

    Hi,
      Could you guys tell me about Planning Function Type Exits. It will be helpful, if you guys send some Documents to [email protected]
    Thanks,
    meiy.

    Hi,
    Here is the step by step procedure for that.
    I assume that you have already created a planning level and Planning package.
    1.Double click on planning level
    2.From Context menu of planning Function(2nd panel which lying below the Planng area/level panel)-->create planning function
    3.Enter Tech name and description for planning function
    4.Expand 'all functions' tab -->double click on 'Exit function'
    5.Here you have to provide Function module for initialization(if necessary), and Function module where you have to write the logic, and 'Fields to be changed' and 'parameter name and data element for the same'.
    6.Now create a Parameter group from context menu of Planning function and Provide necessary values as per your requirements.
    Hope this helps

  • Clearing Planning Function variables

    I have a planning function / sequence assigned to a button in my web planning layout.
    The function includes user input variables.
    If the user repeatadly executes a planning function the values that were entered for a variable previously are not cleared.
    Is it possible to clear the variable values so that the user is forced to reenter a new value each time the planning function is executed?
    Thanks
    Ian

    Thank you all for your replies.
    Perhaps I am missing something but I am unable to get the desired outcome, that I am sure is possible.
    First a few points just to clarify.
    We are using Integrated Planning.
    The planning function / sequence uses several variables.
    Most are populated using SELECTION_BINDING_TYPE  >  ITEM_CHARACTERISTIC.
    As seen below the variable for employee is populated from the row selection of my analysis web item.
    This works exactly as expected.  (see XHTML below)
                                  *<bi:BUTTON_LIST type="ORDEREDLIST"
                                  *<bi:BUTTON type="COMPOSITE" index="1" >
                                                        *<bi:CAPTION value="Employee Adjust Pay Increments" />
                                                        *<bi:ACTION type="CHOICE" value="INSTRUCTION" >
    <bi:INSTRUCTION >
                                                                *<bi:EXEC_PLANNING_SEQUENCE_SIMPLE >
                                                                    *<bi:PLANNING_SEQUENCE value="ZPS_0112" />
                                                                    *<bi:VARIABLE_VALUES type="ORDEREDLIST" >
                                                                        *<bi:VARIABLE_VALUE type="COMPOSITE" index="1" >
                                                                            *<bi:VARIABLE value="ZP_EE_001" text="ZP_EE_001" />
                                                                            *<bi:VARIABLE_TYPE type="CHOICE" value="SELECTION_BINDING_TYPE" >
                                                                                *<bi:SELECTION_BINDING_TYPE type="CHOICE" value="ITEM_CHARACTERISTIC" >
                                                                                    *<bi:ITEM_CHARACTERISTIC type="COMPOSITE" >
                                                                                    *<bi:ITEM_REF value="ANALYSIS_BUDGET_FTE" />
                                                                                    *<bi:CHARACTERISTIC value="0EMPLOYEE" text="0EMPLOYEE" />
                                                                                    *</bi:ITEM_CHARACTERISTIC>
                                                                                *</bi:SELECTION_BINDING_TYPE>
    We also have another variable in the function to adjust the pay scale increment.

  • 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

  • Planning function: distribution with keys and whole numbered results

    Hello,
    using the planning function type "distribution" with keys yearly values shall be distributed to monthly values. However, the resulting values shall be whole-numbered - e.g. the planned sales of 10 machines per year shall be distributed to monthly values.   The result shall not be 12 times 0.833 but 10 times one and two times 0. Is there a "smart" way to do this?
    Presently I can think only of an approach using a fox formula where the result values are calculated using functions like "trunc" and "frac".
    Kind regards, Kora

    Once you get the distribution resuklts, apply FOX to trim the decimals and put both the functions in a sequence.
    Ravi Thothadri

  • Wrong distribution key in profit center planning 7KE1

    I have entered the profit center budget in Transaction 7KE1 for profit centet and account using appropriate profile and layout. 
    The distribution key appearing is "2" however the cost distribution is as per distribution key "1" (equal distribution).   Even we tried to change the distribution key from 2 to 1, sap is not saving this changes and shows "2".
    Following is our profile configuration"
    Planning Area            currency distribution key    Qty distribution key             Doc type
    Costs/Revenue                            01                                   01                               PO 
    Statistical Key Figures                 02                                   02                               PO 
    Inventories                                   02                                   02                               PO 
    Distribution key filed is there in planning layout. There is no other place default distribution key.  Overwrite field is selected in layout.
    Please send reply why this is happening.
    Thanks,
    abhay

    Hello,
    The following example is given for cost center planning. However, you can go to Profit Center ==> Planning. Remaining are same except 7KE1. If you configure in this way, you can upload the plan data through excel for profit center.
    This is controlled by planning are in your planning profile. You need to use "Cost ctrs: Cost element/activity inputs" planning area for this purpose.
    Hope you are conversant with Integrated excel upload.
    To do integrated excel upload of cost center plan data.
    IMG ==> Controlling ==> Cost Center Accounting ==> Planning ==> Manual Planning User Defined Layouts - Create your own layout or copy from standard layout and change it.
    IMG ==> Controlling ==> Cost Center Accounting ==> Planning ==> Define User Defined Planner Profiles
    Copy the SAPALL to ZSAPALL. You cannot change SAPALL as it is standard.
    In ZSAPALL planner profile, select proper planning area and enter your layout.
    Tick Integrate Excel.
    Once the popup for KP06 comes, you need enter the data and save it. It would generate the file name.
    With the same file name you need upload the plan data by using KP06.
    In KP06
    Extras ==> Excel Planning ==> Upload
    Select the file as prepared in accordance with format at the time of generating the file name.
    Hope this solves your problem.
    Please let me know if you need futher help.
    Regards,
    Ravi

  • IP - Fox Code - Planning Function -How to do a mass upload for filters ?

    Hello Guys,
    I have a question regarding executing a planning function.
    I have a planning function with filters
    Profit center
    Sales Order no
    Line Item No
    Fiscal Period/Year
    From Indicator
    To Indicator
    This planning function is ideally used to change few records where the user enter a sales order no and line item no, profit center and all above parameters. It works fine.
    But one user has a requirement where he has to do a mass update. I have to do it in batch or mass update for example about 100 line items
    Sales Order   Line Item
    100                 10
    100                 20
    200                10
    300                30
    300                40
    plus the profit center , from indicator and to indicator.It will be very tedious for the user to enter the values and it can't work . because it will take more time time to execute the planning function for each sales order and line item.
    How to create the filter for above values. I will be getting a excel spreadsheet. I can ask the user to give in the above format like
    sales order, line item, profit center, from indicator, to indicator,Fiscalyear/period.
    Then I have to upload the excel spreadsheet to create the filter values and then execute the planning function.
    We are using the Integrated Planning tool and planning function is in fox code.
    Can you guys throw some pointers how to achieve the above solution.Thanks
    Senthil

    Hello Senthil,
    There is a standard functionality of file upload ,which can be used in your scenario.
    You can give the hyperlink directly to user either in WAD or excel where in that link user can select the varaible values for profit center ,sales order no etc for upload and at the back of this functionality you will be using the file upload planning function to load the data.
    Can check the link below for more details:-
    /people/marc.bernard/blog/2007/11/25/how-to-load-a-file-into-sap-netweaver-bi-integrated-planning-part-2
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90cef248-29e0-2910-11bb-df8dece7e22c

  • Planning funtion - distribution key problem

    hi,
    i created a planning funtion with distribution key for prdno.
    charecteristics in the aggregation level is cusno  and prdno.
    function i used is
       from                                                                      to
    Only "not assigned (#)"                              All without "not assigned(#)"
    generally is i plan at higher level i get not assigned value which i want to distribute to all values which are not assigned
    i am  able to do that.this is fine .but the prooblem is if i am trying to create one more planning fuction using distribution by key.
    i am not getting this option.
    it only giving me
              From                                                            to
    Only "not assigned (#)"                                        prdno
    but i want
    Only "not assigned (#)"                              All without "not assigned(#)"
    i have no idea why this option (All without "not assigned(#)") is not coming
    please suggest me.

    it is in distribution by reference

  • Distribution Key upload-KP06

    Dear Friends,
    We loaded the KP06 Planning data through planning profile upload.
    Now, my business asking to  change the Distribtion key for  some of existing cost center & Cost element combinations for the yaer 2011.System is not changing the distribution key when I use the profile which I used earlier to load the plan data.
    Then,I set up planning profile by defaulting (custamization )  distribution key K411 (The one we set up for the year 2011) .Even now system is not chaging the distribution key through new planning profile.
    could some one advice , how we can load distribution key through planning profile.
    Thanks in Advance,
    Ram

    [https://docs.google.com/document/d/1S5wuw74rJW8NPnu2IRn9D-NanNWEPEfg2ehUIdlaQFQ/edit?hl=en&authkey=CJqAufQE#]
    Thanks Ajay,
    Yes, I did added Distribution key to the planning layout, but its still considering the d.key 2 as dafault, eventhough I changed the custmamization setting by defaulting d.key (which I want to upload).
    Could you see the link above for screen shots.is there any way we can hardcode or default the D.key in the layout coloumn.Please advice.
    Thanks

  • Upload of distribution keys

    Hello,
      Is it possible to upload the distribution keys instead of maintaining manually in BPS0?
      I have a situation wherein this distribution keys would be calculated and need to be used from this calculation results.
      Any help is highly appreciated.
    Thanks and Best Regards,
    Rajkumar A

    Hello Marc,
       Thanks for the suggestion.  It may not suit my requirement by modeling in the infocube.  Let me explain why,
      I have two sets of data as given below,
    I) Cost Data:
    Fiscper; CostCenter; Account;  TotalCost
    004.2006; XXXX; XXXXXXXX; 1000
    004.2006; YYYY; YYYYYYYY; 2000
    II) Distribution keys:
    CostCenter; ProfitCenter; DistributionKey
    004.2006; XXXX; PC1; 10
    004.2006; XXXX; PC2; 20
    004.2006; XXXX; PC3; 70
    004.2006; YYYY; PC1; 100
    Now, I want the result as follows,
    FiscPer; CostCenter; Account; ProfitCenter; DistributionKey; TotalCost
    004.2006; XXXX; XXXXXXXX; PC1; 10; 100
    004.2006; XXXX; XXXXXXXX; PC2; 20; 200
    004.2006; XXXX; XXXXXXXX; PC3; 70; 700
    004.2006; YYYY; YYYYYYYY; PC1; 100; 2000
    This means,
    -  the distribution keys and its key fields are not known design time, as they are calculated runtime every fiscal period.
    -  and hence, the assingment of distribution keys to the Account would also require a runtime assignment.
    Once I have these distribution keys built, I can run the distribution with keys using the option to distribute the unassigned data.
    Hope my whole problem is explained by me to a fair extent.
    PS.  Utlimately, what I am trying to do is cost allocation to the profitcenters.
    Thanks and Best Regards,
    Rajkumar A

  • How to use Distribution Key for planning workforce

    Hi,
    I have an activity named "Activity1":
    Start date = ST = 01/01/2008
    End date = ST + 10
    Work = 120H
    Duration = 10day
    Activity type = Labor
    I want to assign workers into the activity as follows:
    01/01/2008: 10H
    02/01/2008: 20H
    03/01/2008: 30H
    04/01/2008: 40H
    04/01/2008 - 10/01/2008: 12H
    So I maintained a Distribution Function in IMG as below:
    % Duration % Req.
    0 9%
    10 18%
    30 27%
    40 36%
    50 10%
    And maintain the distribution Strategy in:
    SPRO-->PS->Resources->Distribution->Define distribution strategy.
    And maintain Req. distribution in:
    SPRO-->PS->Resources->Distribution->Define requirement distribution.
    Finally maintain this distribution key for the activity in "DistKeyCapRqInt" in internal tab .
    My question:
    What are the next steps for planning workers?
    Which transaction is used to execute and monitor the task as plan?
    Thanks
    Long

    "How to split sender data to reciever such tht the distribution should be done on the actual costs of each reciever. how to formulate the rule for reciever?" :
    In the segment header : use receiver rule 1 "variable portions" + variable portion type with rule 1 "actual costs". These parameters are confirmed in the receiving tracking factor page.
    Then go in the "receiving wighting factors" just for a check of factor per fields. All the lines have the value 100. It's absolutely OK, don't modify it.
    One thing to notice: if you use this rule, all the receiver must have a value, in the contrary a distribution based upon receiver actual cost can't run.
    "In our company GST for all documents goes to a particular cost center 'X'. Now they want to distribute the GST to the respective cost centers from which it is actually incurred.I tried using SKF with '%' as unit measure but then it's distributing the costs equally to all recievers. How to solve this?":
    did you change the percentages of each receveirs in the receiving tracking factor page?
    hope it's helpful
    Pascal

  • BI IP --- Planning function for File Upload

    Hai All,
    In BI IP , When I am trying to load the data (text file) by using Planning function for File Upload. I am getting an error message When I am clicking on Update .
    Error Message : Inconsistent input parameter (parameter: <unknown>, value <unknown>).
    In Text file I am using Tab Separation for each value
    Anyone help me out.
    Thanks,
    Bhima

    Hi Bhima
    Try one of these; it should work:
    1. If you are on SP 14 you would need to upgrade to SP 15. It would work fine
    2. If not, then -
         a] apply note 1070655 - Termination msg CL_RSPLFR_CONTROLLER =>GET_READ_WRITE_PROVIDS
         b] Apply Correction Instruction 566059 [i.e: in Object - CL_RSPLFR_CONTROLLER GET_READ_WRITE_PROVIDS,
    delete the block: l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = p_infoprov ).
    and insert block - l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = i_infoprov ).
    Goodluck
    Srikanth

Maybe you are looking for

  • Database verify failed

    hi guys, I have one more query. I get an error log "database verify failed" during the report execution but my report appears fine. is this an error with the JRC ? Also when i pass 'NULL' for the outputstream object in the processRequest() i get resp

  • Ios social api

    Apple, do you think about some iOS Social API ? For example, almost every user has: friends news stream (facebook), photos stream (instagram), global world news stream (twitter), text chat (iMessage), e-mail, geo-stream (4sq), etc. It will be The Bes

  • Nikon 80-200mm f/2.8 Lens

    Any idea when BB might have the Nikon 80-200mm f/2.8 lens in again? I noticed it up on the site last week but was sold out online. Thanks!

  • Does SL install as 32 or 64 Bit by default and does it matter?

    Does SL install as 32 or 64 Bit by default and does it matter? How can I boot SL to 64 bit if needed?

  • Basic Functionality

    My only request at this point is for the damn program to actually work.