Regarding cluster table

hi experts,
I have an requirement about PR. I've to fetch all txgrp, buzei, kschl and hwste from bset table according to belnr and gjahr.
but at the of fetching, only one txgrp, buzei, kschl and hwste are fetched. BSET table is a cluster table.
Pls tell me how can I solve this problem.
thanks in advance.
Goutam

Hi sachin,
PR means perchase register.
and I've fetch from bset table. I've no option.
now what I've to do.
thanks,
Goutam.

Similar Messages

  • Regarding cluster tables

    hi all,
    is there any function module or some thing to find out the matter related to cluster table reorg
    thanks,
    jack

    Hi.....
    What do you mran by matter related to cluster table ?
    In the table DD02L you will find the list of all tables...
    Check this link also :
    abap functions
    Regards,
    Debjani........

  • Regarding performance on cluster tables.vvv.urgent!

    friends,
      i know that cluster tables cannot be joined with transparent tables....
       however i need performance improvement for the following code....
       if possible is there a way to join bkpf or bseg to improve performance....can we create view foe bkpf and bseg if yes then how.....
      please modify the below code for improvement in performance.
      START-OF-SELECTION.
      SELECT bukrs belnr gjahr budat FROM bkpf INTO TABLE i_bkpf
      WHERE bukrs = p_bukrs AND "COMPANY CODE
              gjahr = p_gjahr AND "FISCAL YEAR
              budat IN s_budat. "POSTING DATE IN DOC
      IF sy-subrc = 0.
      SELECT bukrs belnr gjahr hkont shkzg dmbtr FROM bseg INTO TABLE
            i_bseg FOR ALL ENTRIES IN  i_bkpf
            WHERE bukrs = i_bkpf-bukrs AND "COMPANY CODE
                  belnr = i_bkpf-belnr AND "A/CING DOC NO
                  gjahr = i_bkpf-gjahr AND "FISCAL YEAR
                  hkont = p_hkont. "General Ledger Account"
        IF sy-subrc = 0.
         SELECT bukrs belnr gjahr hkont shkzg dmbtr FROM bseg INTO TABLE
                i_bseg1 FOR ALL ENTRIES IN  i_bseg
                WHERE bukrs = i_bseg-bukrs AND  "COMPANY CODE
                      belnr = i_bseg-belnr AND  "A/CING DOC NO
                      gjahr = i_bseg-gjahr.   "FISCAL YEAR
        ENDIF.
      ENDIF.
      IF NOT i_bseg1[] IS INITIAL.
        LOOP AT i_bseg1.
          IF i_bseg1-hkont = p_hkont AND i_bseg1-shkzg = 'S'.
            v_sumgl = v_sumgl + i_bseg1-dmbtr.
          ELSEIF i_bseg1-hkont = p_hkont AND i_bseg1-shkzg = 'H'.
            v_sumgl = v_sumgl - i_bseg1-dmbtr.
          ELSEIF i_bseg1-hkont NE p_hkont .
            IF i_bseg1-shkzg = 'H'.
              i_bseg1-dmbtr = - i_bseg1-dmbtr.
            ENDIF.
            i_alv-hkont = i_bseg1-hkont.
            i_alv-dmbtr = i_bseg1-dmbtr.
            APPEND i_alv.
            v_sumoffset = v_sumoffset + i_bseg1-dmbtr.
          ENDIF.
        ENDLOOP.
    regards
    Essam.([email protected])

    Hi there ...
    I have read the note - thats where I found the link to the trace note 286496.1 - on now to setup a trace
    But I still need an explanation for the methods (1,2,4 etc)
    regards
    Mette

  • 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

  • About cluster table in sql server or SAP

    Hello Gurus,
            we have a cluster table "KONV" in our sql server 2008 , is that feature for cluster table native feature in sql server or in sap?
    because some professonal said there is no concept for cluster table in sql server just like oracle database. so please help me for
    clarification.
    Many thanks,

    I agree, this is ABAP Dictionary specific way of data encapulation, not the DB type dependant one. Basically it stores the data in RAW or LRAW format.
    Also be aware that we distinguish b/w [data clusters|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bf8358411d1829f0000e829fbfe/frameset.htm] and [cluster tables|http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f083446011d189700000e8322d00/content.htm].
    Regards
    Marcin

  • Edit next extent size of the Cluster table

    Hi Guys
    I need to change the next extent size of the a table.
    I ran se14 but i am not able to get into edit mode, because there is no button for edit mode.
    Reason: Cluster table
    Two questions:
    1. Why there is no Edit button? Is it because this table doesnot exixt at DB level.
    2. How can i change the next extent size for a Cluster table from sql prompt or from brtools if possible.
    Information:
    I am facing this issue only in DEV, QAS boxes, where as in Production its fine.
    Regards
    Ricky
    Edited by: Ricky kayshap on Dec 9, 2008 3:52 PM

    Hi,
    Cluster Tables doesn't exist in DB, Because of that you can't make changes to extents at DB level.
    if you experiencing some space issue. I woud suggest to check the underline Transparent tables and make changes to those.
    hope this helps.
    Kalyan.

  • How can I get data in flat file from Pool table and cluster table ?

    Hi,
    I am working in one Achiving project. My requirement is to get data into flat file from Cluster table and pool table.
    Is there any tool avilable to download data into flat file from pool table and cluster table ?
    if table name given in the selection screen then data will be downloaded into flat file.
    waiting for quick response.
    Best Regards,
    Bansidhar

    Data cannot be retrived directly form the cluster table
    as the Cluster results are stored in Cluster Key say for example PCLkey
    and form that Key we need to fetch the data
    these clustes are not the part of PNP or PNPCE tables
    for ur info kindly check

  • How to extract data from cluster table

    Hi, experts,
    Here I want to extract change documents, which is from tables CDHDR(header) and CDPOS(line items). The problem is that CDPOS is a cluster table so that I can't create a view to develop a generic data source.
    I have search on the forum and some one said generic data source based on function module was a choice, but I think coding FM is so complex, especially including delta implementation.
    Could any one give me some advice? or give me some coding samples?
    Thanks a lot!

    Dear Sam,
    I would suggest you to have a look at the function module CHANGEDOCUMENT_READ u2013 you can use this function module as a core in the developed function module for generic extractor. Unfortunately, the suggested function module can not handle import parameters for field names, so the strategy which can be applied here is to use this function module to fill the internal table based on restrictions on object class and table name and then go through filled internal table and delete records which are not relevant for fields KOFIZ or ABRSPERR.
    As for delta implementation, would you please advise if delta relevant field based on timestamp generated on date and time of the change document is sufficient for your needs? If so then you can use fields UDATE and UTIME to generate timestamp on them including the field containing generated timestamp to the extract table. Next step here is to choose this field as delta relevant field in the Generic DataSource maintenance (TCode RSO2).
    Please inform me if this solution suits you or if you have any questions or concerns regarding it.
    My best regards,
    Vadim

  • How to read data from a CLUSTER STRUCTURE not cluster table.

    Hi,
    how to read data from a CLUSTER STRUCTURE not cluster table.
    regards,
    Usha.

    Hello,
    A structre doesnt contain data.. so u cannot read from it. U need to find out table of that structure and read data from it.
    Regards,
    Mansi.

  • How to fetch data for a struture from a cluster table

    How can I fetch data for a struture, from a cluster table, based on the name of the structure?

    Hi,
    In order to read from Cluster DB Table use the following statement:
    Syntax
    IMPORT <f1> [ TO  < g1 > ] <f2> [TO < g2 >] ...
    FROM DATABASE <dbtab>(<ar>)
    [CLIENT <cli>] ID <key>|MAJOR-ID <maid> [MINOR-ID <miid>].
    This statement reads the data objects specified in the list from a cluster in the database <dbtab>.
    You must declare <dbtab> using a TABLES statement. If you do not use the TO <gi> option, the
    data object <fi> in the database is assigned to the data object in the program with the same
    name. If you do use the option, the data object <fi> is read from the database into the field <gi>.
    For <ar>, enter the two-character area ID for the cluster in the database. The name <key>
    identifies the data in the database. Its maximum length depends on the length of the name field
    in <dbtab>.
    The CLIENT <cli> option allows you to disable the automatic client handling of a client-specific cluster database, and specify the client yourself. The addition must always come directly after the name of the database.
    For Eg:
    PROGRAM SAPMZTS3.
    TABLES INDX.
    DATA: BEGIN OF JTAB OCCURS 100,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF JTAB.
    IMPORT ITAB TO JTAB FROM DATABASE INDX(HK) ID 'Table'.
    WRITE: / 'AEDAT:', INDX-AEDAT,
    / 'USERA:', INDX-USERA,
    / 'PGMID:', INDX-PGMID.
    SKIP.
    WRITE 'JTAB:'.
    LOOP AT JTAB FROM 1 TO 5.
    WRITE: / JTAB-COL1, JTAB-COL2.
    ENDLOOP.
    Regards,
    Neha
    Edited by: Neha Shukla on Mar 12, 2009 1:35 PM

  • View cluster table child table calling problem!

    Hi All,
    I have created a cluster table with one table as header and one as item...
    Header table : ZRAJ1
    ITEM TABLE : ZRAJ2
    ZRAJ1 :
    ZPRODUCT
    ZPROD_DESC
    ZSTATUS
    ZUSER
    ZRAJ2:
    ZPRODUCT
    ZLABEL
    This clearly shows that zraj2 is depending on ZRAJ1.
    Created a cluster with these two tables.
    Also, created events for ZRAJ1.
    EVENT 05:
    FORM create_entry.
      yraj1-zuser = sy-uname.
    ENDFORM.
    EVENT 02:
    FORM after_save.
      IF yraj1-zstatus = 'L'.
        CALL TRANSACTION 'ZRAJ_VIEW'.
      ENDIF.
    ENDFORM.
    If the Zstatus is "L" in ZRAJ1, a new transaction will be called to maintain the child table zraj2.
    Trasnaction 'ZRAJ_VIEW'.
    REPORT 'ZRAJ_VIEW'.
    INITIALIZATION.
    *declaration:
      DATA : itab LIKE vimsellist OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    *To call the MAintanence screen directly through the program:
      CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
        EXPORTING
          action                               = 'S'
      CORR_NUMBER                          = ' '
      GENERATE_MAINT_TOOL_IF_MISSING       = ' '
      SHOW_SELECTION_POPUP                 = ' '
          view_name                            = 'YRAJ2'
      NO_WARNING_FOR_CLIENTINDEP           = ' '
      RFC_DESTINATION_FOR_UPGRADE          = ' '
      CLIENT_FOR_UPGRADE                   = ' '
      VARIANT_FOR_SELECTION                = ' '
      COMPLEX_SELCONDS_USED                = ' '
       TABLES
          dba_sellist                          = itab
      EXCL_CUA_FUNCT                       =
    EXCEPTIONS
      CLIENT_REFERENCE                     = 1
      FOREIGN_LOCK                         = 2
      INVALID_ACTION                       = 3
      NO_CLIENTINDEPENDENT_AUTH            = 4
      NO_DATABASE_FUNCTION                 = 5
      NO_EDITOR_FUNCTION                   = 6
      NO_SHOW_AUTH                         = 7
      NO_TVDIR_ENTRY                       = 8
      NO_UPD_AUTH                          = 9
      ONLY_SHOW_ALLOWED                    = 10
      SYSTEM_FAILURE                       = 11
      UNKNOWN_FIELD_IN_DBA_SELLIST         = 12
      VIEW_NOT_FOUND                       = 13
      OTHERS                               = 14
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    it is calling, ok no issues but it is not allowing me to create a new entry in the child table zraj2.
    Error: Table is locked by the user Raj.Checked in SM12 yes there is an lock entry for the table zrst(cluster),  zraj1, zraj2.
    Question :
    By default in the execution of cluster will there be a lock in all the child table as well.
    if so how to create new entries....
    For your information : Standalone it is working fine.That is if i execute ZRAJ1 in SM31 i am able to create new entries..
    Can any one provide some input on this............
    Tahnks,
    raj.

    I don't know any direct transaction for your purpose, but you can use this program RSTXSCRP to download your form into the local file and than you can open it to view.
    Regards,
    Naimesh Patel

  • Maintaince view creation for a cluster table

    Hi friends,
    I have created a maintaince view for a cluster table bseg and i have activated it its working fine..
    now my problem is i can create maintaince view for mutiple tables if other tables are linked with primary table using foriegn key relationship..
    Now can any one tell me is it possible to create maintance view for cluster table with multiple tables as i need a linked table with bseg which iam not able to get... ie : when i click on the relationship tab iam not getting the linked tables for bseg...
    now can i create a maintaince view with 2 linked cluster tables..
    if so can any one tell me how to create it.
    As sap says we can create projection view for cluster and pooled table and we cannot create database view for cluster and pooled tables , but it does not mentioned like that for maintaince view....
    I assume we can do it.... as iam trying to create a maintaince view with single cluster table then it shoudl allow me to create for multiple linked cluster tables.... and is it mandatory to maintain TMG for this maintaince view....?
    Regards
    KUMAR

    yes.. ur right inserting values into a cluster table other than standard sap tarnactions is dangerious....
    But sap didnot mentioned any where that we cannot maintain data for cluster tables using maintaince view... which it said for database view..that pooled and cluster table cannot be used for database view..
    Regards
    Kumar

  • SELECT is taking lot of time to fetch data from cluster table BSET

    <Modified the subject line>
    Hi experts,
    I want to fetch data of some fields from bset table but it is taking a lot of time as the table is cluster table.
    Can you please suggest me any other process to fetch data from cluster table. I am using native sql to fetch data.
    Regards,
    SURYA
    Edited by: Suhas Saha on Jun 29, 2011 1:51 PM

    Hi Subhas,
    As per your suggestion I am now using normal SQL statement to select data from BSET but it is still taking much time.
    My SQL statement is :
    SELECT BELNR
                  GJAHR
                  BUZEI
                  MWSKZ
                  HWBAS
                  KSCHL
                  KNUMH FROM BSET INTO CORRESPONDING FIELDS OF TABLE IT_BSET
                  FOR ALL ENTRIES IN IT_BKPF
                  WHERE BELNR = IT_BKPF-BELNR
                      AND BUKRS = IT_BKPF-BUKRS.
    <Added code tags>
    Can you suggest me anymore?
    Regards,
    SURYA
    Edited by: Suhas Saha on Jun 29, 2011 4:16 PM

  • Lock object for KONV table/Cluster table ??

    Hi All,
    Is it possible to set Lock/Enqueue cluster tables or in my case table:KONV (KNUMV field) ?.
    OSS provided some programs without locks so was hoping if I could add before performing data manipulation.
    Regards,
    Neeth

    Hi Nameeth,
    you can use generic lock object E_TABLE with function modules ENQUEUE_E_TABLE, DEQUEUE_E_TABLE for locking and unlocking with parameters table name and key field.
    Regards,
    Satya

  • Finding a cluster table

    hi friends,
    i am new to BW, but i have exp. in ABAP. here my requirement is: in the infocube, some key figures are there. these key figures are from a cluster table structure.  i need to identify from which cluster table structure the values are populating in the key figures.
    thanks in advance.
    regards
    Balu

    hi reddy,
    just go thru this link , you can find so many solutions.
    sure it helps you to finding the correct solution.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?querystring=cluster table structure&searchpluginname=sdn_all&selectedcustomprops=resourcetype(value=sdn_article),resourcetype(value=sdn_article_complex),resourcetype(value=sdn_bulk_zip),resourcetype(value=sdn_case_study),resourcetype(value=sdn_demo),resourcetype(value=sdn_ebook),resourcetype(value=sdn_ebook_comp),resourcetype(value=sdn_eclass),resourcetype(value=sdn_enduser_submission),resourcetype(value=sdn_evalution_version),resourcetype(value=sdn_event),resourcetype(value=sdn_faq),resourcetype(value=sdn_file_only),resourcetype(value=sdn_forum),resourcetype(value=sdn_help),resourcetype(value=sdn_hot_fix),resourcetype(value=sdn_how-to_guide),resourcetype(value=sdn_interface_documentation),resourcetype(value=sdn_javadocs),resourcetype(value=sdn_mimes),resourcetype(value=sdn_open_source),resourcetype(value=sdn_patch),resourcetype(value=sdn_plain_html),resourcetype(value=sdn_presentation),resourcetype(value=sdn_product_definition),resourcetype(value=sdn_sap_tutor),resourcetype(value=sdn_sapnote),resourcetype(value=sdn_sdn-tv),resourcetype(value=sdn_tool),resourcetype(value=sdn_virtual_classroom),resourcetype(value=sdn_webinar*),resourcetype(value=sdn_weblog),resourcetype(value=sdn_workshop_material)
    help.sap.com links for finding out the structure .
    http://help.sap.com/saphelp_erp2005/helpdata/en/a6/b79b40b5914063e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/4f/2b74404a6fcf62e10000000a155106/frameset.htm
    hope it helps. .
    thanks
    Varun cn

Maybe you are looking for

  • Error message pops up saying "Network Connection could not find a PPPoe Server.

    I am trying to update my wife's iBook, 2,1 for my mom to use.  It is running OS 10.6.8.  Every time I wake up the computer an error message pops up saying "Network Connection could not find a PPPoe Server." It does it periodically when the computer i

  • Arch PPC - Display not outputting anything

    I've been working with an Apple G4, 1.4(?)Ghz PPC with one of the Apple Display Port monitors, and I've been trying to get arch on it using the install image from the Arch PPC site. So I finally got it to boot correctly, dear god that was more work t

  • Audible Ring for LG Smart TV

    I know this has been brought up before, but does anyone know if there is movement towards solving the problem of no audible ring for incoming Skype calls on the LG Smart TVs? Hey! Kind of useless without it.

  • System Restore - and everything goes kaput...

    Hey guys, I recently got my computer repaired, with a hard drive replacement. Of course, this means I don't have purchased music on the computer anymore. HOWEVER, I do have it on my iPod. Now, I have disk usage enabled, but greyed out in the summary

  • Purchase requistition data source

    Hi Is there any standard datasource for Purchase Requistition? Please help me. Thanks in advance.