Table RSRN in SAP B1 8.8

Can anyone help me to determine the Table RSRN?
On SAP Standard "SERIAL NUMBER TRANSACTION REPORT", i noticed the column "STATUS" giving values of Available and Unavailable where under table (RSRN,Status).
I am writing a customized report and this field / column is one of my report requirement but when i tried to pull out this table in either Query Generator or SQL table there is no table name like this.
Is there anyone can tell how to get this field.
Thanks

SELECT
T3.[ItmsGrpNam],
T0.[ItemCode],
T1.[MnfSerial],
T1.[DistNumber]
FROM
[dbo].[OSRQ] T0
INNER JOIN OSRN T1
ON T0.[MdAbsEntry]=T1.[AbsEntry]
INNER JOIN OITM T2
ON T0.[ItemCode]=T2.[ItemCode]
INNER JOIN OITB T3
ON T2.[ItmsGrpCod] = T3.[ItmsGrpCod]
WHERE
T0.[Quantity] >0
AND
T3.[ItmsGrpNam] LIKE '%[%0]%'
AND
T0.[ItemCode] LIKE '%[%1]%'
AND
T1.[MnfSerial] LIKE '%[%2]%'
AND
T1.[DistNumber] LIKE '%[%3]%'
ORDER BY
T3.[ItmsGrpNam],
T0.[ItemCode],
T1.[MnfSerial],
T1.[DistNumber]

Similar Messages

  • BI 7 : Command to export a table structure of SAP R/3 into a script/text ?

    Hi All.
    Greetings.
    Am New to SAP R/3 system.  And request help.
    We are trying to pull data from SAP R/3 thro Bussiness Objects Data Services into Oracle.
    For now : we create a target oracle table looking at the table structure of SAP R/3 from SE 11.
    In BODS, We then do the query transformation, and use the oracle target table created by us manually.
    This works absolutely fine.
    We would like to know the command by which we could export the table structure of any existing table
    in SAP R/3 into a script / or to text file,
    which we could use to create the same table structure in oracle.
    Rather than manually typing some 200 field names for each tables.
    Can anyone advise on this.
    Thanks
    Indu

    Hello,
    The problem is caused due to the spaces in your directories
    C:\SAP Dumps\Core Release SR1 Export_CD1_51019634/DB/ADA/DBSIZE.XML
    Replace the spaces with underscores and restart the installation from from scratch.
    Cheers
    Bert

  • Help on accessing table available in SAP R/3 System

    Hi All
    A day before I had posted a question regarding the accessing of tables available in SAP R/3 system. 
    I got the following code as reply.  This code is working fine. 
    But in the below example, the QUERY_TABLE IS BSAUTHORS. 
    In my case, the QUERY_TABLE is VBKD(Sales Document Table). 
    When I replace the table name with VBKD in place of BSAUTHORS, I am getting the following error:
    ERROR  BEGIN----
    com.sap.mw.jco.JCO$AbapException: (126) DATA_BUFFER_EXCEEDED: Selected fields do not fit into structure DATA
         at com.sap.mw.jco.JCO$Function.getException(JCO.java:17978)
         at com.sap.mw.jco.JCO$Client.execute(JCO.java:3143)
         at com.insync.JCO.UpdateSalesOrder.main(UpdateSalesOrder.java:34)
    ERROR END----
    Can anyone please give me a solution for this?
    Thanks in Advace,
    Vijay.
    **********************Code**********************
    import com.sap.mw.jco.*;
    public class JcoTest {
    private static JCO.Client theConnection;
    private static IRepository theRepository;
    public static void main(String[] args) {
      createConnection();
      retrieveRepository(); 
      try {
      JCO.Function function = getFunction("RFC_READ_TABLE");
      JCO.ParameterList listParams = function.getImportParameterList();
      listParams.setValue("BSAUTHORS", "QUERY_TABLE");
    //listParams.setValue("VBKD", "QUERY_TABLE"); // ERROR
      theConnection.execute(function);
      JCO.Table tableList = function.getTableParameterList().getTable("DATA");
      if (tableList.getNumRows() > 0) {
       do {
        for (JCO.FieldIterator fI = tableList.fields();
          fI.hasMoreElements();)
          JCO.Field tabField = fI.nextField();
          System.out.println(tabField.getName()
               + ":t" +
               tabField.getString());
         System.out.println("n");
       while (tableList.nextRow() == true);
      catch (Exception ex) {
       ex.printStackTrace();

    I am also facing the same issue when using 4-way CPU for processing RFC_READ_TABLE I get following error (Error: DATA_BUFFER_EXCEEDED: Selected fields do not fit into structure DATA) .
    when I set the NO_DATA=X in RFC_READ_TABLE then returned data object is empty , is this expected behavior  ? if yes then how do we extract data without getting this error .Help is greatly appreciated

  • Hi prloblem while importing the table in to sap system

    hi
    I exported a table from sap and set the values and i am importing same table to sap system
    when I am executing that function i am getting following error at mConnection.execute();
    error
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Illegal access to a string (offset too large)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1242)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3816)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3261)
    at com.example.Testing.main(Testing.java:46)
    my program
    package com.example;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Map;
    import com.sap.mw.jco.*;
    import com.sap.mw.jco.JCO.AbapException;
    import com.sap.mw.jco.JCO.Structure;
    import com.sap.mw.jco.JCO.Table;
    import com.sap.mw.jco.support.SapInfo.MyRepository;
    public class Testing {
    @SuppressWarnings("deprecation")
    public static void main(String[] args) {
    JCO.Client mConnection;
    JCO.Repository mRepository;
    JCO.Function function;
    mConnection = JCO.createClient("800", "AGORE", "sap333", "EN","10.25.116.33", "00");
    mConnection.connect();
    mRepository = new JCO.Repository("ARAsoft", mConnection);
    IFunctionTemplate ft = mRepository.getFunctionTemplate("ZBAPI_CREATE_QUOTATION3");
    function = ft.getFunction();
    if (function == null) {
    System.out.println("ZBAPI_CREATE_QUOTATION3" + " not found in SAP.");
    JCO.ParameterList list = function.getTableParameterList();
    JCO.Table ztable = list.getTable("QUOTATION");
    for (int i = 0; i < 3; i++) {
    ztable.appendRow(); //ztable.setValue(value, field name)
    ztable.setValue("6000000012"+ i,"RFQ_NUMBER");
    ztable.setValue("00010"+ i,"ITEM");
    ztable.setValue("0020"+ i,"PRICE");
    list.setValue(ztable,"QUOTATION");
    System.out.println(ztable);
    System.out.println(list);
    function.setTableParameterList(list);
    try
    mConnection.execute(function);
    catch(Exception e)
    e.printStackTrace();
    System.exit(1);
    JCO.Table codes = null;
    try {
    codes = function.getTableParameterList().getTable("QUOTATION");
    System.out.println("Return Values starts HERE:");
    for (int i =0; i < codes.getNumRows(); i++){
    codes.setRow(i);
    System.out.println(codes.getString("MANDT")+ '\t'+
    codes.getValue("RFQ_NUMBER")+ '\t'+
    codes.getString("ITEM")+ '\t'+
    codes.getString("PRICE")); }
    catch (Exception ex) {
    ex.printStackTrace();
    System.exit(2);
    mConnection.disconnect();

    Guys,
    I am able to solve the problem. I think the problem is Language settings difference between Database and OWB repository.

  • How to create table in the sap script

    Hi,
    How to create a table in the  sap script layout, i Have to use table in the main window with  7 columns. can any one send sample code.
    How to calculate the number of line items which are displaying in the main window, if the number of line items are exceed in the main window then the amount has to be calculate and print as "BALANCE FORWARD" and the next page had to be displayed as "CARRY FORWARD" that amount. if this is the last page not subsequent page the amount had to be calculated the carry forward amount and total amount and print as "TOTAL AMOUNT". i am creating the new layout and the program is the standrad driver program i have to use and i have to use the standard Text elements only, can any one help me on this issue

    hi
    good
    there is no "pattern" option in SAPscript. All you have at your disposal are the following SAPscript commands: BOX, POSITION and SIZE. Not only are these commands both confusing and tedious to implement, they also are limited in what they can achieve. For instance, although you can suppress a box during printout (by making it conditional), there is no simple way to adjust it dynamically instead. Thus, to divide sequential line items, you may wish to use an underline (ULINE) or simply white space.
    thanks
    mrutyun

  • How are attribute and text master data tables linked in SAP R/3?

    Hello,
    how are attribute and text master data tables linked in SAP R/3?
    Most tables with attribute master data like T001 for company codes,
    have a text master data table T001T (add "T" to table name).
    When looking at the content of table T001 via transaction se11,
    the text are automatically joined.
    But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
    has no text table TVBURT), but in se11 you get texts. There is an address
    link in TVBUR, but the Name1, etc. are empty.
    a) Where are the text stored?
    b) How does the system know of the link?
    Hope someone can help!
    Best regards
    Thomas

    Hi Thomas
    The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
    The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
    -> Foreing key with table TVBUR
    -> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
    ->Cardinality-> 1-:CN
    It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
    U can find out the text table of master table by SE11: GoTo->Text Table
    U can fined some information in table DD08L.
    Max

  • Help on accessing tables available in SAP through Java

    Hi All
    I want to access some tables available in SAP through my Java program.  Do I have to write any code for database connectivity or straightaway I can write SQL statements in my Java code?
    Can anyone please suggest the sample code for this?
    Thanks in Advance,
    Vijay.

    Hi,
    You need JCO(Java Connector)
    Check this sample code.
    import com.sap.mw.jco.*;
    public class JcoTest {
    private static JCO.Client theConnection;
    private static IRepository theRepository;
    public static void main(String[] args) {
      createConnection();
      retrieveRepository(); 
      try {
      JCO.Function function = getFunction("RFC_READ_TABLE");
      JCO.ParameterList listParams = function.getImportParameterList();
      listParams.setValue("BSAUTHORS", "QUERY_TABLE");
      theConnection.execute(function);
      JCO.Table tableList = function.getTableParameterList().getTable("DATA");
      if (tableList.getNumRows() > 0) {
       do {
        for (JCO.FieldIterator fI = tableList.fields();
          fI.hasMoreElements();)
          JCO.Field tabField = fI.nextField();
          System.out.println(tabField.getName()
               + ":t" +
               tabField.getString());
         System.out.println("n");
       while (tableList.nextRow() == true);
      catch (Exception ex) {
       ex.printStackTrace();
    private static void createConnection() {
      try {
       theConnection = JCO.createClient("000", "DDIC", "minisap", "en", "sincgo", "00");
       theConnection.connect();
      catch (Exception ex) {
       System.out.println("Failed to connect to SAP system");
    private static void retrieveRepository() {
      try {
       theRepository = new JCO.Repository("saprep", theConnection);
      catch (Exception ex)
       System.out.println("failed to retrieve repository");
      public static JCO.Function getFunction(String name) {
        try {
             return theRepository.getFunctionTemplate(name.toUpperCase()).getFunction();
        catch (Exception ex) {
         ex.printStackTrace();
          return null;
    Regards
    vijay

  • Sap script '' how to create table frame in sap script"""

    i have some problem in sap script''  how to create table frame in sap script"""

    Hi,
    you can use BOX command..
    Syntax
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT and FRAME both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.
    1. XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.
    3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.
    4. FRAME: Thickness of frame.
    Default: 0 (no frame).
    5. INTENSITY: Grayscale of box contents as % .
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
    Units of measurement: The following units of measurement may be used:
    • TW (twip)
    • PT (point)
    • IN (inch)
    • MM (millimeter)
    • CM (centimeter)
    • LN (line)
    • CH (character).
    The following conversion factors apply:
    • 1 TW = 1/20 PT
    • 1 PT = 1/72 IN
    • 1 IN = 2.54 CM
    • 1 CM = 10 MM
    • 1 CH = height of a character relative to the CPI specification in the layout set header
    • 1 LN = height of a line relative to the LPI specification in the layout set header
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shadowing having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    check the fallowing link also
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803293454211d189710000e8322d00/content.htm
    Mark the points if u find it useful...
    Regards,
    Omkar.

  • Flow of tables information between sap and java

    How should i pass the table information from sap to java.
    and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
    PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
    1.GET THE TABLE INTO THE JAVA PROGRAM
    2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
    3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
    4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAM

    hi,Kondani
    as JCO offers both Client side and server Side programming.
    you can use JCO to connect SAP ABAP.outbound and inbound.
    1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
    2) example 1 is about client side programming.
    try example 1 first. you can get a table from SAP using BAPI.
    Lots of JCO weblog you can see here
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
    Regards

  • Flow of tables informaion between sap and java

    How should i pass the table information from sap to java.
    and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
    PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
    1.GET THE TABLE INTO THE JAVA PROGRAM
    2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
    3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
    4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAM

    hi,Kondani
    as JCO offers both Client side and server Side programming.
    you can use JCO to connect SAP ABAP.outbound and inbound.
    1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
    2) example 1 is about client side programming.
    try example 1 first. you can get a table from SAP using BAPI.
    Lots of JCO weblog you can see here
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
    Regards

  • Table T156X in SAP ECC 6.0

    Hi,
    I am working on table T156X in SAP 4.6c version.
    It is having 11 fields including MANDT field.
    I have received an OSS note where in I have to upload some data into the table.
    The document shows an additional field in the table. The fields as shown in the OSS notes are as follows:
    MANDT BWART WERTU MENGU SOBKZ KZBEW KZVBR BUSTW OIHACCDTN CNT02 KOMOK XPKON.
    Here the field OIHACCDTN is additional. It is not present in the table T156X in 4.6c version.
    I wanted to know whether the field is present in SAP ECC 6.0 version of table T156X.
    regards,
    Gaurav.

    hi Gourav,
    yes, this field is present in Ecc 6.0
    MANDT     MANDT     CLNT     3     0     Client
    BWART     BWART     CHAR     3     0     Movement Type (Inventory Management)
    WERTU     WERTU     CHAR     1     0     Value Update in Material Master Record
    MENGU     MENGU     CHAR     1     0     Quantity Updating in Material Master Record
    SOBKZ     SOBKZ     CHAR     1     0     Special Stock Indicator
    KZBEW     KZBEW     CHAR     1     0     Movement Indicator
    KZVBR     KZVBR     CHAR     1     0     Consumption Posting
    BUSTW     BUSTW     CHAR     4     0     Posting string for values
    OIHACCDTN     OIH_ACCDTN     CHAR     2     0     Excise duty account determination
    CNT02     MB_BUSTW_CNT     NUMC     3     0     Consecutive Counter: Posting String for Values (Inv. Mgmt)
    KOMOK     KOMOK     CHAR     3     0     Account Modification
    XPKON     XPKON     CHAR     1     0     Check account assignment
    regards,
    Sachin

  • How to reduce the size of System tables(RS*) in SAP BW?

    Hi All,
    We need to reduce the size of a system tables(RS*) in SAP BW system without impacting anything to system.
    Could you please let us know is there any Global program/Function module to do the same.
    If not if you know any individual program or other way to reduce the system table size it will be very much useful.
    Sample System tables(RS*) are given below.
    RSHIENODETMP
    RSBERRORLOG
    RSHIENODETMP~0
    RSBMNODES
    RSBKDATA
    RSBMNODES~001
    RSRWBSTORE
    RSBMLOGPAR
    RSBERRORLOG~0

    Sudhakar,
    There are tables you can archive / clean up and then there are tables you cannot do anything about. For example - if your system has a million queries - the RSRREPDIR , RZCOMPDIR tables will be large.
    The tables that typically get archived are :
    1. BALDAT / BALHDR - application log tables
    2. Monitor tables - search for Request archiving which will tell you how to archive the same
    The other tables -
    First you would have to understand why they are large in the first place ... if you have too many hierarchies - then some tables can be huge - delete some of the hierarchies you do not need and the table sizes should come down.
    RSRWBSTORE - this is the internal store for workbooks - this will have the last executed version of the workbook stored in the table. This information is called when the workbook is executed without refreshing the variables - which is why you get the workbook output first and then get prompted to refresh the variables.

  • Tables used in sap plm

    hi all
    can somebody  give me <b>some imp. tables used in sap plm.[/b
    regards.
    subhasis.

    Hi Subhasis,
    You can refer the following tables related to the modules PS, MM, SD, PM, CO
    Regards,
    Harisha
    AFAB       Network - Relationships                                  
    AFKO       N/W Header details
    AUFK       Orders/networks headers
    AFRV       Confirmations pool                                       
    AFVC       Activities assigned to WBS elements
    AFVU       DB structure of the user fields of the operation
    AFVV       DB structure of the quantities/dates/values in the operation
    AUFK       Sales order details (N/W)
    CATSDB   CATS: Database Table for Time Sheet
    CATSPS   Cross-Application Time Sheet (CATS): Transfer to PS
    CKIP          Unit Costing: Period Costs Line Item
    CKIS          Items Unit Costing/Itemization Product Costing
    CKIT          Texts for CKIS
    COBRA       Settlement Rule for Order Settlement
    COBRB       Distribution Rules Settlement Rule Order Settlement
    RPSCO        Project info database (cost, revenues)
    RPSQT        Project info database (quantities)
    COSP          Cost totals for external postings
    COSS          Cost totals for internal postings
    COSB         Total variances/result analysis
    COEP          Line items, actuals
    COOI          Line items, commitments
    COEJ           Line items, planned orders
    BPGE            Budget, overall cost
    BPJA             Budget, annual values
    QBEW             Project stock valuation
    MSPR              Project stock (incl. non-valuated)
    LFINF      Delivery information Project System                      
    LFINFX     Assignment delivery information to Project System objects
    MLST       Milestone                                                
    MLTX       Milestone Description                                    
    MSET       Standard milestone set                                   
    NHPRPS     Number history for reorganization of WBS elements        
    NPTX       PS Texts (Network)                                       
    PA0001    Person responible details in HR (Emp. No., Name, etc.,
    PA0002    Person responible details in HR (Emp. No., Name, etc.,
    PA0003    HR Master Record: Infotype 0003 (Payroll Status)
    PLAB       Relationships                                            
    PLTX       PS Texts (Library Network)                               
    PRHI       Work Breakdown Structure, Edges (Hierarchy Pointer)      
    PRHIS      Standard WBS, Edges (Hierarchy pointers)                 
    PROJ       Project definition                                       
    CI-PROJ   Project structure                                   
    RCJ_PRPSUP      Superior WBS element (for validation/substitution)
    PRHI       Work Breakdown Structure, Edges (Hierarchy Pointer)          
    PROJS      Standard project definition                              
    PRPS       WBS (Work Breakdown Structure) Element Master Data       
    PRPSS      Standard WBS Element (WBS element) - Master Data         
    TJ02         System status
    JEST        System/ User Status by object number (WBS and Network)
    TJ02T       System status texts
    JCDS - history of System/ User Status by object number JEST (WBS and Network)

  • Whats the important of "  table-type  " in sap abap?

    hi,
    i am ahmed. abap fresher.
    i want to what use and importance of table-type in sap abap which comes in      
                         datadictionary
                                V               
                        data types
    V----
    V                         V                                 V
    data element       structure                   table type
    i want to know about table type. plz give a brief idea.
    bye.

    hi,
    Transparent Tables
    A transparent table in the dictionary has a one-to-one relationship with a table in the database. Its structure in R/3 Data Dictionary corresponds to a single database table. For each transparent table definition in the dictionary, there is one associated table in the database. The database table has the same name, the same number of fields, and the fields have the same names as the R/3 table definition. When looking at the definition of an R/3 transparent table, it might seem like you are looking at the database table itself.
    Transparent tables are much more common than pooled or cluster tables. They are used to hold application data. Application data is the master data or transaction data used by an application. An example of master data is the table of vendors (called vendor master data), or the table of customers (called customer master data). An example of transaction data is the orders placed by the customers, or the orders sent to the vendors.
    Transparent tables are probably the only type of table you will ever create. Pooled and cluster tables are not usually used to hold application data but instead hold system data, such as system configuration information, or historical and statistical data.
    Both pooled and cluster tables have many-to-one relationships with database tables. Both can appear as many tables in R/3, but they are stored as a single table in the database. The database table has a different name, different number of fields, and different field names than the R/3 table. The difference between the two types lies in the characteristics of the data they hold, and will be explained in the following sections.
    Table Pools and Pooled Tables
    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 (see Figure 3.2).
    Pooled tables are primarily used by SAP to hold customizing data.
    When a corporation installs any large system, the system is usually customized in some way to meet the unique needs of the corporation. In R/3, such customization is done via customizing tables. Customizing tables contain codes, field validations, number ranges, and parameters that change the way the R/3 applications behave.
    Some examples of data contained in customizing tables are country codes, region (state or province) codes, reconciliation account numbers, exchange rates, depreciation methods, and pricing conditions. Even screen flows, field validations, and individual field attributes are sometimes table-driven via settings in customizing tables.
    During the initial implementation of the system the data in the customizing tables is set up by a functional analyst. He or she will usually have experience relating to the business area being implemented and extensive training in the configuration of an R/3 system.
    Table Clusters and Cluster Tables
    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. The data is stored logically as shown in Figure 3.3.
    Figure 3.3 : Table clusters store data from several tables based on the primary key fields that they have in common.
    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.
    For example, as shown in Figure 3.4, the first four primary key fields in cdhdr and cdpos are identical. They become the primary key for the table cluster with the addition of a standard system field pageno to ensure that each row is unique.
    Reward if helpful
    Jagadish

  • Updating Database table across multiple SAP systems

    Dear All,
    I am working on a requirement which is described as follows:
    The requirement is to keep a database table in sync across 10 different SAP clients (for production, test systems etc.). So when the database table is modified in source SAP system, it has to be replicated across all the clients and table of other SAP systems.
    So the queries from my side are:
    1. Whether XI should be used here as a middleware or direct RFC calls can do the updation across the SAP systems?
    2. If XI is to be used what would be the recommended approach (ABAP Proxy to ABAP Proxy communication?)
    Hope you can recommend me the best options to achieve this.
    Thanks & Regards,
    Pratik

    it depends on what tables are involved/ what type of data/what transactions cause the update.
    If you know the table names - then database level replication may be an option u2013 many projects do refresh their QA system with production data for a very real test data. If not, a hard disk level mirroring may have to be considered.
    There are other technologies like change pointers in conjunction with distribution model can also be considered - which could trigger idocs that can be sent to the other systems using ALE layer or ALE *** PI/XI

Maybe you are looking for

  • Humming noise when playing games

    Hello, I'm hoping someone can help me solve a buzzing noise I'm getting when playing games. I have a x-fi fatalty, gtx 480 in SLI and a x58a-ud3r motherboard and for the most part the x-fi works fine, however when I play 3d games I get a very irritat

  • Reading all files on directory using "utl_file" package...

    I need to read all files in directory via PL/SQL. I don't know name files (are data dynamics create for automation system), only I know your extensions. Can I do this using the package "utl_file" or I need to create program in another language (C, C+

  • Change color of check box symbols

    How do I in LiveCycle Designer change the color of a check mark? I need one check mark to be blue, 30pt and another to be red, 30pt?

  • Concatenate measure and dimension field shows not enough memory available

    Hello, I need to concatenate a measure and dimension, for dummy test I did  Cstr([Measures].[MeasureName]) + "dummy string, (unit of measure required here)" but this generate an error, please see image for required measure.  Executing the query ... S

  • Thread access

    I am new to Thread. I am doing a following call and the only thing I wanted to do here is to sleep for a second. 101: try{ 102: Thread.currentThread().sleep(1000); 103: }catch (InterruptedException ie) { 104: System.out.println("InterruptedException