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
Similar Messages
-
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. -
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 *
-
I have a key figure in my master data table i want to display the key figur
Hi All,
I have a key figure in my master data table i want to display the keyfigure in my report how can i display it can somebody help me in this scenario
Regards
Kiran KumarHi Kiran,
Assume that Material master data table material has price as an attribute. To get this price as key fig in query, get material number in rows and in columns create new formula with replacement path to get material price as key figure.
Note: Without taking material number into rows, we can't get the price into columns.
Hope this helps u..
Cheers......
Sk babu -
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. -
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 -
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 -
TDTIM: Reduce Master Data Table
Hi Experts,
Would like to know whether TDMS can be used to reduce further Master Data Tables and which are the Master Data Tables can be good candidates to exclude or reduced from transfer? We are currently using TDTIM scenario and archiving is not done actively. Examples: old batch data from MCHA, MCHB, QMEL etc etc..
Thank you!
Best Regards,
Bee HuangNo TDMS does not have a process to reduce master data. Master data is transferred in full.
Best regards -
How can i make indexes on the Master data table
Hi Gurus,
I got a query, in this one i have an Infoobject with many values, like to say invoice number, and i filter and need a lot of Nav Attr of this IO, for this reason the query performance its really bad but i dont know what to do, some friend advice me this : So I would suggest some indexes on the Master data table of your IO for the navigationnal attributer you want to use.
what else can you tell me? if i put this IO in Line item dimension? , or just with flag high cardinality ? help guys.....Hi Jorge.....
Look.........Line item dimension and High Cardinality r related to each other..............Characteristic which has High Cardinality..we will use it as Line item dimension..........But........A dimension marked as a line item cannot subsequently include additional characteristics.......... This is only possible with normal dimensions...........If u r very sure.............then u can go for Line item dimension............no issues........
U can also try to Create index..............
Check this...........
Re: Indexes on Master Data tables
Regards,
Debjani.......... -
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!
AngelikaHi 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 -
How to know which master data objects need to activated in R3
SALES OVERVIEW CUBE -0SD_C03
How to know which master data objects need to activated from delivery version to active version in R/3 for a particular standard cube like 0SD_C03.
its very urgent please advise.
R/3 in RSA5
Sales Master Data
0ACCNT_ASGN_TEXT Account assignment group for this customer
0ACCNT_GRP_TEXT Customer account group
0BILBLK_DL_TEXT Locked
0BILBLK_ITM_TEXT Billing block for item
0BILL_BLOCK_TEXT Billing block in SD document
0BILL_CAT_TEXT Billing Category
0BILL_RELEV_TEXT Relevant for Billing
0BILL_RULE_TEXT Billing rule
0BILL_TYPE_TEXT Billing Type
0CONSUMER_ATTR Consumer
0CONSUMER_LKLS_HIER Consumer
0CONSUMER_TEXT Consumer
0CUST_CLASS_TEXT Customer Classification
0CUST_GROUP_TEXT Customer Group
0CUST_GRP1_TEXT Customer Group 1
0CUST_GRP2_TEXT Customer Group 2
0CUST_GRP3_TEXT Customer Group 3
0CUST_GRP4_TEXT Customer Group 4
0CUST_GRP5_TEXT Customer Group 5
0DEALTYPE_TEXT Sales Deal Type
0DEL_BLOCK_TEXT Delivery block (document header)
0DEL_TYPE_TEXT Delivery Type
0DISTR_CHAN_TEXT Distribution Channel
0DIVISION_TEXT Division
0DLV_BLOCK_TEXT Schedule line blocked for delivery
0DOC_CATEG_TEXT SD Document Category
0DOC_TYPE_TEXT Sales Document Type
0INCOTERMS_TEXT Incoterms (Part 1)
0INDUSTRY_TEXT Industry keys
0IND_CODE_3_TEXT Industry code 3
0IND_CODE_4_TEXT Industry code 4
0IND_CODE_5_TEXT Industry code 5
0IND_CODE_TEXT Industry code
0ITEM_CATEG_TEXT Sales document item category
0ITM_TYPE_TEXT FS item type
0KHERK_TEXT Condition Origin
0MATL_GRP_1_TEXT Material Group1
0MATL_GRP_2_TEXT Material Group 2
0MATL_GRP_3_TEXT Material Group 3
0MATL_GRP_4_TEXT Material Group 4
0MATL_GRP_5_TEXT Material Group 5
0MATL_TYPE_TEXT Material Type
0MAT_STGRP_TEXT Material statistics group
0NIELSEN_ID_TEXT Nielsen ID
0ORD_REASON_TEXT Order reason (reason for the business transaction)
0PICK_INDC_TEXT Indicator for picking control
0PRODCAT_TEXT Product Catalog Number
0PROD_HIER_TEXT Product Hierarchy
0PROMOTION_ATTR Promotion
0PROMOTION_TEXT Promotion
0PROMOTYPE_TEXT Promotion Type
0PROV_GROUP_TEXT Commission Group
0REASON_REJ_TEXT Reason for rejection of quotations and sales orders
0REBATE_GRP_TEXT Volume rebate group
0RECIPCNTRY_TEXT Destination country
0ROUTE_TEXT Route
0SALESDEAL_ATTR Sales deal
0SALESDEAL_TEXT Sales deal
0SALESORG_ATTR Sales organization
0SALESORG_TEXT Sales Organization
0SALES_DIST_TEXT Sales district
0SALES_GRP_TEXT Sales Group
0SALES_OFF_TEXT Sales Office
0SCHD_CATEG_TEXT Schedule line category
0SHIP_POINT_TEXT Shipping point/receiving point
In BW
Base Unit of Measure 0BASE_UOM
Bill-to party 0BILLTOPRTY
Calendar Day 0CALDAY
Calendar Year/Month 0CALMONTH
Calendar Year/Week 0CALWEEK
Change Run ID 0CHNGID
Company code 0COMP_CODE
Cost in statistics currency 0COST_VAL_S
Credit/debit posting (C/D) 0DEB_CRED
Distribution Channel 0DISTR_CHAN
Division 0DIVISION
Number of documents 0DOCUMENTS
Sales Document Category 0DOC_CATEG
Document category /Quotation/Order/Delivery/Invoice 0DOC_CLASS
Number of Document Items 0DOC_ITEMS
Fiscal year / period
Fiscal year variant 0FISCVARNT
Gross weight in kilograms 0GR_WT_KG
Number of Employees 0HDCNT_LAST
Material 0MATERIAL
Net value in statistics currency 0NET_VAL_S
Net weight in kilograms 0NT_WT_KG
Open orders quantity in base unit of measure 0OPORDQTYBM
Net value of open orders in statistics currency 0OPORDVALSC
Payer 0PAYER
Plant 0PLANT
Quantity in base units of measure 0QUANT_B
Record type 0RECORDTP
Request ID 0REQUID
Sales Employee 0SALESEMPLY
Sales Organization 0SALESORG
Sales group 0SALES_GRP
Sales Office 0SALES_OFF
Shipping point 0SHIP_POINT
Ship-To Party 0SHIP_TO
Sold-to party 0SOLD_TO
Statistics Currency 0STAT_CURR
In R3 RSA5 we have all the Master data data sources as mentioned above, and BW also. How to find the related Master data Infosource in R/3 Master data Data sources.
Thanks in advance,
Bhima.
Message was edited by: Bhima Chandra Sekhar GuntlaHi,
<i>How to know which master data objects need to activated from delivery version to active version in R/3 for a particular standard cube like 0SD_C03.</i>
I think, you are looking for master data sources(text,attributes,hier).Am i right?
If so, This cube has almost all SD master data characterstics. So you can activate all the all master data datasources of SD in r/3 (SD-IO).
Any way you requirement does not stop only by using this cube . You will activate all other cubes in SD also. So if you want to activate only needed master data datasources when you are activating a cube, the job becomes senseless. There is no problem(wrong) in activating all master data available under that application , even though you want to activate only one cube.
With rgds,
Anil Kumar Sharma .P -
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.... -
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 -
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
Maybe you are looking for
-
Help me figure out if I am able to upgrade an older MacBook Pro for using new Adobe Creative Cloud
Hi everyone. I have a macBook Pro that I (believe) I purchased in 2009...can't quite remember, but these are the stats on it: Model Name: MacBook Pro Model Identifier: MacBookPro6,2 Processor Name: Intel Core i5 Processor Speed: 2.53 GHz Numb
-
Is There A Fix For The Looping PC Suite 6.84?
I can no longer use my Nokia 6280 with my PC, since I upgraded to the latest build of PC Suite. I get a looping that completely disables my computer that involves the Microsoft User-Mode Framework. Here is my configuration - Microsoft Windows XP Buil
-
Copy and paste a transition (doesn't work)
from the pp cs5 help Select a transition in a sequence. Select Edit > Copy. Move the current-time indicator to the cut line where you want to paste the transition. Select Edit > Paste. Done all that. nothing happens. What am I doing wrong? So in the
-
is there a way to clear all stored variables in ES? I could set them to null at end of script, but this would be really annoying. Sometimes I just need to write some quick ditry code and don't want to worry about clearing them. any ideas?
-
Can ACFS be installed on My Exadata ?
Accoring the article --Can ACFS be installed on Exadata ? (Doc ID 1326938.1) applies to : Oracle Exadata Storage Server Software - Version 11.1.3.1.0 to 11.2.3.1.0 [Release 11.1 to 11.2] Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.