Info cube
Hi gurus
I have done enhancement to populate a new field to the DataSource,
then how would i ad this object to the info cube,
and shall i delete the data which is already in the info cube.
thanx
vidhu
Hi,
If you have added a new key figure then
1) you need not delete the data just add the key figure and run a delta it will bring all the records into this new filed and everything will work fine.
2) You can delete the data and run a full load till the cube.
If you have added a char to the data source
1) you will have to add this char to the cube and then you will have top assign to a dimesion and therfoer you will have to delete tha data from the cube and once updat rule is done you will have to again to init data transfer.
Thanks
Similar Messages
-
End routine to populate Info-cube.
Hi ,
Is it possible to load fileds of a Info-cube using End routines in the following scenairos.
1.Loading fields of info-cube by referencing/using a master data table in End routine.
2.Loading fields of info-cube by referencing/using a DSO fields in End routine.
3.Loading fields of info-cube by referencing/using a fields of another info-cube in End routine.
Please advise.Hi Stalin,
Before answering your question you need to understand something about "End routine" and "Expert routine".
End Routine:
- Result_fields and Result_package are available
- End routine contains only those fields available in Data target.
Start Routine:
- Source_fields and Source_package are available
- Start routine contains only those fields coming from source.
Expert Routine:
- Source_fields, Source_package, Result_fields and Result_package are available
So Now if you want write code to look up into some other cube, in look up you may need to test condition using source fields, in that case " Expert Routine" is only the option.
For Ex
my data target contains : x,y and z fields (it becomes result_field)
source contains : a field ( it becomes source_field)
now if i want to write look up code like this " select x,y and z fields from other cube where my a field value = other cube a field value. here u r accessing both S_F as well as R_F. So only the option is "EXPERT ROUTINE"
or else u want to write code only with R_F then "End routine " is enough.
Thanks,
Gowd -
Data in ODS, Info cube ans Multiprovider(List cube) are in Sync.
Hi,
My query is built on multiprovider. The data flow is data source u2013 ODS then ODS u2013 Info cube and multiprovider contains Info cube only.
Data in ODS, Info cube ans Multiprovider(List cube) are in Sync.
The query results are not tie up ODS, Info cube ans Multiprovider(List cube).
Any one let me know why this is happening and how do I resolve it.
Regards,
Sharma.HI;
thanks for help.
I resolved the issue in my own.
Regards,
Sharma. -
Info cube data doesn't match with R3
Hi,
We are using "0AFMM_C02" Info cube for Inventory data.
for some records its not fatching data for distribution channel.
I checked the update routine for Distribution Channel.
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: BEGIN OF it_data OCCURS 0,
material LIKE /bic/cs2af_mm_inv_1-material,
plant LIKE /bic/cs2af_mm_inv_1-plant,
val_type LIKE /bic/cs2af_mm_inv_1-val_type,
END OF it_data.
DATA: lt_mrpods TYPE TABLE OF /bic/ascm_d0500.
INCLUDE rs_bct_retail_update_rules.
$$ end of global - insert your declaration only before this line -
FORM compute_key_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS2AF_MM_INV_1
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BI0/V0AFMM_C02T-DISTR_CHAN
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
data:DISTR_CHAN LIKE /BI0/MCUST_SALES-DISTR_CHAN.
SELECT SINGLE DISTR_CHAN INTO DISTR_CHAN FROM /BI0/MCUST_SALES
WHERE CUST_SALES = COMM_STRUCTURE-CUST_SALES.
IF SY-SUBRC EQ 0.
RESULT = DISTR_CHAN.
ELSE.
RESULT = COMM_STRUCTURE-DISTR_CHAN.
ENDIF.
result value of the routine
RESULT = .
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
Can any body tell for what distribution channel it will get data..
Please help .. its very urgent..
Regards,
Viren.Hi,
I have a better suggestion..Try to write this code in Start Routine of Update Rule.
DATA: S_DATA TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
DATA: ITEM_TABLE TYPE STANDARD TABLE OF /BI0/MCUST_SALES
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
*start of modification
*Populating the item status data from the item status ODS table
SELECT * FROM /BI0/MCUST_SALES INTO TABLE ITEM_TABLE.
LOOP AT DATA_PACKAGE INTO S_DATA.
LOOP AT ITEM_TABLE WHERE CUST_SALES = S_DATA-CUST_SALES.
MOVE item_table-DISTR_CHAN to s_data-DISTR_CHAN.
APPEND S_DATA.
ENDLOOP.
ENDLOOP.
DATA_PACKAGE[] = S_DATA[].
Hope this works...
Regards,
San! -
Delta records are not loading from DSO to info cube
My query is about delta loading from DSO to info cube. (Filter used in selection)
Delta records are not loading from DSO to Info cube. I have tried all options available in DTP but no luck.
Selected "Change log" and "Get one request only" and run the DTP, but 0 records got updated in info cube
Selected "Change log" and "Get all new data request by request", but again 0 records got updated
Selected "Change log" and "Only get the delta once", in that case all delta records loaded to info cube as it was in DSO and gave error message "Lock Table Overflow" .
When I run full load using same filter, data is loading from DSO to info cube.
Can anyone please help me on this to get delta records from DSO to info cube?
Thanks,
ShammaData is loading in case of full load with the same filter, so I don't think filter is an issue.
When I follow below sequence, I get lock table overflow error;
1. Full load with active table with or without archive
2. Then with the same setting if I run init, the final status remains yellow and when I change the status to green manually, it gives lock table overflow error.
When I chnage the settings of DTP to init run;
1. Select change log and get only one request, and run the init, It is successfully completed with green status
2. But when I run the same DTP for delta records, it does not load any data.
Please help me to resolve this issue. -
Hi,
Generally reporting will be done on Info Cube rather than DSO.
Suppose If we assign the same data source to Info Cube and DSO then both contains the same data.
Info cube have additive and aggregated functionality where DSO have the overwrite functionality .
Are we using cube for this functionality only ?
What about the Dimensions in Cube how they differ from data fields and key fields in DSO when we are developing same Bex Report on both ?
Please advice me .
Thanks in advance.
Thanks & Regards,
Ramnaresh.pIt is hard to compare Cube and DSO.
Both thier own usage.
1. InfoCube is always additive, while DSO supports overwrite functionality.
2. In InfoCube, combination of all the characteristic value is a Key in the Fact Table, while in ODS, you can specify your own Key Fields based on which you want to generate unique record in the DSO.
3. DSO supports many delta modes like D, R, N, X, after image, before image, while cube does not support all the modes. You can not delete the record based on the key from the cube by just loading the data. While DSO automaitcally deletes the record from active table and generates the reverse entry for Cube.
4. DSO is a flat structure and therefore, it is used to store information at detail level, while cube is used to store information at aggregated level.
So both the structures are very much different from each other. One can replace other at some places, but both the objects have thier own functionality.
- Danny -
Info Cube not getting full records
Hi All,
I am extracting data from the flat file (60k records..of which most fields have binary values),, am getting the values into data source..but when loading from data source to info cube am not getting total records..
the load is successful and it is showing as transferred 60k records and added 510 records in the manage tab of the info cube.
what would be the problem ....any help is appreciated.Hi,
Data with same combination for characterstic is added and only for unique charactersitc value it will give new record.
Material---Customer-Price
10002----- C1--
20
10002----- C1--
20
10002----- C1--
20
10002----- C2--
20
SO As you can see in flat file 4 records are there but in inofcube it will be only 2
Data with same combination of charactersitc is added and with unique combo only it will display.
Hope it clears you.
Also in addition please check the data in flat file.
Regards,
AL -
I am planning to create custom defined DSO Object & Info cube
Hi ,
i am planning to create custom defined DSO Object & Info cube.what ratio i can calculate what is the keyfields & what are the data fields in DSO.How can i calculate.
2. how can i create suitable dimensions, suitable characterstics for dimensions.what ratio i can decide.
Thanks,
chandu.Hi Diego Garu,
Thanks for your fast response.i
VBELN VBAP 2LIS_11_VAITM 0DOC_NUMBER
POSNR VBAP 2LIS_11_VAITM 0S_ORD_ITEM
KUNNR VBAK 2LIS_11_VAHDR 0SOLD_TO
VBELN VBRP 2LIS_13_VDITM 0BILL_NUM
FKDAT VBRK 2LIS_13_VDHDR 0BILL_DATE
INCO1 VBRK 2LIS_13_VDHDR(INCO1FieldNot Available in Data Source) 0INCOTERMS
ZTERM VBRK 2LIS_13_VDHDR(Payment terms field Not Available in Data Source) 0UCPYTERMS
NETWR VBRP 2LIS_13_VDITM 0NETVAL_INV.
here data is coming from the multible tables.that why i am planning to create custom defined data source based on view. here how can i calucate dso is suitable or cube is suitable.
suppose dso is suitable how can i decide which on is the data field and which one is the key field.
how can i decide how many dimensions are needed here.and which chara are suitable for that dimensions.
Thanks ,
chandu. -
Open Orders are negitive in ODS and Info cube
Hi,
Our ODS is getting data from sales order Item data and from ODS data is going to Info cube.
The problem is that: for few sales orders some open orders are deleting in R/3 but same records are reversing
the old records due to this in the ODS and info cube sales orders Quantity is negative but the orders are not negitive.
Could any one let me know how do we can ressolve it.
Regards,
Sharma. IVNHi Sarma,
You should consider checking the attached links below:
ROCANCEL field in R3 extraction program can't catch the LOEKZ (deletion ind
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bct/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383836373136%7d
This may help in this case.
Regards,
Pietro -
Adding a new key figure to Info Cube
Can I add a new key figure to an existing Info cube in which data is loaded?
Assume that In Info Cube we have the following.
Stu Id -- Characteristic
Maths , Physics , Chemistry -- Key figures
These are the info objects which are already available and transfer rules are already available for the same in the infosource.
Could any one let me know how to add one more new key figure (total ) , which is the sum of the three marks to the Info Cube and populate the data in to the same.
I have tried the following steps , but could not get the solution.
1). Create a new key figure info object (total).
2). Add the same to the communication and pull the same into transfer rules of the existing info source and activate the same.
3). Add the new key figure to the info cube.
4). Open transfer rules for the info cube and change the mode from NO updation to Addition for the particular key figure (total).
When I perform the 4th step it is giving a red symbol beside the key figure in update rules and I'm not able to activate the same.
Any help on how to add key figures to update rules and transfer rules is highly appreciated and points would be assigned.
Thanks1.add new Keyfigure to Infocube.
2.Go to Update rules> go to update type of that Keyfigure>selct formula in update method>create new formula>here you can add up your 3 keyfigures-->OK.
activate update rules and InfoProvider.Check all are active or not..
by using Export generate datasouce ,you populate data(historical data) to new keyfigure as well.Then you have to delete historical data requests.
or iyou can create formula in query designer as well as srinivas suggested.that would be better option. -
Administrate virtual info cube with services
hi, all,
if you come across an existing virtual info cube with services, HOW can you find out the name of the function module, that provides the data?
best regards
nevenhi..
according to the below link..from help.sap.com...clicking on 'detail' pushbutton in cube--change screen..should give u the details(FM etc) u need..
http://help.sap.com/saphelp_nw04/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
Vishvesh -
Hi,
Can you please help me out the Info Cubes info for Budget Execution and Cash Management.
Thanks in advance,
AndyTake the memory card out of the camer and put it in a card reader. When it mounts on the desktop select it and try to change the name. However, that might make it incompatible with the camera. You'll just have to try and see.
OT -
Creating a new field in an exisiting info cube ?
Hi All !
How do I create a new field in an exisiting Info cube ?
rgards
Tom.Hai Tom...
Go to the Existing InfoCube...
Select and Double Click it...
The InfoCube Characteristic Window will Come to the Screen..
That has many additional Functions Like data View && Dimensions && Navigate Attributes...
In the Bottom of that Fuction Tags You will see the Tags like Structure && Templates....
Select the Fields that was you like in the Template You Just Select and press the <- Symbol. It will add to the InfoCube as a Field.....
BalajeeKannan -
Deleting the latest request from info cube.
Hi All,
In our project, we have data from May 2012 to till date. Data is freezed and there is no change of data till May 2014. And there is change in data for current month only ie) June 2014. So i have pulled the full load from May 2012 to May 2014 and loaded in the Info cube.
I am deleting the current month data and loading only the current month data to Info Cube. So i want to delete the current request in the info cube before loading and load only the current month data.
Can you pls guide me how to achieve this through Process chain. I am unable to identify which process type will suit my requirement.
Thanks.Hello Vincent,
As mentioned by you, that there is no change in data from May 2012 to May 2014, you can keep the request which contains this data(for Example Req1). If Request2 contains data from May 2012 to June 2014 then you need to delete this request i.e Req2 and load only data for June 2014. Later you can follow below mentioned process.
Now coming to option which you are looking for process type to achieve this via process chain, there is a process variant called "Delete Overlapping Request", which is used to delete data from the target based on certain condition depending requirement.
Hope this resolves your issue. Below document explains steps to achieve the same.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0431c48-5ba4-2c10-eab6-fc91a5fc2719?quicklink=index&…
Best Regards,
Venu Gopal K -
Problem in BI 7.0 while loding info cube
when i am loading data to info cube in bi 7.0 i am getting an error no sid foud for value ' 00000 ' of chareteristic 0currency
Each record in your incoming data source ( if the key figure is of type currency) should have a valid curr.
Looks like you are loading from a file. PL make sure you have valid curr in every record and then reload.
Ravi Thothadri
Maybe you are looking for
-
Acrobat 9.5.1 is causing a visual C++ runtime error in WORD 97
acrobat 9.5.1 is causing a visual C++ runtime error in WORD 97
-
Any help would be appreciated, this is pretty frustrating I really don't want to cough up $80 to get back what was included in the original purchase price of my computer.
-
UIView Animation Problem with different Controllers
Hello! I have a problem regarding the UIView animation and therefore, I have three questions: 1. is it possible to flip from view old to view new whereby each of the views have their own controller? 2. Can I only flip views sharing the same controlle
-
Problem related to transfer of stock to blocked stock?
Hi All, i want to transfer the stock from unrestricted i.e my stock is already lying in unrestricted and now I want to move it to Blocked Stock . please Tell Me How Can I do it?
-
Document attachment while generating PDF
Hi all, Is it poosible to attach documents in the pdf in adobe lifecycle designer like we attach other files to a pdf in adobe acrobat? thanks. regards, daz.