Is it good to have more key fields in DSO

Hey Guys ,
is it good to have more key filds in dso , and how will it impact the performance of  Loading/Access.
Anurag

The  objective of using key fields is to recognize each data record uniquely. So, if we can achieve this by small number of key fields we should go for that.
        Technically if we use many key fields that will create data redundancy. Besiseds that primary index will be bigger.
        Also we cannot use more than 16 key fields.
     Assign pts if helful
       thanx.

Similar Messages

  • Key fields of DSO

    Hi Experts,
    I have a issue with DSO.We extracted data from R/3 in to BI and send it in to DSO.We are getting data from R/3 to PSA with right records with init load.But from PSA to DSO,we are getting duplicate records for 2 invoices.We have 2 invoices say xxxx01 and xxxx02 have problems in DSO.
    XXXX01 has 3 items(10,20,30) created on April2008 with billing Doc type A
    XXXX02 has 2 Items(10,11) created on April2008 with billing Doc type B
    But in DSO we are getting extra Item record for each of document
    i.e XXXX 01 has 4items(10,20,30,10).3 items(10,20,30) created on April 2008 with billing Doc type A.One Item(10) created on June 2008 with billing Doc Type C(this is not in R/3 so This extra one).
    XXXX02 has 3 items(10,11,10) .First 2Items(10,20) are original ones created on April 2008 with Billing type B.One extra Item(10) created on June 2008 with Billing Doc Type C(this Item is not in R/3).
    We have key fields in DSO is Sales Document,Material,Billing Item,Fiscal variant.I din't add Document Type,Document Category,Calender day in Key Fields but they are in Data Fields.
    I am not sure how can I overcome this issue either adding Document type ,Calender day,Document Category in DSO or Put some fields in Semantic group.
    Please advise me and tell me some possible solutions.
    We ran setup tables with init and ran infoPackage and ran delta Infopackage too in Testing box.If I change the design in Dev box and Transport in to  the test box,Hope I need to fill the Setup tables again right.Please advise me.
    Thanks,
    Ran.

    Hi,
    Use this key fields and sure it will solve.
    Doc no.,Doc Item. for Orders
    Bill Item and Bill no. for Invoices
    Delivery No. and Delivery item no. for deliveries.
    Moreover check ur transformations once.
    Cheers,
    shana

  • Key fields in DSO

    HI experts,
    I have the requirement to create DSO with Material,Plant,Usage,BOM,Alternative,BOM category,Counter,Valid From,BOM status,Base unit,Base Quantity fields. I am not involved in the functional part. could you please tell me which fields can take in the key part???
    Regards,
    KP

    Hi Kundan,
    What is the data source that you are using to laod the data to DSO?
    You can fidn the key fileds with the help of data source. or from the source table if you are not having Data source.(there will be a screw symbol for the key fileds).
    you can use material, plant, BOM as key fileds.
    Regards
    KP

  • 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,
    musai

    Hi 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

  • Difference between semantic and key fields in DSO

    Hello All,
    Please help me in understanding about difference between "Key fields" and "Semantic key" in write optimize DSO.
    thanks

    Hi,
    you dont have key fields in write-optimized DSO, key fields terminology is forin standard DSO.
    And semantic key is used in write-optimized DSO.
    As we know standard DSO is a flat structure similar to transparent tables that we have in R3/ECC system with key fields (combination of values which needs to be unique).
    Now, The system generates a unique technical key for the write-optimized DataStore object. The standard key fields are not necessary with this type of DataStore object. If there are standard key fields anyway, they are called semantic keys so that they can be distinguished from the technical keys. The technical key consists of the Request GUID field (0REQUEST), the Data Package field (0DATAPAKID) and the Data Record Number field (0RECORD). Only new data records are loaded to this key.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm

  • Limitation of Key Fields in DSO

    Hi, can anybody tell me the max number of key fields that a DSO can have?
    Thanks,
    Manasa.

    in ODS u can maintain--
    You can create a maximum of 16 key fields
    You can create a maximum of 749 fields
    You can use 1962 bytes (minus 44 bytes for the change log)
    You cannot include key figures as key fields

  • New Key field in DSO

    Hi BI Experts,
    I want to add a new key field in a DSO.This infoobject is in Data field now.
    The DSO contains data now.
    Can the new key field be added without deleting data from the DSO?
    Thanks

    Hi ,
    If you want to take datafield as keyfield,firstly you have to delete the data.
    Before deleting the data use datamart and upload it into different data target.
    After wards you can change the infoobject from data fields to keyfields.
    But be aware of that transformation will also be disturbed with these changes.
    Regards,
    Praveena.

  • 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

  • Want to add  more than 16 key fields in the DSO?

    Dear All,
    All the 16 Key fields are being used in my DSO,i want to add  two more key fields in the same DSO.
    Can any one provide the way how to go ahead
    Regards,
    Sarasu

    Hi,
    You can create a maximum of 16 key fields. If you have more key fields, you can merge (concatenate) fields into one key field using a routine.
    Hope it Helps...
    Regards,
    SVS

  • 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

  • How many key fields can we maintained in dso or ods

    HI
    pls let me know how many key fields can we maintained in DSO or ODS.
    Thanks and Regards.
    ASIM.

    Hi,
    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.
    Regards,
    Marasa.

  • DSO Key Fields

    Hi Experts,
      Can i use KEY FIGURES as KEY FIELDS in DSO
    and
    What is MAXIMUM no of Key Fields can i have in a DSO
    Thanks

    Hi
    key figures are the amouts required for reporting, say you are working on sales data, then look at the report what amounts are required to get all the columns / key figurs in the report.
    Granularity: is the level of detail you require, some times you only require the sales document level, other times at the sales document item level.
    Unique identification of record: uniqueness of a record in ods is maintained by how you define the key fiedls in the ods. key fields in the ods are equal to the primany indexes on a table. eg: if you want the grain to be on the sales document level, then do not keep the item in the key fields. then probably company code, sales org, sales document and fiscal year.
    affect on one level up the ods:
    if you require item level data in the cube, then you need to keep the sales doc item in the ods key field.
    There has to be at least one key field and one data field.
    Additional restrictions:
    -         You can create a maximum of 16 key fields (if you have more key fields, you can combine fields using a routine for a key field (concatenate).)
    -         You can create a maximum of 749 fields
    -         You can use 1962 bytes (minus 44 bytes for the change log)
    -         You cannot include key figures as key fields
    Assign points if it helps
    Regards,
    Sumit

  • How many key fields can we have in a DSO?

    Hi,
    how many key fields can we have in a DSO.is it 16 or any number of key fields can be used? If only 16 are allowed pls let me know how to add more key fileds (my requirement is 21 keyfields) .
    Thanks in advance,
    Praveen

    Hi,
    Thanks for the reply. Pls let me know the procedure to include 5 more key fields because i have 21 keyfields which i have to use.
    Thanks&Regards
    Praveen

  • New key field creation in between of the 2 existing key fields?

    Hello,
    I have a custom table with 3 key fields.
    Now because of business requirements, we need to add one more key field IN BETWEEN the 2nd key field and 3rd key field of that table, if we create a new key field in the middle of existing 2 key fields, do we loose the data in the table, pls. let me know.
    And also do we need to take any precautionary steps to go smoothly?
    Thank you

    Think about it logically, if you add a key field, how would you lose data, since the primary key is now longer than before? Only if you remove key fields, you might lose data during table adjustment due to duplicate primary keys.
    Make sure all other field names remain unchanged.
    Try it in dev system first, check the results. For even more confidence, why not download the data first as a backup, "just in case".
    Thomas

  • Add key fields for FM REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hi everyone,
    I would like to ask if it is possible or is there a way to increase the number of key fields used in FM REUSE_ALV_HIERSEQ_LIST_DISPLAY. The table parameter for the key fields is IS_KEYINFO. It can only contain 5 key fields. My program needs to have 7 key fields. I cannot modify type group SLIS to add more fields in its type declaration since it is a global object.
    Thanks,
    Eric

    Hi everyone,
    I would like to ask if it is possible or is there a way to increase the number of key fields used in FM REUSE_ALV_HIERSEQ_LIST_DISPLAY. The table parameter for the key fields is IS_KEYINFO. It can only contain 5 key fields. My program needs to have 7 key fields. I cannot modify type group SLIS to add more fields in its type declaration since it is a global object.
    Thanks,
    Eric

Maybe you are looking for

  • How To Reset/Clear Open With Contextual Meni

    I right click on a jpeg, and it shows three PS CS3, Illustrator, Color Sync, Device Central, etc. choices. I have only one of the apps installed. How do I clear or reset the "open with" menu in the Finder?

  • Inspection Plan/Revision level

    Hi PP Gurus, I have a Problem in Inspection Lot.The system is not reading the new Inspection Plan. The material is assigned to a Revision level with valid from date 10.12.2007 and the earlier Inspection Plan(Group 21) was also created on 10.12.2007.N

  • I want to make a 3d Jelly animation in Flash, can i?

    Hi there, I know that Flash 3D is limited and maybe we need to wait till we can have a MAYA/3DS MAX like Output in Flash. But I want to make some thing sure. I need to make a 3D Jelly like ball, it flies to a wall and splatters on the wall creating a

  • My ipod touch just stopped working, help please :(

    hi, I need some help with my ipod touch. i was using it and it was working just fine and i locked the screen and walked away came back to use it and the screen wouldn't unlock and it wouldn't even turn on. i plugged it in just to see if it needed to

  • Can't find anyone to "port" my old number

    I hope someone here can help me find a VerizonFiOS representative who will actually be able to help me. After many hours on chat and many phone calls, I still have no phone service or have found any answers as how to correct my problem. Long story sh