Data Fields & Key Fields IN DSO
Hi Guys,
Can any one tel me what exactly key field holds & Data field hold in DSO.
Thanks,
Venkatesh
Hi,
A DSO serves as a storage location for consolidated and cleansed transaction data or master data on a document (atomic) level. This data can be evaluated using a BEx query.
A DSO contains
Key fields (such as document number, document item) and data fields that, in addition to key figures, can also contain character fields (such as order status, customer). The data from a DataStore object can be updated with a delta update into InfoCubes (standard) and/or other DataStore objects or master data tables (attributes or texts) in the same system or across different systems.
Key fields : It will contains both Chars and KeyFigures.
Data Fields : Based on this i.e. the charecterisctics which you will keep in this Data Fields, the DSO will over write the Data in DSO.
Overwriting functionality will works based on Data Fileds.
http://help.sap.com/saphelp_nw2004s/helpdata/en/f9/45503c242b4a67e10000000a114084/content.htm
Thanks
Reddy
Similar Messages
-
Master data and key field?
Hi,
We are using 0equipno master data.There is standard data source for this 0equipno and we are using this for the same.But this 0equipno is having an attribute 0equiptype.But with the some other requirements we were asked to add some navigational attributes to 0equiptype.0Equitype is using a view called T370K.But now my qestion is when I load data to a 0equiptype then all the previous data which ara available by loading 0equipno is also present.But as per the logic old data has to be overwritten right?When you loaded Equipment, with the Equipment Type as an attribute of Equipment, you read and possibly updated the attribute table for Equipment (/bi0/pequipno), SID table for Equipment (/bi0/sequipno) and the SID table for Equipment Type (/bi0/sequiptyp). That load has no effect at all on the Equipment Type attributes table (/bi0/pequiptyp).
Now, when you load the Equipement Type attributes, the process will read the Equipment Type SID table (/bi0/sequiptyp) to determine if the Equipment Type already exists. If it does, then it will load the attributes for that Equipment Type to the Equipment Type attribute table (/bi0/pequiptyp) and the SID tables for each attribute. If the Equipment Type doesn't exist, only then would it create a new Equipment Type in the SID table (/bi0/sequiptyp) and then insert into the Equipment Type attribute table and attribute SID tables. -
Hi,
Data fields and key fields are same as Characteristcs and key figures? Or they are diffrerent?
Thanks,
RadhaHI
Key Fields = Acts as Primary Key for The ODS like Primary of Tables in R3.
Data fields = Apart from Key fields We consider rest as data fields.
Ususally we use Characteristic info Objects and Dates in Key Fields and Key figures in Data fields.
It's decisive factor for overwriting property of ODS or DOS.
Hope this helps.
Regards,
Rangzz
Edited by: Ranganath Kodiugane on Feb 7, 2009 12:14 PM -
How can you make a field "key" in transformation rules - master data maping
Hello ,
We are in the process of creating some custom master data datasources for HR module. In this we are trying to extract fields from particular infotypes. In my situation we are pulling fields from only one table PA0032. From this table I am making a view where in I am selecting all the key fields from that table and including 2 other fields (Buliding name and room number). Now I create an ATTR master datasource with this view and check in RSA3 I see the data very good. All this is time dependent data like for Employee he might be in buliding AB room 32 first and then get moved to Buliding CD room 34. So we need to keep a history of the records. Now I replicate the DS in BW system, and create custom infoobjects for building and room no. I create an infoobject called Zworkaddress and dates I use 0VALIDTO and 0VALIDFROm. I make both the dates, bulding and room as attributes of ZWORKADDRESS. Now I map all the fields from datasource to the infoobject but field ZWORKADDRESS is on,y coming up as KEy field not the dates and subtype. Thats why I am getting only the last record not all the records of the emplyee work address.
We are using BI 7.0, so my question is how can I make the other fields as key's so that I can have all records.
Thanks in advance.Kiran,
If you make any one time dependant system will create Dateto and date from internally. we don't need to add those.
1. for Employee, add Company Address as attribute. make this as Time Dependant. keep Subtype as Compounding key to your employer. then you will get Employee, Sub Type and Dates as key fields. you can have complete history of Employee Address change.
Hope this helps.
Nagesh Ganisetti. -
Remote Key Field not visible on destination during Import
Hi All,
I have made certain tables(Main, Flat,QT) remote key enabled. but when i m trying to import data remote key field in the destination side doesn't come up. Remote sys is of type Inbound/Outbound. Please let me know in case any one can provide any link to this.
Thanks
ManishHi Manish,
I have made certain tables(Main, Flat,QT) remote key enabled. but when i m trying to import data remote key field in the destination side doesn't come up. Remote sys is of type Inbound/Outbound. Please let me know in case any one can provide any link to this.
There are 2 steps to get the remote key in the Import Manager destination side. One is to ensure that the key mapping is set to YES in Console ( which I guess you have already done). And the other is while Opening import Manager, choose the Remote system in the Connect to Source screen.i.e Mention the remote system name in the Remote System in the Import Manager dialog Box. This would get you the remote key on the destination side, that you are looking out for.
For reference refer the link below to get the info:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30843106-5539-2b10-75a9-da483911b0d9
Thanks and Regards
Nitin Jain -
Hi Experts,
I have a scenario in PI, where I have 1 Header, n Data Records and 1 Trailer in the source file. This data is coming in CSV format.
I am using FCC to convert CSV into XML.
In the FCC, I have used keyFieldValue parameter. For the Header Record, the Key Field Value is constant "H"; for Trailer Record the key field value is constant "T".
However for Data Record, the key field value is not constant. The first character of Key field of Data Record will always be "D", but rest of the Alphabets can change.
Sample File:
"H","3.04",22/10/2009,16:31:12
"D2S",21/10/2009,20:00:26,"20044",00666,"S",1
"D2S",22/10/2009,14:26:20,"20044",00668,"S",1
"D0S",22/10/2009,08:33:34,"00044",04165,"S",1
"D0S",22/10/2009,11:59:59,"00044",04166,"S",1
"T",1393.27,1393.27,8
Here, first line is Header Line (Key Field Value "H"), Last Line is Trailer Line (Key Field Value "T") and all lines in between Header and Trailer are Data Records (Key Field Value starts with "D). I need to convert this file into XML.
I have no clue, if this can be converted into XML through FCC.
Any help will be highly appreciated.
Regards,
Varun>
Varun Agarwal wrote:
> Sample File:
>
"H","3.04",22/10/2009,16:31:12
> "D2S",21/10/2009,20:00:26,"20044",00666,"S",1
> "D2S",22/10/2009,14:26:20,"20044",00668,"S",1
> "D0S",22/10/2009,08:33:34,"00044",04165,"S",1
> "D0S",22/10/2009,11:59:59,"00044",04166,"S",1
> "T",1393.27,1393.27,8
>
> Here, first line is Header Line (Key Field Value "H"), Last Line is Trailer Line (Key Field Value "T") and all lines in between Header and Trailer are Data Records (Key Field Value starts with "D). I need to convert this file into XML.
>
> I have no clue, if this can be converted into XML through FCC.
> Any help will be highly appreciated.
>
>
> Regards,
> Varun
Write a simple module. The module will do a replace of the Dxx fields to D (you can use simple regex function for this)
After the module, use the messagetransformbean to do the FCC for you.
The module might sound complex, but trust me its a simple logic you need to implement and you can easily do the FCC with the messagetransformbean -
How to Set Position Cursor Option to Non key fields in Table Maintenance .
Hi,
I have created a Ztable and i am using table maintenance for that table. In TMG ,by default we have position cursor option to key fields only . User wants that position cursor option for non key fields also. Please help me out of this issue .
How to provide Position Cursor option to Non key fields.
Thanks & Regards,
Prasad.Hi Nabheet,
I tried using TYPE S DISPLAY LIKE E and am setting vim_abort_saving as X and sy-subrc as 4. However, this is also not enabling the fields. In this case, the first 2 fields - key fields are getting enabled but not the required ones. The above snapshot is for the same.
lv_date1 = table1-date1.
lv_date2 = table1-date2.
lv_diff = lv_date2 - lv_date1.
IF lv_diff LT 0.
CLEAR: lv_err_msg.
lv_err_msg = text-005.
MESSAGE lv_err_msg TYPE 'S' DISPLAY LIKE lc_e.
vim_abort_saving = lc_x.
sy-subrc = 4. -
DSO - What key fields and data fields in dso
Hi experts,
I need to create a dso in between the cube and 2 data sources(2lis_11_vaitm, 2lis_12_vcscl) to stage the data. My question is: what key fields and data fields to choose for the dso? is there a standard dso to copy? please explain in detail the model to set up, whether to connect both the ds's to dso and then to cube or one ds to dso and the other to the cube. more details will help.Check this for standard DSO:
http://help.sap.com/saphelp_nw04/helpdata/en/43/fcdc387f34384f94c3227baf3837a8/content.htm
Thanks...
Shambhu -
Key Fields & Data Fields in DSO.
In Standard DSO, Maximum how many number of key fields and data fields we can enter in one DSO?
For e.g : In Cube Char - 248 KF - 233
In DSO Key Fields - ? Data Fields - ?
Regrards,
Nithi.Hi Nithi,
Since Key fields are decide by us we can add according to our requirement.
Key fields can only be 16 you cannot exceed this. but if you have more key fields, you can combine fields using a routine for a key field
Max Data Fields - 749 data fields can be added in a DSO.
Warm regards
Gokul -
What key fields should i set in DSO extracting data from 2LIS_02_ITM
hi experts
i extract data from 2LIS_02_ITM into a DSO, i know the DSO isn't a must, becoz the 2LIS_02_ITM delta type is ABR, but i want to keep the info in change log.
so, what the key fields should i set in the dso? just ebeln and ebelp is enough?
hunger for ur advice and thanks a lot!If you extract ITM toa DSO you cannot maintain a log of every change....the data will come ....but when the data must be activated the reference of the ebelp ebeln will remain only a single record....if you want to maintain all the data you must create another field in extractor with you can difference all the changes for one single ebelp ebeln...
Regards -
Key fields and data fields in a DSO ??
i have a question regarding key fields and data fields in a Standard DSO...
i am using 2 datasources to build a open sales report 2LIS_11_VASTH and 2LIS_11_VASTI i am pulling in data from these 2 data sources to a DSO and i am wondering what infoobjects should be in the key fields and data fields .....does this reflect back to table VBUK and VBUP tables and does the key field in the DSO have to be the key fields in VBUK and VBUP tables ???? or what really should be included as key fields and data fields ????
please help....If you look at the various SD tables, VBELN and POSNR are commonly used as the document number and document line item.
For VBAP and VBUP, it's referring to the Sales Order Line Item with the columns VBELN and POSNR as the key for both tables. However, if you look at the LIPS table, which is the Delivery Line Item table, it too has VBELN and POSNR as the key. Likewise, the VTTP table, which is the Shipment Line Item table, also has VBELN and POSNR as the key.
While using RSOSFIELDMAP as a map is a fairly good "rule of thumb", it still needs to be used with a level of skepticism. -
Data fileds and key fields in DSO
Can any one explain what exactly difference between data fileds and keyfields in DSO or the concept of these two
And how to know which fields should be assigned to data filed or key field
with regards,
musaiHi Musai,
Let me take an ex. Say you have 3 fields A, B & C. Let us assume 'A' is keyfield, 'B' & 'C' are Datafields.
Lets assume the PSA data is :
A B C
001 Musai 89.9
002 Musai 89.9
003 Pavan 75.00
So when you load the data to DSO, since all the keyfield values are unique (001,002,003), all the records will get loaded to DSO.
But If PSA data is :
A B C
001 Musai 89.9
001 Musai 85.7
003 Pavan 75.00
Only 2nd & 3rd rows will be loaded to DSO since 1st & 2nd row have same value for keyfield (001). So 1st row gets overwritten(or summation depending on what is the setting in Transformation rule for C considering C is Keyfigure) by 2nd when you load to DSO. 3rd row doesn't have any problem. So that will go as it is.
Also please note that we cannot use Keyfigures as keyfield.
Hope it is clear now!
Regards,
Pavan -
Hi All,
I want to know the functionality of the Key Field in the DSO.
I know based on the Key Fields(Primary Key) data is pulled to DSO, but please explain me the below scenario
E.g
I have 3 records in the Extractor( Generic) and i am pulling data to DSO - Full load.
Material Qty Date
100 20 1-Jan-2010
100 30 5-Jan-2010
100 10 10-Jan-2010
In DSO i have only one Key field called 0MAT_NM (Material Number), but i have 3 records in the Extractor , shown above.
Now my Question is
On what basis data will be pulled to DSO?
Whether latest date records will be pulled to DSO or let me know correct method? because i have got material no 100
but date and Qty is different (means one time it is taking Qty - 30 and date as 1st Jan 2010, other run it is taking differnet).
Please clear my doubt.
Regards,
Nithi.in your dso you can have one record per key. keyfigures will be in addition or overwrite option. if in "addition' the value will be the sum of all the values for a given key. in 'overwrite', you'll only keep the last record written to the dso; char are always in overwrite, so you'll keep the last record written to the dso
M. -
Hi Experts,
I have Sales Schedule data( DSO ) and Delivery Item data( DSO ). I would like to combine this two DSO into one new DSO in order to get the Open Order Quantity ( Order Quantity - Delivery Quantiy ).
Fields in Sales Schedule DSO are
Sales Document ( Key Field )
Sales Docment Item ( Key Field )
Schedule Line ( Key Field )
Material Avail Date ( Data Field )
Order Quantity ( Key Figure )
Fields in Delivery Item DSO are
Delivery Number ( Key Field )
Delivery Item Number ( Key Field )
Document number of the reference document ( Data Field ) which is refered to the field Sales Document in 1st DSO
Item Number of the reference document ( Data Field ) which is refered to the Sales Document Item in 1st DSO
Delivery Quantity ( Key Figure )
I would like to create new DSO based on the common fields Sales Document (DSO1)= Document number of the reference document ( DSO2)
and Sales Document Item Number ( DSO1) = Item Number of the reference document (DSO2) in the both DSOs.
I required feilds like Sales Document, Sales Document Item, Material Avail Date, Order Quantity and Deliver Quantity ( Some other fields which are not mandatory ).
Would like to create new DSO on top of two DSOs, please suggest me what are the Key Fields and Data fields should be in the new DSO.
Your quick help is really appreciated.
Thanks
Robert.Hi Robert,
Define the key as a combination of the keys of both DSO:
Sales Document ( Key Field )
Sales Docment Item ( Key Field )
Schedule Line ( Key Field )
Delivery Number ( Key Field )
Delivery Item Number ( Key Field )
Map the sales doc from the delivery to the key as well.
This will ensure you have a unique key and your data will be aggregated correctly when reporting.
Cheers,
Diego -
Key Fields, Data Fields, Key Figures and Characteristis, Dimesions & Key Fi
Hi All,
Can any one please describe more about the below terms and with the Example....
Like when we identify which one is Key filelds and Data fileds, how to distingush creating new dimesions (Is it based on user reporting) Key figures in Dimestions...
DSO/ODS: Key fields, Data Fields
InfoCube: Dimensions, Key Figures
Infoobjects: Key figures, Characteritics
Regards,
PremHi,
Search through SDN for more information on these concepts,
Re: ods data fields or key fields?
Re: Key Fields and Data Fields in ODS
defining Key -field and data fields
Regards,
Mani
Maybe you are looking for
-
Making a specific file or folder single-click
hey Is there any way on OS X to make a specific file or folder open by a single click. I want to create some tasks in automator and just want to open them using a single click.
-
Error: We had difficulty downloading episodes from your feed...
Im trying to setup a podcast for itunes... so far, I tried to setup dropbox as my file hoster, blogger as my blog, and feedburner to set it all up. I dont know why im getting this error message. Links below.. Dropbox file: https://dl-web.dropbox.com/
-
Viewing the "Now Playing" or "Currently Playing" playlist?
I'm moving over to iTunes at the moment from an older MP3 player and I can't seem to find a playlist that shows the songs that iTunes will corrently work its way through - i.e. a "Now Playing" playlist or group of songs that are ticked in tbe music l
-
Hey, it's another "No Service after IOS6" thread!
I know, it's looks like this has been covers before, but I've not read a thread that covers he problem the same as I have. Basics: iPhone 4 was running fine with no reception issues on iOS5.x Upgrade to 6 and since then service comes and goes very fr
-
Why have all my Lightroom and Photogshop files suddenly developped an awful colour shift when they did not have this a week ago? I can open them in other applications and they view correctly. How can I correct this in Lightroom? HELP urgent!!