Where do entries in master data table come from?
Hi,
we have an InfoObject used in lots of cubes, ods and so on. Now there are entries in master data table, that are not correct - and they can´t be deleted, since they are used in some InfoProvider.
Is there a way to find out what entry in masterdata table is used which InfoProvider?
Thanks for your help!
Angelika
Hi Angelika,
Yes, there is a way.
Execute deletion of master data. Only not used data may be deleted.
Then run SLG1 t-code, find the last deletion log, expand the node, double click beneath it and see messages that will tell you which infoproviders contain some particular master data and don't allow to delete these master data.
Best regards,
Eugene
Similar Messages
-
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 -
Where Used List for Master Data Entries
Hi folks,
I am looking for a FM, method, etc. that gives me a list, that shows, where a certain master data entry of an InfoObject is used. The BW system makes this check implicitly, when trying to delete master data, but I couldn't get behind the logic yet.
Anyone here with helpful hints?Hi Durgesh,
Thank you for your answer!
Unfortunately the two mentioned FMs are not helpful for me. I am looking for a where-used-list of master data entries, but not of InfoObjects. For example I am looking in which InfoCubes the measure pieces of InfoObject '0UNIT' is used. -
How Bex flageffects internally effects the SID table entries for Master Dat
Hi Every one,
I do understand how the Bex flag setting works in relation to reporting like y we set the flag or y we dont set the flag when we do reporting or not on ODS.. <b>My question here is, i dont understand, how the SID tables or the master data tables or ODS tables get effected with this flag. Can some one explain me what kind of changes in the tables takes place with this flag setting and how it is used in the reporting..</b> How this thing is different with respect to Cube reporting process.. I do understand that ODS doesnt have Dimensions.. so i am just looking for conceptual clarification and not any forum links related to the Bex falg.. i have already gone through many links in the forum, but they didnt help me to clarify this process at table level which i am looking for... ANy help will be highly appreciated in SDN way..
regards,
kishoreThanks Durgesh but I have tried every master data test in RSRV. I think because these document number characteristics don't have master data tables most of the tests return a message that the test does not apply to the characteristic. These characteristics only have a sid table.
-
Hi All,
I am doing Master Data loads, Longtime back we scheduled Infopackage Group IPAKGRP is having 3 Infopacks(ATTR,TEXT,IDATTR) are running as full loads in BW-DEV.
Today , for testing purpose I created to new Infopackage for ATTR only , and scheduled immedialtly,data comes in RSA3,PSA but not into Infoobjects i.e master tables:
it shows :
Master data table locked to processing
Diagnosis
The master data table is currently being processed. It is therefore locked and no other update processing can be carried out.
System Response
Update has been terminated.
Procedure
You can delete the lock if it is a leftover setting from a canceled load process.
Check the master data lock.
Procedure for System Administration
I checked in SM12, I am the only user using this Infoobject. When I open Infopak it shown in SM12 myname and this Master Infoobject. When comeout from Infopak under that Infoobjects infosorce it shows no entries in SM12.
1)What is reason for getting locks?
2)How to solve this to get data into INFO OBJECT?
3)What mistakes I had done? Shall i run Infopak group? Please tell steps how to run that.
Please Give Helpful Tips.
Cheers,
Murali.Hi dear,
the temporary lock you see when you are in the infopackage doesn't cause any problem...it's normal and avoid that any other user access into the same IP...
No matter with your issue during dataloading...
Try to re-run the extraction and look if your problem is still there...then check in SM21 to verify WHERE is your problem...
Hope it helps!
Bye,
ROberto -
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. -
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 -
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. -
Hi Gurus
i am trying to run a data transfer process for BPARTNER but when i do it it gives me an error...that master data table is already locked..how to go about resolving it..points not an issueHi,
Goto tcode SM12, give the user as * and then execute it & in the next screen search BPARTNER
there it will show you the entries for locks on this infoobject if any....
It will show you the user who locked, the process (Eg: Change Run or some other data load) which locked & so on....
& then if needed delete locks....
And then try starting your load...
Rgrds,
Habeeb -
Join between fact table and master data table
Is it posible to join a Cube with a Characteristic? This is exactly what i need:
- In my cube i have date (0CALDAY) and (among others) a characteristic (ZCHAR) and a key figure (ZKEYF).
- I added a key figure (ZKFAT) as an attribute to ZCHAR. So the tables look something like this:
Fact table:
<b>0CALDAY | ZCHAR | ZKEYF</b>
12.10.2006 | CHAR1 | 10
12.10.2006 | CHAR2 | 20
12.10.2006 | CHAR3 | 30
Master data table for ZCHAR:
<b>ZCHAR | ZKFAT</b>
CHAR1 | 1000
CHAR2 | 2000
CHAR3 | 1500
I need to make a query with a table that looks like this:
<b>0CALDAY | ZCHAR | ZKEYF | ZKFAT</b>
12.10.2006 | CHAR1 | 10 | 1000
12.10.2006 | CHAR2 | 20 | 2000
12.10.2006 | CHAR3 | 30 | 1500
Finally, the query should result in something like this:
<b>0CALDAY | ZKEYF | ZKFAT</b>
12.10.2006 | 10 | 1000
12.10.2006 | 20 | 2000
12.10.2006 | 30 | 1500
Adding KFAT to the fact table is not an option, i need to read this information directly from ZCHAR.
I've tried using MultiProviders but didn't get the result i need.
Is there any way to achieve this? Please advice.
Thank you,Thank you Ram C. i've tried your solution and it may be it, but i'm having one problem:
Since i'm reporting in web, i used the second solution you offered and almost got the desiered result. The problem is that some entries are correct but others ar duplicated! Using same example, my result table looks something like this:
<b>0CALDAY | ZKEYF | Calculated KF (from ZKFAT)</b>
12.10.2006 | 10 | 1000
12.10.2006 | 20 | 4000
12.10.2006 | 30 | 1500
Second row should be 2000, but instead it shows 4000. I added ZCHAR's attribute ZKFAT as a display attribute in order to compare the results. I found that the display attribute is correct (2000) but the Calculated KF still showed duplicated data (4000).
By the way, when i execute the query, i get this warning message:
"Calculated key figure ZRT_C02_2_CKF004 is not defined correctly"
Any ideas why this could be happening?
Thank you for your help.
Message was edited by: Gerardo Gaona -
Join Master Data table with fact table
Hello gurus.
I have a requirement on a characteristic. I have to obtain the description of those values that are not filled with data in the cube, the example looks like this:
Data in the cube:
Characteristic 1 | charactersitic 2 | value
AU HPDV 200
TB OPPG 500
TC HPDV 900
TR OPMR 400
HPDV 300
OPMR 200
OPPG 100
Master Data Table:
Description
HPDV AU Auditoria
OPPG TB Servicios Logisticos
HPDV TC Occidente
OPMR TR Oriente
HPDV AI Punta Norte
OPGS CV Escandón
HPDV QR Barquisimeto
HPDV MM Valencia
HPDV DT Barcelona
I need to display in the query only the description of the characterstic whose data is not in the cube, according to the example the values that are missing in the cube are:
HPDV AI Punta Norte
OPGS CV Escandón
HPDV QR Barquisimeto
HPDV MM Valencia
HPDV DT Barcelona
How can i achive this ??
Thank you in advance.Hi Guillermo,
I think you are trying to achieve this: To display characteristic values for which no transaction data or only low values exist for the selected period.
See here for the solution details:
http://help.sap.com/saphelp_nw04/helpdata/en/3a/d1603d13b5c72ee10000000a114084/content.htm
Hope this helps... -
Hi,master data tables and SID's
Hi,
Where and how we will find the master data tables and SID tables?I am going to se16 and checking there but i am not able to see there in which table these are located or stored?
Thank you,
Sekhar..>
chandra sekhar wrote:
> Hi,
> Where and how we will find the master data tables and SID tables?I am going to se16 and checking there but i am not able to see there in which table these are located or stored?
> Thank you,
> Sekhar..
Assuming the infoObject name is ZINFOOBJECT.
The tables are :-
/BIC/MZINFOOBJECT View of Master Data Tables: Characteristic
/BIC/PZINFOOBJECT Master Data (Time-Ind.): Characteristic
/BIC/RZINFOOBJECT View SIDs and Char. Values: Characteristic
/BIC/SZINFOOBJECT Master Data IDs: InfoObject
/BI0/HZINFOOBJECT Hierarchy: InfoObject
/BI0/IZINFOOBJECT SID Structure of Hierarchies: InfoObject
/BI0/KZINFOOBJECT Conversion of Hierarchy Nodes - SID: InfoObject
/BI0/TZINFOOBJECT Texts: Char.
/BI0/XZINFOOBJECT Attribute SID Table: InfoObject
/BI0/ZZINFOOBJECT View Hierarchy SIDs and Nodes: Char. -
Abap logic not fetching multiple rows from master data table
Hi
I just noticed that my logic is fetching only 1 row from master data table.
ProdHier table
PRODHIERACHY Level
1000 1
1000011000 2
10000110003333 3
10000110004444 3
'10000110005555 3*
logic only fetches one row of level 3, I would like to fetch all level 3 rows.
DATA: ITAB type table of /BI0/PPROD_HIER,
wa like line of ITAB.
Select * from /BI0/PPROD_HIER INTO wa where /BIC/ZPRODHTAS = 3.
IF wa-PROD_HIER(10) = SOURCE_FIELDS-PRODH2.
RESULT = wa-PROD_HIER.
ELSEIF wa-PROD_HIER(5) = SOURCE_FIELDS-PRODH1.
RESULT = wa-PROD_HIER.
ENDIF.
ENDSELECT.
thanksHi,,
I have implemented the logic in end routine and it still reads only the first row.
I am loading only PRODH1 and PROD2 but now I want to get all values of PRODH3 from the master data table.
The first 5 values are PRODH1 and first 10 values belongs to PRODH2.
Whenever PRODH2 = 1000011000 in source I should get the following values
10000110001110
10000110001120
10000110001130
I have multiple rows of 1000011000 so my result should be
1000011000 10000110001110
1000011000 10000110001120
1000011000 10000110001130
DATA: ITAB type table of /BI0/PPROD_HIER,
wa like line of ITAB.
data rp type _ty_s_TG_1.
Select * from /BI0/PPROD_HIER INTO table itab where /BIC/ZPRODHTAS = 3.
LOOP AT RESULT_PACKAGE INTO rp.
read table itab into wa with key PROD_HIER(5) = rp-PRODH1.
IF sy-subrc EQ 0.
rp-PRODH3 = wa-PROD_HIER.
ELSE.
read table itab into wa with key PROD_HIER(10) = rp-PRODH2.
IF sy-subrc EQ 0.
rp-PRODH3 = wa-PROD_HIER.
ENDIF.
ENDIF.
MODIFY RESULT_PACKAGE FROM rp.
ENDLOOP.
Edited by: Bhat Vaidya on Sep 10, 2010 11:27 AM
Edited by: Bhat Vaidya on Sep 10, 2010 11:37 AM -
Master data table for 0notificatn
Hi guys,
What is the name of the master data table for Notification in R3. We are having certain unexpected attribute value for 0notificatn and thought will check in r3.Hi Zubin,
Try to check table QMEL or table vision BIW_QMEL (where the extractor gets the information).
Kind regards, -
How to delete master data of materials from sap tables
how to delete master data of materials from sap tables...its needed now.
i know its not recommended but still we need to do this. give me the best possible approach.
regards,
suneethaHi,
I would suggest you not to write your own code to delete the entries.
BAPI_MATERIAL_DELETE, this would mark all materials selected for deletion. But still the material would exist in SAP.
Another solution: Delete a material manually and in another session execute the transaction SM04. This would display the tables which get locked when you do the operation, Then you can write your own code to delete the material numbers from all the related tables.
Regards
Subramanian
Maybe you are looking for
-
I have been editing MTS files (AVCHD) from a Panasonic GH2 (Some hacked some stock firmware) for over 2 years with little to no issues. I am using the CS5.5 Master Collection, Premiere Pro in this case, on a 3 year old Sager laptop (64-bit, i-7 720qm
-
Regarding getting data from excel file and need to generate inbound idoc
Hi guys, Please can u give some example how to get excel file data and need to generate the inbound idoc my questation ? Is it possible to generate inbound idoc with the same logical system ( it seems to be not possible using same logic to generate i
-
Progress bar on Yosemite boot: need I worry?
I just installed Yosemite on my laptop. My wife's laptop is identical, but I haven't yet installed Yosemite on hers. Before I do, I thought I'd ask. With Yosemite installed, I see that, when I boot, there is a progress bar each time before the logon
-
Photoshop Elements 9 and Picasa Web Albums
I see in Photoshop Elements 9 a number of sites you can upload directly to (facebook, flickr, etc.). I don't see Picasa Web Albums in the list. Is there a way to configure this to work, even if there is no "direct" way by means of a button? Like, can
-
Are photos automatically added to iPhoto via photo stream?
I just noticed a new folder called photo stream on my iphoto? however Apple states that these photos are here because of the large storage on the computer....Are these saved on your computer permanantly and why don't they appear in the Photos tab?