Customer Defined Data Classes on Cluster Tables?

Hi all,
I noticed that there is no option within db13 to change the storage option to a customer defined data class, for cluster tables. I am sure this is by design but wanted to check to see if anyone has had any luck defining a data class on a cluster table.
We could move a cluster table to a DB2 tablespace and define the new Data Class through dbacockpit/db02, but there is no option to change the data class definition in the data dictionary (se13) to use the new Data Class for the table itself.
Mainly what we are aiming for is to be able to move 2 tables into their own tablespaces on the target server, during a migration. Sapinst is looking at the Data Classes to create DDLDB6.XML, which defines the tablespace assignments to the target server, so perhaps there is a preferred method of making this change, if it does exist.
Thanks for any insights,
Derek

Hi guys,
Thanks for the helpful answers. I should add some more detail.
Our tablespaces have already been moved to new tablespaces on the source system, with DB6CONV, and we have updated our data classes through db02, with no problems. So sapinst uses the data class definitions to create the custom tablespaces, and then uses the data class assignments to assign the table to a tablespace.
However, the cluster tables do not seem to support the data class assignment in se13, the option is not available as it is for normal tables. Let me see if I can post a screenshot somewhere with a cluster table versus a normal table. For example, there is no option to change the data class for table CDCLS in se13.
I am wondering if this is a limitation of the version of R/3 we are using, or if the limitation for cluster tables is something that is intended on all versions of R/3.
If we can't use db13 to make the assignment, we may try the custom definition in the STR file as Kiran mentioned.

Similar Messages

  • How to get the data from a cluster table to BW

    Dear All,
    I want to extract the data from R/3 to BW by using 2 tables and one Cluster B2.
    Actually my report contains some fields from PA2001, PA2002 and one cluster table B2 (Table ZES). Can I create View by using these 3 tables? If it is not possible how can I get the data from the cluster? Can I create generic datasource by using cluster tables directly?
    In SE11 Transaction the Cluster (table ZES) is showing invalid table.
    I referred some Forums, but no use.
    Can any body tell me procedure to get the data from a cluster (table ZES) ?
    Waiting for you results.
    Thanks and regards
    Rajesh

    HI Siggi,
    Thank you for your reply..
    I am also planning to do FM to get the data. But it is saying that the Cluster table ZES does not exist (ZES is the the standard table, in SE11 also).
    How can I use the Fields from the that table.?
    What can I do now, can you please explain me about this point.
    Waiting for your reply.
    Thanks and Regards
    Rajesh
    Message was edited by:
            rajesh

  • How to check data in a cluster table?

    Hello
    I am new to BW and SDN.
    I have to see data in a cluster table.
    I went to SE11, selected data type as KOMV, it displayed table, but data content button is greyed out.
    Can someone please tell me how to view the data?
    Thanks
    Priya

    Hi,
    Thanks, I can see the data now.I am expecting that data should display in the 2LIS_VDKON extractor.There are two records for particular condition type.Item 10 and Item 20, but in RSA3, it is showing only one record for Item 20 and not showing for Item 10.
    I have cleaned and filled the setup tables, but still no luck.
    Can you please guide me, where else to look?
    Thanks
    Priya

  • Data Retrieval from Cluster Table - BSEG

    Hi all,
    I need to retreive data related to document line items from BSEG whose CLEARING DATE (AUGDT) is greater than a user given date for TWO COMPANY CODES (say 0010/0200).
    as BSEG is a cluster table, it has huge data and taking large amt of time can anybody suggest a better way of retrieving data for the above conditions(fastly)
    Thanks in Advance,
    Lakshmi

    hi,
    use second. index tables:
    customers:  BSAD
    vendors:    BSAK
    G/L acc.:   BSAS
    sample:
      SELECT (felder) FROM  bsad into TABLE stab
             WHERE  bukrs  = bukrs
             AND    kunnr  IN kunnr
             AND    gsber IN gsber
             AND    augbl  <>  space
             AND    hkont  IN akont
             AND    augdt GT p_date.
    regards Andreas
    Message was edited by: Andreas Mann

  • Data retrival from cluster table using BUFFER???????????

    Hi,
    i would like to retreive payroll results from it's allocated cluster tables using buffer.
    i donot know how to use BUFFER concept and it's statments.
    could anyone guide me in this topic?
    thanks
    theresita.j

    Hi theresita,
    i would like to retreive payroll results from it's allocated cluster tables .
    1. U want the remuneration (monthly salary )
    2. U won't get it DIRECTLY from any table.
    (Its stored in cluster format)
    3. Use this logic and FM.
    DATA: myseqnr LIKE hrpy_rgdir-seqnr.
    DATA : mypy TYPE payin_result.
    DATA : myrt LIKE TABLE OF pc207 WITH HEADER LINE.
    SELECT SINGLE seqnr FROM hrpy_rgdir
    INTO myseqnr
    WHERE pernr = mypernr
    AND fpper = '200409'
    AND srtza = 'A'.
    IF sy-subrc = 0.
    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
    EXPORTING
    clusterid = 'IN'
    employeenumber = mypernr
    sequencenumber = myseqnr
    CHANGING
    payroll_result = mypy
    EXCEPTIONS
    illegal_isocode_or_clusterid = 1
    error_generating_import = 2
    import_mismatch_error = 3
    subpool_dir_full = 4
    no_read_authority = 5
    no_record_found = 6
    versions_do_not_match = 7
    error_reading_archive = 8
    error_reading_relid = 9
    OTHERS = 10.
    myrt[] = mypy-inter-rt.
    READ TABLE myrt WITH KEY lgart = '1899'.
    4. the internal table myrt
    will contain what u require.
    I dont think there is any buffering concept
    involved in cluster table.
    regards,
    amit m.

  • Data transfer into cluster table.

    Subject changed by moderator.  Please use a meaningful, informative subject in future
    Hi ,
    Can u explain briefly how data is transfers in cluster table.
      thanks in advance.
    Edited by: Matt on Nov 24, 2008 10:30 AM

    Hi Lakshmi,
    Check this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    Thanks
    Nitesh

  • Cluster table defination not as per book give me own defination

    Hi gurus,
    Please give me the cluster table defination and how to create it step by step method.
    Dont give answer Tables assigned to a table cluster are referred to as cluster tables.
    I know that give explanation what is the need of this tables already there is database tables. why we need to create cluster tables? how to retrive the data and how we maintained those cluster tables in data dictionary
    Thanks,
    Harikiran
    Edited by: harikiran mitnala on Jul 14, 2008 11:02 PM
    Edited by: harikiran mitnala on Jul 14, 2008 11:05 PM

    Hi Hari,
    1. Cluster tables combine the data from several tables with 
       identical (or almost identical) keys into one physical record
       on the database.
    2. Data is written to a database in compressed form.
    3.    Retrieval of data is very fast if the primary key is known.
    4.. Cluster tables are defined in the data dictionary as transparent tables.
    5. External programs can NOT interpret the data in a cluster table.
    6. Special language elements EXPORT TO DATABASE, IMPORT TO DATABASE and DELETE  FROM DATABASE are used to process data in the cluster tables.
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • Import data from cluster table to internal table ?

    Hi 
    My Cluster table is Zcar_00 .
    I have 2 tables for zcar_00 . Name is zcar_01 and zcar_02 . 
    zcar_01 values :
    VARKEY  PAGENO MAKE
      V1         1  OPEL
      V2         2  BMW
      V3         3  AUDI 
    zcar_02 values :
    VARKEY PAGENO MARKA MODEL
    V1        1  OPEL  ASTRA
    V1        1  OPEL  CORSA
    V1        1  OPEL  VCTRA
    V2        2  BMW   116
    V2        2  BMW   316
    V3        3  AUDI  A6 
    I want to read data in this cluster table (zcar_01 , z_car02 ) .
    My code is :
    IMPORT ITAB TO JTAB FROM DATABASE  zaraba_00 (*error* ) ID 'MARKA'.
    How can I do ?
    thanks for reply ..
    serkann

    Hi,
    Go through the following code.
    TYPES:
      BEGIN OF tab,
        col1 TYPE i,
        col2 TYPE i,
      END OF tab.
    DATA:
      wa_indx TYPE indx,
      wa_itab TYPE tab,
      cl      TYPE mandt VALUE '100',
      itab    TYPE STANDARD TABLE OF tab.
    IMPORT tab = itab FROM DATABASE indx(xy) TO   wa_indx CLIENT cl  ID 'TABLE'.
    WRITE: wa_indx-aedat, wa_indx-usera, wa_indx-pgmid.
    ULINE.
    LOOP AT itab INTO wa_itab.
      WRITE: / wa_itab-col1, wa_itab-col2.
    ENDLOOP.

  • Problem retreving data from cluster table

    Hi friends,
    Iam facing a problem while retreving data from a cluster table..
    select knumv
              kposn
              krech
              kawrt
              kbetr
              waers
              kpein
              kmein
              kwert
              from konv
              into table gt_konv
              where knumv in s_agnm.
    In s_agnm i have 8 entries ie: iam giving manually 8 entries in s_sgnm-low.
    If i do the above way iam getting exactly the 82 entries which i have in KONV table.. This is perfect..
    But when iam using for all  entries iam getting only 58 records from the KONV table..
    ie :
        SELECT KNUMV
               KPOSN
               KRECH
               KAWRT
               KBETR
               WAERS
               WAERS
               KPEIN
               KMEIN
               KWERT
               FROM KONV
               INTO TABLE ITAB1
               FOR ALL ENTRIES IN ITAB
               WHERE KNUMV = ITAB-F1
    Here F1 is the field which is same as S_SGNM as above and it also contains same number of records as above
    Now when iam running the 2nd select statment iam getting only 58 entries ... instead it should get 82 entries as above...
    Can any one tell me how to correct..
    Regards
    Kumar

    even if i use all the key fields , its giving me the same results 58 reocrds, instead it should give me 82.
    select knumv
           kposn
           stunr
           zaehk
           from konv
           into table gt_tybh
           where knumv in s_agnm.
      if gt_tybh is not INITIAL.
        sort gt_tybh by agreement_number kposn stunr zaehk.
       select knumv
              kposn
              krech
              kawrt
              kbetr
              waers
              kpein
              kmein
              kwert
              from konv
              into table gt_konv
              for all entries in gt_tybh
              where knumv = gt_tybh-agreement_number and
                    kposn = gt_tybh-kposn and
                    stunr = gt_tybh-stunr and
                    zaehk = gt_tybh-zaehk.
    In the above iam getting all the 82 records for the select-options s_sgnm..
    later iam trying to get the other fields form the same konv table by using for all entries... here even if iam using all the key fields also its not getting me the total 82 records...
    Initially for s_sgnm which contains 8 values , for those 8 values iam getting 82 records it table gt_tybh. But later when iam using for all entries iam not getting those 82 records in the 2nd select statment in the internal table gt_konv.
    Why is this happening...
    can any one correct it..
    Regards
    Kumar

  • How to select data from cluster table

    hi experts,
                   I have a report which picks data from bseg (cluster table ) for a month report it is taking around 4 minutes to process.I feel it is not good when take the report after some months.
    how to select data from these table???how to declare itab for these cluster tables????can we include any search condition or any other kind of internal table???
    please advice.
    mani

    Hi Manikandan,
    The following code may be helpful to understand how to select the data from cluster table.
    Types: Begin of ty_kna1,
    Kunnr type kna1-kunnr,
    adrnr type kna1-adrnr,
    end of ty_kna1,
    begin of ty_bseg,
    belnr type bseg-belnr,
    kunnr type bseg-kunnr,
    end of ty_bseg,
    begin of ty_final,
    belnr type bseg-belnr,
    kunnr type kna1-kunnr,
    adrnr type kna1-adrnr,
    end of ty_final.
    Data: it_kna1 type table of ty_kna1,
    wa_kna1 type ty_kna1,
    it_bseg type table of ty_bseg,
    wa_bseg type ty_bseg,
    it_final type table of ty_final,
    wa_final type ty_final.
    Select kunnr adrnr from kna1 into table it_kna1 where....
    if sy-subrc = 0.
    select belnr kunnr into table it_bseg for all entries in it_kna1 where kunnr = it_kna1-kunnr.
    endif.
    sort it_kna1 by kunnr.
    Loop at it_bseg into wa_bseg.
    move wa_bseg-belnr to wa_final-belnr.
    read table it_kna1 into wa_kna1 with kunnr = wa_bseg-kunnr binary search.
    if sy-subrc = 0.
    move: wa_kna1-kunnr to wa_final-kunnr,
    wa_kna1-belnr to wa_final-belnr.
    endif.
    append wa_final to it_final.
    clear wa_final.
    endloop.
    Loop at it_final into wa_final.
    write: / wa_final-belnr, wa_final-kunnr, wa_final-adrnr.
    endloop.
    Reward if useful.
    Thankyou,
    Regards.

  • Data from Cluster Tables

    Hi,
      I am fetching data from BSEG  table , by using for all entries . But it is taking long time. Is there any other to do it for tables like BSEG ( Cluster tables ). Please help me .
    Regards,
    Prasad

    Hi Prasad
    You could  use  hashed tables to
    retrieve data from BSEG. That will be faster.
    According to the analysis on how sap retrieves the data from a cluster table (like bseg),it's almost the same to use a
    loop at  ht_bkpf -> select from bseg ... endloop
    or
    select ... from bseg
    for all entries in ht_bkpf where ....
    Regards
    Inder

  • Risks of changing the field length of data structure of a Cluster Table

    Hello,
    We are on ECC 604 and had implemented HR & Travel Management. Reporting on these applications is done in BI. We use ESS and & Mobile Travel for  time, travel expenses, etc and use PCLn clusters.
    There is business need to change the length of a field from 20 to 40 for the data structure PTK** of cluster table PCL1. 
    We are exploring various options to avoid core modifications.
    We are also assessing the risks associated with changing the field length.
    I  am asking you for your opinion about the risks associated with changing the field length of a data structure of cluster table.
    Thanks & Regards,
    Manoj K Pingali

    Recently, we came across the same situation where we had to change the length of a field. Let me explain you what precautions we had taken during that time.
    1. Apply the where use list of that table/ Field and check whether it has been used in some program and FM or not. If yes then check one more thing that check the TYPE of another variables on which system has populating data (move, write or in FM parameters). if you will not consider this then you can land you in big trouble. (Conversion dump)
    2. Ask the basis to take a dump of the production, quality and data for the safer side if something does not go right.
    Now, you can do the changes in your development system and then adjust the database and see the impact of it.
    Hopefully, you will not come across any difficult situation in this changes.
    Thanks.
    Anurag

  • How to create new data class in DDIC?

    Hi Friends,
    I want to store 5 custom tables into a particular Table space.
    For that i want to creat a new Dataclass and which has to be mapped to a new table space.
    So what i need is.
    1. How to create a new Customer data class apart from USER1 and USER that is available?
    2. How to map the newly created Dataclass to a Table space?
    Purpose: DBA wants to maintain these tables separately so that this won't disturb other data.
    SAP VERSION - 4.7EE - AIX - DB2
    Any help on this would be highly appreciated.
    Regards,
    Simha

    you can use either usr or usr1 for your  development ... because
    read the belo statment  provided by SAP
    The data class defines the physical area of the database (for ORACLE the TABLESPACE) in which your table is logically stored. If you choose a data class correctly, your table will automatically be assigned to the correct area when it is created on the database.
    The most important data classes are (other than the system data):
    APPL0    Master data
    APPL1    Transaction data
    APPL2    Organizational and customizing data
    Master data is data which is frequently read, but rarely updated. Transaction data is data which is frequently updated. Organizational und customizing data is data which is defined when the system is initialized and then rarely changed.
    There are two more data classes available, USR and USR1. These are reserved for user developments. The tables assigned to these data classes are stored in a tablespace for user developments.
    Note:The data class only has an effect on table storage for the database systems ORACLE and INFORMIX

  • Inforation on Pool tables and cluster tables required.

    I want to know about the pool tables and cluster tables like how to create them and how to look the tables associated with the given tables. Like for the table BSEG we have other tables linked BSID etc. I'm new to this concept please guide me.

    <b>Pooled Table:</b>
    A pooled table in R/3 has a many-to-one relationship with a table in the database (see Figures 3.1 and 3.2). For one table in the database, there are many tables in the R/3 Data Dictionary. The table in the database has a different name than the tables in the DDIC, it has a different number of fields, and the fields have different names as well. Pooled tables are an SAP proprietary construct.
    When you look at a pooled table in R/3, you see a description of a table. However, in the database, it is stored along with other pooled tables in a single table called a table pool. A table pool is a database table with a special structure that enables the data of many R/3 tables to be stored within it. It can only hold pooled tables.
    R/3 uses table pools to hold a large number (tens to thousands) of very small tables (about 10 to 100 rows each). Table pools reduce the amount of database resources needed when many small tables have to be open at the same time. SAP uses them for system data. You might create a table pool if you need to create hundreds of small tables that each hold only a few rows of data. To implement these small tables as pooled tables, you first create the definition of a table pool in R/3 to hold them all. When activated, an associated single table (the table pool) will be created in the database. You can then define pooled tables within R/3 and assign them all to your table pool.
    Pooled tables are primarily used by SAP to hold customizing data.
    <b>Cluster Table:</b>
    A cluster table is similar to a pooled table. It has a many-to-one relationship with a table in the database. Many cluster tables are stored in a single table in the database called a table cluster.
    A table cluster is similar to a table pool. It holds many tables within it. The tables it holds are all cluster tables.
    Like pooled tables, cluster tables are another proprietary SAP construct. They are used to hold data from a few (approximately 2 to 10) very large tables. They would be used when these tables have a part of their primary keys in common, and if the data in these tables are all accessed simultaneously.
    Table clusters contain fewer tables than table pools and, unlike table pools, the primary key of each table within the table cluster begins with the same field or fields. Rows from the cluster tables are combined into a single row in the table cluster. The rows are combined based on the part of the primary key they have in common. Thus, when a row is read from any one of the tables in the cluster, all related rows in all cluster tables are also retrieved, but only a single I/O is needed.
    A cluster is advantageous in the case where data is accessed from multiple tables simultaneously and those tables have at least one of their primary key fields in common. Cluster tables reduce the number of database reads and thereby improve performance.
    Restrictions on Pooled and Cluster Tables
    1. Pooled and cluster tables are usually used only by SAP and not used by customers, probably because of the proprietary format of these tables within the database and because of technical restrictions placed upon their use within ABAP/4 programs. On a pooled or cluster table:
    2. Secondary indexes cannot be created.
    3. You cannot use the ABAP/4 constructs select distinct or group by.
    4.You cannot use native SQL.
    5.You cannot specify field names after the order by clause. order by primary key is the only permitted variation.
    For creation of pooled /cluster table, have  a look at below link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    For creation of table pool /cluster, have  a look at below link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    Have a look at below link.
    http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Data Class - Upgrade

    Hello Experts,
    I'm working for an Upgrade Project!.
    Some how by other Developers data class has been changed for SAP standard Data Classes DDIM and DFACT to ZDIM and ZFACT as a part of the upgrade.  I can see few tables are with the standard ones and few are assigned with the changed data classes.
    I dont know why this has not been taken care for all the objects.!!
    Can any one guide me.. where we can revert these changes using the program RSDG_DTLCLS_ASSIGN back to DDIM and DFACT for the changed tables. If so what will be the consequences on the same?
    This activity has not been carried in the Integration system.!! We dont have the Custom Data classes earlier in the system..
    Can any one guide me on the same?
    Thanks
    Raman....

    Hi Sharad,
    This step is required only for User defined data classes (Z classes) which you can find in table DDART.
    Else you can ignore this step.
    Regards,
    Agrima

Maybe you are looking for

  • How can I see photos in iphoto 7.1.4 that don;t show up?

    There are photos on my hard drive (under originals) that do not show up in Iphoto 7. When I try to drag the photos over to I photo from the Originals file, I get an error message saying that the photo already exists in the library.

  • Problem with downloads

    hi, my apple tv stalls after several minutes. it does not matter whether it is playing a movie or youtube or even showing home pictures. what could be wrong?

  • Error is Shiiping point  in Sales order

    Hi friends, Ship.condition  loading grp 0001 plant SF01 StLoc PR03 not defined I have a material which has been created in storage location PR03. I am trying to make a sales order but when i try to save the sales order order I am getting the above er

  • WRT5GL: email client works, browsers do not

    I have managed to configure my wireless router so that I can read and write email via Groupwise email client, but I cannot get a web browser to work. I had the same issue when I set up the DSL, and it was not resolved until I changed the settings of

  • Does the Mac Book Pro 17" (early 2011) come with a restart CD?

    Does the Mac Book Pro 17" Osx lion (early 2011) come with a start up CD. Trying to install Windows 7 and it ask to install the CD that came with the Mac Book Pro, but my box did not come with a CD? Thank you in advance.