Order of update rules execution of multiple key figures
Can anyone explain the order in which update rules execute if I have 10 key figures and defined one update routine for each key figure?
Hello GKR
This is applicable for yupdate rule as well as transfer rule
start routine executes first ( update rule/transfer routine)
In update rule the rule which u have defined first, executes first...same in transfer rule..the rule which u define first in transfer rule window executes first...
Thanks
Tripple k
Similar Messages
-
Multiple Key Figures and SINGEDATA
Hi Experts,
There are different Key Figures in BI like Amount, Quantity, Number, Integer, Date, Time, and the associated Unit. Whereas, in BPC there is only one type of object is used for recording quantitative values for transaction in BPC, that is SINGEDDATA. This object is equivalent to a Key Figure in SAP NetWeaver BI. So, while extracting data from BI to BPC, there are multiple Key Figures in BI, then how to take these multiple Key Figures in BPC? Do we need to take multiple SINGEDDATA?
Appreciate your help.
ThanksHello Qakbar -
The typical practice is to map each BW key figure to a combination of SIGNDATA and another dimension, such as ACCOUNT (or any combination of one or more dimensions). BPC is a true account based data model (only one key figure).
You can use BW transformations along with Rule Groups to define how each multiple key figure based BW record can be broken into separate single key figure records. These records can be stored in a BW staging cube for easy import into BPC upon demand.
Alternatively, you could use the BPC transformation command, MVAL, to allow loading of multiple Keyfigure BW records directly into BPC.
Regards,
Sheldon -
Combine multiple key figures in single key figure
Hi,
We have a requirement where we need to put multiple key figures into a single key figure
For example source DSO is as follows (+ Unit object):
Region | Date | Amount | Quantity
Asia | 01-01-2008 | 100 | 1000
Eurpoe | 02-02-2008 | 200 | 2000
In Target DSO / Cube, the data must appear like this (no Unit Object)
Region | Date | Type | Value
Asia | 01-01-2008 | Amount | 100
Asia | 01-01-2008 | Quantity | 1000
Eurpoe | 02-02-2008 | Amount | 200
Eurpoe | 02-02-2008 | Quantity | 2000
How do we achieve this?
Regards,
NikhilHi
Write a strart routine that maps Type ->Amount and Quantity,Value -> Kf of Amount or Quantity
Put these chars into Key fields in target DSO = Region | Date | Type ,that will assure unique entries
Bye -
Model multiple key figures of BI cube to BPC
Hi Experts,Probably a good way of having multiple Key figure values from BI to BPC is to convert it into a account based model (create a dimension and have the key figures as dimension members).I have this scenraio where we are using COPA (costing based) for BPC mgmt consol.This costing based COPA cube in BI has around 120 Key figures.Pls advice on the best way to medel this scnerio in BPC where i would probably need most of those Kf's.I am also looking at how i could reduce separate transformation files/mappings from BI to BPC also on the same..
Many thanks
savvvyHi ,
Thank you Pravin and Ajay for your valuable suggestions and time.what i would like to clarify is on the transformations.Let us say i have my BI cube as costing based itself and this i need to map to BPC dimension.
BI structure- char1 ,char 2,char 3 ,KF1(value field 1),KF2(value field 2),KF3(valuefield3),KF4....
In BPC ,lets say we have a separate dimension (i guess this should be of account type or probably user defined one) which would have dimension members as KF1,KF2,KF3,KF4....
Now how would i do the mapping/transformations from BI to BPC? would i need to have 4different transformation files (assuming i have 4 KF's in my BI cube) for each KF & char combination and thus to load data also many times.
How to achieve modelling side of this situation.any suggestions on this would be greatly appreciated.
many thanks
savvvy -
Time Buckets with multiple Key Figures in Each
Hello Experts,
I have seen documents creation of ageing buckets and calculations but not seen any document with ageing bucket having multiple Key Figures part of it.
User's have used Excel to create Bucket header and using V and H lookups they are populating data in to those columns. Is there a way we can achieve this in Bex Designer? Below is what needed on report which would give user's overview of Current Week, Previous Week, Last 4 weeks and Last 13 weeks. I have attached Snapshot for better Understanding
From Excel--->
Target
Current Week
Last 4 Weeks
Utilization
Billable
Non-billable
Non Work
Utilization
Billable
Non-billable
Non Work
Utilization
Billable
Non-billable
Non Work
Thanks
SamHi Sam
If week is your time period analysis then create a structure in columns, above your key figures, based on week selections variable.
pic example
I don't think that you will find such a document.
Thank you
Yiannis -
"Error when activating update rule" after changing ODS key
Hi Gurus,
I have problem when transporting in productive system an existing ODS & the update rule linked. The message is : "Error when activating update rule".
This is when i move one field from the key to a simple field of the ODS.
Before transporting requests, i deleted data in the ODS by right-click on ODS --> Request tab --> select the request --> click on delete....
I don't understand because i did the same in Qual environment and everything is OK : transport request & ODS loading...
Please help.....Hello,
Please try to check/perform the following steps:
1- You must ensure for the update rule have mapping between infosources
and ODS/CUBEs correct, this means that also these objects need
to be of the same version in the source system of the transport as in
target system.
2- Please ensure all infoobjects in the cube are active.Please
reactivate all the objects again in source system.
3- Ensure all infoobjects are found in the communication structure.
4- Please try to collect the update rule via BW transport connection
with the grouping option "only necessary objects" and then transport
those objects again.
Could you please reactivate the infocube and its update rules again
and then create a new transport for this infocube and transport it
again.
Best regards,
Paula Csete -
Update rules only for the keys of a DSO
Hi everybody,
We have a problem after our recent migration to BI 7.0.
In a transfer rule, the 0RECORDMODE is set to 'D' and in the update rules only the keys of the DSO are mapped. It's just for a deletion of data in the DSO.
In BW 3.5, everything was fine but now it doesn't work anymore. Data are transfered but not inserted in the DSO.
I've tried to affect a constant to a characteristic which is not a key in the update rules and the data are correctly inserted.
Is it a normal comportment ?
Any idea is welcome.
Thanks in advanceI think I have a similar problem. I've got updates for iWork apps available after upgrading to Mavericks. I've tried both my apple ID and my wife's but I get an error with both saying the software was purchased with a different ID. I have no idea what ID that would be. Is there anyway to check the ID the software is licensed to?
-
Different disaggregation rules within the same key figure
Hello All,
We need to apply different disaggregation rules within the different levels of the same key figure.
As an Example:
Key Figure: SALES VOLUME
Level1: Market
Level2: Segment
Level3: Model
We want to define such rules:
1- Disaggregate from Market Level to Segment Level using Historical Data
2- Disaggregate from Segment Level to Model Level using APODPNDANT (a key figure in which the input is supplied from business)
Does anybody know if this (defining two different rules within the different levels of the same key figure) is posssible?
Thanks in advance...Hi Ergul
Ideally its better to have APODPDANT to be the disaggregation KF at all levels
you can choose to manipulate the APODPDANT instead by making it an Editable Kf in the Planning book
To start with all levels can be based on the proportional KF calculation
By Loading the selections at the Segment to model level you can manually enter the values based on business input
you might need some macors to fix the totals and maybe to make sure the Sales volume is redisaggregated
i think its something that can be solved by a god business process and simple functionality in the way you see the data -
Multiple Key figure in a single column of a query
Hi,
Is it possible to use muliple key figure like Amount and Qty field together in a column of a query?
Please advise,
Best Regards,
URHi,
You will be able to do it with the help of cell definitions.
Say,you have a structure in Rows :
A
B
For A ..in corresponding column cell,use cell definition with KF1
For B.....in corresponding column cell,use cell definition with KF2
this way,you will be able to see both in one column
I m not sure how much it is relavant to your requirement.But this is one way of gettin it -
Multiple key figures in a report painter or writer
I would like to bring GL account balances in the form of a P&L and also bring statistical key figues. I need to perform a formula of dividing the dollar value by the SKF. Is this achievable? The column in the painter does not permit more than one key figure type, currently I have object currency.
Yes it is possible. If I understand your question correctly, I think you want to define statistical key figures within the rows of a report and have their corresponding key figure in the same column as the amounts for the G/L accounts. To do so requires that you create a new section within the report (Edit > Sections > New Sections) which can reference a different key figure than the object currency used by the G/L accounts. In the new section, or in its own section, you can then create a row formula which combines the amounts and key figures.
Best regards,
[Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
SAP Labs, LLC
BusinessObjects Division
Americas Applications Regional Implementation Group (RIG) -
Add update rule for new key figure in one info struc
Hi, everyone
I would like to know how to add update rule for new key figure in one info struc.
Thanks ahead.
Eric1)I have created the update rule for one info structure
2)add one key figure in the info structure due to business requirement
3)then I use MC25 to add update rule for the new key figure, but I find that there no relevant menu to do such operation.
Can anybody tell me how to do with it?
Any answer will be appriciated. -
Code to sum up multiple record key figure values from one ODS to another OD
We've got two ODSs: ODS1 and ODS2 and ODS1 feeds data to ODS2 through update rule. In ODS1, multiple records could contain one same doc records and we would like to sum up a key figure value for these multip records with the same doc number in the update rule and populate a key figure (a sum-up value or total value) in ODS2 for this doc number. We wonder how the code would look like.
Welcome the valuable input!
ThanksHello Kevin,
In this case there is no need of a code. As in ODS2, contract number is a key and PO is not a part of key, you can have update type for the key figure as "Addition". Value for that particular key figure will be added for all the recordes with same contract number irrespective of PO number.
Hope it helps.
Regards,
Praveen -
Unit 0ORDER_CURR for key figure 0ORDER_VAL is not recognized in the update
Hello Experts,
I am getting the below warning while I am installing the business content for Purchasing Cube 0PUR_C04 update Rules
"Unit 0ORDER_CURR for key figure 0ORDER_VAL is not recognized in the update rules"
And the business content activation is terminated.
Can you please let me know how i could resolve.
Thanks
PadmaHi Amrit,
Nice to know Toons suggestions have helped you to resolve your issue.
There is one bug waiting to explode soon although.
Check this out after your last insert
INSERT INTO mth_equipment_shifts_d(equipment_fk_key,availability_date,shift_workday_fk_key,from_date,To_Date,line_num,availability_flag,entity_type,creation_date,last_update_date,creation_system_id,
last_update_system_id) (
SELECT b.entity_pk_key entity_pk_key,a.shift_date shift_date,a.shift_workday_pk_key shift_workday_fk_key,Trunc(a.shift_date) from_date,Trunc(a.shift_date) To_Date,1 line_num,'Y',
b.entity_type entity_type,SYSDATE,SYSDATE,-1,-99999
--INTO l_site_id,l_entity_pk_key,l_entity_name,l_entity_type,l_production_entity,
--l_shift_workday_pk_key,l1_shift_date,l_from_date,l_to_date
FROM mth_workday_shifts_d a ,
SELECT plant_fk_key site_id, entity_pk_key, entity_name, entity_type, production_entity production_entity
FROM mth.mth_equip_entities_mst
UNION ALL
SELECT plant_pk_key site_id, plant_pk_key entity_pk_key, plant_name entity_name, 'Site', production_site production_entity
FROM mth.mth_plants_d
UNION ALL
SELECT plant_fk_key site_id, resource_pk_key entity_pk_key, resource_name entity_name, 'Resource', production_resource production_entity
FROM mth.mth_resources_d
UNION ALL
SELECT plant_fk_key site_id, equipment_pk_key entity_pk_key, equipment_name entity_name, 'Equipment', production_equipment production_entity
FROM mth.mth_equipments_d
)b
WHERE b.site_id = a.plant_fk_key
AND a.plant_fk_key=l_plant_fk_key
AND shift_date>=l_start_date
AND shift_date<=l_end_date
AND UPPER(a.shift_type)='BOTH'
AND a.FROM_DATE IS NULL
AND a .To_Date IS NULL
--AND a.line_num=NULL
AND a.shift_num IS NULL
There is no COMMIT
You may want to check that out.
Cheers!!!
Bhushan -
Hi experts,
What are the types of update rules?
Regards,
SivaHi......
Yes either you can say what are the different update types.........that Praveen has already ansered..............or you can say.........
You can say what are the diffrent types of update routines...then the answer is :
1) Start Routine in Transfer Rules
2) Transfer Routine in Transfer Rules.
3)Start Routine in Update Rules
4)Update Routine in Update Rules.
The routines that you write in transfer rules are applicable to all the Data targets that get the data from that particular Infosource, when you are going to write some code in Transfer rules, you have to understand that you are going to manupilate the data that is going to get into BW .
If you are going to write in Update Rules , then that logic is going to apply only for that particular Data target .
Eg : Let suppose I have a Flat file that gets data from 3 countries, US, Canada and Mexico.
Now I have prepared the data source for the same . But I dont want to have the data of Mexico in to BW itself.
So I will write a Start routine at TR to eliminate the data of Mexico.
My Next step is I want the data of US into one ODS and Canada data in to another ODS.
For this I handle the dataflow at Start routine in Update rules, to eliminate Canada data for US ODS and Vice Versa.
start routine in transfer rules
Look up to load master data
excluding
Start Routine in Transfer Rules
Sample code in Update Rule to restrict data selection?
Append Datapak - transfer start routine
Excluding Blank field in Infopackage Filter
Trans Routine ABAP help ..
transfer routine
Date key figure: Convert DATS format to DEC format
Date Conversion in Flat File
Transfer Routine ABAP
conversion exit
Date Conversion
Problem with conversion char to numc in transference rules
conversion routine..?
update routine
How to call a function in Update Rules to reverse a key figure sign
Need Sample Code for Update Rules
Date calculation
Difference between data in PSA and Data in Infocube
No RETURNCODE <> 0 allowed in update routines in transfer mode
the diffrerece between DEC and (yyyymmdd) 8 char in Time defination
Access master data in update rules
Date key figure: Convert DATS format to DEC format
start routine in update rules
Is it possible to read a third ODS in update rules between two ODS?
update rule coding while loading data from ODS to CUBE
Start Routine in Update Rules to populate additional fields from ODS
Coding in Update Rules accessing a Z-Table
Start routine
Regards,
Debjani........... -
Start routine and update rules
Hi,
What is accessed first:-
Start Routines or Update Rules?
What is the use of global variables in start routine?
Please reply.
Thanks.Hi......
You have different types of Routines in BW .
1) Start Routine in Transfer Rules
2) Transfer Routine in Transfer Rules.
3)Start Routine in Update Rules
4)Update Routine in Update Rules.
The routines that you write in transfer rules are applicable to all the Data targets that get the data from that particular Infosource, when you are going to write some code in Transfer rules, you have to understand that you are going to manupilate the data that is going to get into BW .
If you are going to write in Update Rules , then that logic is going to apply only for that particular Data target .
Eg : Let suppose I have a Flat file that gets data from 3 countries, US, Canada and Mexico.
Now I have prepared the data source for the same . But I dont want to have the data of Mexico in to BW itself.
So I will write a Start routine at TR to eliminate the data of Mexico.
My Next step is I want the data of US into one ODS and Canada data in to another ODS.
For this I handle the dataflow at Start routine in Update rules, to eliminate Canada data for US ODS and Vice Versa.
Global variables in Start routine
You can have global variables, internal tables populated by the
startup routine. This data will be available to the field
routines. Create yourself a start routine, declare some
variables in the global section, and then create a field
routine. You will be able to use the globally declared objects
in the field routine
Please check below help link for routines in sap netweaver 2004s
http://help.sap.com/saphelp_sem60/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/frameset.htm
How to guide "How to transformations routines".Please check the below link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/dc1d9990-0201-0010-16aa-db3c4eb8b642
start routine in transfer rules
Look up to load master data
excluding
Start Routine in Transfer Rules
Sample code in Update Rule to restrict data selection?
Append Datapak - transfer start routine
Excluding Blank field in Infopackage Filter
Trans Routine ABAP help ..
transfer routine
Date key figure: Convert DATS format to DEC format
Date Conversion in Flat File
Transfer Routine ABAP
conversion exit
Date Conversion
Problem with conversion char to numc in transference rules
conversion routine..?
update routine
How to call a function in Update Rules to reverse a key figure sign
Need Sample Code for Update Rules
Date calculation
Difference between data in PSA and Data in Infocube
No RETURNCODE <> 0 allowed in update routines in transfer mode
the diffrerece between DEC and (yyyymmdd) 8 char in Time defination
Access master data in update rules
Date key figure: Convert DATS format to DEC format
start routine in update rules
Is it possible to read a third ODS in update rules between two ODS?
update rule coding while loading data from ODS to CUBE
Start Routine in Update Rules to populate additional fields from ODS
Coding in Update Rules accessing a Z-Table
Start routine
Hope this helps you..........
Regards,
Debjani.........
Edited by: Debjani Mukherjee on Oct 1, 2008 4:58 PM
Maybe you are looking for
-
My ipod nano doesnt have enough battery for the computer to recognize it
Well my ipod nano is really screwed up! Ok so a couple weeks ago I plugged my ipod into my computer because the battery was getting pretty low, and my computer didn't recognize it so i restarted the computer plugged it into a different port and it st
-
Cumulate values in structure and formulas
Hello, I created the query and used the structure in rows. But in this structure I can´t use the possibillity with cumulate values. Do you know where is the problem? I have also problems with cumulate data in formulas - I count rate of costs in two y
-
Does Anyone had problems with an MAudio keystation 88e?
Does Anyone had problems with an MAudio keystation 88e connected via Usb to mainstage2 (with an mbox 2 connected via Usb)?
-
What is the easiest way to send an email in JSF application
Hi Everyone, I need an email service in my JSF app for password request. What is the best way to do this in JSF? Thanks in advance,
-
Hola: La siguiente pregunta es bastante compleja, al menos para mí, es decir, soy consciente de que estoy lejos de la solución. Quizás este tema no tenga que ver de manera directa con Flash pero está relacionado. El asunto es que quiero armar esos vi