Distribute with Reference Data Functu00BAon Parameters

Dear Consultatns,
I'm trying to use distribute with Reference Data function.
But I couldn't use it.
I have problems about patameters.
I need a detailed documentation about this function.
Best Regards

Hi Mehmet,
Have you taken a look at the link below
http://help.sap.com/saphelp_sem40bw/helpdata/EN/09/078a69016311d393850000e8a597a0/frameset.htm
Hope it helps.

Similar Messages

  • BPS - Distribute with Reference data sender 2 reciever functionality

    Hi All,
           I'm looking for some documentation on this planning function(Distribute with reference data / from sender to reciever).When I run this function I have problems finding the Reference data,although I have defined the refernce data correctly and am using the # for the characteristics.
    Is it possible to override a characteristic while executing this function.? for example you are distributing values form region level to line of business level,can you  change the allocation flag(another characterstc) while executing this.?
    Any documents with some Examples and guidelines of setting up Reference data will be very useful.
    Thanking everybody in advance.,
    Sudz.

    Hello Sudz,
    I know this can be tricky. First, you should check if reference data is read at all (use BPS_STAT0 transaction).
    If no, check the configuration of planning package and parameter group. The selection criteria for the reference data are based on the planning package merged with the criteria for reference data defined in the parameter group (if there are criteria for the same characteristic in both places, the parameter group wins).
    If yes, you need to go into more detail. The source data (to be distributed) is matched with the reference data based on all characteristics that are NOT in the fields to be changed. So maybe you have not defined the right fields to be changed (use execute with trace to see the internal packaging/matching).
    You can change several characteristics with the function. However, this will increase the number of target combinations. If you want to turn off a flag, just use a repost function and link them via a sequence.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Distribute with Reference Data

    Hi Folks,
    I have trouble getting the distribution function to work. I want to distribute the plan data to a more granular level (from Product Family to Product Platform) using the previous year's actual sales data.
    I have setup a plng. function of type distribute with reference data. I have a multi planning area with plan and actual areas. When I run the function, it says "No reference data exists". When I run it with the trace, it shows me a line with the fiscal year (say 2008, for the next plng  year).. When I click on details button, it brings a screen with no ref. data. I suspect since the Fiscal Year is already selected on the first screen, it could not populate any reference data since the fiscal year can not have two values at the same time.
    In the parameter group, I have the right selection for actual data (previous fiscal year etc.) I'm fairly confident that the selections I made in parameter group for the ref. data should bring some actual values. 
    Any ideas where I might be doing missing? How do the selections in the package may affect the situation? Any help would be appreciated,
    Thanks,

    Do you have the target fiscal year and other characteristics in the level / package. This is a must.
    Ravi Thothadri

  • Can we restrict Key Figures in "Distribute with reference data"?

    Hi,
    I'm using "distribute with reference data" function & I wanted to distribute only 1 Keyfigure & the 2nd keyfigure shouldn't be distributed but remain same for each record.
    So, I restricted function with only 1st keyfigure & when I look at the distributed data, function distributed correctly but 2nd keyfigure was blank.
    Let's say I've following data.
    MATERIAL SGRP QTY PRC
    =====================
    MATERIL1 0000 100 23
    where SGRP is "Sales Group" & QTY is "Quantity" & PRC is "price"
    I am interested in distributing only Quantity but not the price.
    After distribution, this is what I can see...
    MATERIAL SGRP QTY PRC
    =====================
    MATERIL1 SGP1 050 000
    MATERIL1 SGP2 050 000
    MATERIL1 0000 000 23
    But, I'm expecting the following...
    MATERIAL SGRP QTY PRC
    =====================
    MATERIL1 SGP1 050 23
    MATERIL1 SGP2 050 23
    Appreciate any ideas.

    Hi Mary,
    Thank you very much for your reply.
    after the distribution funciton, let's say, i've following data.
    MATERIAL SGRP QTY PRC
    =====================
    MATERIL1 SGP1 050 000
    MATERIL1 SGP2 050 000
    MATERIL1 0000 000 23
    I created 1 more distribution by keys funciton & included this in a planning sequence along with 1st distribution function.
    But, it's not helping my needs. I tried with all 3 functions, "Distribute by Key", "Distribute according to keys" & "Distribute by keys from sender to reciever".
    As Sales Group is different after the 1st distribution funciton, qunatity records are not falling in the same set of data as price records for the 2nd "distribution by keys" funciton.
    if i don't include Sales Group in "fields to be changed" of the above 3 "distribution by key" functions,
    function is taking 2 sets of data with set1 contains 1st 2 records(records with quantity & "with SGRP1 & SGRP2") & set2 contains 3rd record (record with price & with SGRP 0000).
    As they are not falling within same set of data, above 3 functions are not working for me.
    If i include Sales Group in the "fields to be changed", I'll have to specify a value which incase is dynamic & varies for each material.
    hope am clear & appreciate if you have any other ideas.

  • Distribute by Reference Data from Sender to Recipient planning function?

    Hi all;
    I’m trying to use the planning function “Distribute by Reference Data from Sender to Recipient” to distribute the reference data by material to plan data.
    This is:
    Reference Data:
    Version: 001
    0vtype: 010
    Material: M1; M2; M3
    Sub-brand: SB1;
    Price Group: PG1;
    Customer: C1;
    Area Manager: AM1;
    Exercise/Period: 001.2008; 002.2008; 003.2008
    Quantity: 100; 200; 300 -> 600
    Plan Data 1:
    Version: 002
    0vtype: 02
    Material: #
    Sub-brand: SB1;
    Price Group: #
    Customer: C1;
    Area Manager: AM1
    Exercise/Period: #
    Quantity: 1000
    I want to distribute the 1000 according with the material reference data. The plan doesn’t consider the Price Group and Exercise/Period.
    Goal:
    Plan Data 2:
    Version: 002
    0vtype: 02
    Material: M1; M2; M3
    Sub-brand: SB1;
    Price Group: #
    Customer: C1;
    Area Manager: AM1
    Exercise/Period: #
    Quantity: 167; 333; 500
    M1 = 100 / 600 * 1000
    In the planning function I had use:
    Fields for change:
    Material: 0 - ZZ
    Fields for conditions:
    0vtype: 020
    Exercise: 2008
    Key figure: quantity
    Version: 002
    Old material: #
    Reference characteristics:
    0vtype: 010
    Exercise: 2008
    Material: (I didn’t fill because it doesn’t allow all the material items)
    Key figure: quantity
    Version: 001
    When I execute the function a message appears:
    “No reference data”
    Can anyone help me?
    Regards;
    Ricardo

    Hi,
    price group is missing in your reference data
    D

  • KE28 with" Copy Characteristic Value with Reference Data" doesn't work

    Hi experts:
    We need to make a top-down setting the processing option 'Copy Characteristic Value with Reference Data'. We have the following source data:
    Customer Business Unit  Value field.
    6        #              100
    On the other hand, we have plan data as reference data:
    Customer Business Unit  Value field.
           A              40
           C              40
           D              20
    We need to run a top-down to distribute from client to Business Unit but copying client of reference data. Then, we set 'Copy Characteristic Value with Reference Data' and, in the selection criteria we set '*' for customer.
    After running, the result is that the system can find 1 sender and 3 receivers. It is exactly what we are expecting. However, program doesn't make individual items and anything is distributed.
    We have found notes 1086282 and 1273924 but the result is the same after implementing these notes.
    Thanks in advance for your help.
    Best regards
    Jose

    There are some restrictions on the XML Schema format that you can report off of in Crystal Reports.
    If you're using the ODBC XML driver, you may find this of relevance:
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xml_data_sources.pdf|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xml_data_sources.pdf]
    and if you're using the native XML driver, the following gives a guide for the accepted formats:
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xi_native_xml_driver.pdf|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xi_native_xml_driver.pdf]
    Sincerely,
    Ted Ueda

  • SEM-BPS Distribution with Reference Data

    All,
    Our planning design is such that our plan values are in one cube and our actuals are in another.  We use a mult-planning area to tie the two together.
    One of our requirements is distribute planning values from one cost center to other cost centers, but to use the actual data on the receiving cost centers as the base.  I have been able to accomplish this with the allocation function, but we need to retain the sender values.  I have been trying to use the Distribute by Reference Data from Sender to Recipient planning function, but it's not reading the reference data correctly.
    Does anybody have some insight into this function?
    Thanks
    Kory

    Hi Mary,
    Thanks for the reply.  I had ran it in trace mode and the message was that there was not any reference data; and maybe this is where I'm misunderstanding this planning function.
    Here's the scenario:  I have a cost center and a cost element and want to allocate it to another cost center.  The reference characteristic from the actuals cube that I'm using is cost element.  For example, cost center 4720001 and cost element 990039 have $100 in the planning cube.  I want to distribute this amount to cost centers 4720002 and 4720003, but using cost element 990014 as the reference data from the actuals cube.  Cost centers 4720002 and 4720003 have $200 and $500 posted to cost element 990014, respectively.  So I'm expecting 4720002 to receive $28.57 and 4720003 to receive $71.43.  When I run the function, I get a message for the receiving records stating that no reference data exists.  I have created this using the allocation planning function with success, but we also need to retain the sender values and the allocation function does not do this.
    Any further insight you have is much apreciated.
    Thanks
    Kory

  • Distribute with reference More than 8 char

    Hi Experts,
    I have a requirement to distribute the reference data upto 12 characteristics. But the standard function allows only 8 characteristics. How i do this? what are my options?
    Is FOX coding is the only option i have ??
    Thanks,
    Rohith.

    Michael,
    But when you do that, in your first distribution say if you distribute 100,000 to 6 characteristics.
    Next in ur second step if you distribute these 100000 to the rest of the 6 characteristics, isn't the function adds the records for FIRST 6 characteristics with "unassigned - # " ???
    We want all the distribution done evenly so that in reporting we dont see the second 6 characteristics with # signs.
    Please let me know, how it worked for you ?
    Thanks for the reply..
    Rohith.

  • GL Trial Balance Report with Effective Dates as Parameters

    We have a requirement to show the GL Trial Balance report with Effective dates as Parameters.
    Current Analysis:
    The Journals get updated with corresponding CCID in GL_BALANCES table when the Journal is posted. GL_BALANCE is SOB specific, if the SOB has month as period then the balances in GL_BALANCES would get updated against the month(period).
    To overcome the period problem, we explored the option of using a View based on GL_JE_HEADERS and GL_JE_LINES for 'Posted' Journal Batches of a SOB. We are checking whether the GL_JE_HEADERS.default_effective_date lies between the :p_from_date and :p_to_date which is sent to the Report as a parameter. The above idea does not return expected data when the custom Trial Balance Report is run.
    Following is the Query being used:
    SELECT cc.segment4 ACCOUNT, bal.code_combination_id,
    bal.begin_balance_dr
    + SUM (NVL (gljel.accounted_dr, 0)) opening_bal_dr,
    bal.begin_balance_cr
    + SUM (NVL (gljel.accounted_cr, 0)) opening_bal_cr,
    ffv.description,
    (SELECT SUM (NVL (gljel.accounted_dr, 0))
    FROM gl_je_headers gljeh,
    gl_je_lines gljel,
    gl_code_combinations gcc
    WHERE gljeh.default_effective_date BETWEEN :p_from_date
    AND :p_to_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.code_combination_id = gcc.code_combination_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND gljeh.actual_flag = 'A'
    --AND gljel.code_combination_id =
    -- bal.code_combination_id
    AND gcc.segment4 = cc.segment4
    GROUP BY gcc.segment4) c_dr,
    (SELECT SUM (NVL (gljel.accounted_cr, 0))
    FROM gl_je_headers gljeh,
    gl_je_lines gljel,
    gl_code_combinations gcc
    WHERE gljeh.default_effective_date BETWEEN :p_from_date
    AND :p_to_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.code_combination_id = gcc.code_combination_id
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND gljeh.actual_flag = 'A'
    AND gcc.segment4 = cc.segment4
    GROUP BY gcc.segment4) c_cr
    FROM gl_period_statuses per,
    gl_code_combinations cc,
    gl_balances bal,
    gl_je_headers gljeh,
    gl_je_lines gljel,
    fnd_flex_values_vl ffv,
    fnd_flex_value_sets ffvs
    WHERE cc.chart_of_accounts_id = :p_chart_of_accts_id
    AND bal.currency_code = :p_currency
    AND bal.actual_flag = 'A'
    AND bal.period_name = per.period_name
    AND cc.template_id IS NULL
    AND cc.code_combination_id = bal.code_combination_id
    AND per.set_of_books_id = :p_set_of_books_id
    AND per.application_id = 101
    AND :p_from_date BETWEEN per.start_date AND per.end_date
    AND gljeh.period_name = per.period_name
    AND gljeh.default_effective_date <= :p_from_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'JSWEL_ACCOUNT'
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND cc.summary_flag = ffv.summary_flag
    AND cc.segment4 = ffv.flex_value
    AND gljeh.actual_flag = 'A'
    AND gljel.code_combination_id = bal.code_combination_id
    GROUP BY bal.begin_balance_dr,
    bal.begin_balance_cr,
    cc.segment4,
    ffv.description,
    bal.code_combination_id
    Kindly suggest if I am missing anything. I am sure that the great guns here can help me out.
    Thanks
    Sumit

    suggest to create customize TB report.

  • Distribute by reference data

    Hello all
    I try to execute the "Distribute by reference data" function, in integrated planning. When i run the function, i get the errors "Variables contain invalid values" & "Moved value is not within the allowed value range". I use variables to filter the data that i want to distribute. I enter correct variables values while executing the function.
    What can be the problem?
    Best
    Yuval

    Hi Yuval ,
    What fieldname did you filter by variable ??
    Have you checked in planning area whether the variable contains some value/not ?
    Regards,
    Niel.

  • 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

  • Distribute new entries against existing reference data, Integrated Planning

    Dear Experts,
    Within IP, I struggle with how to distribute new entries against existing reference data.
    Example:
    Reference data:
    Product   /   Customer   /   amount
    P1               C1                  100
    P1               C2                  150
    P2               C2                  120
    P2               C3                  100
    New data:(data entered on product level, therefore not assigd to customer yet)
    P3          #                    150
    How can I distribute product P3 to Customers with reference to the data on product P1 ?
    Many thanks,
    Erik Pos
    Edited by: Erik Pos on Jan 5, 2010 3:52 PM
    Edited by: Erik Pos on Jan 5, 2010 3:54 PM

    Hi Hyma,
    This documentation indeed indicates that you can use other characteristic values in the parameter group to be used for reference, good news !, but this is based on SAP-BPS ?
    The SAP-BW IP documentationn does not include this information can you confirm this solution works for Integrated Planning using the conditions within the function distribute with reference data ?
    Many thanks,
    Erik Pos

  • No reference Data exist

    Hi,
    When i execute the planning function of type distribute with reference data I get a message that No referenec Data exist.
    Could some one help me out.
    Thanks,
    Subha

    Hi,
    In bps0, execute the planning function with trace and see the details of one record for which no reference data exists is coming. This will show the values of all characteristics for which it is trying to search a record in the cube. If there is no such record exists, then this message will come.
    Bindu

  • Extracting current balance at previous reference date

    Hello everyone,
    I have an analyses for extracting current balance (in local currency) for some products at current day (i.e today 19 July 2013). In this interogation, I added a new dimension custom in edit formula like: TIMESTAMPADD(SQL_TSI_DAY, -1, "Dim Time"."Reference Date"). Very well, returns me the date from yesterday-18 July 2013. For a dimension measures (current balance lcy) I edited it like: FILTER("Balances"."Total Balance Lcy" USING ((TIMESTAMPADD(SQL_TSI_DAY, -1, "Dim Time"."Reference Date")))) and it didn't work.
    Overall, into the report with reference date today, I want as result the current balance for yesterday.
    Could you help me with my issue.
    Thanks!

    Advantage ? No !!! Just to get correct result..
    { =ToDate(RelativeDate(CurrentDate();-DayNumberOfMonth(CurrentDate()));"MM/dd/yy") }
    returns wrong date because, we need to deduct total days of that month from last day of that month to get a last date of previous month. So we should use
    {=ToDate(RelativeDate(LastDayOfMonth(CurrentDate());-DayNumberOfMonth(LastDayOfMonth(CurrentDate())));"MM/dd/yy") }
    Year!!!
    whats the logic behind this
    =If DayName(Year-1)<" Then FormatDate(RelativeDate(Year-1;-7);"yyyyww") Else FormatDate(Year-1;"yyyyww")
    If you follow following formulas, it gives correct result
    Year1
    =RelativeDate(CurrentDate();-DayNumberOfYear(CurrentDate()))
    Last Saturday (Year1)
    =If DayName(Year1) = "Friday" Then RelativeDate(Year1;-6) ElseIf DayName(Year1) = "Thursday" Then RelativeDate(Year1;-5) ElseIf DayName(Year1) = "Wednesday" Then RelativeDate(Year1;-4) ElseIf DayName(Year1) = "Tuesday" Then RelativeDate(Year1;-3) ElseIf DayName(Year1) = "Monday" Then RelativeDate(Year1;-2) ElseIf DayName(Year1) = "Sunday" Then RelativeDate(Year1;-2) Else RelativeDate(Year1;0)
    Repeat above for last 9 year.
    Quarter !!! I am thinkin on this
    --Kuldeep
    Edited by: Kuldeep Chitrakar on Sep 7, 2009 3:41 PM

  • Input : Reference Data

    Hi,
    I do have the following questions:
    1) When I start my job does the system cache my reference data ? If yes, is there any refresh cycle in case the data change ?
    2) If not cached, how does the system provide data integrity in case of reference data change (Data change every 24 hours) ?
    Thanks
    Markus Christen IT-Architect Microsoft Brasil http://blogs.technet.com/b/markuschristen/

    Currently reference data cannot be refreshed automatically. You need to stop the job and specify new snapshot with reference data. We are working on reference data refresh functionality, stay tuned for updates.

Maybe you are looking for

  • HT201412 I have an IPad 1 and it keeps reactivating/ restoring itself. It wont turn on at all. How do i get it back to normal?

    It keeps going back to where I am reactivating it after resoring then it shuts down and does it again when I am finished. I have tried restoring from ITunes and everything else I can think of.

  • Event Persistence in adapter

    Hi, As per the DBMS sample adapter that comes along with WLAI, is it possible to persist the events. What I mean here is, when an event occurs in the EIS, if there is no client listener for that event at that time, is it possible to persist the event

  • Delete scroller from other class

    Hi. I have FlashSite class where after clicking to button i see page with text and with scroll. If i click to 'close' button i want removeChild this page, text and scroll. But for scroll i use code from other class. (i insert this class like: import

  • Going crazy trying to configure AE...

    OK, I have the N-enabler and am trying to add a 5.8 GHZ only AE to my network. Several Issues: 1.) No Radio Option Mentions N , even though I have the N enabler installed and definitely have a new square N router .. Only B, B/G and G ..like it's inhe

  • Image map not working

    I have a graphic in a dreamweaver html file that needs to have multiple links on it. In the past you could use image maps to accomplish this or split it up and put it in a table. In the new CC 2014 I was not able to find this feature. Eventually I di