Copying Master Data Tables
Hi
Currently we have 0COSTELMT which is compunded to 0C0_AREA.
Now I have to create ZCOSTELMT which is not compunded to 0CO_AREA.
Also I have to create a new Cost Element Master table which is a copy of the existing Master table, except that Controlling Area is not included. Duplicates in the source (two or more rows, from different Controlling Area, having the same Cost Element id) should result in one record. The Cost Accounting cubes will then drop the existing Cost Element Master and include instead this new Master. Any hierarchies built on Cost Element must also be attached to this new Cost Element Master.
How do I create new master data tables which are a copy of old ones with some changes.
Also how do I attach the hierarchies.
How do I delete this attachment of datasources to 0COSTELMNT.
Do I need to create new infopackages using the same datasources or should I create all three datasources too from scratch.
I dont want 0CO_AREA in the new master data.
Voodi,
Can you elaborate " transformations between original DS and new IO"
Thanks
Similar Messages
-
Customer master data table KNVV is missing
Hi All
I a trying to cancel the billing document using transaction VF11. System shows error as " customer XYZ customer master data table KNVV is missing"
Please advice how to proceed?
Thanks and regards
satyaprasadHi,
Goto the T.Code "Se11/SE16".
Enter the table name as "VBRK".
Enter your invoice number.Execute.
Check the value of "VKORG(Sales Organisation)","VTWEG(Distribution Channel)" and "SPART(Division)".
Or you check the same in "VF03" screen also.
Make a copy of the above three fields.
Goto the T.Code "Se11/SE16".
Enter the table name as "KNVV".Enter your customer number in "KUNNR" and the values of "Sales organisation,Distribution channel and division" into their respective fields.Execute.
Check if there are any entries.The result should be no entries so that only you will receive this error message.
If you created the customer with out sales area,while creating the order only it will give you an error message as "No customer master record exists for sold-to party XXXXXXX
Message no. VP199".
As the partners are defined in sales area data only.
Regards,
Krishna. -
Mismatch between Master data table /BIC/P and SID table /BIC/S
Hello All,
in our master data table we have logsys in key
after a system copy we had a problem with logsys name, when we have copied our bw prod system in test system we find prod logsys like value, the BDLS doesn't change all values for all structures and some master data table still have prod logsys instead of test logsys but some records have test logsys values
for example:
our production logsys is: BIP300 and our test logsys is BIT300
in our master data test table we find had some records logsys value like BIP300 and others with BIT300
all our ODS and CUBE have the right logsys value in test "BIT300"
we have developed an ABAP report to execute on selected tables to change logsys from BIP300 to BIT300
we execute the report on only P master data table like /BIC/PZCOOR and it's work fine and has changed all the records values
from BIP300 to BIT300 and this program has eliminated all duplicate records
the problem is when on our master data try to view data we find that bw return data from SID table /BIC/SZCOOR
in fact if we go to control data on /BIC/SZCOOR table we find that there still are records with logsys BIP300 and BIT300
and the same if we execute our query on ZCOOR we have values with BIP300 and BIT300
how should we fix this problem?
if we execute our ABAP report on /BIC/SZCOOR to change logsysname we can fix that or we could have problem?
please can give me some useful help
thanks a lot
BilalHi ,
Follow the sequence of deletion .
1.Delete data from cube YMM_*
2.Delete data from 0pur_c*
3.Delete data from 0material .
4.Delete data from info_rec .
Best option would be do selective deletion for these four materials and run a repair request then after to update into data target.
Hope that helps.
Regards
Mr Kapadia -
How to find the number of entries in a master data table
Hi Experts,
I am trying to find the entries in 0CUSTOMER master data.
BW>LISTCUBE>Data target: 0CUSTOMER and selected the fields that I need.
I would like to know how to find the "number of entrees". I tried to run the SUM for a count field, but it is taking forever as there are huge number of records .Hi Dev,
Go to the change/display mode of the info object (0CUSTOMER) in your case. Go to the Master data/Text tab. Here you will find the master data tables according to your settings (P orQ or X or Y). Double click on the table name and it will take you to the SE11 display. From there, you can check the number of records as you do in any transparent table.
Hope this helps.
Thanks and Regards
Subray Hegde -
Abap code not working - deleting based on master data table information
Hi,
I wrote a piece of code earlier which is working and during test we found out that it will be hard for the support guys to maintain because it was hard coded and there is possibility that users will include more code nums in the future
sample code
DELETE it_source WHERE /M/SOURCE EQ 'USA' AND
/M/CODENUM NE '0999' AND
/MCODENUM NE '0888' AND.
Now I created a new InfoObject master data so that the support people can maintain the source and code number manually.
master data table - the codenum is the key.
XCODENUM XSOURCE
0999 IND01
0888 IND01
now I wrote this routine all the data gets deleted.
tables /M/PGICTABLE.
Data tab like /M/PGICTABLE occurs 0 with header line.
Select * from /M/PGICTABLE into table tab where objvers = 'A'.
if sy-subrc = 0.
LOOP at tab.
DELETE it_source WHERE /M/SOURCE EQ tab-XSOURCE AND /M/CODENUM NE tab-XCODENUM.
ENDLOOP.
Endif.
But when I chage the sign to EQ, I get opposite values , Not what I require.
DELETE it_source WHERE /M/SOURCE EQ tab-XSOURCE AND /M/CODENUM EQ tab-XCODENUM.
Cube table that I want to extract from
/M/SOURCE /M/CODENUM
IND01 0999
IND01 0888
IND01 0555
IND01 0444
FRF01 0111
I want to only the rows where the /M/CODENUM = 0999 and 0888 and i would also need FRF101
and the rows in bold should be deleted.
thanks
Edited by: Bhat Vaidya on Jun 17, 2010 12:38 PMIt's obvious why it deletes all the records. Debug & get your answer i wont spoon feed
Anyways on to achieve your requirement try this code:
DATA:
r_srce TYPE RANGE OF char5, "Range Table for Source
s_srce LIKE LINE OF r_srce,
r_code TYPE RANGE OF numc04,"Range table for Code
s_code LIKE LINE OF r_code.
s_srce-sign = s_code-sign = 'I'.
s_srce-option = s_code-option = 'EQ'.
* Populate the range tables using /M/PGICTABLE
LOOP AT itab INTO wa.
s_code-low = wa1-code.
s_srce-low = wa1-srce.
APPEND: s_code TO r_code,
s_srce TO r_srce.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM:
r_code COMPARING ALL FIELDS,
r_srce COMPARING ALL FIELDS.
* Delete from Cube
DELETE it_source WHERE srce IN r_srce AND code IN r_code. -
What are the master data tables for 'Plant'?
Hi friends,
What are the master data tables for 'Plant' that contain below data?:
PLANT
NAME1
NAME2
LANGUAGE
HOUSE_NUM_STREET
PO_BOX
POSTAL_CODE
CITY
COUNTRY_KEY
REGION
COUNTRY_CODE
CITY_CODE
TIME_ZONE
TAX_JURISDICTION
FACTORY_CALENDAR
Thanks a lot!Hi,
Plz try out following tables for your requirement.
TOO1W
ADRC
J_1IMOCOMP
T001W : werks TYPE t001w-werks, "PLANT
name1 TYPE t001w-name1, "PLANT DESCRIPTION
adrnr TYPE t001w-adrnr, "PLANT ADDRESS NUMBER
ADRC: addrnumber TYPE adrc-addrnumber, "ADDRESS NUMBER
str_suppl1 TYPE adrc-str_suppl1, "STREET2
str_suppl2 TYPE adrc-str_suppl2, "STREET3
street TYPE adrc-street, "STREET
city1 TYPE adrc-city1, "CITY
post_code1 TYPE adrc-post_code1, "CITY POSTAL CODE
post_code2 TYPE adrc-post_code2, "PO Box postal code
tel_number TYPE adrc-tel_number, "TELEPHONE NUMBER
fax_number TYPE adrc-fax_number, "FAX NUMBER
str_suppl3 TYPE adrc-str_suppl3, "STREET4
location TYPE adrc-location, "STREET5
city2 TYPE adrc-city2,
For Tax Details :
J_1IMOCOMP : werks TYPE j_1imocomp-werks,
j_1icstno TYPE j_1imocomp-j_1icstno,
j_1ilstno TYPE j_1imocomp-j_1ilstno,
Hope this will help.
Regards,
Archana -
M or P master data table to be used in routine read statement
Hi
I update of a DSO i had a requirment for a routine to get the Attribute of a Infoobject.
So which master data table M or P table i need to use in my read statement and why
ThanksUse M table as it it the view on time dependent(P table) and time independent(Q table) tables.
M table is view on time dependent and time independent attributes, you can see characteristic values and all the attributes for the Characteristic.
The tables that go in the view are the Master Data Table and the Time-Dependent Master Data Table. If the characteristic only has time-dependent attributes, only the time-dependent master data table goes in. If the characteristic has only non-time-dependent attributes, only the master data table goes in. -
Which master data table to be used to get attribute value
Hi all,
I am writing routine in update rule to get data for one master data attribute of master data 0customer.
But I am cofused in choosing master data table to get data.
There are two master data table in master data tab of 0customer characteristics.
1. View of MstrDtaTbls :- /BI0/MCUSTOMER
2. Master data tab :- /BI0/PCUSTOMER
Suggest me which one to take .
Although I have tried with 2 one and it is working fine.Hi,
If the attribute is not time-dependent please use /BI0/PCUSTOMER, else use /BIC/QRCOSTCTR.
Just remember P table and Q table.
Regards,
Frank -
How are attribute and text master data tables linked in SAP R/3?
Hello,
how are attribute and text master data tables linked in SAP R/3?
Most tables with attribute master data like T001 for company codes,
have a text master data table T001T (add "T" to table name).
When looking at the content of table T001 via transaction se11,
the text are automatically joined.
But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
has no text table TVBURT), but in se11 you get texts. There is an address
link in TVBUR, but the Name1, etc. are empty.
a) Where are the text stored?
b) How does the system know of the link?
Hope someone can help!
Best regards
ThomasHi Thomas
The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
-> Foreing key with table TVBUR
-> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
->Cardinality-> 1-:CN
It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
U can find out the text table of master table by SE11: GoTo->Text Table
U can fined some information in table DD08L.
Max -
How to create time dependant master data table in R/3?
Hi gurus,
I am new to BW.I try to execute the 'Time dependant Attribute' into BW.in my scenario my source system must give me the data like "salesrep ID,Manager ID,Date to,Date from,Sales region". I like to know how to define this master data in SAP R/3(Source system)?. Give me the steps to create master data table in R/3.
Manager may change periodically.even i need to maintain all the changes in R/3.
Thanks & Regards,
Bharathbuilt-in type method means.,
there is no need to create data element and domain objects seperately for each and every field of the table which ever you are creating, system will implicitly fix the size based on the data type you selected.... -
Insert data in a user master data Table
Hi every body,
I've created a User Master data table named 'MyTable'. i want to add data to this table but there is an error which occur : 'to generate this. First Define the Numbering Series in the Administration Module'. I want to add data to this table using C# code, without using UDO.
Is it possible?
Thank you for helping me
HaifaHi,
thank you for your answer.
I didn't understand very well, i will ask the question in an other way.
it is possible to insert records in a master data table by using the code C#
I mean :
usertable = _Company.UserTables.Item(tablename);
usertable.Code = code;
usertable.Name = name;
usertable.UserFields.Fields.Item("U_ContCode").Value = ContCode;
usertable.UserFields.Fields.Item("U_CardCode").Value = CardCode;
lRetCode = usertable.Add();
without encountering the problem of numbering series.
Haifa -
How to check the records in Master Data Table?
Hi,
I am trying to load the Master Data Table using the Flat File.Now how to check the records in Master Data Table?
I done the following way:
Info Provider->Info Object->Right Click->Display Data or Maintain Master Data
But it's not showing the records.It's asking like CID from......To......
CID(SID)from.............To.......
here CID means customer id(characteristic).
and showing some settings.
Please guide me.
Thanks & RegardsHi Sri,
Go to T- code RSD1 and type your info object name and open the P- table in the infoobject then select execute symbol to see the updated data in to master data info object.
regards
sap -
What is the process to copy Master Data in Production to Development?
Hi,
we have an outdated master data in our BW development environment and we would like to bring it to the same level as our BW production environment.
What is the process to copy Master Data in Production to Development?
ThanksHi,
You can try system copy for this.
Pls chk this document , might be useful
Activity to be performed after client copy :
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bff13df2-0c01-0010-6ba7-bc50346a6fd8
BW system Copy :
System Copy BW
Re: bw system copy
BDLS :
Re: After R/3 Refresh
BDLS on BW Q/A
Check following OSS notes.
Note 543715 - Projects for BW Migrations and System Copies
Note 886102 - System Landscape Copy for SAP BW 2.X, 3.X and NW2004s BI
Note 325525 - Copying and renaming systems in a BW environment
Note 184754 - Procedure after BW database copy
client copy
http://help.sap.com/saphelp_nw04/helpdata/en/c2/17e73a86e99c77e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/69/c24cc34ba111d189750000e8322d00/frameset.htm
Client Copy
http://help.sap.com/saphelp_nw04/helpdata/en/ff/9be1817d811c41985662da25061f98/frameset.htm
Thanks,
JituK -
Master Data table in a Lookup in Transformation
Hi,
I am writing a Lookup in Transformations.As per the logic i need to read the Master Data Table of a Infoobject to get the Attribute from the master data table.
The Master data is not time dependent
Which Master Data table should i use in my Logic
/BI0/M *
/BI0/P *
ThanksIf there is no time dependency, use /BI0/P *
-
Field not being updated in Master Data table
Hi guys,
I'm pulling data from master data in BW... specifically 0ven_compc. I haven't added any new fields to this maser data table, and one field that I'm trying to pull is not being populated. In the master data table this field is blank, but in the PSA there are values. Somehow the values are not being loaded into the master data table. I've checked the transfer rules and communication structure and everything looks fine. Why is this happening?
Thanks,
AnthonyHi Anthony,
The problem may be that there is an inconsistency with the target master data infoobject. Please make a dummy change to the target infoobject (i.e you can change the description), save this change and then click on the activate icon. Please then check if the field is filled with the next load.
If the problem still exists please let us know your BI version and support package level.
Best Regards,
Des.
Maybe you are looking for
-
Does anyone have advice about how to move my photos from my android phone to my Macbook Air? The phone is no longer in service (I traded to an iphone) and I can't locate my cable--which may not have helped, anyway. I tried inserting my micro memory
-
Document url link on webdynpro iview
Dear All We have developed custom webdynpro ivew. Assigned that ivew to page and can display in ESS submenu. and one more km doc iview is there for document disply. But requirement is when enduser access webdynpro ivew , in the same page there shou
-
Removing duplicate rows from SELECT
Hi, I was wondering if there was any way to remove duplicate rows from a select statement. My table looks like this: CREATE TABLE CUS_ID_TO_PC_ID ( CUSTOMER_ID VARCHAR2 (10) NOT NULL, PC_ID VARCHAR2 (25) NOT NULL, PASSWORD VARCHAR2 (25) NOT NULL, REG
-
Hello there, I have Kontrol 49 as the master keyboard / Control surface for Logic Studio. The control surface works well with Logic Pro 8, but the controls of the keyboard (Modulation, Pitch bend, sutain pedal, etc.) do not work at all with the instr
-
IPod Touch displaying only half-screen album art
Hey all, I'm using an iTouch 1G, and I love it. Unfortunately, over the past few weeks, iTunes seems to have a problem putting the album art for songs onto my iPod Touch. Here's an image of what it looks like: The bottom half of the image is missing,