Change entris on dimension table
Hi All,
We have two entries in DIM table one for Fixed currency info object in the cube like blow.
1. DIMID SID_0CURRENCY SID_0SALES_UNIT
0 1000000044 2
DIMID is zero beacuse we have created Info Object with fixed currency.
Now we have to open this filed for all the currency but system not allowing to change the Info Object beacuse data in the cube and we have almost 2 Billion record in the cubes.
So we are thinking to do the changes like below.
We have another entries in the table for not fixed currency Info Object
2.DIMID ; SID_0CURRENCY SID_0SALES_UNIT
2 1000000045 3
SO now we are planning to overwrite record 1 with record 2. so my new record 1 look like below.
1. DIMID SID_0CURRENCY SID_0SALES_UNIT
02 1000000045 3
Please suggest me can we change the DIM table.
Saleem.
Hi Saleem
Dont manupulate the dimension table values manaually,it may leads to inconsistency(after doing manual change RSRV sure will through error).If you do so the connection of Dimension table with Fact and SID will get distrub,same can be rectified by RSRV,repair objects.Not sure how for it will recreate the connections..
Still if you want to take risk...dont delete the Fact table data...via SE38 (prog name DB_DROP TABLES*...Not sure about the program name,better search) delete the Dimension table values(if its not permissible means same can be achieved by ABAP debugging),delete master table and freshly populate the master data table.
Use SLG1 for more Txn data analysis.
Thanks
TG
Similar Messages
-
Number of Entries in Dimension Tables and Fact Tables
Hi all,
is there an easy way to check
- the number of entries in the dimension tables
- the number of entries in the fact table?
Thanks a lot
AlexHi Alex,
If u want to see the content of Dimension table and Fact table for a infocube then just right click on a particular info cube then select manage . Select coneten tab there , form there u can either select Fact table to see the fact table conten or Infocube content to see the Dimensiontable content.
Regards.. -
Entries in Dimension table (Dim Id's) which do not exist in Fact table
Hello all,
We have a strange situation when we run the Report SAP_INFOCUBE_DESIGN. I expected that the Dimension table could have max 100 % compared with Fact tables. However we have a dimension with 587% entries compared with fact tables.
ZOEEMRW /BIC/DZOEEMRW3 rows: 2.416.567 ratio: 587 %
ZOEEMRW /BIC/DZOEEMRW5 rows: 2.464 ratio: 1 %
ZOEEMRW /BIC/DZOEEMRWP rows: 4 ratio: 0 %
ZOEEMRW /BIC/DZOEEMRWT rows: 520 ratio: 0 %
ZOEEMRW /BIC/DZOEEMRWU rows: 18 ratio: 0 %
ZOEEMRW /BIC/EZOEEMRW rows: 399.160 ratio: 97 %
ZOEEMRW /BIC/FZOEEMRW rows: 12.520 ratio: 3 %
Consider dimension /BIC/DZOEEMRW3.
For this Dimension, we could not find an entry in the tables /BIC/EZOEEMRW or /BIC/FZOEEMRW for the following dim idu2019s.
There are many DIM ids which exist in the Dimension table but do not exist in the Fact tables.
Is it normal that this can happen? If so in which cases and is there any way to clean up these entries in the Dimension table which do not exist in the fact table.
Any help or insight on this issue will be appreciated.
Best Regards,
NitinHey,
there is a program with which you can clean up your dimension table. Search forum. But also try RSRV there is a option especially for that.
Backround is that using process chains and you delete data from cube, dimensions are not deleted. So there could be data in the dimension which have no relation to fact table. This is many times discussed in this forum.
Best regards,
Peter -
Hi,
I need to replace the existing email address domain with the new one [example: xxx(at the rate of)yyy.com to xxx(at the rate of)zzz.com] in ADR6 in two fields: SMTP_ADDR and SMTP_SRCH. There are huge number of entries in the table which apparently impossible to change manually in the SAP table ADR6 from SE11.
Is there any way to change (replace) that in any efficient way rather than changing each and every entry?
Is there any place, where I can make the change and it will reflect in the respective entries in the table?
Please share your ideas.
Thanks & Regards,
Sujit.hi guys ,
its very easy ,
go for se16 , fetch all the records which are required to delete ( use only se16 lay out)
after fetching the records just enter ' /H ' in the command bar
and then double click on any of the enter , then u fill go to debugging screeen and then just press F7
u will find the following code
form set_status_val tables ntab structure x031l
using code name next for_lines.
field-symbols: .
refresh exclude_tab.
if code = 'SHOW'.
set titlebar 'TAB' with name 'anzeigen'(100).
elseif code = 'EDIT'.
set titlebar 'TAB' with name 'ändern'(101).
elseif code = 'INSR'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'ANVO'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'DELE'.
then just click on CODE and pass value as DELE and press F8
AND THEN U CAN DELETE ALL THE ENTRIES -
Delete entry or change entry in sap table
Hi Gurus,
i want to change or delete entry in VBEP.
points sure!
Rahulhi guys ,
its very easy ,
go for se16 , fetch all the records which are required to delete ( use only se16 lay out)
after fetching the records just enter ' /H ' in the command bar
and then double click on any of the enter , then u fill go to debugging screeen and then just press F7
u will find the following code
form set_status_val tables ntab structure x031l
using code name next for_lines.
field-symbols: .
refresh exclude_tab.
if code = 'SHOW'.
set titlebar 'TAB' with name 'anzeigen'(100).
elseif code = 'EDIT'.
set titlebar 'TAB' with name 'ändern'(101).
elseif code = 'INSR'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'ANVO'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'DELE'.
then just click on CODE and pass value as DELE and press F8
AND THEN U CAN DELETE ALL THE ENTRIES -
What is '#Distinct values' in Index on dimension table
Gurus!
I have loaded my BW Quality system (master data and transaction data) with almost equivalent volume as in Production.
I am comparing the sizes of dimension and fact tables of one of the cubes in Quality and PROD.
I am taking one of the dimension tables into consideration here.
Quality:
/BIC/DCUBENAME2 Volume of records: 4,286,259
Index /BIC/ECUBENAME~050 on the E fact table /BIC/ECUBENAME for this dimension key KEY_CUBENAME2 shows #Distinct values as 4,286,259
Prod:
/BIC/DCUBENAME2 Volume of records: 5,817,463
Index /BIC/ECUBENAME~050 on the E fact table /BIC/ECUBENAME for this dimension key KEY_CUBENAME2 shows #Distinct values as 937,844
I would want to know why the distinct value is different from the dimension table count in PROD
I am getting this information from the SQL execution plan, if I click on the /BIC/ECUBENAME table in the code. This screen gives me all details about the fact table volumes, indexes etc..
The index and statistics on the cube is up to date.
Quality:
E fact table:
Table /BIC/ECUBENAME
Last statistics date 03.11.2008
Analyze Method 9,767,732 Rows
Number of rows 9,767,732
Number of blocks allocated 136,596
Number of empty blocks 0
Average space 0
Chain count 0
Average row length 95
Partitioned YES
NONUNIQUE Index /BIC/ECUBENAME~P:
Column Name #Distinct
KEY_CUBENAMEP 1
KEY_CUBENAMET 7
KEY_CUBENAMEU 1
KEY_CUBENAME1 148,647
KEY_CUBENAME2 4,286,259
KEY_CUBENAME3 6
KEY_CUBENAME4 322
KEY_CUBENAME5 1,891,706
KEY_CUBENAME6 254,668
KEY_CUBENAME7 5
KEY_CUBENAME8 9,430
KEY_CUBENAME9 122
KEY_CUBENAMEA 10
KEY_CUBENAMEB 6
KEY_CUBENAMEC 1,224
KEY_CUBENAMED 328
Prod:
Table /BIC/ECUBENAME
Last statistics date 13.11.2008
Analyze Method 1,379,086 Rows
Number of rows 13,790,860
Number of blocks allocated 187,880
Number of empty blocks 0
Average space 0
Chain count 0
Average row length 92
Partitioned YES
NONUNIQUE Index /BIC/ECUBENAME~P:
Column Name #Distinct
KEY_CUBENAMEP 1
KEY_CUBENAMET 10
KEY_CUBENAMEU 1
KEY_CUBENAME1 123,319
KEY_CUBENAME2 937,844
KEY_CUBENAME3 6
KEY_CUBENAME4 363
KEY_CUBENAME5 691,303
KEY_CUBENAME6 226,470
KEY_CUBENAME7 5
KEY_CUBENAME8 8,835
KEY_CUBENAME9 124
KEY_CUBENAMEA 14
KEY_CUBENAMEB 6
KEY_CUBENAMEC 295
KEY_CUBENAMED 381Arun,
The cube in QA and PROD are compressed. Index building and statistics are also up to date.
But I am not sure what other jobs are run by BASIS as far as this cube in production is concerned.
Is there any other Tcode/ Func Mod etc which can give information about the #distinct values of this Index or dimension table?
One basic question, As the DIM key is the primary key in the dimension table, there cant be duplicates.
So, how would the index on Ftable on this dimension table show #distinct values less than the entries in that dimension table?
Should the entries in dimension table not exactly match with the #Distinct entries shown in
Index /BIC/ECUBENAME~P on this DIM KEY? -
Insert delete or update entry in Custom table from KONV entry changed
Hi All,
I have custom table ZKONV with only few required columns and should have same number of records as KONV has at any point in time.
KONV is a cluster table so its not readable from ORACLE level. So ZKONV is created. But I dont know how to keep these both tables in sync.
I need to perform insert delete or update entry in Custom table if insert delete or update happens on cluster table KONV from any transactions.
As KONV is a cluster table and does not have changed time stamp I am not able to know the number of records changed in perticulat time period.
Thanks,Thanks for reply,
There is a Outside SAP system which needs to read KONV data to feed into their system, but as KONV is cluster table they are not able to read it from ORACLE level.
To solve this we are thinking to create a transparent Z-table and will fill it with KONV and catch Update, delete or Insert statement and do same on ZKONv.
Is this possible some how? by some database event or something.... -
HI All,
i need to change entries in table for a particular documnet.how can i do that.plz help me out.Thak you imm points are rewardedHi
I depends on what and where you need to do .
If you have to change only two records I don't create a table maintenance view, but I change directly the records.
You can try my solution if you're PROD or write a little code as someone has suggested if you're in DEV.
But if you'll often change some value of that table, it should be better to creare a view for SM30.
If you want to do that use an your own Z function group.
While creating the view if function group doesn't exist, the system creates it before generating the view.
Max
Message was edited by: max bianchi -
Change dimension tables for an infocube
hello all,
we have an existing cube where a few of the dimension tables are quite big compared to size of fact table. we understand enough about getting the correct dimension table sizes, our question revolves around the existing cube.
meaning, when we make the dimension table changes in dev and transport to val, will the transport be successful with data in the cube (so it will be stored in a format of old dimension table structure)? do we have to dump the cube before transport and then reload after transport successful?
thanks so much!Hi,
Please check the below link
Re: Cube Transport issue
For remodelling,
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID0196158950DB01648128345571943727End?blog=/pub/wlg/5772
Thanks -
When PO is changed, then entry in NAST table need to changed so that it won't trigger a output.
Any suggestion please....Do you have unprocessed NAST when doing PO-change ?
Use this NAST for processing (and do not create an additional one when changing)
Or skip processing while performing the NAST (i.e. check ekbn-loevm eq space) -
Dimension key 16 missing in dimension table /BIC/DZPP_CP1P
Hi all,
I have a problem with an infocube ZPP_CP1. I am not able to delete nor load any data. It was working fine till some time back.
Below is the outcome of running RSRV check on this cube. I tried to run the error correction in RSRV. But n o use
Please help.
Dimension key 16 missing in dimension table /BIC/DZPP_CP1P
Message no. RSRV018
Diagnosis
The dimension key 16 that appears as field KEY_ZPP_CP1P in the fact table, does not appear as a value of the DIMID field in the dimensions table /BIC/DZPP_CP1P.
There are 17580 fact records that use the dimension key 16.
The facts belonging to dimension key 16 are therefore no longer connected to the master data of the characteristic in dimension.
Note that errors that are reported for the package dimension are not serious (They are thus shown as warnings (yellow) and not errors (red). When deleting transaction data requests, it can arise that the associated entries in the package dimension have already been deleted. As a result, the system terminates when deleting what can be a very large number of fact records. At the moment, we are working on a correction which will delete such data which remains after deletion of the request. Under no circumstances must you do this manually. Also note that data for request 0 cannot generally be deleted.
The test investigates whether all the facts are zero. If this is the case, the system is able to remove the inconsistency by deleting these fact records. If the error cannot be removed, the only way to re-establish a consistent status is to reconstruct the InfoCube. It may be possible for SAP to correct the inconsistency, for which you should create an error message.
Procedure
This inconsistency can occur if you use methods other than those found in BW to delete data from the SAP BW tables (for example, maintaining tables manually, using your own coding or database tools).Hi Ansel,
There has been no changes in the cube. I am getting this problem in my QA server. So I retransported the cube again from Dev to QA. But did not help me..
Any other ideas??
Regards,
Adarsh -
Update/Load Dimension table attributes(non-key elements)
Hi,
Is there a configuration change in DAC or Informatica where I can opt to load all the dimension tables during an incremental load, irrespective of an associated transaction in the fact table? I observed that for all those accounts with no corresponding transactions are extracted but dropped by the time they reach the actual dimension table. So in the final target DWH, only those unique accounts are brought which have an associated transaction.
I know we can create an aux mapping to include some kind of a flag to trick DAC into thinking the corresponding base fact table also has changed and then bring over the dimension data. But is there a simple alternative?
For example, In GL we have an account dimension which has an associated line transaction details for each account in the fact table. I just change the Account name from A to B. No change or updates to the associated line entry in the FACT table. Now I run an incremental load. Will the change ( new account name) be recognized and brought over? OR will it be brought over only when the associated line entry also changes?
Usually when the dollar amounts dont change, nobody cares but in our case the client wants it. I have googled extensively to understand incremental loading but cud not get a clear response to the above question. Does SCD2 play any role in this?
Thanks,
DanAhsan,
The question primarily revolves around dimension tables and incremental load. If we take out SCD1/2 out of the scene for now, could you please answer Yes or No for the below questions? Please it is kind of urgent as the client is really worried about these aspects of data transfer in incremental loads. As always, appreciate your quick response. Assume that first full load has been done.
1. If we change a key field (effective date) of an account that does not have a new transaction associated with it in the ledger – will the change come over after an incremental load?
2. If we change a non key field (title) on a prior effective date of an account that does not have a new transaction associated with it in the ledger – will the change come over after an incremental load?
3. If we change a non key field (title) on a prior effective date of an account that does have a new transaction associated with it in the ledger – will it reflect after an incremental load?
4. During a load process Full/Incremental, dimension tables get loaded first right? IF not, and facts are loaded first, wont they error out seeing that no associated dimension details exist?
5. We have a few custom tables which dont have any sort of a datetimestamp columns. Is bringing them all over everytime load happens, the only option? What is the best method to handle these kind of situations?
Thanks,
Dan -
Development Class for Dimension Tables
I'm trying to change the development package for a dimension within our salecube. Right now its assigned to $TMP. I'm very familar with the basic steps to change this but its not there. The cube itself is assigned to a "z" package but not the dimension. Can someone tell me how to change the package on a dimension.
(will award points)Hi Richard,
You should be able to do this in SE11 > yrcubename and F4 will give you all the tables fo the dube including the dimension tables. Then Display the table. On the mneu Goto > Object Directory Entry.
Hope this helps...
Message was edited by: Bhanu Gupta
- But why would you like to do this? -
How to find Size of Dimension Table
Hi
I just need to Find the Size of Dimension Table and Fact Table also .
Thanks
BhanuprakashInfocube ->Manage -> Contents -> when it as for table name enter /finfocube name and click on no. of entries you will know how many records are in fact table. if you think the cube is being compressed enter /einfocube name
for Dimension enter /D dimension name and click on no of entires. you will know how many records are in dimension.
to know the name of the dimension Infocube ->change -> click on dimensions -> further details about dimensions click on Assign tab
hope this help!
Rafi -
In Answers am seeing "Folder is Empty" for Logical Fact and Dimension Table
Hi All,
Am working on OBIEE Answers, on of sudden when i clicked on Logical Fact table it showed me as "folder is empty". I restarted all the services and then tried still showing same for Logical Fact and Dimension tables but am able to see all my reports in Shared Folders. I restarted the machine too but no change. Please help me out to resolve this issue.
Thanks in Advance.
Regards,
Rajkumar.First of all, follow the forum etiquette :
http://forums.oracle.com/forums/ann.jspa?annID=939
React or mark as anwser the post that the user gave.
And for your question, you must check the log for a possible corrupt catalog :
OracleBIData_Home\web\log\sawlog0.log
Maybe you are looking for
-
Stopped toll out of windows phone 7.8
Hi...., I have seen on Nokia support site that there was a never firmware version available for all the previous generation of lumia ..... Now I heard that Microsoft has stopped rollout of 7.8 update ... But why ....please tell us ????? On the Nokia
-
How do i make a group in messaging
How do i create a group in messaging?
-
Why can't I log into my mac after yosemite
I had to restart my mac after it froze. It does this a lot since I downloaded Yosemite. When I restarted there were two accounts mine and a guest user. I enter my password and it says it can not log into my account at this time because of an error. *
-
Hot to put conditions in the query.(Very very urgent )
Hi BW Gurus, Pls give me a solution for this one i have to give it today only the report pls consider this as urgent. new BW report, following is an explanation of the report requirement what the report would look like. The logic of the report is to
-
Servlet to add form elements dynamically
I have a program that populates text boxes from a database resultset (Oracle 8i) using a vector that I pass to a jsp form. The problem is I want to make it dynamic where the number of textboxes could grow or shrink depending on the size of the vector