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
Similar Messages
-
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
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 -
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 RegardsHi 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. -
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
KoryHi 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 by Reference Data from Sender to Recipient planning function?
Hi all;
Im 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 doesnt 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 didnt fill because it doesnt 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;
RicardoHi,
price group is missing in your reference data
D -
Send & Recieve functionality not working with WebDav after installing Acrobat XI
Send & Recieve functionality not working with WebDav after installing Acrobat XI for PDF. Acrobat XI is complete installations(Trial Version).
Hi Kiro ,
Did you try opening that file in any other browser ?If not ,please try doing that once and see if that works for you.
Try Repairing Acrobat once and see if that helps.
Launch Acrobat>Navigate to Help>Repair Acrobat Installation.
Regards
Sukrit Dhingra -
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
JoseThere 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 -
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. -
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
YuvalHi Yuval ,
What fieldname did you filter by variable ??
Have you checked in planning area whether the variable contains some value/not ?
Regards,
Niel. -
Attach GOS attachments with a standard send mail functionality
Hi Folks,
I am here after long time and need your help.
I have a requirement where I need to attach document with a standard send mail functionality.
Below is the details:
From Quality notification 'Action Box', if the user select a perticular action (it is similar to web link), the system is sending a mail to an external mail id provided by the user (In a popup). This mail send is happening through a SAP standard functionality.
Now the requirement is, I need to attach selected file from GOS (generic Object Services) and attach them to the mail. Sending mail should happen through standard functionality.
I want to know below two points:
1) How to get selected files from GOS attachment?
2) How to attach them to mail? (only attach, sending will be done by standard functionality)
Hope I am clear with the requirement.
Please help me to get it resolved.
thanks,
Surajit1st - analyse fm SO_ATTACHMENT_LIST_READ and table SOOD
and function groups sgos* and SOB2
hope that helps
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 PMHi 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 -
Help to fill BPS Cube with same data in a Cube with these conditions
Hi,
I need some help in implementing BPS in a small project. (Integrated Planning is not available).
An existing cube, Cube1 has: Year/month, Year, char1, char2, keyfig1, keyfig2
Keyfig1 is filled directly from R3 with actuals; keyfig2 (planned values) is filled manually filled with a monthly flat file load.
Now, there is a change in direction to fill keyfig2 through BPS features and bring in additional key figures all based on keyfig1.
Cube2 has been created only for the purpose of this BPS project. Cube2 was a copy of Cube1(with no data). For Cube1, I have created a Planningarea1 and PlanningLevel1; and for Cube2, Planningarea2 and PlanningLevel2 in BPS0.
How do I fill the BPS Cube2 with the same data as in BPS Cube1 with the following conditions:
keyfig1 : same as source value from R3 (not modifiable)
keyfig2 : modifiable by users only on the first and second of the month.
keyfig3 : keyfig1 * 1.1
keyfig4 : keyfig1 of previous Year/month
keyfig5 : same as source value from R3 (But modifiable)
keyfig6 : same as keyfig5 as of last day of 20th of the current month (not modifiable)
The goal is to create a multi planning area to join the two cubes. Hints all that will also be appreciated.
ThanksYour thought of having a multi area is right.
Create a multi area and being the basic areas to which you have assigned cube 1 and cube 2 underneath the multi area.
UNder your planing package, create a function of type Formula and create a parameter set like this:
= * 1.1.
Just this one line will is enough.
TO get keyfig 4 as previous month's key fig; you need another fox. To do this, you need to have a BPS variable to et previous month and use this variable in the parameter set.
Your fox will be like this.
DATA CURRMONTN TYPE 0CALMONTH.
DATA PREMONTH TYPE 0CALMONTH.
{KEYFIG4, CURRMONTH} = {KEYFIG1, PREMONTH}.
To make users modify only on days 1 and 2, you need to define a dara slice.
Ravi Thothadri -
No reference data for copy function between two infoproviders
Hello,
I am trying to copy data from an actuals cube into a plan cube. Both cubes are assigned to the same multi provider.
The planning function is defined as follows:
Characteristics to be changed: InfoProvider (from: Actual; to: Plan)
Condistions: none
To keep it simple I am using a filter with no entries.
When I am executing the copy function with a trace I find that the function reads the entries from the Plan Cube (which I expected) but it does not generate the entries that are available in the Actuals Cube in the plan cube (which I hoped it would do). It seems that the function cannot find any reference values in the Actuals cube.
The structure of the two cubes is different. Could this be the reason that the copy function does not work?
I will appreciate any hints.
Cheers,
SvenHi,
The structure of the cubes being different is not a problem. Anyway, the records get aggregated depending on the characteristics you have included in the aggregation level on which the copy function is created. Because you say not even one record is getting copied from the actuals cube I feel there is some basic problem. Check the below things (some might sound very basic but I am just noting them)
1) Actual cube has data in an active request with green status
2) You have identified the characteristics and key figures properly in the multiprov (on which the aggregation level is built) from both the cubes.
3) In the copy function, you have selected the desired KFs to be copied. -
Problem with german date and rfc function
Hello,
i have created a function with the following import parameter in our ERP System:
DATUM_BIS TYPE DATUM
DATUM_VON TYPE DATUM
SYSTEM TYPE CHAR4
If i use this function as data service in the vc and create an input form by drag and drop then the datas that i type into the inputform will be "translated".
datum_bis: 30.12.07 will be translated to 12.06.2009 (us format)
datum_von: 01.12.07 "" 12.01.2007
Date Format is Local Format.
I need the german format for my application. Who can i reach this
Thank you
Heiko
Edited by: Heiko Rieke on Dec 21, 2007 3:35 PMHey you write the RFC in the backend system as DE as soon as u logon to the system.And u can also export your date as u want from your backend system as per your requirements.You contact the ABAP technical consultants,In ABAP we can specify the date format then you can get as per your requirements.
Maybe you are looking for
-
Hi, Is there a way to generate a logon ticket in an EJB? I face the following problem: on server A(SAP ABAP) there is a web service, which I consume on server B(SAP Java AS) and create a REST, which is called from an UI5 application on server C(SAP G
-
Netweaver throwing following exception when calling the ProductionOrder WS
Hi, when calling the ProductionOrder web service I get the following exception from the system: nested exception is: com.sap.engine.services.ts.exceptions.BaseSystemException: Exception ( SAP J2EE Engine JTA Transaction : [0ffffffaa60fffffffe00103e]
-
Suggestions for Adobe Reader for my tablet
I'm not sure if there's a better place to post this, so . . . in using Adobe Reader on my Nexus 7 tablet, I have a few suggestions for features: It would be great if you could include a search function as you find on Adobe Reader for PC and (I assume
-
Why does Creative Suite 6 Design & Web Premium hang up during installation?
I just purchased Adobe Creative Suite 6 Design & Web Premium and it is hung up during installation. It gets to 8% complete during installing Microsoft Visual C++ 2008 Redistributable Package and just quits working. What is wrong?
-
My hard drive failed the other day. I ran Disk Utility on it and when trying to repair permissions, I got errors saying that Disk Utility could not fix problems because of a drive failure. I tried Drive Genius to do some diagnostics, but it couldn't