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.

Similar Messages

  • 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

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

  • 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

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

  • 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

  • Distribute data by reference data

    Hi,
    requirment as follow:
    1actual sale data cube (reference data)
    0plant 0article year/week acturalsalesdata
    D001     00010     2007/01     100.00
    D002     00010     2007/01     200.00
    D001     00010     2007/02     150.00
    D002     00010     2007/02     250.00
    2planned sales data cube  (data to be changed)
    0article year/week acturalsalesdata
    00010  2007/03     400.00
    I want to distribute the planned sales data in 2007/03 to each plant.
    In the distribution function I choose the field 'year/week' as 'fields for reference'
    then in the parameter group I can specify which week to be the reference week.
    But in the parameter group  I can only choose single value (2007/01  or 2007/02),
    How could I use both of these week as reference data?
    for example :
    0plant   0article year/week                    acturalsalesdata
    D001   00010   2007/01 and 2007/02    100.00 + 150.00
    D002   00010   2007/01 and 2007/02     200.00 + 250.00

    Hello
    Yes, distribution reference data needs to be restricted to a single value.
    Two ways I have done this before:
    1. Use a planning sequence where the first step is to copy your 2 weeks of reference data into a spare version and combine into a single period. Then use this as reference data for the dustribution function. A third step can be added if needed to delete the copied data in the spare version.
    2. You can generally get to the same thing using  FOX formula but can get complex. Whether the planning sequence or formula approach ends up being more efficient in execution time depends on the data, complexity of function etc...
    Chris

  • 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

  • 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

  • Customer Field in Delivery Address(Reference data, item)tab under Ite in PO

    Dear experts,
    While creating a PO in line item level, under the "Delivery Address" tab, we are able to see the Vendor option and the Address option for selecting the delivery address in the PO. We are unable to view the Customer Option even though we have maintained the optional entry in table T162(Reference data, item).
    We are only able to see the Customer option in the display mode, but unable to see in the create or change mode.
    Please advise is there any other setting is required for getting the customer field  under billing address tab under line item in create and change mode so as to be able to select customer code directly.
    Regards
    Sai

    no answer

  • Cross reference data from 2 different ecc system.

    Hi Sdners,
    Iam working on a scenario where i have to get data from two different Ecc system,consolidate them and send it back to their respective system.
    But some refernce data in both the systems are different and when iam merging data from 2 system i have to maintain either of the reference data.But problem comes when i syndicate it back to ECC ,it cannot accept a new reference data.
    Please suggest me some answere how to proceed in such case.
    Its urgent.
    Points will be rewarded for Genuine answeres.
    Thanks in advance,
    Regards,
    Neethu.

    Hi,
    First enable keymapping property to YES  for the table which you want to do
    importing and syndicatig.
    Create two remote systems type inbound/outbound .
    Import the data from first remote system and map the corresponding fields.
    Don't forget to map the remotekey field which is on the destination side.Make clone
    of one of the dispaly field and map to the remote key field.
    After importing you can see the records from which remote system are imported
    using Edit Key Mappings option in DataManager.It shows that remotesystem
    name and corresponding remote key.
    Do the same for second remote system too.
    After merging data in data manager , you can see the merged record and see the
    two remote systems names and two remote keys by using Edit Key Mappings
    option so the merged record goes back to both remote systems when you syndicate
    the records.
    Syndicate the data from first remote system by selecting destination properties and
    output remote system property under map properties tab as your first remote
    system.
    Do the mapping for corresponding fields and don't forget to map the value field under
    remote key .Then MDM generates remote keys for only records belongs to your
    first remote system.You can see this in destination preview.It does n't genarate
    remote keys for second remote system.Then check the option Suppress records
    without key under map properties tab and execute the syndication.Finally we can
    see the accurate records.
    Do the same for second remote system too.
    Hope it helps
    Cheers
    Narendra

Maybe you are looking for

  • Time machine, wifi network, external hard drive

    I currently backup, (over my wifi network using Backup), to an external hard drive which is directly connected to my Airport Extreme base station. I've upgraded to Leopard and would like to do this with Time Machine. However, even though my external

  • * in batch field is not displaying all batches based on criteria

    Hi Experts, I've done necessary configuration for batch determination. whenever am issuing goods using MB1A or MIGO, if I put * in the batch field, system is automaticlly selecting the batch . Eventhough that batch number is correct ,but I need, the

  • Missing javaws in linux amd64 jdk1.6.0_03 ?

    Hello, Is it me, or there is really no javaws in jdk1.6.0_03 for linux amd64? Thanks. M. Manese

  • Camera timer for Nokia N8

    Hello friends! I need an app to take picture automatically in specified interval... any ideas? Solved! Go to Solution.

  • External Radius Server

    Hello, are there anybody configure Solaris 9 as radius client? I looked for the solution without the third party. Many thanks.